/* 
    @ Reset CSS 
*/

/* Bottom-left map logo */
.leaflet-bottom.leaflet-left img.leaflet-control {
    height: 45px;
    width: auto !important;
}

html,
body,
nav,
ul,
li,
input {
    margin: 0;
    padding: 0;
    list-style: none;
}

html,
body {
    height: 100%;
    overflow: hidden;
}


/*
==================================
    @ Setup Global 
==================================
*/

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

/* .header,
.container,
.about {
    position: absolute;
} */

.container {
    height: 91%;
    width: 100%;
}

/*
==================================
    @ This is item on header tag
==================================
*/

header {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px 15px;
    height: 9%;
    width: 100%;
    background: #FEE50F;
    /*background: linear-gradient(180deg, rgba(254, 229, 15, 1) 85%, rgba(151, 210, 227, 1) 100%);*/
    box-sizing: border-box;
    align-items: center;
}

/*
==================================
    @ Navbar Style 
==================================
*/

nav ul li {
    display: inline;
}

.nav-links {
    list-style: none;
    box-sizing: border-box;
}

.nav-links i {
    padding: 0 10px;
}


.nav-links li {
    margin: 0 20px;
}

.nav-links li {
    color: #000;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 1.5;
    text-shadow: -1px 1px 2px rgba(0, 0, 0, 0.18);
}

.nav-links li:hover {
    color: #FFF;
    text-shadow: -1px 1px 6px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/*
==================================
    @ About Box 
==================================
*/

.about {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    display: none;
    overflow: hidden;
    z-index: 1050;

}

.about.fade {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

.about.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-about-wrap,
.modal-neraca-wrap {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.9999);
    top: 15%;
    left: 25%;
    right: 25%;
    bottom: 15%;
    display: none;
    z-index: 1055;
    border-radius: 5px;
    padding: 5px;
}

.modal-about-wrap .modal-content,
.modal-neraca-wrap .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;


}

.modal-content {
    /* background-color: salmon; */

}

/* .modal-content .modal-header, */
.modal-content .modal-body,
.modal-content .modal-footer {
    margin: 15px 0 5px;
    padding: 0 20px;
}

.modal-content .modal-header {
    text-align: center;
    background-color: #FEE50F;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin: 5px 10px 5px;
    border-radius: 3px;
}

.modal-header img {
    width: 50px;
    height: 50px;
}

.modal-header h1 {
    margin: 0 0 0 10px;
    font-weight: 700;
    letter-spacing: 0.1rem;
    font-size: 1.5rem;
}


.modal-content .modal-body {
    text-align: justify;
    flex: 1;
    letter-spacing: 0.5px;
    overflow: auto;



}

.modal-content .modal-footer {
    border-top: 0.5px solid #BDC2C4;
    padding: 8px 20px;
    overflow: hidden;
}

.modal-content .modal-footer p {
    margin: 0;
}




.modal-about-wrap .close,
.modal-neraca-wrap .close {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 0 50px #FEE50F inset;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-about-wrap .close span {}

/*
==================================
    @ Logo Style 
==================================
*/

.logo a {
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-left: 15px;
    justify-content: flex-end;
    text-decoration: none;
    color: #000;
}


.logo span {
    margin: auto 10px;
    font-size: 1.25rem;
}




/*
=======================================
    @ This is style for panel side map
=======================================
*/



.panel-frame {
    width: 300px;
    max-height: 450px;
    background: #FEE50F;
    box-sizing: border-box;
    padding: 10px 4px 4px;
    flex-direction: column;
    -webkit-box-shadow: 0px 0px 16px -2px rgba(254, 229, 15, 1);
    -moz-box-shadow: 0px 0px 16px -2px rgba(254, 229, 15, 1);
    box-shadow: 0px 0px 16px -2px rgba(254, 229, 15, 1);
    justify-content: center;
    opacity: 0.95;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 2px;
    display: none;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0 0 5px 5px;
    letter-spacing: 0.15rem;
    box-sizing: border-box;
}

.panel-title .close {
    cursor: pointer;
}

.panel-body {
    padding: 10px 5px 10px;
    overflow: auto;
    background-color: rgb(243, 243, 243);
    text-align: justify;
    opacity: 1;
    display: flex;
    flex-direction: column;
    border-radius: 1px;
    border: solid #9191726c 1px;
    scrollbar-width: thin;
    scrollbar-color: #919172 #CCCCCC;
}

.panel-body::-webkit-scrollbar {
    width: 5px;
}

.panel-body::-webkit-scrollbar-thumb {
    background: #919172;
    border-radius: 20px;
}

.panel-body::-webkit-scrollbar-track {
    background: #CCCCCC;
    border-radius: 20px;
}

.panel-item {
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.item-header {
    padding: 10px 7px 5px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-right: 1px solid none;
    border-bottom: 1px solid #919172;
    border-left: 1px solid none;
    border-radius: 5px;
    letter-spacing: 0.05rem;
    cursor: pointer;
}

.item-header:hover {
    background-color: lavender;
}

.collapse-icon {
    font-size: 0.75rem;
    color: #555;
    transition: transform 0.3s ease;
    margin-left: auto;
    padding: 0 5px;
}

.item-header.expanded .collapse-icon {
    transform: rotate(180deg);
}

.title-item {
    font-size: 1rem;
    margin: 0 10px;
    flex-grow: 1;
    text-shadow: 0px 3px 2px rgba(199, 199, 199, 1);
}

a.title-item {
    text-decoration: none;
    color: inherit;
}

.panel-content {
    padding: 0 0 0 5px;
}

#panel-potensi .panel-content {
    display: none;
}

#panel-statistik .item-header {
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 0 3px;
    cursor: default;
    border-bottom: 1px solid #91917236;
    border-radius: unset;
}

#panel-statistik .item-header:hover {
    background-color: inherit;
}

.komoditas-mineral {
    display: none;
}

.panel-content select {
    width: 100%;
}

.list-potensi {
    display: flex;
    flex-wrap: wrap;
}

.item-provinsi,
.item-kabupaten,
.item-komoditas {
    display: flex;

}

.option-potensi {
    width: 50%;
    margin-bottom: 4px;
}

.option-potensi label:hover {
    cursor: pointer;
}

.body-content {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.body-content img,
.body-content .text-content,
.body-content input {
    margin: 0px 5px 4px;
}

.title-content-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title-content-wrap .check-group {
    cursor: pointer;
    margin-right: 5px;
    flex-shrink: 0;
}

.title-content {
    font-size: 1.1rem;
    margin: 5px 0 4px;
    font-weight: lighter;
    flex-grow: 1;
}

.text-content {
    /* font-size: .9rem; */
    margin: 0 5px;
    flex-grow: 1;
}

/*
==================================
    @ Setting for Form Statistik
==================================
*/

.item-komoditas .list-komoditas,
.item-provinsi .list-provinsi,
.item-kabupaten .list-kabupaten {
    font-size: 0.7rem;
    font-family: Arial;
    padding: 5px;
    border: 0.5;
    cursor: pointer;
    border: 1px solid transparent;
    border-color: rgba(145, 145, 114, 0.21);
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: color 0.3s ease, background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.item-komoditas .list-komoditas::-webkit-scrollbar-track,
.item-provinsi .list-provinsi::-webkit-scrollbar-track,
.item-kabupaten .list-kabupaten::-webkit-scrollbar-track {

    /* padding-left: 5px;
    -webkit-appearance: none;
    -moz-appearance: none; */
    border-top-right-radius: 0;

}

.item-provinsi .list-provinsi {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}



.tab-panel::-webkit-scrollbar-track {
    border-top-right-radius: 0;
}


.tab-panel::-webkit-scrollbar {
    width: 5px;
}

.tab-panel::-webkit-scrollbar-thumb {
    background: rgb(67, 94, 121);
    border-radius: 20px;
}


.btn-stat-provinsi {
    background-color: #d6d8d4;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.btn-stat-provinsi:hover {
    background-color: #babdb6;
}


/* Dashboard Statistik */
.dash-statistik.leaflet-control {
    margin-left: 325px;
    position: absolute;
    height: 510px;
    width: 800px;
    box-sizing: content-box;
}

.dash-statistik {
    background-color: #EEF1F2;
    border-radius: 3px;
    opacity: 0.95;
    padding: 10px;
    box-sizing: border-box;
    display: none;
    /* border: 2px solid #9191726c; */
    border: 1px solid #F8E419;
}

.dash-statistik .wrap {
    display: flex;
    flex-direction: column;
    height: inherit;
    max-width: inherit;
    box-sizing: content-box;
}

.dash-statistik .header {
    background: #FEE50F;
    flex: 0.7;
    justify-content: center;
    padding-top: 10px;
    text-align: center;
    font-family: 'Poppins', 'Segoe UI';
    font-weight: 610;
    letter-spacing: 0.2rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.dash-statistik .body {
    display: flex;
    flex-direction: column;
    margin: 10px 0 10px;
    flex: 7;
}

.dash-statistik .body .info {
    display: flex;
    justify-content: space-between;
    margin: 0 -3px;

}

.dash-statistik .body .info .item {
    height: 50px;
    background-color: #FFFFFF;
    flex-grow: 1;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.dash-statistik .body .info .item p {
    margin: 5px auto 2px;
}

.dash-statistik .body .chart-box,
.msg-status {
    height: 100%;
    background-color: #FFFFFF;
    margin: 5px 2px;
    flex: 2;
    display: flex;
    box-sizing: border-box;
    align-items: stretch;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    justify-content: center;
}

.dash-statistik .body .chart-box .graphic,
.dash-statistik .body .chart-box .graphic-2,
.dash-statistik .body .chart-box .table-grap,
.dash-statistik .body .chart-box .table-grap-2 {
    margin: 15px 5px;
}

.dash-statistik .body .chart-box .graphic,
.dash-statistik .body .chart-box .graphic-2 {
    flex: 1.5;
}

.dash-statistik .body .chart-box .table-grap,
.dash-statistik .body .chart-box .table-grap-2 {
    height: 230px;
    overflow: hidden hidden;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #919172 transparent;
    padding: 5px;
    box-sizing: border-box;
    border: 0.1px solid #E9EFF1;
    border-radius: 3px;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
    margin: 10px 10px 10px 5px;
    text-align: center;
}


.tab-mineral-logam .tab-button {
    margin: 0 5px 0px 1.5px;
    border: 0.5px solid #BDC2C4;
    padding: 5px;
    letter-spacing: 2px;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;

}

.tab-button.active {
    bottom: -1px;
    position: relative;
    background-color: #ffffff;
}



.tab-mineral-logam .tab-button:hover {
    cursor: pointer;
}

.tab-mineral-logam .tab-button.active:hover {
    cursor: default;
}

.chart-box .tab-mineral-logam,
.chart-box .tab-content {
    display: flex;
    flex-direction: row;
    margin: 5px 0px
}

.chart-box .tab-mineral-logam {
    display: none;
    margin: 0 10px;
    border-bottom: 0.5px solid #BDC2C4;
}


.chart-box .table-grap .table-grap-2::-webkit-scrollbar {
    width: 5px;
}


.chart-box .table-grap .table-grap-2::-webkit-scrollbar-thumb {
    background: #919172;
    border-radius: 20px;
}


.chart-box .table-grap .table-grap-2::-webkit-scrollbar-track {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


.table-statistik tr:hover {
    background-color: #f5f5f5;
}

.table-statistik {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    font-size: 0.7rem;
}

.table-statistik td,
.table-statistik th {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 8px;
}

.table-statistik td.right {
    text-align: right;
}

.msg-status {
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 1.5;

}

.dash-statistik .footer {
    flex: 0.5;
}

.col-right {
    position: absolute;
    right: 10px;
}

.btn-close {
    padding: 5px 15px;
    /* background-color: #d6d8d4; */
    background-color: #ffffff;
    border: 0.5px solid #d6d8d4;
    /* border: 0.5px solid #d6d8d4; */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    box-sizing: border-box;
}

.btn-close:hover {
    /* background-color: #ffffff; */
    background-color: #d6d8d4;
    color: #000000;
    border: 0.5px solid #d6d8d4;
}

#myChart-stat {
    max-height: inherit;
}


/*  
=======================================================================
    @ All About Style Main Map Leaflet
=======================================================================
*/
/*  
==================================
    @ Main Map Style 
==================================
*/
#map {
    height: 100%;
    width: 100%;
}

/*  
==================================
    @ Button Center Map
==================================
*/

.center-map-button {
    border: solid rgba(255, 255, 255, 1.0) 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    border-radius: 3px;
    background: #f8f8f9;
    transition: all .6s;
    cursor: pointer;
}

/*
==================================
    @ Custom Popup Style
==================================
*/

.custom-popup.leaflet-popup {
    display: flex !important;
    bottom: -555px !important;
    left: 15px !important;
    opacity: 0.95 !important;
}

.custom-popup .leaflet-popup-content-wrapper,
.custom-popup .leaflet-popup-tip {
    background: #2c3e50 !important;
}


.custom-popup .leaflet-popup-content-wrapper {
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    flex: 1;
}

.custom-popup .leaflet-popup-content {
    width: auto !important;
    margin: 10px 10px;
}

.custom-popup .leaflet-popup-content-wrapper a {
    color: rgba(255, 255, 255, 0.1);
}

.custom-popup .leaflet-popup-tip-container {
    left: -5.8%;
    height: 40px;
    position: absolute;
    overflow: hidden;
    pointer-events: none;
}

.custom-popup .leaflet-popup-tip {
    position: absolute;
    right: -10.9px;
    top: 17px;
}

.popup-content {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    width: 320px;
    height: 530px;
}

.popup-header {
    font-size: 1rem;
    margin: 0;
    letter-spacing: 0.05rem;
}

.popup-body {
    margin: 5px 0 0;
    line-height: 20px;
}

.popup-body .popup-title-item {
    background: rgb(57, 75, 93);
    padding: 5px 5px 0;
    font-size: 0.85rem;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.popup-body .popup-title-item.right {
    text-align: right;
}

.popup-body .popup-title-item.center {
    text-align: center;
}

.item-popup,
.tab {
    letter-spacing: 0.4px;
    font-size: 0.7rem;
}

.item-popup {
    padding: 5px;
    background: rgb(57, 75, 93);
    margin-bottom: 5px;
    height: 100px;
    scrollbar-color: rgb(67, 94, 121) transparent;
    scrollbar-width: thin;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    overflow: hidden scroll;
}


.item-popup:last-child {
    height: 145px;
}

.item-popup.split .sub-item {
    width: 50%;
    padding: 0 0 0 5px
}

.item-popup.split .sub-item-wrap .sub-item {
    flex-grow: 1;
    width: unset;
}

.sub-item-wrap {
    display: flex;
    flex-wrap: wrap;
}

.item-popup.split .sub-item-wrap .sub-item:last-child {
    flex-grow: 3;
    font-size: 0.85rem;
}

.tab-panel .sub-item {
    width: 50%;
    padding: 0 0 0 5px;
    font-size: 0.7rem;
}


.item-popup::-webkit-scrollbar-track {
    border-top-right-radius: 0;
}


.item-popup::-webkit-scrollbar {
    width: 5px;
}


.item-popup::-webkit-scrollbar-thumb {
    background: rgb(67, 94, 121);
    border-radius: 20px;
}


.tab-panel::-webkit-scrollbar-track {
    border-top-right-radius: 0;
}

.tab-panel::-webkit-scrollbar {
    width: 5px;
}

.tab-panel::-webkit-scrollbar-thumb {
    background: rgb(67, 94, 121);
    border-radius: 20px;
}

.tab .tab-panel,
.item-popup.split {
    display: flex;
    padding-top: 4;
    height: 125px;
    align-content: space-around;
}


.tab {
    background: rgb(57, 75, 93);
    margin-bottom: 5px;
    /* font-size: 0.8rem; */
    padding: 0 5px 5px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}


.tab .tab-item {
    display: flex;
    cursor: pointer;
    letter-spacing: 1.5px;
    font-weight: 650;
}


.tab .tab-item .active {
    background-image: linear-gradient(rgb(134, 144, 151), #435465);
    border-bottom: none;
    bottom: -1px;
    position: relative;
    padding-top: 3px;
}


.tab .tab-panel,
.tab-item .popup-title-item {
    border: 1px solid #373f46a4;
}


.tab-item .popup-title-item {
    width: auto;
    background-color: #435465;
    margin-right: 2px;
    padding-bottom: 2px;
    text-align: center;
    font-size: 0.7rem;
    border-bottom: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


.tab .tab-panel {
    height: 100px;
    background-color: #435465;
    padding: 5px 0 5px 5px;
    box-sizing: border-box;
    overflow: hidden scroll;
    scrollbar-color: rgb(67, 94, 121) transparent;
    scrollbar-width: thin;
}







.popup-footer {
    font-size: 9.5px;
    text-align: right;
    font-style: italic;
    margin: 5px 0 -5px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.popup-footer span {
    font-size: 0.45rem;
    opacity: 0.5;
}






/*
==================================
    @ Setting for Responsive page
==================================
*/

@media (max-height: 500px) {

    .container {
        height: 200%;
        width: 100vw;
        overflow: scroll;
    }

    /* .container::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 50px;
      }

      .container::-webkit-scrollbar-thumb {
        border-radius: 30px;
        background-color: rgba(0, 0, 0, .5);
        box-shadow: 0 0 1px rgba(255, 255, 255, .5);
      } */

    .container::-webkit-scrollbar-track {
        border-top-right-radius: 0;
    }


    .container::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }


    .container::-webkit-scrollbar-thumb {
        background: rgb(67, 94, 121);
        border-radius: 20px;

    }


    header {
        padding: 5px 10px;
        height: 55px;
    }



    .modal-content .modal-body {
        overflow-y: scroll;
        scrollbar-width: thin;
        /* background-color: yellowgreen !important; */
    }
}

@media (max-width: 691px) {
    .nav-links {
        font-size: 10px;
        letter-spacing: 0.5;
    }

    .nav-links i {
        padding: 0 2px;
    }

    .nav-links li {
        margin: 0 5px 5px;
    }

    .nav-links li:last-child {
        margin-right: 0;
    }

    .nav-links li:hover {
        color: #FFF;
        text-shadow: -1px 1px 6px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .modal-about-wrap,
    .modal-neraca-wrap {
        width: 90%;
        left: 5%;
        right: 5%;
    }

}

@media (max-width: 450px) {

    header {
        height: 80px;
    }

    nav ul li {
        display: block;
    }

    .leaflet-top .panel-frame {
        margin-top: 45px;
    }

    .panel-frame {
        width: 94vw;
    }

    .dash-statistik.leaflet-control {
        margin-left: 10px;
        position: absolute;
    }


}

@media (max-width: 800px) {

    /* .container::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;

    }

    .container::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0, 0, 0, .5);
        box-shadow: 0 0 1px rgba(255, 255, 255, .5);
      } */






    .dash-statistik.leaflet-control {
        margin-left: 10px;
        position: relative;
        /* height: 510px; */
        width: 94.5vw;
        /* box-sizing: border-box; */
    }
}

/*
==================================
    @ Burger Menu (Mobile ≤400px)
==================================
*/

.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    padding: 5px 12px;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.burger-menu:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Modal */
.mobile-menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2001;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-menu-modal.active {
    display: block;
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #FEE50F;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
}

.mobile-menu-header .close {
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    color: #333;
    padding: 0 4px;
}

.mobile-menu-header .close:hover {
    color: #000;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.mobile-menu-list li {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list li:hover {
    background-color: #FFF9D0;
    padding-left: 30px;
}

.mobile-menu-list li:active {
    background-color: #FEE50F;
}

.mobile-menu-list li i {
    width: 24px;
    text-align: center;
    color: #666;
    margin-right: 8px;
}

.mobile-menu-list li:hover i {
    color: #333;
}

/* Responsive: show burger at ≤400px */
@media (max-width: 400px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none !important;
    }

    .logo span {
        font-size: 1rem;
    }

    .logo a {
        margin-right: 10px;
        margin-left: 5px;
    }

    header {
        padding: 10px 5px;
    }

    nav {
        margin-left: auto;
    }

    .leaflet-bottom.leaflet-right {
        margin-bottom: 20px;
    }

    .leaflet-control-attribution {
        display: none !important;
    }

    .center-map-button {
        display: none !important;
    }

    /* ---- Dashboard Statistik: full-screen responsive ---- */
    .dash-statistik.leaflet-control {
        margin: 0 !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 10000;
        border-radius: 0;
        box-sizing: border-box;
    }

    .dash-statistik {
        opacity: 1;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .dash-statistik .wrap {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        padding: 0 0 60px 0;
        scrollbar-width: thin;
    }

    .dash-statistik .header {
        font-size: 0.85rem;
        letter-spacing: 0.08rem;
        padding: 12px 10px;
        line-height: 1.3;
        flex: none;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .dash-statistik .body {
        margin: 8px;
        flex: none;
    }

    .dash-statistik .body .info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin: 0;
    }

    .dash-statistik .body .info .item {
        height: auto;
        min-height: 40px;
        margin: 0;
        padding: 6px 8px;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .dash-statistik .body .info .item p {
        margin: 0 0 2px;
        font-size: 0.65rem;
        font-weight: 600;
        color: #666;
    }

    .dash-statistik .body .chart-box {
        flex-direction: column;
        margin: 8px 0;
        height: auto;
    }

    .chart-box .tab-content {
        flex-direction: column !important;
    }

    .dash-statistik .body .chart-box .graphic,
    .dash-statistik .body .chart-box .graphic-2 {
        flex: none;
        margin: 8px 5px;
        min-height: 180px;
    }

    .dash-statistik .body .chart-box .table-grap,
    .dash-statistik .body .chart-box .table-grap-2 {
        flex: none;
        height: auto;
        max-height: 200px;
        overflow-y: auto;
        margin: 5px;
        font-size: 0.7rem;
    }

    .tab-mineral-logam .tab-button {
        padding: 8px 12px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .table-statistik td,
    .table-statistik th {
        padding: 5px 4px;
        font-size: 0.65rem;
    }

    .dash-statistik .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #EEF1F2;
        padding: 10px;
        border-top: 1px solid #ddd;
        flex: none;
        z-index: 10001;
    }

    .dash-statistik .footer .col-right {
        position: static;
        display: block;
        text-align: center;
    }

    .dash-statistik .footer .btn-close {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
        font-weight: 500;
    }
}

/*
==================================
    @ Laporan Penyelidikan Overlay & Modal
==================================
*/

.laporan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 2050;
    backdrop-filter: blur(3px);
}

.laporan-modal {
    position: fixed;
    top: 3%;
    left: 5%;
    right: 5%;
    bottom: 3%;
    z-index: 2055;
    background: #f8f9fb;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: laporanSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes laporanSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.laporan-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1a5276, #2c3e50);
    color: #fff;
    flex-shrink: 0;
}

.laporan-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.laporan-header-left h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
}

.laporan-modal-header .close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.laporan-modal-header .close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Toolbar */
.laporan-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e8e8ed;
    flex-shrink: 0;
    gap: 16px;
    flex-wrap: wrap;
}

.laporan-filter-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.laporan-filter-btn {
    padding: 7px 14px;
    border: 1.5px solid #d0d5dd;
    background: #ffffff;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: 0.02rem;
}

.laporan-filter-btn:hover {
    border-color: #1a5276;
    color: #1a5276;
    background: #eaf2f8;
}

.laporan-filter-btn.active {
    background: linear-gradient(135deg, #1a5276, #2980b9);
    border-color: #1a5276;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 82, 118, 0.3);
}

.laporan-search-wrap {
    display: flex;
    align-items: center;
    background: #f5f6fa;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    padding: 0 12px;
    min-width: 260px;
    transition: border-color 0.2s ease;
}

.laporan-search-wrap:focus-within {
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

.laporan-search-wrap i {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-right: 8px;
}

.laporan-search-wrap input {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    width: 100%;
    color: #333;
}

.laporan-search-wrap input::placeholder {
    color: #aaa;
}

/* Count Bar */
.laporan-count-bar {
    padding: 6px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e8e8ed;
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
}

/* Cards Container */
.laporan-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 transparent;
}

.laporan-body::-webkit-scrollbar {
    width: 6px;
}

.laporan-body::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 10px;
}

.laporan-body::-webkit-scrollbar-track {
    background: transparent;
}

/* Cards Grid */
.laporan-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

/* Individual Card */
.laporan-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e8e8ed;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.laporan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d5;
}

/* Category Badge */
.laporan-card-badge {
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Badge colors per tipe komoditi */
.laporan-card.tipe-ml .laporan-card-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-bottom: 2px solid #f59e0b;
}

.laporan-card.tipe-mbl .laporan-card-badge {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border-bottom: 2px solid #3b82f6;
}

.laporan-card.tipe-pb .laporan-card-badge {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-bottom: 2px solid #10b981;
}

.laporan-card.tipe-bb .laporan-card-badge {
    background: linear-gradient(135deg, #d5dde5, #a8bece);
    color: #2c3e50;
    border-bottom: 2px solid #5d7b96;
}

.laporan-card.tipe-gambut .laporan-card-badge {
    background: linear-gradient(135deg, #fde8d0, #f5c89a);
    color: #78350f;
    border-bottom: 2px solid #b45309;
}

/* Card Body */
.laporan-card-body {
    padding: 14px 16px 10px;
    flex: 1;
}

.laporan-card-title {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.laporan-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.laporan-meta-item {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.laporan-meta-item i {
    color: #9ca3af;
    font-size: 0.7rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.laporan-meta-lokasi {
    color: #2980b9;
    font-style: italic;
}

.laporan-meta-lokasi i {
    color: #e74c3c;
}

/* Card Actions */
.laporan-card-actions {
    display: flex;
    border-top: 1px solid #f0f0f5;
    padding: 0;
}

.laporan-card-actions button,
.laporan-card-actions a {
    flex: 1;
    padding: 10px 12px;
    border: none;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-laporan-detail {
    background: #f8fafc;
    color: #475569;
    border-right: 1px solid #f0f0f5 !important;
}

.btn-laporan-detail:hover {
    background: #eaf2f8;
    color: #1a5276;
}

.btn-laporan-baca {
    background: #f8fafc;
    color: #475569;
    border: none;
    cursor: pointer;
}

.btn-laporan-baca:hover:not(.disabled) {
    background: #dbeafe;
    color: #1e40af;
}

.btn-laporan-baca i {
    color: #3b82f6;
}

.btn-laporan-baca.disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    color: #9ca3af;
}

.btn-laporan-baca.disabled i {
    color: #9ca3af;
}

/* Loading & Empty States */
.laporan-loading,
.laporan-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 0.95rem;
    gap: 12px;
}

.laporan-loading i,
.laporan-empty i {
    font-size: 2rem;
    color: #d1d5db;
}

.laporan-empty p {
    margin: 0;
}

/* Footer */
.laporan-footer {
    padding: 10px 24px;
    text-align: center;
    font-size: 0.72rem;
    color: #9ca3af;
    border-top: 1px solid #e8e8ed;
    background: #ffffff;
    flex-shrink: 0;
}

/*
==================================
    @ Laporan Detail Modal
==================================
*/

.laporan-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2060;
    backdrop-filter: blur(2px);
}

.laporan-detail-modal {
    position: fixed;
    top: 10%;
    left: 20%;
    right: 20%;
    bottom: 10%;
    z-index: 2065;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: laporanSlideIn 0.3s ease;
}

.laporan-detail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1a5276, #2c3e50);
    color: #fff;
    flex-shrink: 0;
}

.laporan-detail-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.laporan-detail-modal-header .close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.laporan-detail-modal-header .close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.laporan-detail-modal-body {
    flex: 1;
    padding: 24px 28px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 transparent;
    line-height: 1.7;
    color: #333;
}

.laporan-detail-modal-body::-webkit-scrollbar {
    width: 5px;
}

.laporan-detail-modal-body::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 10px;
}

.laporan-detail-judul {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.5;
}

.laporan-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
}

.laporan-detail-badge.ml {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.laporan-detail-badge.mbl {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.laporan-detail-badge.pb {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.laporan-detail-badge.bb {
    background: linear-gradient(135deg, #d5dde5, #a8bece);
    color: #2c3e50;
}

.laporan-detail-badge.gambut {
    background: linear-gradient(135deg, #fde8d0, #f5c89a);
    color: #78350f;
}

.laporan-detail-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

.laporan-detail-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.detail-label {
    font-size: 0.82rem;
    color: #6b7280;
    min-width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-label i {
    color: #9ca3af;
    font-size: 0.78rem;
    width: 16px;
    text-align: center;
}

.detail-value {
    font-size: 0.88rem;
    color: #1f2937;
    font-weight: 500;
    flex: 1;
}

.laporan-detail-download-wrap {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.btn-detail-baca {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(26, 82, 118, 0.3);
}

.btn-detail-baca:hover {
    background: linear-gradient(135deg, #154360, #1a5276);
    box-shadow: 0 4px 14px rgba(26, 82, 118, 0.45);
    transform: translateY(-1px);
}

.btn-detail-baca i {
    font-size: 0.95rem;
}

/* Mini Map in Detail Modal */
.laporan-detail-map-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.detail-map-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.detail-map-label i {
    color: #2980b9;
    margin-right: 6px;
}

.laporan-detail-minimap {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    z-index: 1;
}

/*
==================================
    @ Kajian Overlay & Modal
==================================
*/

.kajian-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 2050;
    backdrop-filter: blur(3px);
}

.kajian-modal {
    position: fixed;
    top: 3%;
    left: 3%;
    right: 3%;
    bottom: 3%;
    z-index: 2055;
    background-color: #f5f6fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: kajianSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes kajianSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kajian-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FEE50F 0%, #f9d423 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.kajian-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kajian-header-left h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    color: #1a1a2e;
}

.kajian-modal-header .close {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #333;
}

.kajian-modal-header .close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Toolbar: Filter + Search */
.kajian-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e8e8ed;
    flex-shrink: 0;
    gap: 16px;
    flex-wrap: wrap;
}

.kajian-filter-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.kajian-filter-btn {
    padding: 7px 16px;
    border: 1.5px solid #d0d5dd;
    background: #ffffff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: 0.02rem;
}

.kajian-filter-btn:hover {
    border-color: #e6c200;
    color: #1a1a2e;
    background: #fffde6;
}

.kajian-filter-btn.active {
    background: linear-gradient(135deg, #FEE50F, #f9d423);
    border-color: #e6c200;
    color: #1a1a2e;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(254, 229, 15, 0.35);
}

.kajian-search-wrap {
    display: flex;
    align-items: center;
    background: #f5f6fa;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    padding: 0 12px;
    min-width: 220px;
    transition: border-color 0.2s ease;
}

.kajian-search-wrap:focus-within {
    border-color: #FEE50F;
    box-shadow: 0 0 0 3px rgba(254, 229, 15, 0.2);
}

.kajian-search-wrap i {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-right: 8px;
}

.kajian-search-wrap input {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    width: 100%;
    color: #333;
}

.kajian-search-wrap input::placeholder {
    color: #aaa;
}

/* Cards Container */
.kajian-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 transparent;
}

.kajian-body::-webkit-scrollbar {
    width: 6px;
}

.kajian-body::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 10px;
}

.kajian-body::-webkit-scrollbar-track {
    background: transparent;
}

/* Cards Grid */
.kajian-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

/* Individual Card */
.kajian-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e8e8ed;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.kajian-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d5;
}

/* Category Badge */
.kajian-card-badge {
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kajian-card.kat-ml .kajian-card-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-bottom: 2px solid #fbbf24;
}

.kajian-card.kat-bb .kajian-card-badge {
    background: linear-gradient(135deg, #d5dde5, #a8bece);
    color: #2c3e50;
    border-bottom: 2px solid #5d7b96;
}

.kajian-card.kat-pb .kajian-card-badge {
    background: linear-gradient(135deg, #d1f5e0, #a3e4be);
    color: #1a7a42;
    border-bottom: 2px solid #27ae60;
}

/* Card Body */
.kajian-card-body {
    padding: 16px 18px 12px;
    flex: 1;
}

.kajian-card-title {
    margin: 0 0 10px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kajian-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kajian-meta-item {
    font-size: 0.78rem;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.kajian-meta-item i {
    color: #9ca3af;
    font-size: 0.72rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Card Actions */
.kajian-card-actions {
    display: flex;
    border-top: 1px solid #f0f0f5;
    padding: 0;
}

.kajian-card-actions button {
    flex: 1;
    padding: 11px 12px;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-kajian-abstrak {
    background: #f8fafc;
    color: #475569;
    border-right: 1px solid #f0f0f5 !important;
}

.btn-kajian-abstrak:hover:not(.disabled) {
    background: #e0f2fe;
    color: #0369a1;
}

.btn-kajian-abstrak.disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
}

.btn-kajian-pdf {
    background: #f8fafc;
    color: #475569;
}

.btn-kajian-pdf:hover {
    background: #fef3c7;
    color: #92400e;
}

.btn-kajian-pdf i {
    color: #ef4444;
}

/* Loading & Empty States */
.kajian-loading,
.kajian-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 0.95rem;
    gap: 12px;
}

.kajian-loading i,
.kajian-empty i {
    font-size: 2rem;
    color: #d1d5db;
}

.kajian-empty p {
    margin: 0;
}

/* Footer */
.kajian-footer {
    padding: 10px 24px;
    text-align: center;
    font-size: 0.72rem;
    color: #9ca3af;
    border-top: 1px solid #e8e8ed;
    background: #ffffff;
    flex-shrink: 0;
}

/*
==================================
    @ Abstrak Modal
==================================
*/

.abstrak-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2060;
    backdrop-filter: blur(2px);
}

.abstrak-modal {
    position: fixed;
    top: 10%;
    left: 15%;
    right: 15%;
    bottom: 10%;
    z-index: 2065;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: kajianSlideIn 0.3s ease;
}

.abstrak-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    flex-shrink: 0;
}

.abstrak-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.abstrak-modal-header .close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.abstrak-modal-header .close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.abstrak-modal-body {
    flex: 1;
    padding: 24px 28px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 transparent;
    line-height: 1.7;
    color: #333;
}

.abstrak-modal-body::-webkit-scrollbar {
    width: 5px;
}

.abstrak-modal-body::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 10px;
}

.abstrak-judul {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.5;
}

.abstrak-penulis {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.abstrak-penulis i {
    color: #9ca3af;
}

.abstrak-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

.abstrak-text {
    font-size: 0.9rem;
    text-align: justify;
    line-height: 1.8;
    color: #374151;
}

.abstrak-download-wrap {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.btn-abstrak-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-abstrak-download:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

.btn-abstrak-download i {
    font-size: 0.95rem;
}

/*
==================================
    @ PDF Viewer Modal
==================================
*/

.pdf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2060;
    backdrop-filter: blur(2px);
}

.pdf-modal {
    position: fixed;
    top: 3%;
    left: 5%;
    right: 5%;
    bottom: 3%;
    z-index: 2065;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: kajianSlideIn 0.3s ease;
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    flex-shrink: 0;
}

.pdf-modal-header h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    padding-right: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-modal-header .close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pdf-modal-header .close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pdf-modal-body {
    flex: 1;
    display: flex;
}

.pdf-modal-body iframe {
    flex: 1;
    border: none;
    width: 100%;
    height: 100%;
}

/*
==================================
    @ Laporan Penyelidikan Responsive
==================================
*/

@media (max-width: 800px) {
    .laporan-modal {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }

    .laporan-cards-grid {
        grid-template-columns: 1fr;
    }

    .laporan-toolbar {
        flex-direction: column;
        padding: 10px 16px;
        gap: 10px;
    }

    .laporan-search-wrap {
        min-width: unset;
        width: 100%;
    }

    .laporan-body {
        padding: 14px 12px;
    }

    .laporan-detail-modal {
        top: 2%;
        left: 2%;
        right: 2%;
        bottom: 2%;
    }
}

@media (max-width: 400px) {
    .laporan-modal-header {
        padding: 12px 14px;
    }

    .laporan-header-left h2 {
        font-size: 0.95rem;
    }

    .laporan-header-left img {
        height: 28px;
    }

    .laporan-filter-btn {
        padding: 5px 10px;
        font-size: 0.68rem;
    }

    .laporan-card-title {
        font-size: 0.82rem;
    }

    .laporan-card-body {
        padding: 12px 14px 10px;
    }

    .laporan-card-actions button,
    .laporan-card-actions a {
        padding: 9px 8px;
        font-size: 0.72rem;
    }

    .laporan-detail-modal {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }

    .laporan-detail-modal-body {
        padding: 16px 14px;
    }

    .detail-row {
        flex-direction: column;
        gap: 2px;
    }

    .detail-label {
        min-width: unset;
    }
}

/*
==================================
    @ Kajian Responsive
==================================
*/

@media (max-width: 800px) {
    .kajian-modal {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }

    .kajian-cards-grid {
        grid-template-columns: 1fr;
    }

    .kajian-toolbar {
        flex-direction: column;
        padding: 10px 16px;
        gap: 10px;
    }

    .kajian-search-wrap {
        min-width: unset;
        width: 100%;
    }

    .kajian-body {
        padding: 14px 12px;
    }

    .abstrak-modal {
        top: 2%;
        left: 2%;
        right: 2%;
        bottom: 2%;
    }

    .pdf-modal {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }
}

@media (max-width: 400px) {
    .kajian-modal-header {
        padding: 12px 14px;
    }

    .kajian-header-left h2 {
        font-size: 1rem;
    }

    .kajian-header-left img {
        height: 28px;
    }

    .kajian-filter-btn {
        padding: 5px 12px;
        font-size: 0.72rem;
    }

    .kajian-card-title {
        font-size: 0.82rem;
    }

    .kajian-card-body {
        padding: 12px 14px 10px;
    }

    .kajian-card-actions button {
        padding: 9px 8px;
        font-size: 0.72rem;
    }

    .abstrak-modal-body {
        padding: 16px 14px;
    }

    .abstrak-judul {
        font-size: 0.9rem;
    }

    .abstrak-text {
        font-size: 0.82rem;
    }
}