/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

.dark ::-webkit-scrollbar-thumb {
    background: #4b5563; 
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #6b7280; 
}

/* Leaflet Map Overrides */
.leaflet-popup-content-wrapper {
    border-radius: 0.5rem;
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0.5rem 1rem;
    line-height: 1.4;
}

.dark .leaflet-container {
    background: #1f2937;
}

/* Animations */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
