
.flight-page-wrapper {
    background: #f8fafc;
    min-height: calc(100vh - 70px);
    padding: 40px 0 80px;
    color: #0f172a;
}

.flight-header-nav {
    margin-bottom: 30px;
}

.flight-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.flight-back-btn:hover {
    color: var(--accent);
}

.flight-details-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 50px;
    align-items: start;
}


.flight-info-panel {
    padding-left: 20px;
}

.flight-icon-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.flight-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flight-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 30px 0;
    color: #0f172a;
}

.flight-price-box {
    margin-bottom: 40px;
}

.flight-price-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.flight-price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.flight-price-value span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #64748b;
}

.flight-description {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.flight-description ul {
    margin-top: 20px;
    padding-left: 20px;
}

.flight-description li {
    margin-bottom: 10px;
}


.flight-booking-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.booking-panel-title {
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 700;
}


.flight-date-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    scrollbar-width: none; 
}
.flight-date-strip::-webkit-scrollbar { display: none; } 

.flight-date-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 70px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #94a3b8;
}

.flight-date-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.flight-date-card.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.fd-dow {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.fd-day {
    font-size: 1.1rem;
    font-weight: 800;
}


.flight-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.flight-time-slot {
    cursor: pointer;
}

.flight-time-slot input {
    display: none;
}

.slot-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 5px;
    text-align: center;
    transition: all 0.2s ease;
}

.flight-time-slot:hover .slot-content {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.flight-time-slot input:checked + .slot-content {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent);
}

.slot-time {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.flight-time-slot input:checked + .slot-content .slot-time {
    color: var(--accent);
}

.slot-seats {
    display: block;
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
}

.flight-no-slots {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
}


.flight-booking-form .form-group-pro label {
    color: #cbd5e1;
}

.flight-input {
    width: 100%;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    transition: all 0.2s;
}

.flight-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1) !important;
    outline: none;
}


.light-calendar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}
.light-calendar .cal-nav-btn {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.light-calendar .cal-nav-btn:hover {
    background: var(--primary);
    color: white;
}
.light-calendar .cal-month-label {
    color: #0f172a;
}
.config-calendar-wrapper {
    max-width: 360px;
    margin: 0 auto;
}
.light-calendar .cal-day-btn {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.light-calendar .cal-day-btn:hover:not(.disabled):not(.full) {
    background: #f8fafc;
    border-color: var(--primary);
}
.light-calendar .cal-day-btn.available {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
    font-weight: bold;
}
.light-calendar .cal-day-btn.available:hover:not(.disabled) {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
}
.light-calendar .cal-day-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--accent) !important;
}
.light-calendar .cal-day-btn.disabled {
    background: #f8fafc;
    color: #cbd5e1;
    border-color: #f1f5f9;
}
.light-calendar .cal-day-btn.full {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fecaca;
}
.light-calendar .cal-day-slots {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}
.light-calendar .cal-day-btn.full .cal-day-slots {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}


@media (max-width: 992px) {
    .flight-details-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .flight-info-panel {
        order: 1;
        padding-left: 0;
    }
    .flight-booking-panel {
        order: 2;
        position: static;
        width: 100%;
        box-sizing: border-box;
    }
}