/**
 * TaxiBook Partner - Styles CSS
 * ================================
 */

/* Base Font */
* {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Glass Effects */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
}

/* Gradients */
.gradient-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.gradient-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-pulse-slow {
    animation: pulseSlow 2s ease-in-out infinite;
}

@keyframes pulseSlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Vehicle Card */
.vehicle-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card:hover {
    transform: translateY(-4px);
}

.vehicle-card.selected {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* Booking Card */
.booking-card {
    transition: all 0.2s ease;
}

.booking-card:hover {
    transform: translateX(4px);
    border-left-color: #f97316;
}

/* Custom Scrollbar */
.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
}

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

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Booking Stepper */
.booking-stepper {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.booking-stepper button:not(:disabled):hover {
    transform: translateX(-2px);
}

/* Mobile stepper (horizontal) - shown on smaller screens */
@media (max-width: 1023px) {
    .booking-stepper-mobile {
        display: flex;
        gap: 0.5rem;
        padding: 1rem;
        background: white;
        border-radius: 1rem;
        margin-bottom: 1.5rem;
        overflow-x: auto;
        border: 2px solid #e2e8f0;
    }
    
    .booking-stepper-mobile::-webkit-scrollbar {
        display: none;
    }
    
    .booking-stepper-mobile .step-item {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        border-radius: 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    .booking-stepper-mobile .step-item.current {
        background: #fff7ed;
        border: 2px solid #f97316;
    }
    
    .booking-stepper-mobile .step-item.completed {
        background: #ecfdf5;
        cursor: pointer;
    }
    
    .booking-stepper-mobile .step-item.pending {
        background: #f8fafc;
        opacity: 0.5;
    }
    
    .booking-stepper-mobile .step-icon {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.625rem;
    }
    
    .booking-stepper-mobile .step-icon.current {
        background: #f97316;
        color: white;
    }
    
    .booking-stepper-mobile .step-icon.completed {
        background: #10b981;
        color: white;
    }
    
    .booking-stepper-mobile .step-icon.pending {
        background: #e2e8f0;
        color: #94a3b8;
    }
}
