/* Custom styles beyond standard Tailwind */

/* Smooth scrolling and Global Zoom Out */
html {
    scroll-behavior: smooth;
    font-size: 14px; /* Global zoom-out effect by shrinking the base REM unit (default is 16px) */
}

/* Ensure body never traps position: fixed elements */
body {
    position: relative;
}

/* Navbar always consistent height */
#navbar {
    height: auto;
    min-height: 0;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glass Pill for stats */
.glass-pill {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Navbar glass effect on scroll */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #1e293b !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.navbar-scrolled .logo-text, 
.navbar-scrolled .fa-chevron-down {
    color: #1e293b !important;
}

.navbar-scrolled .login-btn {
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

.navbar-scrolled .login-btn:hover {
    background: #f8fafc !important;
}

/* Fix date picker clicking anywhere issue */
input[type="date"] {
    position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* Glassmorphism & Luxury Destination Cards */
.destination-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(14, 165, 233, 0.25), 0 10px 15px -5px rgba(0, 0, 0, 0.08);
}

.destination-card-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-card:hover .destination-card-img {
    transform: scale(1.1);
}

.glass-badge {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dest-filter-tab {
    transition: all 0.3s ease;
}

.dest-filter-tab.active {
    background-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* ==================================================
   3D AIRCRAFT CABIN & APPLE VISIONOS STYLING
   ================================================== */

.aircraft-viewport-3d {
    perspective: 1200px;
    background: radial-gradient(circle at 50% 30%, #0f172a 0%, #020617 100%);
    overflow: hidden;
    position: relative;
    user-select: none;
}

.aircraft-scene-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

@keyframes floatAircraft {
    0%, 100% { transform: translateY(0px) rotateX(var(--rot-x, 48deg)) rotateZ(var(--rot-z, -18deg)); }
    50% { transform: translateY(-8px) rotateX(var(--rot-x, 48deg)) rotateZ(var(--rot-z, -18deg)); }
}

.aircraft-fuselage-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(14, 165, 233, 0.15);
    border-radius: 9999px 9999px 60px 60px;
    position: relative;
    transform-style: preserve-3d;
}

/* Vertical Aluminium Airplane Layout */
.aircraft-fuselage-glass {
    /* Aluminium metallic body on the edges, transparent glass in the middle */
    background: linear-gradient(90deg, 
        #94a3b8 0%, 
        #e2e8f0 10%, 
        rgba(255,255,255,0.05) 15%, 
        rgba(255,255,255,0.05) 85%, 
        #e2e8f0 90%, 
        #94a3b8 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 2px solid #cbd5e1;
    border-right: 2px solid #cbd5e1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(14, 165, 233, 0.15);
    border-radius: 9999px 9999px 60px 60px;
    position: relative;
    padding: 30px 20px;
}

/* Cockpit Nose (Top) & Jet Wings (Left/Right) */
.cockpit-nose {
    width: 100%;
    height: 140px;
    background: linear-gradient(180deg, #94a3b8 0%, #cbd5e1 50%, rgba(255,255,255,0.1) 100%);
    border-radius: 9999px 9999px 0 0;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cockpit-windshield {
    width: 60%;
    height: 50px;
    margin-top: 40px;
    background: rgba(14, 165, 233, 0.8);
    border: 2px solid #334155;
    border-radius: 40px 40px 10px 10px;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.5);
}

.wing-left, .wing-right {
    position: absolute;
    top: 35%;
    width: 220px;
    height: 180px;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    border: 1px solid #64748b;
    pointer-events: none;
    z-index: -1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.wing-left {
    right: 100%;
    clip-path: polygon(100% 0, 0 60%, 0 100%, 100% 70%);
}

.wing-right {
    left: 100%;
    clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 70%);
}

/* Cabin Class Bulkhead Dividers */
.cabin-bulkhead {
    border-top: 1px dashed rgba(255, 255, 255, 0.4);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    padding: 12px 0;
    margin: 16px 0;
}

/* 3D Seat Engine */
.seat-3d {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
}

.seat-3d::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    transition: border-color 0.3s ease;
}

.seat-3d:hover {
    transform: translateZ(10px) scale(1.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.6);
}

/* Seat Status Types */
.seat-avail-standard {
    background: linear-gradient(145deg, #1d4ed8, #1e3a8a); /* Blue */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.seat-avail-standard:hover {
    border-color: #93c5fd;
    color: #93c5fd;
}

.seat-avail-legroom {
    background: linear-gradient(145deg, #0284c7, #0369a1);
    color: #ffffff;
    border: 1px solid #38bdf8;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

.seat-avail-preferred {
    background: linear-gradient(145deg, #eab308, #ca8a04); /* Yellow/Gold */
    color: #ffffff;
    border: 1px solid #fde047;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.4);
}

.seat-selected-3d {
    background: linear-gradient(145deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border: 2px solid #34d399 !important;
    transform: translateZ(14px) scale(1.12) !important;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5), 0 0 25px rgba(52, 211, 153, 0.8) !important;
}

.seat-occupied-3d {
    background: linear-gradient(145deg, #334155, #1e293b);
    color: #64748b;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: not-allowed;
    opacity: 0.85;
}

/* 3D Mini Passenger Avatars */
.passenger-avatar-3d {
    position: absolute;
    top: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    animation: pulseAvatar 3s infinite ease-in-out;
}

@keyframes pulseAvatar {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* Apple VisionOS Floating Control Pill */
.vision-glass-control {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.vision-control-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-control-btn:hover {
    background: rgba(14, 165, 233, 0.3);
    color: #38bdf8;
    transform: scale(1.1);
}

/* ==================================================
   VIP 3D LUXURY REDESIGN & RESPONSIVE UTILITIES
   ================================================== */

/* Deep Luxury Dark Ambient Background */
.bg-vip-obsidian {
    background: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 85% 30%, rgba(234, 179, 8, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
                #030712;
    background-attachment: fixed;
}

/* Glowing Ambient Orbs for 3D Depth */
.ambient-glow-cyan {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-gold {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.28) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* VIP Luxury White Glassmorphic Panel */
.glass-panel-vip {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 25px 60px -15px rgba(14, 165, 233, 0.15), 0 15px 25px -5px rgba(0, 0, 0, 0.05);
}

/* VIP 3D Card Hover & Elevation (White Luxury) */
.glass-card-vip {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-vip:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.22), 0 10px 20px -5px rgba(0, 0, 0, 0.06);
}

/* VIP Gold Gradient Badge */
.vip-badge-gold {
    background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
    color: #030712;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.35);
}

/* Responsive Touch Target Fixes */
@media (max-width: 640px) {
    .glass-panel-vip {
        padding: 1.25rem !important;
    }
    input, select, button {
        min-height: 44px;
    }
    .destination-card {
        height: 360px !important;
    }
}
/* ==========================================================
   APPLE VISIONOS LUXURY AIRLINE SEARCH UI/UX
   ========================================================== */

/* Gentle Floating Animation for Search Card */
@keyframes gentleFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

.animate-vision-float {
    animation: gentleFloat 7s ease-in-out infinite;
}

/* Soft Cloud Drifting Animation */
@keyframes floatCloud {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(30px);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-cloud-drift {
    animation: floatCloud 20s ease-in-out infinite;
}

/* Flying Airplane Horizon Animation */
@keyframes flyPlane {
    0% {
        transform: translate(-10vw, 5vh) rotate(-5deg) scale(0.8);
        opacity: 0;
    }
    15% {
        opacity: 0.35;
    }
    85% {
        opacity: 0.35;
    }
    100% {
        transform: translate(110vw, -15vh) rotate(-5deg) scale(0.8);
        opacity: 0;
    }
}

.animate-fly-plane {
    animation: flyPlane 35s linear infinite;
}

/* Apple VisionOS Premium Aluminium Frame */
.visionos-aluminium-frame {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.35) 100%);
    padding: 2px;
    border-radius: 34px;
    box-shadow: 0 45px 120px -15px rgba(0, 0, 0, 0.7), 0 0 70px rgba(14, 165, 233, 0.35);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.visionos-aluminium-frame:hover {
    box-shadow: 0 55px 130px -15px rgba(0, 0, 0, 0.8), 0 0 90px rgba(14, 165, 233, 0.5);
}

/* Apple VisionOS Frosted Glass Main Search Container (See-Through Translucent Glass Edition) */
.visionos-glass-card {
    background: rgba(255, 255, 255, 0.32) !important;
    backdrop-filter: blur(28px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.05);
    border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 32px;
    box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.35), 0 0 60px rgba(255, 255, 255, 0.25), inset 0 2px 2px rgba(255, 255, 255, 0.85);
    color: #0f172a !important;
}

/* SLEEK COMPACT LUXURY GLASS CARDS (High Contrast White Pills) */
.visionos-input-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 2px solid #ffffff !important;
    border-radius: 20px;
    min-height: 74px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 18px !important;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12), inset 0 2px 2px #ffffff !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #0f172a !important;
}

.visionos-input-card:hover,
.visionos-input-card:focus-within {
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: #1fa2a6 !important;
    box-shadow: 0 20px 40px -10px rgba(31, 162, 166, 0.35), 0 0 25px rgba(31, 162, 166, 0.2), inset 0 2px 2px #ffffff !important;
    transform: translateY(-3px);
}

/* Smooth Luxury Pulse Animation for SEARCH FLIGHTS Button */
@keyframes smoothButtonPulse {
    0%, 100% {
        box-shadow: 0 15px 35px -5px rgba(23, 141, 145, 0.55), 0 5px 15px -3px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(31, 162, 166, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 42px -5px rgba(23, 141, 145, 0.8), 0 8px 20px -3px rgba(0, 0, 0, 0.25), 0 0 24px 4px rgba(31, 162, 166, 0.35), inset 0 2px 2px rgba(255, 255, 255, 0.55);
        transform: scale(1.015);
    }
}

/* Premium Luxury Teal/Cyan Pill Search Button matching Target Design */
.visionos-search-btn {
    background: linear-gradient(135deg, #1fa2a6 0%, #178d91 50%, #0e7278 100%) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    border-radius: 9999px !important;
    min-height: 56px !important;
    height: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 15px 35px -5px rgba(23, 141, 145, 0.55), 0 5px 15px -3px rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.35) !important;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: smoothButtonPulse 3.5s ease-in-out infinite;
}

.visionos-search-btn:hover {
    background: linear-gradient(135deg, #23b3b8 0%, #1fa2a6 50%, #128288 100%) !important;
    box-shadow: 0 25px 55px -5px rgba(23, 141, 145, 0.95), 0 10px 25px -3px rgba(0, 0, 0, 0.35), 0 0 35px 8px rgba(31, 162, 166, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-4px) scale(1.04) !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
    animation: none;
}

.visionos-search-btn:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 10px 25px -5px rgba(23, 141, 145, 0.7), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.15s ease !important;
}

/* VisionOS Floating Popup Window (Passenger / Cabin Selector) */
.visionos-popup {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border: 2px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 28px !important;
    box-shadow: 0 45px 100px -15px rgba(0, 0, 0, 0.65), 0 0 50px rgba(14, 165, 233, 0.35) !important;
    z-index: 99999 !important;
}

/* Circular Animated 3D Swap Button */
.visionos-swap-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.35);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.visionos-swap-btn:hover {
    transform: scale(1.15) rotate(180deg);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.5);
}

/* ==========================================================
   FLATPICKR LUXURY CALENDAR POPUP OVERRIDES (HIGH CONTRAST)
   ========================================================== */
@keyframes visionOSPopupZoom {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.flatpickr-calendar.visionos-calendar-animated,
.flatpickr-calendar.open {
    animation: visionOSPopupZoom 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.flatpickr-calendar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(32px) !important;
    -webkit-backdrop-filter: blur(32px) !important;
    border-radius: 24px !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 30px 80px -15px rgba(15, 23, 42, 0.35), 0 0 30px rgba(14, 165, 233, 0.15) !important;
    padding: 16px !important;
    font-family: 'Outfit', sans-serif !important;
    color: #0f172a !important;
}

/* Month and Year Header */
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: #0f172a !important;
    font-weight: 900 !important;
    fill: #0f172a !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: #0f172a !important;
    fill: #0f172a !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #1fa2a6 !important;
}

/* Weekday Labels (Sun, Mon, Tue...) */
span.flatpickr-weekday {
    color: #475569 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
}

/* All Calendar Days - Default High Contrast Dark Slate Text */
.flatpickr-day {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

/* Disabled / Past Days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
    color: #cbd5e1 !important;
    opacity: 0.6 !important;
    background: transparent !important;
    border-color: transparent !important;
    cursor: default !important;
}

/* Weekend Available Days (Saturday & Sunday) */
.flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n),
.flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n-6) {
    color: #0284c7 !important;
    font-weight: 800 !important;
}

/* Today Badge */
.flatpickr-day.today {
    border: 2px solid #f59e0b !important;
    font-weight: 900 !important;
    color: #d97706 !important;
}

/* Hover State on Available Days */
.flatpickr-day:not(.flatpickr-disabled):not(.selected):not(.startRange):not(.endRange):hover {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    color: #0284c7 !important;
    font-weight: 800 !important;
}

/* Selected Dates & Range */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: linear-gradient(135deg, #1fa2a6 0%, #0e7278 100%) !important;
    border-color: #0e7278 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(31, 162, 166, 0.4) !important;
    font-weight: 900 !important;
}

.flatpickr-day.inRange {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    box-shadow: -5px 0 0 #e0f2fe, 5px 0 0 #e0f2fe !important;
    color: #0369a1 !important;
    font-weight: 800 !important;
}

/* Mobile Responsive Flatpickr Calendar Styling */
@media (max-width: 640px) {
    .flatpickr-calendar {
        width: 92vw !important;
        max-width: 330px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        padding: 12px !important;
        border-radius: 20px !important;
    }
    .flatpickr-days,
    .dayContainer {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        justify-content: space-around !important;
    }
    .flatpickr-day {
        max-width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================
   APPLE VISIONOS SPATIAL SEE-THROUGH GLASSMORPHISM
   ========================================================== */

/* Destination Cards Frosted See-Through Glass Edition */
.glass-card-vip {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    color: #0f172a !important;
}

.glass-card-vip:hover {
    border-color: rgba(56, 189, 248, 0.9) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 35px 70px -12px rgba(14, 165, 233, 0.35), 0 20px 40px -8px rgba(0, 0, 0, 0.15) !important;
}

/* Luminous See-Through Glass Badges */
.glass-badge {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
}

/* VisionOS Feature Benefit See-Through Glass Cards */
.visionos-feature-card {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    border: 2px solid #ffffff !important;
    border-radius: 28px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    color: #0f172a !important;
}

.visionos-feature-card:hover {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(56, 189, 248, 0.8) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 30px 60px -10px rgba(14, 165, 233, 0.25), inset 0 1px 1px #ffffff !important;
}

/* Universal See-Through Glass Panel */
.white-glass-panel,
.real-glass-panel {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(35px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
    color: #0f172a !important;
}

/* Responsive Mobile Adjustments for Flight Search Panel */
@media (max-width: 768px) {
    .visionos-input-card {
        min-height: 64px !important;
        padding: 10px 12px !important;
        border-radius: 14px !important;
    }
    .visionos-search-btn {
        min-height: 56px !important;
        border-radius: 14px !important;
    }
    .visionos-glass-card {
        padding: 16px !important;
        border-radius: 20px !important;
    }
    .visionos-swap-btn {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (max-width: 480px) {
    .visionos-input-card {
        min-height: 60px !important;
        padding: 8px 10px !important;
    }
    .visionos-search-btn {
        min-height: 52px !important;
        font-size: 1rem !important;
    }
    .visionos-glass-card {
        padding: 12px !important;
        border-radius: 16px !important;
    }
}
