/* WebGIS Custom Styles & Responsive Adjustments */

/* Sidebar Active State */
.nav-btn.active {
    background-color: #1e293b;
    color: #ffffff;
    border-left: 4px solid #3b82f6;
}

/* Map Containers Fix for Desktop & Mobile */
#main-map, #map-lahan, #map-identifikasi {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 0.5rem;
    z-index: 10;
}

/* Custom Leaflet Tooltip & Popup */
.leaflet-popup-content-wrapper {
    border-radius: 0.5rem;
    padding: 4px;
    font-family: inherit;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Media Query Khusus Mobile (Layar < 768px) */
@media (max-width: 768px) {
    #main-map {
        min-height: 320px;
    }
}