@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dark ::-webkit-scrollbar-track {
    background: #374151;
}

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

.dark ::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}
/* Map container */
#map {
    height: 100%;
    min-height: 400px;
    position: relative;
}

.map-controls {
    transition: all 0.3s ease;
}

.map-controls button {
    transition: all 0.2s ease;
}

.map-controls button:hover {
    transform: translateY(-1px);
}
/* Animation for active vehicle */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.active-vehicle {
    animation: pulse 2s infinite;
}

/* Enhanced map controls */
.fixed-controls {
    transition: all 0.2s ease;
}

.fixed-controls button {
    transition: transform 0.2s ease;
}

.fixed-controls button:hover {
    transform: translateY(-2px);
}

.fixed-controls button:active {
    transform: translateY(0);
}

/* Vehicle marker pulsing effect */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}
