/* Custom glassmorphism and UI enhancements */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

input {
    outline: none;
}

/* Override Google Maps Autocomplete styles for premium look */
.pac-container {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 8px 0;
    margin-top: 4px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}
.pac-item {
    padding: 10px 16px;
    cursor: pointer;
    border-top: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #374151;
}
.pac-item:first-child {
    border-top: none;
}
.pac-item:hover {
    background-color: #f0fdf4; /* Emerald 50 hint */
}
.pac-icon {
    display: none;
}
.pac-item-query {
    font-weight: 600;
    color: #10b981;
}

/* Animations */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-slide-in {
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#route-stats.show {
    display: block !important;
    opacity: 1;
    transform: scale(1);
}

.timeline-line {
    position: absolute;
    left: 21px; /* Center of the 42px width elements (starts from icon center) */
    top: 40px;
    bottom: -15px;
    width: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}
