.hasil-search{
    display:flex;
    justify-content:space-between;
    gap:20px;

    padding:25px;
    margin-bottom:25px;


    border:none;
    border-radius:10px;
    background:#fff;

    box-shadow:0 2px 10px rgba(0,0,0,.5);
}

.hasil-search:hover{
     /*box-shadow:0 2px 15px rgba(255,0,255,.7); */
} 

/* KIRI */
.hasil-kiri{
    flex:1;
    display:flex;
    flex-direction:column;
}

.hasil-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:5px;
    
}

.hasil-meta span{
    padding:5px 15px;
    font-size:14px;
    color:#333;
}

.hasil-meta-tanggal{
    display:flex;
    gap:20px;
    font-size:13px;
    color:#64748b;
    
}

.hasil-meta-tanggal span{
    display:flex;
    align-items:center;
    gap:6px;
    border-radius:50rem;
    background-color:  color-mix(in srgb, #4154f1, transparent 85%);
    padding: 5px 10px;
}

.hasil-meta-tanggal i{
    color:#0d6efd;
}

@media(max-width:768px){
    .hasil-meta{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:.45rem;
}
}

.badge-info{
    min-width:90px;

    padding:8px 15px;

    text-align:center;
    font-size:14px;

    background:#B9FEF0;
    border:1px solid #284b8a;
    color:#333;
}
.badge-jenis
 {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
     background-color:  color-mix(in srgb, #04A2BA, transparent 90%);
}
.badge-jenis i{ margin-right:5px; }
.badge-info-success{
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
     background-color:  color-mix(in srgb, #05FA32, transparent 85%);
}
.badge-info-danger{
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
     background-color:  color-mix(in srgb, #FA051E, transparent 85%);
}

/* JUDUL */
.hasil-judul{
    display:flex;
    /*align-items:center;*/

    min-height:140px;
    padding: 20px 0;
    text-align:justify;
    font-size:15px;
    font-weight:600;
    line-height:1.2;

    color:#1f2937;
}
.hasil-judul a{
    color:#1f2937;
    text-decoration:none;
}

.hasil-judul a:hover{
    color:#0d6efd;
}

.aksi{
    display:flex;
    flex-wrap:wrap;
    gap:10px;

    /*margin-top:15px;*/
}
.aksi a{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    /*min-width:110px;*/
    height:40px;

    padding:0;

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

    border-radius:6px;

    transition:all .2s ease;
}
.aksi i{ margin-right:10px;}
.aksi .disabled{
    pointer-events:none;
    cursor:not-allowed;

    background:#f1f1f1;
    border-color:#d0d0d0;

    color:#999;

    opacity:.7;
}


/* KANAN */

/*.hasil-kanan{*/
/*    width:150px;*/

/*    display:flex;*/
/*    flex-direction:column;*/
/*    align-items:center;*/
/*    gap:12px;*/
/*}*/
.hasil-kanan{
    /*flex:0 0 150px;*/
    width: 200px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hasil-cover{
    width:160px;
    height:175px;

    background:#fff;

    border:1px solid #e5e7eb;
    border-radius:6px;

    overflow:hidden;
   
    box-shadow:
        0 2px 4px rgba(0,0,0,.08),
        0 6px 12px rgba(0,0,0,.05);
}

.hasil-cover img{
    width:100%;
    height:100%;
    padding:10px;
    object-fit:cover;
}

.btn-hasil{
    width:100px;


    text-align:center;
    text-decoration:none;

    color:#333;
    background:#fff;

    border:1px solid #8bc34a;
    border-radius:8px;

    transition:.2s ease;
}

.btn-hasil:hover{
    background:#8bc34a;
    color:#fff;
    transform:translateY(-2px);
}


@media (max-width:768px){

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

    .hasil-kanan{
        width:100%;
        flex-direction:row;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hasil-cover{
        width:100px;
        height:140px;
    }

    .btn-hasil{
        flex:1;
        min-width:100px;
    }
}

.hasil-info{
    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:15px;
    padding:12px 15px;

    background:#e8f4fd;
    border-left:4px solid #0d6efd;
    border-radius:6px;

    color:#0c5460;
    font-size:14px;
}

.hasil-info i{
    color:#0d6efd;
    font-size:24px;
}



#pdf-toolbar{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#fff;
    border-bottom:1px solid #e9ecef;
    position:sticky;
    top:0;
    z-index:10;
    width:70%;
}


#pdf-toolbar button:active{
    transform:scale(.95);
}

#pdf-toolbar button:disabled{
    opacity:.45;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}

#pageNumber{
    width:56px;
    height:40px;
    border:1px solid #ced4da;
    border-radius:8px;
    text-align:center;
    font-weight:600;
    font-size:15px;
    outline:none;
    transition:.2s;
}
#pageNumber:focus{
    border-color:#0d6efd;
    box-shadow:0 0 0 .2rem rgba(13,110,253,.15);
}

#pageTotal{
    min-width:40px;
    font-weight:600;
    color:#495057;
}

#zoomLevel{
    min-width:55px;
    text-align:center;
    font-weight:600;
    color:#0d47a1;
    user-select:none;
}

.pdf-divider{
    width:1px;
    height:26px;
    background:#dee2e6;
    margin:0 8px;
}

@media (max-width:768px){

    #pdf-toolbar{
        gap:4px;
        padding:10px;
        flex-wrap:wrap;
    }
    #pdf-toolbar button{
        width:34px;
        height:34px;
        font-size:13px;
    }
    #pageNumber{
        width:48px;
        height:34px;
    }
    #zoomLevel{
        min-width:48px;
        font-size:13px;
    }

}

.modal-body{
    display:flex;
    flex-direction:column;
    height:90vh;
}

#pageNumber{
    width:60px;
    text-align:center;
}

#pdf-container{

    display:flex;

    justify-content:center;

    padding:20px;
    flex:1;

    overflow:auto;

}

.disclaimer-preview{
    background:#f5f8fa;
    border-left:4px solid #6c757d !important;
    color:#5c4400;
    font-size:.9rem;
    line-height:1.2;
    margin: 0 15px;
}

.disclaimer-preview i{
    color:#5c4400;
    flex-shrink:0;
    font-size: 36px;
}


.badge-dokumen{
    display:inline-flex;
    align-items:center;
    gap:.35rem;

    padding:.32rem .75rem;

    border-radius:50rem;

    font-size:.74rem;

    font-weight:600;

    white-space:nowrap;

    margin-left:.35rem;
}

.badge-dokumen i{
    font-size:.8rem;
}


.badge-salinan{

    color:#0f5132;

    background:#d1e7dd;

    border:1px solid #badbcc;
}


.badge-arsip{

    color:#664d03;

    background:#fff3cd;

    border:1px solid #ffecb5;

    cursor:help;
}


