:root {
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Stop Item Styling */
.stop-item {
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stop-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stop-item.completed {
    opacity: 0.4;
    border-left-color: #22c55e;
    /* green-500 */
}

.stop-item.completed:hover {
    opacity: 0.8;
}

.stop-item.active {
    background: rgba(59, 130, 246, 0.15);
    /* blue-500 at 15% */
    border-left-color: #3b82f6;
    /* blue-500 */
    transform: translateX(4px);
}

/* Marker Pulse Animation */
.gps-pulse {
    animation: gps-pulse-anim 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes gps-pulse-anim {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    100% {
        box-shadow: 0 0 0 24px rgba(59, 130, 246, 0);
    }
}