/* Custom Utility Styles & Animations for VeloBus Express */

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Bus Seat Deck Visual Grid */
.bus-container {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    position: relative;
    padding: 24px;
}

.steering-wheel {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 24px;
    color: #64748b;
}

.seat-grid {
    display: grid;
    gap: 12px;
}

.seat-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

.seat-btn.available {
    background-color: #f0fdf4;
    border: 2px solid #22c55e;
    color: #15803d;
}

.seat-btn.available:hover {
    background-color: #22c55e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.seat-btn.selected {
    background-color: #2563eb !important;
    border: 2px solid #1d4ed8 !important;
    color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.seat-btn.booked {
    background-color: #e2e8f0;
    border: 2px solid #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat-btn.female-reserved {
    background-color: #fdf2f8;
    border: 2px solid #ec4899;
    color: #be185d;
}

.seat-sleeper {
    width: 44px;
    height: 80px;
}

/* Toast animation */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideIn 0.3s ease forwards;
}