/* Custom styles for QuickRoute */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Soft glassmorphism effect */
.backdrop-blur-md {
    backdrop-filter: blur(16px);
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(27, 54, 93, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 54, 93, 0.5);
}

/* Smooth animations */
* {
    transition: all 0.2s ease-in-out;
}

/* Focus states for accessibility */
button:focus, input:focus {
    outline: 2px solid #F4A261;
    outline-offset: 2px;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #1B365D, #2A9D8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom button hover effects */
button {
    transform: translateY(0);
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Card shadows */
.shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive map container */
.map-container {
    height: 400px;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(27, 54, 93, 0.1));
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

/* State selector animations */
.state-btn {
    position: relative;
    overflow: hidden;
}

.state-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.state-btn:hover::before {
    left: 100%;
}