/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

@import url("../astra/style.css");
.rt-document-container{

    max-width:1100px;
    margin:auto;
    padding:40px 20px;

}

.document-badge{

    display:inline-block;
    background:#228B22;
    color:white;
    padding:8px 16px;
    border-radius:5px;
    margin-bottom:30px;
    font-weight:bold;

}

.document-table{

    width:100%;
    border-collapse:collapse;
    margin-bottom:40px;

}

.document-table th{

    width:220px;
    background:#f5f5f5;
    text-align:left;
    padding:14px;

}

.document-table td{

    padding:14px;
    border:1px solid #ddd;

}
.document-table th{

    border:1px solid #ddd;

}

.document-summary{

    background:#fafafa;
    border-left:5px solid #155DFC;
    padding:20px;
    margin-bottom:40px;

}

.document-title{
    font-size:32px;
    line-height:1.3;
    margin-bottom:35px;
    word-break:break-word;
}
.preview-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:40px 0 20px;
}

.preview-header h2{
    margin:0;
    font-size:32px;
}

.download-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;

    padding:6px 14px;

    border:1px solid #228B22;
    border-radius:5px;

    background:#228B22;
    color:#fff;

    text-decoration:none;
    font-size:14px;
    font-weight:600;

    transition:.2s;
}

.download-btn:hover{
    background:#228B22;
    color:#fff;
}

.download-btn:visited{
    color:#ffffff !important;
}

.download-btn:focus{
    color:#ffffff !important;
}

.download-btn svg{
    fill:white !important;
}

.download-btn i{
    color:white !important;
}
.document-page{
    max-width:1100px;
    margin:50px auto;
}

.document-title{
    font-size:42px;
    line-height:1.4;
    margin-bottom:35px;
}

.document-info{
    width:100%;
    border-collapse:collapse;
    margin-bottom:40px;
}

.document-info th{
    width:260px;
    background:#f4f4f4;
    text-align:left;
    padding:14px;
    border:1px solid #ddd;
}

.document-info td{
    padding:14px;
    border:1px solid #ddd;
}

.preview-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.preview-header h2{
    margin:0;
    font-size:34px;
}


iframe{
    border:1px solid #ddd;
    border-radius:6px;
}
/* ===========================
   DOCUMENT ARCHIVE
=========================== */

.document-archive{
    max-width:1200px;
    margin:40px auto;
    padding:0 15px;
}

.document-archive h1{
    font-size:42px;
    margin-bottom:30px;
}

/* ===========================
   SEARCH BAR
=========================== */

.document-search{
    display:flex;
    gap:15px;
    align-items:center;
    margin-bottom:30px;
    flex-wrap:wrap;
}

.document-search input{
    flex:1;
    min-width:350px;
    height:48px;
    border:1px solid #ddd;
    border-radius:6px;
    padding:0 15px;
}

.document-search select{
    width:260px;
    height:48px;
    border:1px solid #ddd;
    border-radius:6px;
    padding:0 10px;
}

.search-btn{
    height:48px;
    padding:0 28px;
    border:none;
    border-radius:6px;
    background:#1565D8;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

.search-btn:hover{
    background:#0d4fb5;
}

/* ===========================
   TABLE
=========================== */

.table-responsive{
    overflow-x:auto;
}

.document-table{
    width:100%;
    border-collapse:collapse;
    table-layout:auto;
}

.document-table th{
    background:#1565D8;
    color:#fff;
    padding:15px;
    text-align:center;
}

.document-table td{
    padding:15px;
    border:1px solid #eee;
    vertical-align:middle;
}

.document-table tr:nth-child(even){
    background:#fafafa;
}

/* Column widths */

.document-table th:nth-child(1),
.document-table td:nth-child(1){
      width:45%;
    
}

.document-table th:nth-child(2),
.document-table td:nth-child(2){
    width:12%;
text-align:Center;
}

.document-table th:nth-child(3),
.document-table td:nth-child(3){
    width:14%;
}

.document-table th:nth-child(4),
.document-table td:nth-child(4){
    width:16%;
}

.document-table th:nth-child(5),
.document-table td:nth-child(5){
    width:8%;
}

.document-table th:nth-child(6),
.document-table td:nth-child(6){
    width:18%;
text-align:Center;
}




/* ===========================
   TITLE
=========================== */

.title-column a{
    color:#1565D8;
    text-decoration:none;
    font-size:18px;
    font-weight:400;O

}

.title-column a:hover{
    text-decoration:underline;
}

/* ===========================
   ACTION
=========================== */

.action-buttons{
    display:flex;
 justify-content:center;
    align-items:center;
    gap:6px;
}

.action-buttons a{
    display:inline-flex;
    justify-content:center;
    padding:4px 12px;
    border-radius:6px;
   
    text-decoration:none;
    font-weight:400;
    white-space:nowrap;
}

.view-btn{
 display:inline-flex;
    align-items:center;
    gap:6px;

    padding:6px 14px;

    border:1px solid #1565D8;
    border-radius:5px;

    background:#fff;
    color:#1565D8;

    text-decoration:none;
    font-size:14px;
    font-weight:400;

    transition:.2s; }

.view-btn:hover{
    background:#0d4fb5;
    color:#fff;
}

.table-download-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;

    padding:6px 14px;

    border:1px solid #228B22;
    border-radius:5px;

    background:#fff;
    color:#228B22;

    text-decoration:none;
    font-size:14px;
    font-weight:400;

    transition:.2s;
}

.table-download-btn:hover{
    background:#228B22;
    color:#fff;
}
/* ===========================
   FOOTER INFO
=========================== */

.document-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:25px;
    flex-wrap:wrap;
}

.pagination{
    display:flex;
    gap:8px;
}

.pagination a,
.pagination span{
    padding:8px 14px;
    border:1px solid #ddd;
    border-radius:5px;
    text-decoration:none;
}

.pagination .current{
    background:#1565D8;
    color:#fff;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

.document-search{
    flex-direction:column;
}

.document-search input,
.document-search select,
.search-btn{
    width:100%;
}

.document-archive h1{
    font-size:34px;
}

}
