* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, rgba(18,18,23,1) 0%, rgba(0,0,5,1) 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Hero Section with Background */
.hero-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 769px;
    background: url("/static/images/hero.png") center/cover;
    background-color: #0a0a0f; /* Fallback color */
}

/* Header Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
    position: relative;
    z-index: 10;
}

.stat-box {
    padding: 15px;
    background: #000004;
    border-radius: 10px;
    min-width: 249px;
    overflow: hidden;
}

.stat-value {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #a5cda6;
    line-height: 1;
}

.stat-label {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #7b8db0;
    margin-top: 2px;
}

/* Support Button */
.support-button {
    position: absolute;
    right: 40px;
    top: 40px;
    background: transparent;
    border: 1px solid #666;
    color: #666;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    transition: all 0.2s;
    text-decoration: none;  
    z-index: 1000;
}
.support-button:hover { border-color: #cbfcc9; color: #cbfcc9; }
.support-button::after { content: '→'; font-size: 18px; margin-top: -2px; }

/* Logo */
.logo {
    margin: 80px auto 0;
    width: 292px;
    height: 292px;
}
.logo img { width: 100%; height: 100%; object-fit: cover; }

/* Title Section */
.title-container { text-align: center; width: 100%; margin-top: 70px; }
.subtitle { font-family: 'Roboto', sans-serif; font-size: 30px; color: #ffffff; margin-bottom: 10px; }
.main-title { font-family: 'Russo One', sans-serif; font-size: 40px; color: #ffffff; }

/* Search Form */
.search-form {
    margin: 30px auto 0;
    max-width: 1400px;
    background: #000004;
    border-radius: 6px;
    border: 3px solid #cbfcc9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: stretch;
    overflow: visible;
    position: relative;
    z-index: 10;
    height: auto;
    min-height: 70px;
    padding: 0;
}

.form-input {
    position: relative;
    width: 324.5px;
    background: #000004;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    z-index: 1;
}

.form-input.smaller {
    width: 200px;
    background: #000004;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}
.form-input.smaller::before {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 12px;
    pointer-events: none;
}
.form-input.smaller::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 1px; background: #cbfcc9;
}

/* Separator between inputs — fixed */
.form-input:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: #cbfcc9;
}

.form-input input,
.form-input select {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    width: 100%;
    outline: none;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.form-input select::placeholder { color: #ffffff; }
.form-input select option { background: #1a1a1a; color: #ffffff; }

.form-input.date-input {
    position: relative;
    overflow: visible;
    cursor: pointer;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
}

.form-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    flex-shrink: 0;
    pointer-events: none;
}
.calendar-icon { fill: #ef0044; pointer-events: none; }
.person-icon { fill: #ef0044; }

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 8px;
    background: #000004;
    border-right: 1px solid #cbfcc9;
    position: relative;
}
.form-checkbox input[type="checkbox"] {
    appearance: none;
    width: 18px; height: 18px;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    border-radius: 2px;
    position: relative;
    margin: 0;
    transition: all 0.2s ease;
}
.form-checkbox input[type="checkbox"]:checked { background-color: #ef0044; border-color: #ef0044; }
.form-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px; left: 6px;
    width: 4px; height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.form-checkbox label { color: #ffffff; font-size: 14px; cursor: pointer; user-select: none; }

/* BED Mode styling */
.bed-mode-checkbox {
    position: relative;
}
.bed-mode-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bed-mode-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    color: #cbfcc9;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #cbfcc9;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.info-icon:hover {
    background-color: #cbfcc9;
    color: #000004;
    transform: scale(1.1);
}

/* Fly Flat Button */
.fly-flat-button {
    background: #ef0044;
    color: #ffffff;
    border: none;
    padding: 20px 32px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    white-space: nowrap;
    height: calc(100% + 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 3px 3px 0;
    margin: 0;
    min-height: 70px;
}
.fly-flat-button::before { content: "FLY FLAT"; }
.fly-flat-button:hover::before { content: "LETS GO!"; }
.fly-flat-button:hover { background: #ffffff; color: #ef0043; }

.form-input,
.form-input.date-input,
.form-input.smaller,
.form-checkbox,
.fly-flat-button {
    min-height: 70px;
    height: 100%;
}

/* Feature Section */
.features-section {
    width: 100%;
    padding: 70px 47px;
    max-width: 1440px;
    margin: 0 auto;
}
.features-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 38px;
    letter-spacing: 0.64px;
    margin-bottom: 50px;
}
.features-title .fly { color: #ef0044; }
.features-container {
    display: flex;
    gap: 33px;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
    z-index: 1;
}
.feature-card {
    width: 292px;
    height: 300px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15,15,20,1) 0%, rgba(15,15,20,1) 100%);
    box-shadow: inset 4px 4px 16px rgba(255,255,255,0.2), inset -4px -4px 16px rgba(0,0,0,0.1);
    padding: 37px 43px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.feature-card:last-child::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 250px;
    height: 250px;
    background: url('/static/images/airplane.png') no-repeat center;
    background-size: contain;
    z-index: 100;
    pointer-events: none;
}
.feature-title {
    font-family: 'Russo One', sans-serif;
    font-size: 18px;
    color: #ef0044;
    letter-spacing: 0.24px;
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.5;
}
.feature-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #7b8db0;
    line-height: 1.5;
    letter-spacing: 0.24px;
}

/* Footer Section */
.footer {
    width: 100%;
    background: #0e0e1b;
    padding: 60px 47px 40px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}
.footer-left { flex: 1; max-width: 700px; }
.footer-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 32px;
    letter-spacing: 0.64px;
    margin-bottom: 2px;
}
.footer-title .about { color: #ef0044; }
.footer-title .flightbed { color: #eeeeee; }
.footer-title .dot { color: #ef0044; }
.footer-title .com { color: #eeeeee; }
.footer-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #999;
    line-height: 1.6;
}
.footer-links { min-width: 200px; }
.footer-links h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: #ef0044; }

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 60px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #666;
}
.copyright-image {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: auto;
    z-index: 10;
}

/* Results Section */
#results {
    display: none;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(18,18,23,1) 100%);
}
#resultsContent { max-width: 1200px; margin: 0 auto; }

/* Results Header */
.results-header {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    color: white;
}

/* Flight Cards */
.flight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
}
.flight-card:hover {
    transform: translateX(5px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.1);
}
.flight-card.lie-flat {
    border: 3px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}
.flight-info { display: flex; flex-direction: column; gap: 6px; }
.flight-times { font-size: 18px; font-weight: 600; color: #ffffff; line-height: 1.3; }
.flight-details { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.detail-item { font-size: 13px; color: #999; }

.airline-logo {
    width: 40px;
    height: 25px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.lie-flat-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.confidence-badge {
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.price-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.price { font-size: 24px; font-weight: 700; color: #ef0044; line-height: 1.2; }
.price-label { font-size: 11px; color: #888; }

/* Flight Loading Animation */
.flight-svg { display: block; margin: 0 auto; }
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 60px 20px;
}
.flight-loader { text-align: center; }
.loading-text {
    color: #ffffff;
    font-size: 16px;
    margin-top: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Section Headers */
h3 { color: #ef0044; font-size: 24px; margin: 30px 0 20px; font-family: 'Roboto', sans-serif; font-weight: 500; }
.no-flights { text-align: center; padding: 60px; color: #999; font-size: 18px; }

.airplane-decoration {
    position: absolute;
    top: 150px;
    right: 250px;
    width: 80px;
    height: auto;
    opacity: 0.8;
    animation: flyAcross 60s infinite linear;
}
@keyframes flyAcross {
    0% { right: -100px; transform: rotate(225deg); }
    100% { right: calc(100% + 100px); transform: rotate(225deg); }
}

/* Calendar Dropdown Styles */
.date-input-wrapper { position: relative; display: flex; align-items: center; width: 100%; }

.calendar-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #1a1a1f;
    border: 1px solid #2a2a30;
    border-radius: 12px;
    padding: 20px;
    display: none;
    z-index: 1001;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    min-width: 350px;
    max-width: 400px;
}
.calendar-dropdown.show {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #ffffff;
}
.calendar-nav {
    background: none;
    border: none;
    color: #ef0044;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}
.calendar-nav:hover { background: rgba(239, 0, 68, 0.1); }
.calendar-month-year { font-size: 16px; font-weight: 600; color: #ffffff; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-day-header {
    text-align: center;
    font-size: 12px;
    color: #7b8db0;
    padding: 5px;
    font-weight: 600;
}
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
    background: #0a0a0f;
    transition: all 0.2s;
    position: relative;
}
.calendar-day:hover:not(.disabled):not(.selected):not(.in-range) {
    background: rgba(239, 0, 68, 0.1);
    border-color: #ef0044;
}
.calendar-day.disabled { color: #4a4a4a; cursor: not-allowed; background: transparent; }
.calendar-day.selected { background: #ef0044; color: #ffffff; font-weight: 600; }
.calendar-day.in-range { background: rgba(239, 0, 68, 0.2); color: #ffffff; }
.calendar-day.start-date { background: #ef0044; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.calendar-day.end-date { background: #ef0044; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.calendar-day.today { border: 1px solid #7b8db0; }

.date-selection-mode { display: flex; gap: 10px; margin-bottom: 15px; }
.mode-button {
    flex: 1;
    padding: 8px 16px;
    background: #0a0a0f;
    border: 1px solid #2a2a30;
    color: #7b8db0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.mode-button.active { background: #ef0044; color: #ffffff; border-color: #ef0044; }

.selected-dates-display {
    margin-top: 15px;
    padding: 10px;
    background: rgba(239, 0, 68, 0.1);
    border-radius: 6px;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
}
.clear-dates-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #666;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}
.clear-dates-btn:hover { border-color: #ef0044; color: #ef0044; }

.form-input.date-input input { cursor: pointer; background: none; color: #ef0043; }
.date-display-text { color: #ffffff; font-size: 16px; pointer-events: none; }
.date-display-text.placeholder { color: #ffffff; }

/* Custom Dropdown Styles */
.custom-select-wrapper {
    position: relative;
    width: 324.5px;
    background: #000004;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    z-index: 100;
}
.custom-select-wrapper.smaller { width: 200px; }
.custom-select-wrapper.open { z-index: 1000; }

/* Keep native select required + focusable (visually hidden, not display:none) */
.custom-select-wrapper select {
    position: absolute;
    left: 0; top: 0;
    width: 1px; height: 1px;
    opacity: 0.0001;
}

/* Custom select display (input-like facade) */
.custom-select-display {
    width: 100%;
    padding-right: 25px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.custom-select-display::placeholder { color: #ffffff; opacity: 0.7; }
.custom-select-display.has-value { color: #ffffff; }

/* Arrow icon */
.custom-select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ef0044;
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.2s;
}
.custom-select-wrapper.open .custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown menu */
.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0; right: 0;
    background: #1a1a1f;
    border: 1px solid #2a2a30;
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    visibility: hidden;
    pointer-events: none;
    display: none;
}
.custom-dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Search box (optional) */
.custom-dropdown-search { padding: 10px 20px; border-bottom: 1px solid #2a2a30; }
.custom-dropdown-search input {
    width: 100%;
    padding: 8px 12px;
    background: #0a0a0f;
    border: 1px solid #2a2a30;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}
.custom-dropdown-search input:focus { border-color: #ef0044; }
.custom-dropdown-search input::placeholder { color: #666; }

/* Option groups */
.custom-optgroup {
    padding: 8px 20px;
    color: #7b8db0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(239, 0, 68, 0.05);
    border-bottom: 1px solid #2a2a30;
    border-top: 1px solid #2a2a30;
    margin-top: 5px;
}
.custom-optgroup:first-child { margin-top: 0; border-top: none; }

/* Options */
.custom-option {
    padding: 12px 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}
.custom-option:hover { background: rgba(239, 0, 68, 0.1); color: #ef0044; padding-left: 25px; }
.custom-option.selected { background: rgba(239, 0, 68, 0.15); color: #ef0044; font-weight: 600; }
.custom-option.selected::before { content: '✓'; margin-right: 10px; }

/* Scrollbar styling */
.custom-dropdown-menu::-webkit-scrollbar { width: 8px; }
.custom-dropdown-menu::-webkit-scrollbar-track { background: #0a0a0f; border-radius: 4px; }
.custom-dropdown-menu::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 4px; }
.custom-dropdown-menu::-webkit-scrollbar-thumb:hover { background: #ef0044; }

/* Separator after native select facade */
.custom-select-wrapper::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 1px;
    background: #cbfcc9;
    pointer-events: none;
}
.custom-select-wrapper:last-child::after { display: none; }

/* Seat Details Button */
.seat-details-btn {
    flex: 0 1 auto;
    background: transparent;
    color: #ef0044;
    border: 1px solid #ef0044;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}
.seat-details-btn:hover {
    background: rgba(239, 0, 68, 0.1);
}

/* Segment variance badge */
.segment-badge {
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}
.segment-badge.purple { background: #8b5cf6; }
.segment-badge.blue { background: #3b82f6; }

/* Performance Stats */
.performance-stats {
    margin-top: 8px;
    padding: 0;
    border: none;
}
.stats-header {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}
.stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}
.stat-icon { font-size: 14px; opacity: 0.8; }
.stat-value { font-weight: 600; color: #a5cda6; }
.stat-label { color: #9ca3af; font-size: 11px; }
.stats-note-inline {
    font-size: 10px;
    color: #6b7280;
    font-style: italic;
    margin-left: 12px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .performance-stats { margin-top: 15px; }
    .stats-row { gap: 15px; }
    .stat-item { font-size: 12px; }
    .stat-icon { font-size: 14px; }
    .stats-note-inline { margin-left: 0; display: block; margin-top: 5px; }
}

/* Booking UI */
.flight-actions { display: flex; gap: 10px; margin-top: 12px; }
.book-now-btn {
    flex: 1;
    background: #ef0044; color: white; border: none;
    padding: 10px 14px; border-radius: 8px;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-size: 13px;
}
.book-now-btn:hover { background: #d60039; transform: translateY(-2px); }
.book-now-btn:active { transform: translateY(0); }

/* Booking form styles */
.booking-flight-info {
    background: rgba(239, 0, 68, 0.1);
    border: 1px solid rgba(239, 0, 68, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}
.booking-flight-summary { margin: 0; }
.booking-flight-summary h3 { color: #ef0044; margin-bottom: 12px; font-size: 16px; }
.booking-flight-summary p { margin: 8px 0; font-size: 14px; color: rgba(255, 255, 255, 0.8); }

.booking-passenger-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.passenger-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.passenger-header h4 { font-size: 16px; color: #ffffff; margin: 0; }
.remove-passenger-btn {
    background: rgba(239, 0, 68, 0.2);
    color: #ef0044;
    border: 1px solid #ef0044;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
}
.remove-passenger-btn:hover { background: #ef0044; color: white; }

.booking-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 600px) { .booking-form-row { grid-template-columns: 1fr; } }

.booking-form-group { display: flex; flex-direction: column; gap: 6px; }
.booking-form-group label { color: #ffffff; font-weight: 500; font-size: 13px; }
.booking-form-group input,
.booking-form-group select,
.booking-form-group textarea {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}
.booking-form-group input:focus,
.booking-form-group select:focus,
.booking-form-group textarea:focus {
    outline: none;
    border-color: #ef0044;
    background: rgba(255, 255, 255, 0.1);
}
.booking-form-group input::placeholder,
.booking-form-group textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.booking-contact-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}
.booking-contact-section h3 { font-size: 16px; color: #ffffff; margin-bottom: 16px; }

.add-booking-passenger-btn {
    background: transparent;
    border: 1px solid #ef0044;
    color: #ef0044;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 14px;
}
.add-booking-passenger-btn:hover { background: rgba(239, 0, 68, 0.1); }

.booking-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background-color: #ef0044;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.booking-submit-btn:hover { background-color: #d60039; transform: translateY(-2px); }
.booking-submit-btn:active { transform: translateY(0); }
.booking-submit-btn:disabled { background-color: rgba(255, 255, 255, 0.2); cursor: not-allowed; transform: none; }

/* Booking error message */
.booking-error-message {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: none;
    font-size: 14px;
}

/* Booking loading overlay */
.booking-loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    flex-direction: column;
    gap: 16px;
}
.booking-spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ef0044;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.booking-loading-overlay p { color: #ffffff; font-size: 16px; }

/* Booking confirmation popup */
.booking-confirmation-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    z-index: 10002;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    animation: popupSlideIn 0.5s ease forwards;
}
@keyframes popupSlideIn {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.booking-confirmation-popup.show { opacity: 1; }

.booking-confirmation-content { text-align: center; position: relative; }
.confirmation-close-btn {
    position: absolute; top: -12px; right: -12px;
    background: #ef0044; border: none; color: white;
    width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.confirmation-close-btn:hover { background: #d60039; transform: scale(1.1); }
.success-icon { font-size: 64px; color: #10b981; margin-bottom: 20px; }
.booking-confirmation-popup h2 { font-size: 28px; color: #10b981; margin-bottom: 12px; }
.booking-confirmation-popup p { font-size: 16px; color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }

.confirmation-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}
.detail-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.detail-group:last-child { border-bottom: none; }
.detail-group label { font-weight: 600; color: #ffffff; font-size: 14px; }
.monospace {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #10b981;
    word-break: break-all;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .booking-passenger-section { padding: 16px; }
    .booking-contact-section { padding: 16px; }
    .passenger-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .booking-confirmation-popup { padding: 24px; max-width: 95vw; }
    .confirmation-details { padding: 16px; }
    .detail-group { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Flight card adjustments for new button layout */
.flight-card { display: flex; flex-direction: column; }
.price-info { margin-bottom: 12px; }
/* Booking Option Buttons */
.booking-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(239, 0, 68, 0.4);
}

.booking-airline-btn:hover {
    background: linear-gradient(135deg, #ff1a5e 0%, #d60048 100%) !important;
}

.booking-kayak-btn:hover {
    background: linear-gradient(135deg, #ff1a5e 0%, #d60048 100%) !important;
}

/* Booking payment section */
.booking-payment-section {
    margin: 24px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-payment-section h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
}

.payment-notice {
    background: rgba(203, 252, 201, 0.1);
    color: #cbfcc9;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 16px;
    border-left: 3px solid #cbfcc9;
}

/* Booking total section */
.booking-total-section {
    margin: 24px 0;
    padding: 20px;
    background: rgba(239, 0, 68, 0.1);
    border-radius: 12px;
    border: 2px solid #ef0044;
}

.booking-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-total-row span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.booking-total-price {
    font-size: 28px;
    font-weight: 700;
    color: #cbfcc9;
}

/* Remove passenger button */
.remove-passenger-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(239, 0, 68, 0.5);
    color: rgba(239, 0, 68, 0.8);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-passenger-btn:hover {
    background: rgba(239, 0, 68, 0.1);
    border-color: #ef0044;
    color: #ef0044;
}

/* Enhanced booking flight summary */
.booking-flight-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.booking-airline-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.booking-flight-number {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.booking-flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.booking-route-point {
    text-align: center;
}

.booking-airport-code {
    font-size: 24px;
    font-weight: 700;
    color: #cbfcc9;
}

.booking-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.booking-route-line {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 20px;
}

.booking-route-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #cbfcc9, #ef0044, #cbfcc9);
}

.booking-route-duration,
.booking-route-type {
    background: #000;
    padding: 4px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.booking-lieflat-badge {
    background: linear-gradient(135deg, #cbfcc9 0%, #a8e6a6 100%);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-top: 16px;
}

