/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

/* Map specific tweaks */
.leaflet-container {
    font-family: 'Outfit', sans-serif;
    z-index: 1; /* Keep map behind Tailwind dropdowns/modals */
}

/* Submenu transitions */
.submenu-content {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.submenu-content.open {
    max-height: 500px;
    opacity: 1;
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Sidebar active state */
.nav-link.active {
    background-color: #f0fdf4; /* primary-50 */
    color: #15803d; /* primary-700 */
    font-weight: 600;
}

.nav-link.active i {
    color: #22c55e; /* primary-500 */
}

.submenu-link.active {
    color: #0f172a; /* slate-900 */
    font-weight: 600;
    background-color: #f8fafc; /* slate-50 */
}
