/**
 * MAF Clean Flight Search Form v2024
 * Enhanced with proper icons, swap button positioning, and improved graphics
 */

/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #003265;
    --accent: #FCAE1E;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --blue-50: #eff6ff;
    --green-500: #22c55e;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.2s ease;
}

/* ===== MAIN WRAPPER ===== */
.maf-clean-search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible !important;
}

/* ===== TRIP TYPE TABS ===== */
.trip-type-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--gray-100);
    padding: 6px;
    border-radius: var(--border-radius-sm);
    width: fit-content;
    box-shadow: var(--shadow);
}

.trip-tab {
    padding: 14px 28px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trip-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.trip-tab:hover:not(.active) {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* ===== DESKTOP LAYOUT - ONE ROW ===== */
.search-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr 220px 280px 160px;
    gap: 20px;
    align-items: end;
    position: relative;
}

.field-group {
    position: relative;
    overflow: visible !important;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.field-label::before {
    font-size: 16px;
    opacity: 0.7;
}

.from-group .field-label::before {
    content: "✈️";
}

.to-group .field-label::before {
    content: "🛬";
}

.dates-group .field-label::before {
    content: "📅";
}

.travelers-group .field-label::before {
    content: "👥";
}

.field-input {
    position: relative;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    height: 64px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.field-input:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

.field-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 50, 101, 0.1);
}

.field-input input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-900);
    background: transparent;
    min-height: 40px;
    line-height: 1.4;
}

.field-input input::placeholder {
    color: var(--gray-500);
    font-weight: 400;
}

/* ===== ENHANCED SWAP BUTTON ===== */
.swap-btn {
    width: 52px;
    height: 52px;
    border: 3px solid var(--primary);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
    z-index: 100;
    position: relative;
}

.swap-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(180deg) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.swap-btn::before {
    content: "⇄";
    font-size: 20px;
}



/* ===== CLEAN SEARCH BUTTON ===== */
.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    height: 64px;
    padding: 0 28px;
    border-radius: var(--border-radius-sm);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    width: 100%;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-btn:hover {
    background: #002147;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(0, 50, 101, 0.4);
}

/* ===== ENHANCED DROPDOWNS WITH MAXIMUM Z-INDEX ===== */
.dropdown-suggestions,
.travelers-dropdown,
.class-dropdown,
.maf-airport-suggestions {
    display: none;
    position: fixed !important;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    z-index: 999999 !important;
    max-height: 350px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    min-width: 300px;
    max-width: 90vw;
}

/* ===== AIRPORT SUGGESTIONS SPECIFIC STYLES ===== */
.maf-airport-suggestions {
    display: block !important;
    border: 1px solid var(--gray-300);
    background: var(--white);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.maf-airport-suggestion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.maf-airport-suggestion:last-child {
    border-bottom: none;
}

.maf-airport-suggestion:hover {
    background: var(--blue-50);
    transform: translateX(2px);
}

.maf-airport-suggestion .airport-code {
    background: var(--primary);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    min-width: 45px;
    text-align: center;
}

.maf-airport-suggestion .airport-details {
    flex: 1;
}

.maf-airport-suggestion .airport-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
    margin-bottom: 2px;
}

.maf-airport-suggestion .airport-location {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== COMPACT CALENDAR STYLES (DESKTOP ONLY) ===== */
.maf-compact-calendar {
    width: 700px;
    max-width: 95vw;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gray-200);
}

.maf-compact-calendar-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maf-compact-calendar-nav {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.maf-current-months-display {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 16px;
}

.maf-month-separator {
    color: var(--gray-400);
    margin: 0 8px;
}

.maf-compact-calendar-body {
    padding: 0;
}

.maf-two-months-container {
    display: flex;
    width: 100%;
    gap: 0;
}

.maf-month-wrapper {
    padding: 20px;
    min-width: 0;
    flex: 1;
}

.maf-month-wrapper.maf-second-month {
    border-left: 1px solid var(--gray-100);
}

.maf-compact-month {
    width: 100%;
}

.maf-compact-month-header {
    text-align: center;
    margin-bottom: 16px;
}

.maf-compact-month-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.maf-compact-month-grid {
    width: 100%;
}

.maf-compact-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 36px);
    gap: 4px;
    margin-bottom: 8px;
    justify-content: center;
}

.maf-compact-weekdays .maf-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    padding: 8px 4px;
    width: 36px;
}

.maf-compact-days {
    display: grid;
    grid-template-columns: repeat(7, 36px);
    gap: 4px;
    justify-content: center;
}

.maf-compact-day {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--gray-700);
    position: relative;
}

.maf-compact-day:hover:not(.maf-day-disabled) {
    background: var(--blue-50);
    color: var(--primary);
    transform: scale(1.05);
}

.maf-compact-day.maf-day-today {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.maf-compact-day.maf-day-selected {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 50, 101, 0.3);
}

.maf-compact-day.maf-day-in-range {
    background: rgba(0, 50, 101, 0.1);
    color: var(--primary);
}

.maf-compact-day.maf-day-disabled {
    color: var(--gray-300);
    cursor: not-allowed;
}

.maf-compact-calendar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: center;
    background: var(--gray-50);
}

.maf-compact-calendar-footer .maf-dropdown-done {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maf-compact-calendar-footer .maf-dropdown-done:hover {
    background: #002147;
    transform: translateY(-1px);
}

/* ===== COMPACT TRAVELERS DROPDOWN (DESKTOP ONLY) ===== */
.maf-compact-travelers {
    width: 350px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gray-200);
}

.maf-compact-travelers-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maf-compact-travelers-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.maf-compact-travelers-body {
    padding: 16px 24px;
}

.maf-compact-traveler-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.maf-compact-traveler-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.maf-compact-traveler-info {
    flex: 1;
}

.maf-compact-traveler-info .maf-traveler-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
    display: block;
    margin-bottom: 2px;
}

.maf-compact-traveler-info .maf-traveler-age {
    font-size: 12px;
    color: var(--gray-500);
}

.maf-compact-traveler-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.maf-compact-counter-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.maf-compact-counter-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.maf-compact-counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-400);
}

.maf-compact-counter-value {
    font-weight: 700;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    color: var(--gray-900);
}

.maf-compact-class-section {
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    margin-top: 8px;
}

.maf-compact-class-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maf-compact-class-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
}

.maf-compact-class-dropdown {
    position: relative;
}

.maf-compact-class-btn {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    min-width: 120px;
    justify-content: space-between;
}

.maf-compact-class-btn:hover {
    border-color: var(--primary);
    background: var(--blue-50);
}

.maf-compact-class-btn.open {
    border-color: var(--primary);
    background: var(--blue-50);
}

.maf-compact-class-arrow {
    font-size: 12px;
    color: var(--gray-500);
    transition: transform 0.2s ease;
}

.maf-compact-class-btn.open .maf-compact-class-arrow {
    transform: rotate(180deg);
}

.maf-compact-class-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 4px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 -8px 16px -4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.maf-compact-class-options.visible {
    display: block;
    animation: slideDown 0.2s ease;
}

.maf-compact-class-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.maf-compact-class-option:last-child {
    border-bottom: none;
}

.maf-compact-class-option:hover {
    background: var(--blue-50);
    color: var(--primary);
}

.maf-compact-class-option.selected {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.maf-compact-travelers-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: center;
    background: var(--gray-50);
}

.maf-compact-travelers-footer .maf-dropdown-done {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maf-compact-travelers-footer .maf-dropdown-done:hover {
    background: #002147;
    transform: translateY(-1px);
}

/* ===== SIMPLE AIRPORT SEARCH LOADING ===== */
.maf-loading-suggestions {
    border: 1px solid var(--gray-200);
    background: var(--white);
}

.maf-simple-loading-container {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.maf-simple-spinner {
    display: flex;
    gap: 4px;
}

.maf-spinner-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: maf-dot-bounce 1.4s ease-in-out infinite both;
}

.maf-spinner-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.maf-spinner-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.maf-spinner-dot:nth-child(3) {
    animation-delay: 0s;
}

.maf-simple-loading-text {
    flex: 1;
}

.maf-loading-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

@keyframes maf-dot-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ===== AIRPORT SEARCH ERROR STATES ===== */
.maf-error-suggestions {
    border: 1px solid #fecaca;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.maf-search-error-container {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.maf-search-error-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.maf-search-error-content {
    flex: 1;
}

.maf-search-error-title {
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 2px;
}

.maf-search-error-subtitle {
    font-size: 12px;
    color: #7f1d1d;
}

.dropdown-suggestions.active,
.travelers-dropdown.active,
.class-dropdown.active {
    display: block !important;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



/* ===== ENHANCED TRAVELERS DROPDOWN ===== */
.travelers-dropdown {
    width: 420px;
    padding: 24px;
    border: 2px solid var(--gray-200);
    max-width: 95vw;
    max-height: 80vh;
}

.dropdown-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dropdown-header h4::before {
    content: "👥";
    font-size: 20px;
}

.passengers-section {
    margin-bottom: 24px;
}

.passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.passenger-row:last-child {
    border-bottom: none;
}

.passenger-info {
    flex: 1;
}

.passenger-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.passenger-age {
    font-size: 13px;
    color: var(--gray-500);
}

.passenger-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.counter-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-400);
}

.passenger-count {
    font-weight: 700;
    font-size: 16px;
    min-width: 24px;
    text-align: center;
    color: var(--gray-900);
}

/* ===== ENHANCED CLASS SELECTION ===== */
.class-section {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.class-header label {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.class-header label::before {
    content: "✈️";
    font-size: 16px;
}

.class-selector {
    position: relative;
}



.class-dropdown {
    position: fixed !important;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 20px 40px -8px rgba(0, 50, 101, 0.15), 
                0 8px 16px -4px rgba(0, 50, 101, 0.1) !important;
    z-index: 999999 !important;
    display: none !important;
    min-width: 320px;
    max-width: 90vw;
    overflow: hidden;
}

.class-dropdown.active {
    display: block !important;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.class-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.class-option:last-child {
    border-bottom: none;
}

.class-option:hover {
    background: linear-gradient(135deg, 
        rgba(0, 50, 101, 0.02) 0%, 
        rgba(252, 174, 30, 0.02) 100%);
    transform: translateX(2px);
    border-left: 4px solid var(--accent);
}

.class-option.selected {
    background: linear-gradient(135deg, 
        rgba(0, 50, 101, 0.05) 0%, 
        rgba(252, 174, 30, 0.05) 100%);
    border-left: 4px solid var(--primary);
    font-weight: 600;
}

.class-info {
    flex: 1;
}

.class-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.class-desc {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.class-check {
    font-size: 18px;
    color: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.class-option.selected .class-check {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== ENHANCED DONE BUTTON ===== */
.dropdown-footer {
    text-align: center;
    margin-top: 20px;
}

.done-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #004080 100%);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.done-btn:hover {
    background: linear-gradient(135deg, #004080 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(0, 50, 101, 0.4);
}

/* ===== MOBILE LAYOUT - CLEAN & ENHANCED ===== */
@media (max-width: 768px) {
    .maf-clean-search-wrapper {
        padding: 20px;
        margin: 16px;
        border-radius: var(--border-radius-sm);
    }

    /* Trip type tabs - full width on mobile */
    .trip-type-tabs {
        width: 100%;
        justify-content: center;
        margin-bottom: 24px;
    }

    .trip-tab {
        flex: 1;
        padding: 14px 20px;
        font-size: 15px;
        text-align: center;
    }

    /* MOBILE: Complete layout override */
    .search-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        position: relative;
    }

    /* Reset all field groups for mobile */
    .field-group {
        margin-bottom: 20px;
        position: relative;
    }

    /* Mobile Row 1: From Airport */
    .from-group {
        margin-bottom: 16px;
        position: relative;
    }

    /* Mobile: Hide Swap Button */
    .swap-btn {
        display: none;
    }

    /* Mobile Row 2: To Airport */
    .to-group {
        margin-bottom: 20px;
    }

    /* Mobile field styling */
    .field-input {
        height: 56px;
        border-radius: var(--border-radius-sm);
    }

    .field-input input {
        font-size: 16px; /* Prevent iOS zoom */
        padding: 0 16px;
        min-height: 36px;
        line-height: 1.4;
    }

    /* Mobile: Dates field */
    .dates-group {
        margin-bottom: 20px;
    }

    /* Mobile: Travelers field */
    .travelers-group {
        margin-bottom: 24px;
    }

    /* Mobile: Search button */
    .search-group {
        margin-bottom: 0;
    }

    .search-btn {
        margin-top: 0;
        height: 56px;
        font-size: 17px;
        font-weight: 700;
        background: var(--primary);
        color: var(--white);
    }

    .search-btn:hover {
        background: #002147;
    }

    /* Mobile label adjustments */
    .field-label {
        font-size: 14px;
        margin-bottom: 10px;
        color: var(--gray-700);
    }

    /* Mobile dropdowns adjustments */
    .dropdown-suggestions {
        min-width: 320px;
        max-width: calc(100vw - 40px);
        max-height: 300px;
    }

    .travelers-dropdown {
        width: auto;
        min-width: 320px;
        max-width: calc(100vw - 40px);
        padding: 20px;
        max-height: 70vh;
    }

    .dropdown-header h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .passenger-controls {
        gap: 14px;
    }

    .counter-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .passenger-count {
        font-size: 16px;
        min-width: 28px;
    }

    /* Mobile suggestion items - Enhanced Design */
    .suggestion-item {
        padding: 16px 18px;
        gap: 16px;
    }

    .suggestion-item .iata-code {
        width: 48px;
        height: 48px;
        font-size: 14px;
    }

    .suggestion-item .name {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .suggestion-item .location {
        font-size: 13px;
        font-weight: 500;
    }
}

/* ===== ULTRA-ATTRACTIVE AIRPORT SUGGESTIONS ===== */
.dropdown-suggestions {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    min-width: 100%;
    max-width: 500px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 20px 40px -8px rgba(0, 50, 101, 0.15), 
                0 8px 16px -4px rgba(0, 50, 101, 0.1),
                0 0 0 1px rgba(0, 50, 101, 0.05);
    z-index: 999999 !important;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-suggestions.active {
    display: block !important;
    animation: slideInDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Suggestion Items */
.suggestion-item {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 50, 101, 0.06);
    cursor: pointer;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.suggestion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 50, 101, 0.03) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.suggestion-item:hover::before,
.suggestion-item.focused::before {
    left: 100%;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.focused {
    background: linear-gradient(135deg, 
        rgba(0, 50, 101, 0.02) 0%, 
        rgba(252, 174, 30, 0.02) 100%);
    transform: translateX(4px) scale(1.01);
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.08);
}

/* Premium IATA Code Badge */
.suggestion-item .iata-code {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        #004080 50%, 
        #002147 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 50, 101, 0.3);
    position: relative;
    overflow: hidden;
}

.suggestion-item .iata-code::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.suggestion-item:hover .iata-code::after,
.suggestion-item.focused .iata-code::after {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

/* Airport Details */
.suggestion-item .airport-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.suggestion-item .name {
    font-weight: 700;
    font-size: 17px;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.suggestion-item .location {
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-item .location::before {
    content: "📍";
    font-size: 14px;
    opacity: 0.7;
}

/* Premium Loading Animation */
.suggestion-item.searching-airports {
    padding: 28px 24px;
    justify-content: center;
    align-items: center;
    font-style: normal;
    color: var(--gray-600);
    pointer-events: none;
    background: linear-gradient(135deg, 
        rgba(0, 50, 101, 0.02) 0%, 
        rgba(252, 174, 30, 0.02) 100%);
    display: flex;
    gap: 16px;
    border: none;
}

.searching-loader {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 50, 101, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: premiumSpin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
}

.searching-loader::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: premiumSpin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite reverse;
}

@keyframes premiumSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.searching-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* No Results State */
.suggestion-item.no-results {
    padding: 28px 24px;
    justify-content: center;
    align-items: center;
    color: var(--gray-500);
    font-style: italic;
    background: rgba(0, 50, 101, 0.02);
    text-align: center;
    flex-direction: column;
    gap: 12px;
}

.no-results-icon {
    font-size: 32px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.no-results-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-600);
}

.no-results-subtext {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Position field groups as relative for absolute positioning */
.field-group {
    position: relative;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .dropdown-suggestions {
        max-width: calc(100vw - 40px);
        min-width: calc(100vw - 40px);
        left: -20px !important;
        right: -20px !important;
        border-radius: 16px;
        box-shadow: 0 16px 32px -8px rgba(0, 50, 101, 0.2);
    }

    .suggestion-item {
        padding: 18px 20px;
        gap: 16px;
    }

    .suggestion-item .iata-code {
        width: 52px;
        height: 52px;
        font-size: 15px;
        border-radius: 10px;
    }

    .suggestion-item .name {
        font-size: 16px;
    }

    .suggestion-item .location {
        font-size: 14px;
    }

    .searching-loader {
        width: 24px;
        height: 24px;
        border-width: 2px;
    }

    .searching-text {
        font-size: 15px;
    }
}

/* ===== ENHANCED FIELD LABELS WITH PROPER ICONS ===== */
.from-group .field-label::before {
    content: "🛫";
    font-size: 18px;
    opacity: 0.8;
}

.to-group .field-label::before {
    content: "🛬";
    font-size: 18px;
    opacity: 0.8;
}

.dates-group .field-label::before {
    content: "📅";
    font-size: 18px;
    opacity: 0.8;
}

.travelers-group .field-label::before {
    content: "👥";
    font-size: 18px;
    opacity: 0.8;
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .maf-clean-search-wrapper {
        padding: 16px;
        margin: 12px;
    }

    .trip-tab {
        padding: 12px 16px;
        font-size: 14px;
    }

    .field-input {
        height: 52px;
    }

    .field-input input {
        font-size: 16px;
        padding: 0 14px;
        min-height: 34px;
        line-height: 1.4;
    }

    .swap-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .search-btn {
        height: 52px;
        font-size: 16px;
    }

    .suggestion-item {
        padding: 14px 16px;
    }

    .suggestion-item .iata-code {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .travelers-dropdown {
        padding: 16px;
    }

    .counter-btn {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
}

/* ===== GLOBAL Z-INDEX ENFORCEMENT ===== */
.dropdown-suggestions,
.travelers-dropdown,
.class-dropdown {
    position: fixed !important;
    z-index: 999999 !important;
}

/* ===== DROPDOWN OVERLAY PROTECTION ===== */
.dropdown-suggestions.active,
.travelers-dropdown.active,
.class-dropdown.active {
    position: fixed !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
}

/* ===== ACCESSIBILITY & ANIMATIONS ===== */
.trip-tab:focus-visible,
.counter-btn:focus-visible,
.search-btn:focus-visible,
.done-btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== LOADING STATES ===== */
.suggestion-item.searching-airports {
    padding: 20px;
    justify-content: center;
    font-style: italic;
    color: var(--gray-500);
    pointer-events: none;
    background: var(--gray-50);
}

/* ===== ENHANCED VISUAL POLISH ===== */
.field-input:focus-within {
    background: var(--gray-50);
}

.suggestion-item:hover .iata-code {
    transform: scale(1.05);
}

.class-option:hover .class-check {
    transform: scale(1.1);
} 
 
/* ===== ENHANCED AIRPORT SUGGESTIONS PORTAL (MODERN OTA STYLE) ===== */

/* Base Portal Styles */
.maf-suggestions-portal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.maf-suggestions-portal.maf-suggestions-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.maf-suggestions-portal.maf-suggestions-above .maf-suggestions-container {
    transform-origin: bottom center;
    border-radius: 16px 16px 6px 6px;
}

/* Main Container */
.maf-suggestions-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 20px 40px -12px rgba(0, 50, 101, 0.15),
        0 8px 24px -8px rgba(0, 50, 101, 0.12),
        0 0 0 1px rgba(0, 50, 101, 0.06);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform-origin: top center;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
}

.maf-suggestions-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(252, 174, 30, 0.3) 50%, 
        transparent 100%);
    z-index: 1;
}

/* ===== PROFESSIONAL SUGGESTIONS HEADER ===== */
.maf-suggestions-header {
    padding: 24px 28px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(0, 50, 101, 0.08);
    position: relative;
}

.maf-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.maf-header-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 50, 101, 0.15);
}

.maf-header-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.maf-header-text {
    flex: 1;
}

.maf-suggestions-title {
    font-size: 18px;
    font-weight: 700;
    color: #003265;
    margin: 0 0 4px 0;
    letter-spacing: -0.025em;
}

.maf-suggestions-count {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    background: rgba(252, 174, 30, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* ===== PROFESSIONAL LOADING STATE ===== */
.maf-suggestions-container.maf-loading-state {
    padding: 40px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    text-align: center;
}

.maf-loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.maf-loading-spinner-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.maf-loading-spinner-ring {
    position: absolute;
    width: 60px;
    height: 60px;
}

.maf-spinner-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: maf-spinner-rotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.maf-spinner-circle:nth-child(1) {
    border-top-color: #003265;
    animation-delay: -0.45s;
}

.maf-spinner-circle:nth-child(2) {
    border-right-color: #FCAE1E;
    animation-delay: -0.3s;
}

.maf-spinner-circle:nth-child(3) {
    border-bottom-color: #003265;
    animation-delay: -0.15s;
}

.maf-spinner-circle:nth-child(4) {
    border-left-color: #FCAE1E;
    animation-delay: 0s;
}

.maf-search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    color: #003265;
    animation: maf-search-pulse 2s ease-in-out infinite;
}

.maf-search-icon svg {
    width: 100%;
    height: 100%;
}

.maf-loading-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.maf-loading-title {
    font-size: 18px;
    font-weight: 700;
    color: #003265;
    margin: 0;
    letter-spacing: -0.025em;
}

.maf-loading-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

@keyframes maf-spinner-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes maf-search-pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes maf-spin {
    to { transform: rotate(360deg); }
}

.maf-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 50, 101, 0.1);
    border-left-color: #FCAE1E;
    border-radius: 50%;
    animation: maf-spin 1s linear infinite;
}

/* Suggestions List */
.maf-suggestions-list {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 50, 101, 0.2) transparent;
}

.maf-suggestions-list::-webkit-scrollbar {
    width: 6px;
}

.maf-suggestions-list::-webkit-scrollbar-track {
    background: transparent;
}

.maf-suggestions-list::-webkit-scrollbar-thumb {
    background: rgba(0, 50, 101, 0.2);
    border-radius: 3px;
}

.maf-suggestions-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 50, 101, 0.3);
}

/* Individual Suggestion Items */
.maf-suggestion-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 50, 101, 0.05);
    position: relative;
    background: #ffffff;
}

.maf-suggestion-item:last-child {
    border-bottom: none;
}

.maf-suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, rgba(252, 174, 30, 0.1) 0%, rgba(0, 50, 101, 0.05) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-suggestion-item:hover,
.maf-suggestion-item.focused {
    background: rgba(252, 174, 30, 0.02);
    transform: translateX(2px);
}

.maf-suggestion-item:hover::before,
.maf-suggestion-item.focused::before {
    width: 4px;
}

.maf-suggestion-item:active {
    transform: translateX(1px) scale(0.995);
}

/* ===== PROFESSIONAL SUGGESTION ICON ===== */
.maf-suggestion-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maf-airport-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 16px -4px rgba(0, 50, 101, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.maf-airport-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: inherit;
}

.maf-airport-code {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.maf-suggestion-item:hover .maf-airport-badge,
.maf-suggestion-item.focused .maf-airport-badge {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 
        0 12px 24px -6px rgba(252, 174, 30, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}



/* ===== PROFESSIONAL ACTION ARROW ===== */
.maf-suggestion-action {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maf-select-arrow {
    width: 32px;
    height: 32px;
    background: rgba(0, 50, 101, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-select-arrow svg {
    width: 18px;
    height: 18px;
}

.maf-suggestion-item:hover .maf-select-arrow,
.maf-suggestion-item.focused .maf-select-arrow {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    color: #ffffff;
    transform: translateX(4px) scale(1.1);
    box-shadow: 0 4px 12px rgba(252, 174, 30, 0.3);
}

/* ===== PROFESSIONAL SUGGESTIONS FOOTER ===== */
.maf-suggestions-footer {
    padding: 16px 28px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 50, 101, 0.06);
}

.maf-footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.maf-footer-content svg {
    width: 16px;
    height: 16px;
    color: #FCAE1E;
}

.maf-suggestion-item:hover .maf-suggestion-action,
.maf-suggestion-item.focused .maf-suggestion-action {
    color: #FCAE1E;
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
.maf-suggestions-footer {
    padding: 12px 24px;
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(0, 50, 101, 0.06);
    text-align: center;
}

.maf-suggestions-count {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* No Results State */
.maf-suggestions-container.no-results {
    padding: 40px 24px;
    text-align: center;
}

.maf-no-results-content {
    max-width: 280px;
    margin: 0 auto;
}

.maf-no-results-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.1) 0%, rgba(252, 174, 30, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.maf-no-results-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.maf-no-results-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.maf-no-results-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.4;
}

.maf-no-results-tips {
    font-size: 13px;
    color: #94a3b8;
    background: rgba(252, 174, 30, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(252, 174, 30, 0.1);
}

/* Error State */
.maf-suggestions-container.error {
    padding: 40px 24px;
    text-align: center;
}

.maf-error-content {
    max-width: 280px;
    margin: 0 auto;
}

.maf-error-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.maf-error-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.maf-error-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.maf-error-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}

/* Input Success Feedback */
.maf-input-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .maf-suggestions-container {
        border-radius: 12px;
        box-shadow: 
            0 16px 32px -8px rgba(0, 50, 101, 0.2),
            0 8px 16px -4px rgba(0, 50, 101, 0.15),
            0 0 0 1px rgba(0, 50, 101, 0.08);
        max-height: 60vh;
    }

    .maf-suggestions-header {
        padding: 16px 20px 12px;
    }

    .maf-suggestions-title {
        font-size: 13px;
    }

    .maf-suggestion-item {
        padding: 16px 20px;
        gap: 14px;
    }

    .maf-airport-code {
        width: 48px;
        height: 48px;
        font-size: 13px;
        border-radius: 10px;
    }

    .maf-city-name {
        font-size: 15px;
    }

    .maf-suggestion-secondary {
        font-size: 13px;
    }

    .maf-suggestion-location {
        font-size: 12px;
    }

    .maf-country-flag {
        font-size: 16px;
    }

    .maf-suggestions-footer {
        padding: 10px 20px;
    }

    .maf-suggestions-count {
        font-size: 11px;
    }

    .maf-no-results-content,
    .maf-error-content {
        padding: 0 16px;
    }

    .maf-no-results-icon,
    .maf-error-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .maf-no-results-title,
    .maf-error-title {
        font-size: 15px;
    }

    .maf-no-results-subtitle,
    .maf-error-subtitle {
        font-size: 13px;
    }

    .maf-no-results-tips {
        font-size: 12px;
        padding: 10px 14px;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .maf-suggestions-container {
        max-height: 65vh;
    }

    .maf-suggestion-item {
        gap: 15px;
    }

    .maf-airport-code {
        width: 50px;
        height: 50px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .maf-suggestions-portal,
    .maf-suggestion-item,
    .maf-airport-code,
    .maf-suggestion-action {
        transition: none;
    }

    .maf-loading-spinner {
        animation: none;
        border-left-color: #003265;
    }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .maf-suggestions-container {
        border: 2px solid #000000;
        box-shadow: none;
    }

    .maf-suggestion-item {
        border-bottom-color: #000000;
    }

    .maf-airport-code {
        background: #000000;
        color: #ffffff;
    }

    .maf-city-name {
        color: #000000;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .maf-suggestions-container {
        background: #1e293b;
        box-shadow: 
            0 20px 40px -12px rgba(0, 0, 0, 0.4),
            0 8px 24px -8px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .maf-suggestions-header {
        background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .maf-suggestions-title {
        color: #f1f5f9;
    }

    .maf-suggestion-item {
        background: #1e293b;
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .maf-suggestion-item:hover,
    .maf-suggestion-item.focused {
        background: rgba(252, 174, 30, 0.05);
    }

    .maf-city-name {
        color: #f1f5f9;
    }

    .maf-suggestion-secondary {
        color: #94a3b8;
    }

    .maf-suggestion-location {
        color: #64748b;
    }

    .maf-suggestions-footer {
        background: rgba(30, 41, 59, 0.8);
        border-top-color: rgba(255, 255, 255, 0.1);
    }
} 
 
/* ===== PROFESSIONAL TRAVELERS & CLASS DROPDOWN ===== */
.maf-travelers-class-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 50, 101, 0.25),
        0 12px 30px -8px rgba(0, 50, 101, 0.15),
        0 0 0 1px rgba(0, 50, 101, 0.08);
    min-width: 400px;
    max-width: 460px;
    max-height: 85vh;
    overflow: hidden;
    display: none;
    transform: translateY(-20px) scale(0.92);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.maf-travelers-class-dropdown.active {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ===== PROFESSIONAL DROPDOWN HEADER ===== */
.maf-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(0, 50, 101, 0.08);
    position: relative;
}

.maf-dropdown-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 2px;
    background: linear-gradient(90deg, #003265 0%, #FCAE1E 50%, #003265 100%);
    opacity: 0.6;
}

.maf-dropdown-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #003265;
    margin: 0;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.maf-dropdown-header h4::before {
    content: '👥';
    font-size: 16px;
}

.maf-dropdown-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 50, 101, 0.08);
    color: #64748b;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-dropdown-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* ===== PROFESSIONAL PASSENGERS SECTION ===== */
.maf-passengers-section {
    padding: 18px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.maf-passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    margin-bottom: 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 2px 8px rgba(0, 50, 101, 0.04),
        0 0 0 1px rgba(0, 50, 101, 0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.maf-passenger-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    opacity: 0.6;
}

.maf-passenger-row:hover {
    box-shadow: 
        0 8px 24px rgba(0, 50, 101, 0.08),
        0 0 0 1px rgba(252, 174, 30, 0.2);
    transform: translateY(-2px);
}

.maf-passenger-row:last-child {
    margin-bottom: 0;
}

.maf-passenger-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maf-passenger-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.maf-passenger-age {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    padding: 2px 6px;
    background: rgba(0, 50, 101, 0.05);
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* ===== PROFESSIONAL PASSENGER CONTROLS ===== */
.maf-passenger-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.maf-counter-btn {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(0, 50, 101, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #003265;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 50, 101, 0.06);
}

.maf-counter-btn:hover {
    border-color: #FCAE1E;
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    color: #ffffff;
    transform: scale(1.15) rotate(2deg);
    box-shadow: 0 6px 20px rgba(252, 174, 30, 0.4);
}

.maf-counter-btn:active {
    transform: scale(1.05);
}

.maf-counter-btn.minus:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.maf-passenger-count {
    font-size: 18px;
    font-weight: 800;
    color: #003265;
    min-width: 32px;
    text-align: center;
    padding: 8px 12px;
    background: rgba(0, 50, 101, 0.08);
    border-radius: 10px;
    border: 2px solid rgba(0, 50, 101, 0.1);
}

/* ===== PROFESSIONAL DROPDOWN FOOTER ===== */
.maf-dropdown-footer {
    padding: 18px 24px 22px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 50, 101, 0.06);
}

.maf-done-btn {
    width: 100%;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(0, 50, 101, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.maf-done-btn:hover {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(252, 174, 30, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.3);
}

.maf-done-btn:hover {
    background: linear-gradient(135deg, #002244 0%, #003265 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 50, 101, 0.4);
}

/* ===== ENHANCED CLASS DROPDOWN (SEPARATE) ===== */
.maf-class-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 20px 40px -12px rgba(0, 50, 101, 0.15),
        0 8px 24px -8px rgba(0, 50, 101, 0.12),
        0 0 0 1px rgba(0, 50, 101, 0.06);
    min-width: 360px;
    max-width: 420px;
    max-height: 80vh;
    overflow: hidden;
    display: none;
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-class-dropdown.active {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.maf-class-options {
    padding: 20px 24px;
}

.maf-class-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.maf-class-option:last-child {
    margin-bottom: 0;
}

.maf-class-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(252, 174, 30, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.maf-class-option:hover::before,
.maf-class-option.selected::before {
    left: 100%;
}

.maf-class-option:hover {
    border-color: #FCAE1E;
    background: rgba(252, 174, 30, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 174, 30, 0.2);
}

.maf-class-option.selected {
    border-color: #003265;
    background: rgba(0, 50, 101, 0.05);
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.2);
}

.maf-class-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.maf-class-option:hover .maf-class-icon,
.maf-class-option.selected .maf-class-icon {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    transform: scale(1.1);
}

.maf-class-icon svg {
    width: 20px;
    height: 20px;
}

.maf-class-info {
    flex: 1;
    min-width: 0;
}

.maf-class-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.maf-class-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.maf-class-check {
    font-size: 18px;
    color: #22c55e;
    opacity: 0;
    transition: var(--transition);
}

.maf-class-option.selected .maf-class-check {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== CLASS SELECTION SECTION (WITHIN COMBINED DROPDOWN) ===== */
.maf-class-section {
    padding: 16px 24px 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
}

.maf-class-header h5 {
    font-size: 14px;
    font-weight: 600;
    color: #003265;
    margin: 0 0 12px 0;
}

.maf-cabin-class-btn {
    width: 100%;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
}

.maf-cabin-class-btn:hover,
.maf-cabin-class-btn[aria-expanded="true"] {
    border-color: #FCAE1E;
    box-shadow: 0 0 0 3px rgba(252, 174, 30, 0.1);
    background: #ffffff;
}

.maf-dropdown-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.maf-cabin-class-btn[aria-expanded="true"] .maf-dropdown-icon {
    transform: rotate(180deg);
}

.maf-cabin-class-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 
        0 20px 40px -8px rgba(0, 50, 101, 0.25),
        0 10px 24px -4px rgba(0, 50, 101, 0.15),
        0 0 0 1px rgba(0, 50, 101, 0.08);
    border: 1px solid rgba(0, 50, 101, 0.06);
    z-index: 1000000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 280px;
    overflow-y: auto;
}

.maf-cabin-class-options.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.maf-cabin-class-options .maf-class-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.maf-cabin-class-options .maf-class-option:last-child {
    border-bottom: none;
}

.maf-cabin-class-options .maf-class-option:hover {
    background: rgba(252, 174, 30, 0.05);
}

.maf-cabin-class-options .maf-class-option.selected {
    background: rgba(0, 50, 101, 0.05);
    color: #003265;
}

.maf-class-content {
    flex: 1;
}

.maf-class-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.maf-class-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.maf-class-check {
    width: 20px;
    height: 20px;
    color: #003265;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transition: all 0.3s ease;
}

.maf-cabin-class-options .maf-class-option.selected .maf-class-check {
    opacity: 1;
}

/* ===== ENHANCED BUTTON STYLING ===== */
.travelers-class-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all 0.2s ease;
}

.travelers-class-btn:hover,
.travelers-class-btn.active {
    border-color: #FCAE1E;
    box-shadow: 0 0 0 3px rgba(252, 174, 30, 0.1);
    transform: translateY(-1px);
}

.dropdown-arrow {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.travelers-class-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .maf-travelers-class-dropdown {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.95);
        width: calc(100vw - 32px);
        max-width: none;
        min-width: auto;
        max-height: 85vh;
    }

    .maf-travelers-class-dropdown.active {
        transform: translate(-50%, -50%) scale(1);
    }

    .maf-class-section {
        padding: 16px 20px 0;
    }

    .maf-cabin-class-options {
        max-height: 240px;
    }

    .maf-dropdown-header h4 {
        font-size: 15px;
    }

    .maf-passenger-label {
        font-size: 13px;
    }

    .maf-cabin-class-btn {
        font-size: 13px;
        padding: 10px 12px;
    }

    .maf-done-btn {
        font-size: 13px;
        padding: 12px 18px;
    }

    /* Date picker fallback modal for mobile */
    .maf-date-picker-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .maf-date-picker-content {
        background: white;
        border-radius: 16px;
        width: 100%;
        max-width: 400px;
        max-height: 80vh;
        overflow: hidden;
    }

    .maf-date-picker-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid #e2e8f0;
    }

    .maf-date-picker-header h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #003265;
    }

    .maf-date-picker-close {
        background: none;
        border: none;
        font-size: 24px;
        color: #64748b;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .maf-date-picker-body {
        padding: 24px;
    }

    .maf-date-input-group {
        margin-bottom: 20px;
    }

    .maf-date-input-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 8px;
    }

    .maf-date-input-group input[type="date"] {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 16px;
        color: #1e293b;
    }

    .maf-date-picker-footer {
        padding: 20px 24px;
        border-top: 1px solid #e2e8f0;
    }

    .maf-date-picker-apply {
        background: linear-gradient(135deg, #003265 0%, #004080 100%);
        color: white;
        border: none;
        padding: 14px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        width: 100%;
    }

    /* Mobile responsive adjustments for travelers & class field */
    .travelers-class-group {
        min-width: 140px;
    }

    .travelers-class-btn {
        font-size: 14px;
        padding: 12px 14px;
    }

    #travelers-class-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .maf-dropdown-header {
        padding: 16px 20px 12px;
    }

    .maf-dropdown-header h4 {
        font-size: 15px;
    }

    .maf-passengers-section,
    .maf-class-options {
        padding: 16px 20px;
    }

    .maf-passenger-row {
        padding: 14px 0;
    }

    .maf-passenger-label {
        font-size: 14px;
    }

    .maf-passenger-age {
        font-size: 12px;
    }

    .maf-counter-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .maf-passenger-count {
        font-size: 15px;
    }

    .maf-class-option {
        padding: 16px 18px;
        gap: 14px;
    }

    .maf-class-icon {
        width: 36px;
        height: 36px;
    }

    .maf-class-icon svg {
        width: 18px;
        height: 18px;
    }

    .maf-class-name {
        font-size: 15px;
    }

    .maf-class-desc {
        font-size: 12px;
    }

    .maf-dropdown-footer {
        padding: 16px 20px;
    }

    .maf-done-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ===== SEARCH BUTTON ENHANCEMENT ===== */
.search-btn {
    background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.3);
    min-height: 52px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #002244 0%, #003265 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 50, 101, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* ===== ALLOW PAGE SCROLLING WHEN DROPDOWN IS OPEN ===== */
body.maf-dropdown-open {
    /* Don't prevent page scrolling - allow natural scroll behavior */
    /* overflow: hidden; */
    /* position: fixed; */
    /* width: 100%; */
}

/* ===== BACKDROP FOR MOBILE DROPDOWNS ===== */
.maf-dropdown-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maf-dropdown-backdrop.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .maf-travelers-dropdown.active::before,
    .maf-class-dropdown.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        backdrop-filter: blur(4px);
    }
}

/* ===== FIELD GROUP LAYOUT ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .search-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .field-group.travelers-class-group {
        grid-column: 1;
    }
    
    .field-group.search-group {
        grid-column: 1;
        margin-top: 8px;
    }
}

@media (min-width: 769px) {
    .search-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr 1fr auto 1fr;
        gap: 12px;
        align-items: end;
    }
    
    .field-group.travelers-class-group {
        grid-column: 5;
        min-width: 200px;
    }
    
    .field-group.search-group {
        grid-column: 6;
    }
} 
 
/* ===== PREMIUM SEARCH MODAL ===== */
.maf-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-search-modal.active {
    opacity: 1;
    visibility: visible;
}

.maf-search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 50, 101, 0.95) 0%, 
        rgba(0, 50, 101, 0.98) 50%, 
        rgba(252, 174, 30, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.maf-search-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    transform: translateY(50px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-search-modal.active .maf-search-modal-content {
    transform: translateY(0) scale(1);
}

/* Modal Header */
.maf-search-modal-header {
    text-align: center;
    margin-bottom: 60px;
    animation: maf-modal-header-enter 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.maf-company-logo {
    position: relative;
}

.maf-company-logo img {
    height: 80px;
    width: auto;
    max-width: 300px;
    filter: brightness(0) invert(1) drop-shadow(0 8px 32px rgba(252, 174, 30, 0.3));
    animation: maf-logo-glow 2s ease-in-out infinite alternate;
}

/* Modal Body */
.maf-search-modal-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: maf-modal-body-enter 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.maf-search-animation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Spinner Animation */
.maf-search-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maf-spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(252, 174, 30, 0.3) 60deg,
        rgba(252, 174, 30, 0.7) 120deg,
        rgba(252, 174, 30, 1) 180deg,
        rgba(252, 174, 30, 0.7) 240deg,
        rgba(252, 174, 30, 0.3) 300deg,
        transparent 360deg
    );
    animation: maf-search-spin 2s linear infinite;
}

.maf-spinner-ring::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 50, 101, 0.95);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.maf-search-airplane {
    position: relative;
    width: 48px;
    height: 48px;
    color: rgba(252, 174, 30, 1);
    z-index: 1;
    animation: maf-airplane-float 3s ease-in-out infinite;
}

.maf-search-airplane svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(252, 174, 30, 0.5));
}

/* Search Status */
.maf-search-status {
    max-width: 400px;
}

.maf-search-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: maf-text-pulse 2s ease-in-out infinite;
}

.maf-search-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    line-height: 1.5;
    animation: maf-text-fade 3s ease-in-out infinite;
}

/* Progress Bar */
.maf-search-progress {
    width: 280px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.maf-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(252, 174, 30, 1) 0%, 
        rgba(255, 215, 0, 1) 50%, 
        rgba(252, 174, 30, 1) 100%);
    border-radius: 2px;
    width: 0;
    animation: maf-progress-fill 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(252, 174, 30, 0.6);
}

/* Modal Footer */
.maf-search-modal-footer {
    animation: maf-modal-footer-enter 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.maf-contact-info {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-contact-info:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(252, 174, 30, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.maf-phone-icon {
    width: 24px;
    height: 24px;
    color: rgba(252, 174, 30, 1);
    flex-shrink: 0;
    animation: maf-phone-ring 2s ease-in-out infinite;
}

.maf-contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maf-contact-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

.maf-phone-number {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.maf-phone-number:hover {
    color: rgba(252, 174, 30, 1);
    text-shadow: 0 0 20px rgba(252, 174, 30, 0.5);
}

/* Keyframe Animations */
@keyframes maf-search-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes maf-airplane-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-2px) rotate(-1deg); }
}

@keyframes maf-logo-glow {
    from { 
        filter: brightness(0) invert(1) drop-shadow(0 8px 32px rgba(252, 174, 30, 0.3)); 
    }
    to { 
        filter: brightness(0) invert(1) drop-shadow(0 8px 32px rgba(252, 174, 30, 0.7)); 
    }
}

@keyframes maf-text-pulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.9; transform: translateY(-2px); }
}

@keyframes maf-text-fade {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.7; }
}

@keyframes maf-progress-fill {
    0% { width: 0%; transform: translateX(-100%); }
    50% { width: 70%; transform: translateX(0); }
    100% { width: 100%; transform: translateX(0); }
}

@keyframes maf-phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

@keyframes maf-modal-header-enter {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes maf-modal-body-enter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes maf-modal-footer-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .maf-search-modal-content {
        padding: 20px 16px;
    }

    .maf-company-logo img {
        height: 60px;
    }

    .maf-search-modal-header {
        margin-bottom: 40px;
    }

    .maf-search-animation-container {
        gap: 30px;
    }

    .maf-search-spinner {
        width: 100px;
        height: 100px;
    }

    .maf-search-airplane {
        width: 40px;
        height: 40px;
    }

    .maf-search-title {
        font-size: 24px;
    }

    .maf-search-subtitle {
        font-size: 16px;
    }

    .maf-search-progress {
        width: 240px;
    }

    .maf-contact-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px 20px;
    }

    .maf-phone-number {
        font-size: 18px;
    }
}

/* Suggestion Item Content */
.maf-suggestion-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    min-width: 0;
}

.maf-suggestion-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maf-suggestion-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #003265;
    line-height: 1.3;
}

.maf-iata-code {
    font-size: 18px;
    font-weight: 700;
    color: #FCAE1E;
    background: rgba(252, 174, 30, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 48px;
    text-align: center;
    flex-shrink: 0;
    border: 1px solid rgba(252, 174, 30, 0.2);
}

.maf-airport-name {
    font-size: 16px;
    font-weight: 600;
    color: #003265;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.maf-suggestion-secondary {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

.maf-city-name {
    color: #475569;
    font-weight: 600;
}

.maf-country-name {
    color: #64748b;
    font-weight: 400;
}

.maf-suggestion-item.focused .maf-iata-code {
    background: rgba(252, 174, 30, 0.2);
    border-color: rgba(252, 174, 30, 0.4);
    color: #e6930e;
}

.maf-suggestion-item.focused .maf-airport-name {
    color: #002142;
}

.maf-suggestion-item.focused .maf-city-name {
    color: #334155;
}

.maf-suggestion-item.no-country .maf-suggestion-content {
    gap: 8px;
}

 
 
/* ===== PROFESSIONAL AIRPORT SUGGESTIONS - REDESIGNED ===== */
.maf-suggestions-portal {
    position: absolute;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.maf-suggestions-portal.maf-suggestions-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.maf-suggestions-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 20px 40px -8px rgba(0, 50, 101, 0.25),
        0 10px 24px -4px rgba(0, 50, 101, 0.15),
        0 0 0 1px rgba(0, 50, 101, 0.06);
    border: 1px solid rgba(0, 50, 101, 0.08);
    overflow: hidden;
    min-width: 320px;
    max-width: 500px;
    max-height: 480px;
}

/* ===== SUGGESTIONS HEADER ===== */
.maf-suggestions-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 12px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.maf-header-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.maf-header-text h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #ffffff;
}

.maf-header-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===== SUGGESTIONS LIST ===== */
.maf-suggestions-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
}

.maf-suggestions-list::-webkit-scrollbar {
    width: 6px;
}

.maf-suggestions-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.maf-suggestions-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.maf-suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 50, 101, 0.04);
    position: relative;
}

.maf-suggestion-item:last-child {
    border-bottom: none;
}

.maf-suggestion-item:hover,
.maf-suggestion-item.focused {
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.04) 0%, rgba(252, 174, 30, 0.04) 100%);
    transform: translateX(4px);
}

.maf-suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    transition: width 0.2s ease;
}

.maf-suggestion-item:hover::before,
.maf-suggestion-item.focused::before {
    width: 4px;
}

/* ===== SUGGESTION BADGE (IATA CODE) ===== */
.maf-suggestion-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.2);
    position: relative;
    overflow: hidden;
}

.maf-suggestion-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: inherit;
}

.maf-iata-code {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.maf-suggestion-item:hover .maf-suggestion-badge,
.maf-suggestion-item.focused .maf-suggestion-badge {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(252, 174, 30, 0.3);
}

/* ===== SUGGESTION CONTENT ===== */
.maf-suggestion-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maf-suggestion-primary {
    display: flex;
    align-items: center;
}

.maf-airport-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.maf-suggestion-secondary {
    display: flex;
    align-items: center;
}

.maf-city-country {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== SUGGESTION SELECT ARROW ===== */
.maf-suggestion-select {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.maf-suggestion-select svg {
    width: 100%;
    height: 100%;
}

.maf-suggestion-item:hover .maf-suggestion-select,
.maf-suggestion-item.focused .maf-suggestion-select {
    color: #FCAE1E;
    transform: translateX(4px);
}

/* ===== SUGGESTIONS FOOTER ===== */
.maf-suggestions-footer {
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 50, 101, 0.06);
    text-align: center;
}

.maf-suggestions-footer small {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* ===== LOADING STATE ===== */
.maf-suggestions-container.maf-loading-state {
    padding: 24px 20px;
    text-align: center;
}

.maf-loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.maf-loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.maf-loading-spinner {
    position: relative;
    width: 48px;
    height: 48px;
}

.maf-spinner-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FCAE1E;
    border-radius: 50%;
    animation: maf-spinner-rotate 1.2s linear infinite;
}

.maf-spinner-dot:nth-child(1) { transform: rotate(0deg) translateX(20px); animation-delay: 0s; }
.maf-spinner-dot:nth-child(2) { transform: rotate(90deg) translateX(20px); animation-delay: 0.3s; }
.maf-spinner-dot:nth-child(3) { transform: rotate(180deg) translateX(20px); animation-delay: 0.6s; }
.maf-spinner-dot:nth-child(4) { transform: rotate(270deg) translateX(20px); animation-delay: 0.9s; }

@keyframes maf-spinner-rotate {
    0% { transform: rotate(0deg) translateX(20px); opacity: 1; }
    50% { opacity: 0.4; }
    100% { transform: rotate(360deg) translateX(20px); opacity: 1; }
}

.maf-loading-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.maf-loading-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* ===== NO RESULTS STATE ===== */
.maf-suggestions-container.maf-no-results {
    padding: 32px 20px;
    text-align: center;
}

.maf-no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.maf-no-results-icon {
    font-size: 32px;
    opacity: 0.6;
}

.maf-no-results-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.maf-no-results-content p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.maf-no-results-content small {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

/* ===== ERROR STATE ===== */
.maf-suggestions-container.maf-error-state {
    padding: 32px 20px;
    text-align: center;
}

.maf-error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.maf-error-icon {
    font-size: 32px;
    opacity: 0.8;
}

.maf-error-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #dc2626;
    margin: 0;
}

.maf-error-content p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.maf-error-content small {
    font-size: 12px;
    color: #9ca3af;
    font-family: monospace;
}

/* ===== FORM VALIDATION ERROR ===== */
.maf-validation-error {
    margin-bottom: 20px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
    animation: maf-error-slide-in 0.3s ease-out;
}

.maf-error-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
}

.maf-error-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.maf-error-message {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #7f1d1d;
    line-height: 1.4;
}

.maf-error-close {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.maf-error-close:hover {
    background: rgba(220, 38, 38, 0.1);
}

@keyframes maf-error-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .maf-suggestions-container {
        border-radius: 12px;
        min-width: 280px;
        max-height: 60vh;
    }

    .maf-suggestions-header {
        padding: 14px 16px 10px;
    }

    .maf-header-text h3 {
        font-size: 14px;
    }

    .maf-header-text span {
        font-size: 11px;
    }

    .maf-suggestion-item {
        padding: 12px 16px;
        gap: 12px;
    }

    .maf-suggestion-badge {
        width: 44px;
        height: 44px;
    }

    .maf-iata-code {
        font-size: 12px;
    }

    .maf-airport-name {
        font-size: 14px;
    }

    .maf-city-country {
        font-size: 12px;
    }

    .maf-suggestions-footer {
        padding: 10px 16px;
    }

    .maf-loading-wrapper,
    .maf-no-results-content,
    .maf-error-content {
        padding: 0 8px;
    }
} 
 
/* ===== COMPACT TRAVELERS & CLASS DROPDOWN - REDESIGNED ===== */
.maf-travelers-class-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 
        0 20px 40px -8px rgba(0, 50, 101, 0.25),
        0 8px 20px -4px rgba(0, 50, 101, 0.15),
        0 0 0 1px rgba(0, 50, 101, 0.06);
    min-width: 320px;
    max-width: 380px;
    max-height: 70vh;
    overflow: hidden;
    display: none;
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-travelers-class-dropdown.active {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ===== COMPACT DROPDOWN HEADER ===== */
.maf-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(0, 50, 101, 0.08);
    position: relative;
}

.maf-dropdown-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, #003265 0%, #FCAE1E 50%, #003265 100%);
    opacity: 0.4;
}

.maf-dropdown-header h4 {
    font-size: 13px;
    font-weight: 600;
    color: #003265;
    margin: 0;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.maf-dropdown-header h4::before {
    content: '👥';
    font-size: 12px;
}

.maf-dropdown-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 50, 101, 0.06);
    color: #64748b;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.maf-dropdown-close:hover {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* ===== COMPACT PASSENGERS SECTION ===== */
.maf-passengers-section {
    padding: 12px 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.maf-passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 50, 101, 0.06);
    border: 1px solid rgba(0, 50, 101, 0.04);
    position: relative;
    transition: all 0.2s ease;
}

.maf-passenger-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    border-radius: 0 4px 4px 0;
    opacity: 0.3;
}

.maf-passenger-row:hover {
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.1);
    transform: translateY(-1px);
    background: #ffffff;
}

.maf-passenger-row:last-child {
    margin-bottom: 0;
}

.maf-passenger-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.maf-passenger-label {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.maf-passenger-age {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    padding: 1px 4px;
    background: rgba(0, 50, 101, 0.05);
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
}

/* ===== COMPACT PASSENGER CONTROLS ===== */
.maf-passenger-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.maf-counter-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(0, 50, 101, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #003265;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 50, 101, 0.1);
}

.maf-counter-btn:hover {
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.2);
}

.maf-counter-btn.minus:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.maf-passenger-count {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    min-width: 20px;
    text-align: center;
    padding: 2px 6px;
    background: rgba(0, 50, 101, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(0, 50, 101, 0.1);
}

/* ===== COMPACT CLASS SELECTION SECTION ===== */
.maf-class-section {
    padding: 12px 18px 0;
    border-top: 1px solid rgba(0, 50, 101, 0.08);
    margin-top: 4px;
    position: relative;
}

.maf-class-header h5 {
    font-size: 12px;
    font-weight: 600;
    color: #003265;
    margin: 0 0 8px 0;
}

.maf-cabin-class-btn {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
}

.maf-cabin-class-btn:hover,
.maf-cabin-class-btn[aria-expanded="true"] {
    border-color: #FCAE1E;
    box-shadow: 0 0 0 2px rgba(252, 174, 30, 0.1);
    background: #ffffff;
}

.maf-dropdown-icon {
    width: 14px;
    height: 14px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.maf-cabin-class-btn[aria-expanded="true"] .maf-dropdown-icon {
    transform: rotate(180deg);
}

/* ===== PROFESSIONAL CLASS OPTIONS DROPDOWN ===== */
.maf-cabin-class-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 
        0 20px 40px -8px rgba(0, 50, 101, 0.3),
        0 10px 24px -4px rgba(0, 50, 101, 0.2),
        0 0 0 1px rgba(0, 50, 101, 0.08);
    border: 1px solid rgba(0, 50, 101, 0.06);
    z-index: 1000000;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 200px;
    overflow-y: auto;
}

.maf-cabin-class-options.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.maf-cabin-class-options .maf-class-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 50, 101, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.maf-cabin-class-options .maf-class-option:last-child {
    border-bottom: none;
}

.maf-cabin-class-options .maf-class-option:hover {
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.04) 0%, rgba(252, 174, 30, 0.04) 100%);
    transform: translateX(2px);
}

.maf-cabin-class-options .maf-class-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    transition: width 0.2s ease;
}

.maf-cabin-class-options .maf-class-option:hover::before {
    width: 3px;
}

.maf-cabin-class-options .maf-class-option.selected {
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.08) 0%, rgba(252, 174, 30, 0.08) 100%);
}

.maf-cabin-class-options .maf-class-option.selected::before {
    width: 3px;
}

.maf-class-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.maf-class-name {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.maf-class-desc {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

.maf-class-check {
    font-size: 12px;
    color: #22c55e;
    opacity: 0;
    transition: all 0.2s ease;
    transform: scale(0.8);
}

.maf-cabin-class-options .maf-class-option.selected .maf-class-check {
    opacity: 1;
    transform: scale(1);
}

/* ===== COMPACT DROPDOWN FOOTER ===== */
.maf-dropdown-footer {
    padding: 12px 18px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 50, 101, 0.06);
}

.maf-done-btn {
    width: 100%;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.15);
}

.maf-done-btn:hover {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(252, 174, 30, 0.3);
}

/* ===== MOBILE RESPONSIVE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .maf-travelers-class-dropdown {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.95);
        width: calc(100vw - 24px);
        max-width: none;
        min-width: auto;
        max-height: 80vh;
        border-radius: 20px;
    }

    .maf-travelers-class-dropdown.active {
        transform: translate(-50%, -50%) scale(1);
    }

    .maf-dropdown-header {
        padding: 12px 16px 10px;
        border-radius: 20px 20px 0 0;
    }

    .maf-dropdown-header h4 {
        font-size: 16px;
    }

    .maf-dropdown-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .maf-passengers-section {
        padding: 24px 24px 20px;
    }

    .maf-passenger-row {
        padding: 16px 20px;
        margin-bottom: 12px;
    }

    .maf-passenger-label {
        font-size: 15px;
    }

    .maf-passenger-age {
        font-size: 12px;
    }

    .maf-passenger-controls {
        gap: 12px;
        padding: 6px 10px;
    }

    .maf-counter-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .maf-passenger-count {
        font-size: 16px;
        padding: 6px 10px;
    }

    .maf-class-section {
        padding: 20px 24px 0;
    }

    .maf-class-header h5 {
        font-size: 13px;
    }

    .maf-cabin-class-btn {
        font-size: 15px;
        padding: 14px 18px;
    }

    .maf-dropdown-icon {
        width: 18px;
        height: 18px;
    }

    .maf-cabin-class-options {
        border-radius: 16px;
        min-width: 260px;
    }

    .maf-cabin-class-options .maf-class-option {
        padding: 16px 20px !important;
    }

    .maf-class-name {
        font-size: 15px;
    }

    .maf-class-desc {
        font-size: 12px;
    }

    .maf-dropdown-footer {
        padding: 20px 24px 24px;
        border-radius: 0 0 20px 20px;
    }

    .maf-done-btn {
        font-size: 15px;
        padding: 14px 20px;
    }
} 
 
/* ===== OVERRIDE: Ensure nested class dropdown not clipped ===== */
.maf-travelers-class-dropdown {
    overflow: visible !important;
} 
 
/* ===== ENHANCED CLASS DROPDOWN VISIBILITY ===== */
.maf-cabin-class-options {
    position: fixed !important;
    z-index: 9999999 !important;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 50, 101, 0.35),
        0 15px 30px -8px rgba(0, 50, 101, 0.25),
        0 0 0 1px rgba(0, 50, 101, 0.08);
    border: 1px solid rgba(0, 50, 101, 0.06);
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 250px;
    overflow-y: auto;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.maf-cabin-class-options.active {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.maf-cabin-class-options .maf-class-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 50, 101, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
}

.maf-cabin-class-options .maf-class-option:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.maf-cabin-class-options .maf-class-option:last-child {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.maf-cabin-class-options .maf-class-option:hover {
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.06) 0%, rgba(252, 174, 30, 0.06) 100%);
    transform: translateX(3px);
}

.maf-cabin-class-options .maf-class-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    transition: width 0.2s ease;
}

.maf-cabin-class-options .maf-class-option:hover::before {
    width: 4px;
}

.maf-cabin-class-options .maf-class-option.selected {
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.1) 0%, rgba(252, 174, 30, 0.1) 100%);
}

.maf-cabin-class-options .maf-class-option.selected::before {
    width: 4px;
}

.maf-class-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.maf-class-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.maf-class-desc {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

.maf-class-check {
    font-size: 14px;
    color: #22c55e;
    opacity: 0;
    transition: all 0.2s ease;
    transform: scale(0.8);
}

.maf-cabin-class-options .maf-class-option.selected .maf-class-check {
    opacity: 1;
    transform: scale(1);
}

/* ===== ENSURE DROPDOWN APPEARS ABOVE ALL CONTENT ===== */
.maf-class-section {
    position: relative;
    z-index: 1;
}

/* ===== MINIMALIST CLASS DROPDOWN - MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .maf-cabin-class-options {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 40px);
        max-width: 280px;
        min-width: auto;
    }
    
    .maf-cabin-class-options.active {
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    .maf-cabin-class-options .maf-class-option {
        padding: 16px 20px;
    }
    
    .maf-class-name {
        font-size: 15px !important;
        font-weight: 600 !important;
    }
    
    /* MINIMALIST DESIGN: Hide descriptions on mobile */
    .maf-cabin-class-options .maf-class-desc {
        display: none !important;
    }
    
    /* Improve spacing without descriptions */
    .maf-cabin-class-options .maf-class-content {
        gap: 0 !important;
    }
}

/* ===== PROFESSIONAL-STYLE MODALS - COMPLETELY REBUILT ===== */
#maf-calendar-overlay,
#maf-travelers-modal,
#maf-calendar-dropdown,
#maf-travelers-dropdown {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Custom Calendar Styling */
#maf-calendar-overlay,
#maf-calendar-dropdown {
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Mobile Calendar Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#maf-calendar-overlay {
    animation: slideInUp 0.3s ease-out !important;
}

/* Travelers Modal Styling */
#maf-travelers-modal,
#maf-travelers-dropdown {
    -webkit-user-select: none !important;
    user-select: none !important;
}

#maf-travelers-modal {
    animation: slideInUp 0.3s ease-out !important;
}

/* Simple fallback for desktop */
@media (min-width: 769px) {
    .maf-travelers-class-dropdown {
        border-radius: 12px !important;
        box-shadow: 0 10px 40px rgba(0, 50, 101, 0.25) !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .maf-cabin-class-options {
        border-radius: 12px !important;
        box-shadow: 0 10px 40px rgba(0, 50, 101, 0.25) !important;
        border: 1px solid #e2e8f0 !important;
    }
}

/* ===== CLEAN PROFESSIONAL AIRPORT AUTOCOMPLETE ===== */
/* NOTE: This replaces all old .maf-suggestions-* CSS rules for better performance */
.maf-clean-suggestions-portal {
    position: absolute;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.maf-clean-suggestions-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 
        0 10px 25px -5px rgba(0, 50, 101, 0.15),
        0 4px 10px -2px rgba(0, 50, 101, 0.08),
        0 0 0 1px rgba(0, 50, 101, 0.05);
    border: 1px solid rgba(0, 50, 101, 0.06);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* ===== CLEAN LOADING STATE ===== */
.maf-clean-loading-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.maf-clean-loading-spinner {
    position: relative;
    width: 24px;
    height: 24px;
}

.maf-spinner-ring {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 50, 101, 0.1);
    border-top: 2px solid #FCAE1E;
    border-radius: 50%;
    animation: maf-clean-spin 1s linear infinite;
}

.maf-search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
}

@keyframes maf-clean-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.maf-clean-loading-text span {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* ===== CLEAN SUGGESTIONS HEADER ===== */
.maf-clean-suggestions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 8px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 50, 101, 0.06);
}

.maf-header-icon {
    font-size: 14px;
}

.maf-header-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== CLEAN SUGGESTIONS LIST ===== */
.maf-clean-suggestions-list {
    max-height: 240px;
    overflow-y: auto;
}

.maf-clean-suggestions-list::-webkit-scrollbar {
    width: 4px;
}

.maf-clean-suggestions-list::-webkit-scrollbar-track {
    background: transparent;
}

.maf-clean-suggestions-list::-webkit-scrollbar-thumb {
    background: rgba(0, 50, 101, 0.2);
    border-radius: 2px;
}

.maf-clean-suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 50, 101, 0.04);
    position: relative;
}

.maf-clean-suggestion-item:last-child {
    border-bottom: none;
}

.maf-clean-suggestion-item:hover,
.maf-clean-suggestion-item.focused {
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.02) 0%, rgba(252, 174, 30, 0.02) 100%);
    transform: translateX(2px);
}

.maf-clean-suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    transition: width 0.2s ease;
}

.maf-clean-suggestion-item:hover::before,
.maf-clean-suggestion-item.focused::before {
    width: 3px;
}

.maf-suggestion-code {
    flex-shrink: 0;
    width: 44px;
    height: 32px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 50, 101, 0.15);
}

.maf-clean-suggestion-item:hover .maf-suggestion-code,
.maf-clean-suggestion-item.focused .maf-suggestion-code {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    transform: scale(1.05);
}

.maf-suggestion-details {
    flex: 1;
    min-width: 0;
}

.maf-suggestion-primary {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.maf-suggestion-secondary {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.maf-suggestion-arrow {
    flex-shrink: 0;
    font-size: 14px;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.maf-clean-suggestion-item:hover .maf-suggestion-arrow,
.maf-clean-suggestion-item.focused .maf-suggestion-arrow {
    color: #FCAE1E;
    transform: translateX(2px);
}

/* ===== CLEAN NO RESULTS STATE ===== */
.maf-clean-no-results {
    text-align: center;
    padding: 24px 20px;
}

.maf-no-results-icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.6;
}

.maf-no-results-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.maf-no-results-query {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

/* ===== CLEAN ERROR STATE ===== */
.maf-clean-error {
    text-align: center;
    padding: 24px 20px;
}

.maf-error-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.maf-error-text {
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 4px;
}

.maf-error-subtitle {
    font-size: 12px;
    color: #64748b;
}

/* ===== MOBILE RESPONSIVE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .maf-clean-suggestions-container {
        border-radius: 10px;
        margin: 0 8px;
    }

    .maf-clean-loading-wrapper {
        padding: 14px 16px;
        gap: 10px;
    }

    .maf-clean-loading-spinner {
        width: 20px;
        height: 20px;
    }

    .maf-spinner-ring {
        width: 20px;
        height: 20px;
    }

    .maf-clean-loading-text span {
        font-size: 13px;
    }

    .maf-clean-suggestions-header {
        padding: 10px 16px 6px;
        gap: 6px;
    }

    .maf-header-icon {
        font-size: 12px;
    }

    .maf-header-text {
        font-size: 11px;
    }

    .maf-clean-suggestion-item {
        padding: 10px 16px;
        gap: 12px;
    }

    .maf-suggestion-code {
        width: 38px;
        height: 28px;
        font-size: 10px;
    }

    .maf-suggestion-primary {
        font-size: 12px;
    }

    .maf-suggestion-secondary {
        font-size: 10px;
    }

    .maf-suggestion-arrow {
        font-size: 12px;
    }

    .maf-clean-no-results,
    .maf-clean-error {
        padding: 20px 16px;
    }

    .maf-no-results-icon,
    .maf-error-icon {
        font-size: 20px;
    }

    .maf-no-results-text,
    .maf-error-text {
        font-size: 13px;
    }

    .maf-no-results-query,
    .maf-error-subtitle {
        font-size: 11px;
    }
} 
 
/* ===== PREMIUM TRAVELERS & CLASS DROPDOWN - COMPLETELY REDESIGNED ===== */
.maf-travelers-class-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999 !important;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 50, 101, 0.35),
        0 15px 30px -8px rgba(0, 50, 101, 0.25),
        0 8px 20px -4px rgba(0, 50, 101, 0.15),
        0 0 0 1px rgba(0, 50, 101, 0.08);
    border: 1px solid rgba(0, 50, 101, 0.06);
    width: 360px;
    overflow: hidden;
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
    display: none;
    visibility: hidden;
    transform: translateY(-20px) scale(0.92);
    opacity: 0;
}

.maf-travelers-class-dropdown.active {
    display: block !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

/* ===== PREMIUM DROPDOWN HEADER ===== */
.maf-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 20px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
}

.maf-dropdown-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.maf-dropdown-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.maf-dropdown-header h4::before {
    content: '✈️';
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.maf-dropdown-close {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.maf-dropdown-close:hover {
    background: rgba(255, 59, 48, 0.9);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.4);
}

/* ===== PREMIUM PASSENGERS SECTION ===== */
.maf-passengers-section {
    padding: 28px 28px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.maf-passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    margin-bottom: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 
        0 4px 12px rgba(0, 50, 101, 0.08),
        0 2px 6px rgba(0, 50, 101, 0.04);
    border: 1px solid rgba(0, 50, 101, 0.04);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.maf-passenger-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    border-radius: 0 6px 6px 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.maf-passenger-row:hover {
    box-shadow: 
        0 8px 24px rgba(0, 50, 101, 0.12),
        0 4px 12px rgba(0, 50, 101, 0.08);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.maf-passenger-row:hover::before {
    opacity: 1;
}

.maf-passenger-row:last-child {
    margin-bottom: 0;
}

.maf-passenger-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maf-passenger-label {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.maf-passenger-age {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(0, 50, 101, 0.08);
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.025em;
}

/* ===== PREMIUM PASSENGER CONTROLS ===== */
.maf-passenger-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 50, 101, 0.02);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 50, 101, 0.06);
}

.maf-counter-btn {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 50, 101, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #003265;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 8px rgba(0, 50, 101, 0.08),
        0 2px 4px rgba(0, 50, 101, 0.04);
    position: relative;
    overflow: hidden;
}

.maf-counter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maf-counter-btn:hover {
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 
        0 8px 20px rgba(0, 50, 101, 0.2),
        0 4px 12px rgba(0, 50, 101, 0.15);
    border-color: #003265;
}

.maf-counter-btn:hover::before {
    opacity: 1;
}

.maf-counter-btn.minus:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-color: #dc2626;
    box-shadow: 
        0 8px 20px rgba(220, 38, 38, 0.2),
        0 4px 12px rgba(220, 38, 38, 0.15);
}

.maf-counter-btn:active {
    transform: scale(1.05);
}

.maf-passenger-count {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    min-width: 32px;
    text-align: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(0, 50, 101, 0.1) 0%, rgba(252, 174, 30, 0.1) 100%);
    border-radius: 8px;
    border: 2px solid rgba(0, 50, 101, 0.1);
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 2px 4px rgba(0, 50, 101, 0.05);
}

/* ===== PREMIUM CLASS SELECTION SECTION ===== */
.maf-class-section {
    padding: 24px 28px 0;
    border-top: 2px solid rgba(0, 50, 101, 0.08);
    margin-top: 8px;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.maf-class-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: #003265;
    margin: 0 0 16px 0;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    font-size: 14px;
}

.maf-class-selector {
    position: relative;
}

.maf-cabin-class-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(0, 50, 101, 0.12);
    color: #1e293b;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 
        0 4px 12px rgba(0, 50, 101, 0.06),
        0 2px 6px rgba(0, 50, 101, 0.04);
    overflow: hidden;
}

.maf-cabin-class-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 174, 30, 0.05) 0%, rgba(0, 50, 101, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maf-cabin-class-btn:hover,
.maf-cabin-class-btn[aria-expanded="true"] {
    border-color: #FCAE1E;
    box-shadow: 
        0 0 0 4px rgba(252, 174, 30, 0.1),
        0 8px 24px rgba(0, 50, 101, 0.12),
        0 4px 12px rgba(0, 50, 101, 0.08);
    background: #ffffff;
    transform: translateY(-1px);
}

.maf-cabin-class-btn:hover::before,
.maf-cabin-class-btn[aria-expanded="true"]::before {
    opacity: 1;
}

.maf-dropdown-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.maf-cabin-class-btn[aria-expanded="true"] .maf-dropdown-icon {
    transform: rotate(180deg);
    color: #FCAE1E;
}

/* ===== PROFESSIONAL CLASS OPTIONS DROPDOWN ===== */
.maf-cabin-class-options {
    position: fixed !important;
    z-index: 999999999 !important;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 50, 101, 0.4),
        0 15px 30px -8px rgba(0, 50, 101, 0.3),
        0 8px 20px -4px rgba(0, 50, 101, 0.2),
        0 0 0 1px rgba(0, 50, 101, 0.1);
    border: 2px solid rgba(252, 174, 30, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.92);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 350px;
    overflow: hidden;
    min-width: 280px;
    backdrop-filter: blur(20px);
}

.maf-cabin-class-options.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.maf-cabin-class-options .maf-class-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
    overflow: hidden;
    color: white;
}

.maf-cabin-class-options .maf-class-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(252, 174, 30, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maf-cabin-class-options .maf-class-option::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-cabin-class-options .maf-class-option:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.maf-cabin-class-options .maf-class-option:last-child {
    border-bottom: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.maf-cabin-class-options .maf-class-option:hover {
    transform: translateX(6px);
}

.maf-cabin-class-options .maf-class-option:hover::before {
    opacity: 1;
}

.maf-cabin-class-options .maf-class-option:hover::after {
    width: 6px;
}

.maf-cabin-class-options .maf-class-option.selected {
    background: rgba(252, 174, 30, 0.15);
    color: #FCAE1E;
    font-weight: 600;
}

.maf-cabin-class-options .maf-class-option.selected::after {
    width: 6px;
}

.maf-class-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.maf-class-name {
    font-size: 16px;
    font-weight: 700;
    color: inherit;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.maf-class-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.8;
}

.maf-class-check {
    font-size: 20px;
    color: #22c55e;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.6);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.maf-cabin-class-options .maf-class-option.selected .maf-class-check {
    opacity: 1;
    transform: scale(1);
}

/* ===== PREMIUM DROPDOWN FOOTER ===== */
.maf-dropdown-footer {
    padding: 24px 28px 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 0 0 16px 16px;
}

.maf-done-btn {
    width: 100%;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 
        0 8px 20px rgba(0, 50, 101, 0.2),
        0 4px 12px rgba(0, 50, 101, 0.15);
    position: relative;
    overflow: hidden;
}

.maf-done-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maf-done-btn:hover {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 28px rgba(252, 174, 30, 0.3),
        0 8px 20px rgba(252, 174, 30, 0.2);
}

.maf-done-btn:hover::before {
    opacity: 1;
}

.maf-done-btn:active {
    transform: translateY(0);
}

/* ===== MOBILE RESPONSIVE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .maf-travelers-class-dropdown {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.92);
        width: calc(100vw - 32px);
        max-width: 400px;
        max-height: 85vh;
        border-radius: 16px;
    }

    .maf-travelers-class-dropdown.active {
        transform: translate(-50%, -50%) scale(1) !important;
    }

    .maf-dropdown-header {
        padding: 20px 24px;
    }

    .maf-dropdown-header h4 {
        font-size: 18px;
    }

    .maf-dropdown-close {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .maf-passengers-section {
        padding: 24px;
    }

    .maf-passenger-row {
        padding: 16px 0;
    }

    .maf-passenger-label {
        font-size: 15px;
    }

    .maf-passenger-age {
        font-size: 12px;
    }

    .maf-passenger-controls {
        gap: 12px;
        padding: 6px 10px;
    }

    .maf-counter-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .maf-passenger-count {
        font-size: 16px;
        padding: 6px 10px;
    }

    .maf-class-section {
        padding: 20px 24px 0;
    }

    .maf-class-header h5 {
        font-size: 13px;
    }

    .maf-cabin-class-btn {
        font-size: 15px;
        padding: 14px 18px;
    }

    .maf-dropdown-icon {
        width: 18px;
        height: 18px;
    }

    .maf-cabin-class-options {
        border-radius: 16px;
        min-width: 260px;
    }

    .maf-cabin-class-options .maf-class-option {
        padding: 16px 20px !important;
    }

    .maf-class-name {
        font-size: 15px;
    }

    .maf-class-desc {
        font-size: 13px;
    }

    .maf-dropdown-footer {
        padding: 20px 24px;
    }

    .maf-done-btn {
        font-size: 16px;
        padding: 16px 24px;
    }
}

/* ===== PROFESSIONAL BACKDROP FOR MOBILE ===== */
.maf-dropdown-backdrop {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 50, 101, 0.4);
    z-index: 9999998 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.maf-dropdown-backdrop.active {
    opacity: 1 !important;
}

/* ===== POSITIONING FIX FOR DESKTOP ===== */
.travelers-class-group {
    position: relative !important;
}

/* ===== MODERN AIRPORT SUGGESTIONS DROPDOWN ===== */
.maf-suggestions-portal {
    position: fixed !important;
    z-index: 99999999 !important;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 20px 60px rgba(0, 50, 101, 0.15),
        0 8px 30px rgba(0, 50, 101, 0.08),
        0 0 0 1px rgba(0, 50, 101, 0.06);
    min-width: 320px;
    max-width: 480px;
    max-height: 400px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 50, 101, 0.08);
    backdrop-filter: blur(10px);
    display: none;
}

.maf-suggestions-portal.maf-suggestions-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    display: block;
}

/* ===== SUGGESTIONS CONTAINER ===== */
.maf-suggestions-container {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* ===== MODERN HEADER WITH SEARCH STATUS ===== */
.maf-suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 50, 101, 0.06);
}

.maf-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.maf-search-icon {
    width: 20px;
    height: 20px;
    color: #003265;
    opacity: 0.7;
}

.maf-header-text {
    flex: 1;
}

.maf-suggestions-title {
    font-size: 14px;
    font-weight: 600;
    color: #003265;
    margin: 0;
    letter-spacing: -0.025em;
}

.maf-suggestions-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* ===== MODERN LOADING STATE ===== */
.maf-suggestions-container.maf-loading-state {
    min-height: 120px;
}

.maf-loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    gap: 16px;
}

.maf-loading-animation {
    position: relative;
    width: 40px;
    height: 40px;
}

.maf-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 50, 101, 0.1);
    border-top: 3px solid #003265;
    border-radius: 50%;
    animation: modernSpin 1s linear infinite;
    position: relative;
}

.maf-loading-spinner::before {
    content: '✈️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    animation: modernFloat 2s ease-in-out infinite;
}

@keyframes modernSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes modernFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.maf-loading-text {
    text-align: center;
}

.maf-loading-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #003265;
    margin: 0 0 4px 0;
    letter-spacing: -0.025em;
}

.maf-loading-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* ===== SUGGESTIONS LIST ===== */
.maf-suggestions-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px 0;
}

.maf-suggestions-list::-webkit-scrollbar {
    width: 6px;
}

.maf-suggestions-list::-webkit-scrollbar-track {
    background: rgba(0, 50, 101, 0.05);
    border-radius: 3px;
}

.maf-suggestions-list::-webkit-scrollbar-thumb {
    background: rgba(0, 50, 101, 0.15);
    border-radius: 3px;
}

.maf-suggestions-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 50, 101, 0.25);
}

/* ===== MODERN SUGGESTION ITEMS ===== */
.maf-suggestion-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 50, 101, 0.04);
    position: relative;
    background: #ffffff;
}

.maf-suggestion-item:last-child {
    border-bottom: none;
}

.maf-suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    transition: width 0.3s ease;
}

.maf-suggestion-item:hover,
.maf-suggestion-item.focused {
    background: linear-gradient(135deg, rgba(252, 174, 30, 0.03) 0%, rgba(0, 50, 101, 0.02) 100%);
    transform: translateX(4px);
}

.maf-suggestion-item:hover::before,
.maf-suggestion-item.focused::before {
    width: 4px;
}

/* ===== AIRPORT BADGE (IATA CODE) ===== */
.maf-suggestion-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-right: 16px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 50, 101, 0.15);
    flex-shrink: 0;
}

.maf-suggestion-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #FCAE1E;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.maf-suggestion-item:hover .maf-suggestion-badge,
.maf-suggestion-item.focused .maf-suggestion-badge {
    background: linear-gradient(135deg, #FCAE1E 0%, #e6941a 100%);
    color: #003265;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(252, 174, 30, 0.25);
}

/* ===== SUGGESTION CONTENT ===== */
.maf-suggestion-content {
    flex: 1;
    min-width: 0;
}

.maf-suggestion-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.maf-airport-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maf-suggestion-secondary {
    display: flex;
    align-items: center;
    gap: 6px;
}

.maf-city-country {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.maf-city-country::before {
    content: '📍';
    font-size: 11px;
    opacity: 0.7;
}

/* ===== SELECTION ARROW ===== */
.maf-suggestion-select {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 50, 101, 0.05);
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.maf-suggestion-select svg {
    width: 16px;
    height: 16px;
    color: #003265;
}

.maf-suggestion-item:hover .maf-suggestion-select,
.maf-suggestion-item.focused .maf-suggestion-select {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, #003265 0%, #004080 100%);
}

.maf-suggestion-item:hover .maf-suggestion-select svg,
.maf-suggestion-item.focused .maf-suggestion-select svg {
    color: #ffffff;
}

/* ===== FOOTER WITH POWERED BY ===== */
.maf-suggestions-footer {
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(0, 50, 101, 0.06);
    text-align: center;
}

.maf-suggestions-footer small {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.25px;
}

/* ===== NO RESULTS STATE ===== */
.maf-suggestions-container.maf-no-results {
    min-height: 160px;
}

.maf-no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.maf-no-results-icon {
    font-size: 32px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.maf-no-results-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.maf-no-results-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.maf-no-results-content small {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

/* ===== ERROR STATE ===== */
.maf-suggestions-container.maf-error-state {
    min-height: 120px;
}

.maf-error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    text-align: center;
}

.maf-error-icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: #ef4444;
}

.maf-error-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #ef4444;
    margin: 0 0 6px 0;
}

.maf-error-content p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px 0;
}

.maf-error-content small {
    font-size: 11px;
    color: #9ca3af;
    font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .maf-suggestions-portal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 0 !important;
        transform: translateY(100%);
        z-index: 999999999 !important;
    }

    .maf-suggestions-portal.maf-suggestions-visible {
        transform: translateY(0);
    }

    .maf-suggestions-header {
        padding: 20px;
        background: linear-gradient(135deg, #003265 0%, #004080 100%);
    }

    .maf-suggestions-title {
        color: #ffffff;
        font-size: 16px;
    }

    .maf-suggestions-count {
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
    }

    .maf-search-icon {
        color: #ffffff;
    }

    .maf-suggestion-item {
        padding: 18px 20px;
    }

    .maf-suggestion-badge {
        width: 52px;
        height: 52px;
        font-size: 15px;
        margin-right: 18px;
    }

    .maf-airport-name {
        font-size: 16px;
    }

    .maf-city-country {
        font-size: 14px;
    }

    .maf-suggestions-footer {
        padding: 16px 20px;
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    }

    .maf-loading-wrapper,
    .maf-no-results-content,
    .maf-error-content {
        padding: 48px 20px;
    }
}

/* ===== ENHANCED AIRPORT SEARCH ANIMATIONS ===== */
.maf-search-animation-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.maf-search-radar {
    position: absolute;
    width: 100%;
    height: 100%;
}

.maf-radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid #003265;
    border-radius: 50%;
    opacity: 0;
    animation: mafRadarPulse 2s ease-out infinite;
}

.maf-radar-circle:nth-child(1) {
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    animation-delay: 0s;
}

.maf-radar-circle:nth-child(2) {
    width: 35px;
    height: 35px;
    margin: -17.5px 0 0 -17.5px;
    animation-delay: 0.5s;
}

.maf-radar-circle:nth-child(3) {
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    animation-delay: 1s;
}

.maf-search-plane-icon {
    position: relative;
    font-size: 20px;
    z-index: 2;
    animation: mafPlaneHover 3s ease-in-out infinite;
}

.maf-loading-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.maf-loading-dots span {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #003265 0%, #FCAE1E 100%);
    border-radius: 50%;
    animation: mafDotPulse 1.5s ease-in-out infinite;
}

.maf-loading-dots span:nth-child(1) { animation-delay: 0s; }
.maf-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.maf-loading-dots span:nth-child(3) { animation-delay: 0.4s; }
.maf-loading-dots span:nth-child(4) { animation-delay: 0.6s; }

@keyframes mafRadarPulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes mafPlaneHover {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

@keyframes mafDotPulse {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ===== CLEAN AIRPORT SUGGESTIONS STYLING ===== */
.maf-clean-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 12px;
}

.maf-clean-loading .maf-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #003265;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.maf-clean-loading span {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.maf-clean-suggestions-list {
    max-height: 300px;
    overflow-y: auto;
}

.maf-clean-suggestion-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maf-clean-suggestion-item:hover,
.maf-clean-suggestion-item:focus {
    background: #f8fafc;
    outline: none;
}

.maf-clean-suggestion-item:last-child {
    border-bottom: none;
}

.maf-airport-code {
    background: #003265;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 6px;
    min-width: 45px;
    text-align: center;
    margin-right: 16px;
    letter-spacing: 0.5px;
}

.maf-airport-details {
    flex: 1;
}

.maf-airport-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.2;
}

.maf-city-country {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.2;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .maf-clean-suggestion-item {
        padding: 14px 16px;
    }
    
    .maf-airport-code {
        min-width: 40px;
        font-size: 11px;
        padding: 6px 8px;
        margin-right: 12px;
    }
    
    .maf-airport-name {
        font-size: 14px;
    }
    
    .maf-city-country {
        font-size: 12px;
    }
    
    .maf-clean-suggestions-list {
        max-height: 250px;
    }
    
    .maf-cabin-class-options {
        min-width: 250px !important;
        max-width: calc(100vw - 40px) !important;
    }
    
    .maf-cabin-class-options .maf-class-option {
        padding: 16px 20px;
    }
    
    .maf-class-name {
        font-size: 15px;
    }
    
    .maf-class-desc {
        font-size: 12px;
    }
} 

/* ===== MOBILE RESPONSIVE FIXES ===== */
.maf-travelers-class-dropdown.active {
    display: block !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

/* ===== MOBILE RESPONSIVE SECTION - FORCE OVERRIDES ===== */
@media (max-width: 768px) {
    /* FORCE MOBILE CALENDAR FULL SCREEN - ABSOLUTE PRIORITY */
    .litepicker {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        max-height: none !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        overflow-y: auto !important;
        z-index: 999999999 !important;
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
    }
    
    .litepicker .container__months {
        padding: 0 !important;
        height: calc(100vh - 80px) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }
    
    .litepicker .container__header {
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: white !important;
        padding: 20px 16px !important;
        text-align: center !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 60px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    .litepicker .container__header::before {
        content: "Select Travel Date" !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .litepicker .month-item {
        padding: 20px 16px !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #f1f5f9 !important;
        flex-shrink: 0 !important;
    }
    
    .litepicker .month-item-name {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin-bottom: 16px !important;
        text-align: center !important;
    }
    
    .litepicker .container__days .day-item {
        height: 56px !important;
        width: 56px !important;
        border-radius: 16px !important;
        margin: 4px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        touch-action: manipulation !important;
        background: #f8fafc !important;
        border: 2px solid transparent !important;
        color: #1e293b !important;
    }
    
    .litepicker .container__days .day-item:hover,
    .litepicker .container__days .day-item:active {
        background: #e0f2fe !important;
        color: #003265 !important;
        transform: scale(1.05) !important;
        border-color: #003265 !important;
    }
    
    .litepicker .container__days .is-today {
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border-color: #003265 !important;
    }
    
    .litepicker .container__days .is-start-date,
    .litepicker .container__days .is-end-date {
        background: linear-gradient(135deg, #FCAE1E 0%, #f59e0b 100%) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 12px rgba(252, 174, 30, 0.3) !important;
        border-color: #FCAE1E !important;
    }
    
    .litepicker .container__days .is-in-range {
        background: rgba(252, 174, 30, 0.1) !important;
        color: #92400e !important;
        border-color: rgba(252, 174, 30, 0.3) !important;
    }

    /* MOBILE CABIN CLASS DROPDOWN - PERFECT CENTERING */
    .maf-cabin-class-options {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 400px !important;
        max-height: 80vh !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 60px rgba(0, 50, 101, 0.3) !important;
        z-index: 999999999 !important;
        background: #ffffff !important;
        overflow-y: auto !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .maf-cabin-class-options::before {
        content: "Select Travel Class" !important;
        display: block !important;
        padding: 20px 24px 16px !important;
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: white !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        text-align: center !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 !important;
    }
    
    .maf-cabin-class-options .maf-class-option {
        padding: 20px 24px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        background: #ffffff !important;
        color: #1e293b !important;
        min-height: 60px !important;
    }
    
    .maf-cabin-class-options .maf-class-option:hover,
    .maf-cabin-class-options .maf-class-option.selected {
        background: rgba(252, 174, 30, 0.1) !important;
        color: #FCAE1E !important;
    }

    /* MOBILE TRAVELERS DROPDOWN - PERFECT POSITIONING */
    .maf-travelers-class-dropdown {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 420px !important;
        max-height: 80vh !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 60px rgba(0, 50, 101, 0.3) !important;
        z-index: 999999999 !important;
        background: #ffffff !important;
        overflow-y: auto !important;
        border: none !important;
    }
    
    .maf-dropdown-header {
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: white !important;
        padding: 20px 24px !important;
        text-align: center !important;
        border-radius: 20px 20px 0 0 !important;
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    .maf-passenger-row {
        padding: 16px 24px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 60px !important;
    }

    /* MOBILE AIRPORT SUGGESTIONS - FULL SCREEN */
    .maf-suggestions-portal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999999 !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }
    
    .maf-suggestions-container {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .maf-mobile-suggestions-header {
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: white !important;
        padding: 20px 16px !important;
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        min-height: 60px !important;
    }
    
    .maf-mobile-back-btn {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        cursor: pointer !important;
        font-size: 18px !important;
    }
    
    .maf-clean-suggestions-list {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 16px !important;
    }
    
    .maf-clean-suggestion-item {
        padding: 20px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .maf-clean-suggestion-item:hover,
    .maf-clean-suggestion-item.focused {
        background: #f0f9ff !important;
        border-color: #003265 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0, 50, 101, 0.1) !important;
    }

    /* OTHER MOBILE OPTIMIZATIONS */
    .maf-passenger-controls {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .maf-counter-btn {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        border: 2px solid #e2e8f0 !important;
        background: #ffffff !important;
        color: #003265 !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        touch-action: manipulation !important;
    }
    
    .maf-counter-btn:hover,
    .maf-counter-btn:active {
        background: #003265 !important;
        color: #ffffff !important;
        transform: scale(1.05) !important;
    }
    
    .maf-counter-value {
        width: 44px !important;
        height: 44px !important;
        border-radius: 8px !important;
        border: 2px solid #e2e8f0 !important;
        background: #f8fafc !important;
        color: #1e293b !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* END MOBILE RESPONSIVE SECTION */

.maf-mobile-search-value {
    font-size: 16px !important;
    color: #1e293b !important;
    font-weight: 500 !important;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
.maf-travelers-class-dropdown.active {
    display: block !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

/* ===== ENHANCED MOBILE DROPDOWN STYLING ===== */
@media (max-width: 768px) {
    /* Mobile travelers dropdown header */
    .maf-travelers-class-dropdown::before {
        content: "Travelers & Class" !important;
        display: block !important;
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: white !important;
        padding: 20px 24px 16px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        text-align: center !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
    }
    
    /* Mobile cabin class dropdown header */
    .maf-cabin-class-options::before {
        content: "Select Travel Class" !important;
        display: block !important;
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: white !important;
        padding: 20px 24px 16px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        text-align: center !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
    }
    
    /* Enhanced mobile dropdown content styling */
    .maf-travelers-class-dropdown .maf-dropdown-content-wrapper {
        padding: 0 !important;
    }
    
    .maf-travelers-class-dropdown .maf-passenger-section {
        padding: 20px 24px !important;
    }
    
    .maf-travelers-class-dropdown .maf-passenger-row {
        padding: 16px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .maf-travelers-class-dropdown .maf-passenger-row:last-child {
        border-bottom: none !important;
    }
    
    .maf-travelers-class-dropdown .maf-passenger-info .maf-passenger-label {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin-bottom: 4px !important;
    }
    
    .maf-travelers-class-dropdown .maf-passenger-info .maf-passenger-age {
        font-size: 14px !important;
        color: #64748b !important;
        font-weight: 500 !important;
    }
    
    .maf-travelers-class-dropdown .maf-passenger-controls {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
    }
    
    .maf-travelers-class-dropdown .maf-counter-btn {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        border: 2px solid #e2e8f0 !important;
        background: #ffffff !important;
        color: #003265 !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        touch-action: manipulation !important;
    }
    
    .maf-travelers-class-dropdown .maf-counter-btn:hover,
    .maf-travelers-class-dropdown .maf-counter-btn:active {
        background: #003265 !important;
        color: #ffffff !important;
        transform: scale(1.05) !important;
        border-color: #003265 !important;
    }
    
    .maf-travelers-class-dropdown .maf-counter-btn:disabled {
        opacity: 0.4 !important;
        cursor: not-allowed !important;
        background: #f8fafc !important;
        color: #94a3b8 !important;
        transform: none !important;
    }
    
    .maf-travelers-class-dropdown .maf-passenger-count {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        min-width: 32px !important;
        text-align: center !important;
    }
    
    /* Mobile cabin class section */
    .maf-travelers-class-dropdown .maf-cabin-class-section {
        padding: 20px 24px !important;
        border-top: 1px solid #f1f5f9 !important;
        background: #f8fafc !important;
    }
    
    .maf-travelers-class-dropdown .maf-cabin-class-selector {
        padding: 16px 20px !important;
        border-radius: 12px !important;
        border: 2px solid #e2e8f0 !important;
        background: #ffffff !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .maf-travelers-class-dropdown .maf-cabin-class-selector:hover,
    .maf-travelers-class-dropdown .maf-cabin-class-selector.active {
        border-color: #003265 !important;
        background: #f0f9ff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0, 50, 101, 0.1) !important;
    }
    
    .maf-travelers-class-dropdown .maf-cabin-class-selected-value .maf-cabin-class-label {
        font-size: 14px !important;
        color: #64748b !important;
        font-weight: 500 !important;
        display: block !important;
        margin-bottom: 2px !important;
    }
    
    .maf-travelers-class-dropdown .maf-cabin-class-selected-value .maf-class-text {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
    }
    
    .maf-travelers-class-dropdown .maf-chevron-icon {
        width: 24px !important;
        height: 24px !important;
        color: #003265 !important;
        transition: transform 0.3s ease !important;
    }
    
    .maf-travelers-class-dropdown .maf-cabin-class-selector.active .maf-chevron-icon {
        transform: rotate(180deg) !important;
    }
    
    /* Mobile dropdown footer */
    .maf-travelers-class-dropdown .maf-dropdown-footer {
        padding: 20px 24px !important;
        background: #ffffff !important;
        border-top: 1px solid #f1f5f9 !important;
        border-radius: 0 0 20px 20px !important;
    }
    
    .maf-travelers-class-dropdown .maf-done-btn {
        width: 100% !important;
        background: linear-gradient(135deg, #003265 0%, #004080 100%) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 12px !important;
        padding: 16px 24px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        min-height: 52px !important;
        touch-action: manipulation !important;
    }
    
    .maf-travelers-class-dropdown .maf-done-btn:hover,
    .maf-travelers-class-dropdown .maf-done-btn:active {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 50, 101, 0.3) !important;
    }
    
    /* Enhanced mobile cabin class options */
    .maf-cabin-class-options .maf-class-option {
        padding: 20px 24px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        background: #ffffff !important;
        min-height: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        touch-action: manipulation !important;
    }
    
    .maf-cabin-class-options .maf-class-option:last-child {
        border-bottom: none !important;
        border-radius: 0 0 20px 20px !important;
    }
    
    .maf-cabin-class-options .maf-class-option:hover,
    .maf-cabin-class-options .maf-class-option.selected {
        background: rgba(252, 174, 30, 0.1) !important;
        transform: translateX(4px) !important;
        border-left: 4px solid #FCAE1E !important;
        margin-left: -4px !important;
    }
    
    .maf-cabin-class-options .maf-class-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    
    .maf-cabin-class-options .maf-class-name {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        line-height: 1.3 !important;
    }
    
    .maf-cabin-class-options .maf-class-desc {
        font-size: 14px !important;
        color: #64748b !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
    }
    
    .maf-cabin-class-options .maf-class-check {
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
        color: #94a3b8 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        transition: all 0.3s ease !important;
        border: 2px solid #e2e8f0 !important;
    }
    
    .maf-cabin-class-options .maf-class-option.selected .maf-class-check {
        background: #FCAE1E !important;
        color: #ffffff !important;
        border-color: #FCAE1E !important;
        transform: scale(1.1) !important;
    }
}

/* ========================================================================
   Cleanup Old Styles (from previous attempts)
   ======================================================================== */
.maf-professional-travelers,
.maf-travelers-backdrop,
.maf-calendar-backdrop,
.maf-clean-travelers-dropdown,
.maf-clean-calendar,
.maf-dropdown-backdrop {
    display: none !important;
}

/* ========================================================================
   7. CALENDAR POPUP STYLES (NEW FOR V2.7.0)
   ======================================================================== */
.litepicker {
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    border-radius: 12px !important;
    box-shadow: var(--popup-shadow) !important;
    z-index: 1050 !important;
}

/* Anchoring calendar to the input field on desktop */
#maf-clean-search-form .litepicker {
    position: absolute !important;
    margin-top: 10px !important;
    z-index: 1050 !important;
}

#maf-clean-search-form .litepicker.show-main {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto;
}

/* Calendar Backdrop for Desktop (Subtle) */
.maf-calendar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1040;
    background: transparent;
}


/* Mobile Calendar - Full Screen Vertical Scrolling */
@media (max-width: 768px) {
    #maf-clean-search-form .litepicker {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        box-shadow: none !important;
        transform: translateY(100%) !important;
    }

    #maf-clean-search-form .litepicker.show-main {
        transform: translateY(0) !important;
    }

    /* Use a dark backdrop for the mobile modal */
    .maf-calendar-backdrop {
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .maf-calendar-backdrop.maf-popup--visible {
        opacity: 1;
    }

    .litepicker .container__months {
      /* existing vertical scroll styles here */
    }
}

/* ===== FULL-SCREEN CALENDAR MODAL ===== */
.maf-calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-calendar-modal.visible {
    opacity: 1;
    visibility: visible;
}

.maf-calendar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.maf-calendar-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-calendar-modal.visible .maf-calendar-container {
    transform: translateY(0);
}

/* Calendar Header */
.maf-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.maf-calendar-close {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.maf-calendar-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.maf-calendar-title {
    flex: 1;
    text-align: center;
    margin: 0 16px;
}

.maf-calendar-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.maf-calendar-dates-display {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Calendar Body */
.maf-calendar-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.maf-calendar-months {
    padding: 20px;
}

.maf-calendar-month {
    margin-bottom: 32px;
}

.maf-calendar-month:last-child {
    margin-bottom: 20px;
}

.maf-month-header {
    margin-bottom: 16px;
}

.maf-month-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    text-align: center;
}

.maf-month-grid {
    max-width: 400px;
    margin: 0 auto;
}

.maf-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.maf-weekday {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.maf-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.maf-day {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: #374151;
}

.maf-day:hover:not(.maf-day-disabled):not(.maf-day-empty) {
    background: #f3f4f6;
    color: #111827;
}

.maf-day-empty {
    cursor: default;
}

.maf-day-disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.maf-day-today {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.maf-day-selected {
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

.maf-day-selected:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.maf-day-in-range {
    background: #eff6ff;
    color: #1d4ed8;
}

/* Calendar Footer */
.maf-calendar-footer {
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.maf-calendar-done {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maf-calendar-done:hover {
    background: #1d4ed8;
}

/* ===== FULL-SCREEN TRAVELERS MODAL ===== */
.maf-travelers-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-travelers-modal.visible {
    opacity: 1;
    visibility: visible;
}

.maf-travelers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.maf-travelers-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.maf-travelers-modal.visible .maf-travelers-container {
    transform: translateY(0);
}

/* Travelers Header */
.maf-travelers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.maf-travelers-close {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.maf-travelers-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.maf-travelers-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    flex: 1;
    text-align: center;
    margin-right: 40px; /* Balance with close button */
}

/* Travelers Body */
.maf-travelers-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 20px;
}

.maf-travelers-section {
    max-width: 400px;
    margin: 0 auto;
}

.maf-traveler-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f3f4f6;
}

.maf-traveler-row:last-of-type {
    border-bottom: none;
    margin-bottom: 32px;
}

.maf-traveler-info {
    flex: 1;
}

.maf-traveler-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.maf-traveler-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.maf-traveler-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.maf-counter-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
}

.maf-counter-btn:hover:not(:disabled) {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.maf-counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f9fafb;
    border-color: #f3f4f6;
    color: #d1d5db;
}

.maf-counter-value {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    min-width: 24px;
    text-align: center;
}

/* Cabin Class Section */
.maf-cabin-class-section {
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.maf-cabin-class-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

.maf-cabin-class-dropdown {
    position: relative;
}

.maf-cabin-class-btn {
    width: 100%;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.maf-cabin-class-btn:hover,
.maf-cabin-class-btn.open {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.maf-dropdown-arrow {
    font-size: 14px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.maf-cabin-class-btn.open .maf-dropdown-arrow {
    transform: rotate(180deg);
}

.maf-cabin-class-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.maf-cabin-class-options.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.maf-class-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.maf-class-option:last-child {
    border-bottom: none;
}

.maf-class-option:hover {
    background: #f9fafb;
}

.maf-class-option.selected {
    background: #eff6ff;
    color: #2563eb;
}

.maf-class-option span:first-child {
    font-size: 14px;
    font-weight: 500;
}

.maf-check {
    font-size: 16px;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.maf-class-option.selected .maf-check {
    opacity: 1;
}

/* Travelers Footer */
.maf-travelers-footer {
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.maf-travelers-done {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maf-travelers-done:hover {
    background: #1d4ed8;
}

/* ===== DESKTOP RESPONSIVE ADJUSTMENTS ===== */
@media (min-width: 768px) {
    .maf-calendar-container,
    .maf-travelers-container {
        width: 90%;
        max-width: 500px;
        height: auto;
        max-height: 90vh;
        border-radius: 16px;
        transform: scale(0.9);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    
    .maf-calendar-modal.visible .maf-calendar-container,
    .maf-travelers-modal.visible .maf-travelers-container {
        transform: scale(1);
    }
    
    .maf-calendar-header,
    .maf-travelers-header {
        border-radius: 16px 16px 0 0;
    }
    
    .maf-calendar-footer,
    .maf-travelers-footer {
        border-radius: 0 0 16px 16px;
    }
    
    .maf-calendar-body,
    .maf-travelers-body {
        max-height: 60vh;
    }
}

/* ===== TABLET ADJUSTMENTS ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .maf-calendar-container,
    .maf-travelers-container {
        width: 95%;
        max-width: 600px;
    }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 767px) {
    .maf-calendar-months {
        padding: 16px;
    }
    
    .maf-month-header h4 {
        font-size: 18px;
    }
    
    .maf-day {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .maf-weekday {
        font-size: 11px;
        padding: 6px;
    }
    
    .maf-travelers-body {
        padding: 20px 16px;
    }
    
    .maf-traveler-controls {
        gap: 12px;
    }
    
    .maf-counter-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .maf-counter-value {
        font-size: 16px;
    }
}

/* ===== ENHANCED BUTTON STYLING ===== */
.travelers-class-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all 0.2s ease;
}

.travelers-class-btn:hover,
.travelers-class-btn:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.dropdown-arrow {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.2s ease;
}

/* ===== ENHANCED DATES INPUT STYLING ===== */
#dates-input {
    cursor: pointer;
    user-select: none;
}

#dates-input:focus {
    outline: none;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .maf-calendar-modal,
    .maf-travelers-modal,
    .maf-calendar-container,
    .maf-travelers-container,
    .maf-day,
    .maf-counter-btn,
    .maf-cabin-class-options {
        transition: none;
    }
}

/* ===== FOCUS MANAGEMENT ===== */
.maf-calendar-close:focus,
.maf-travelers-close:focus,
.maf-calendar-done:focus,
.maf-travelers-done:focus,
.maf-counter-btn:focus,
.maf-cabin-class-btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.maf-day:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    background: #eff6ff;
}

/* ===== PREVENT BODY SCROLL WHEN MODALS ARE OPEN ===== */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ===== DESKTOP CALENDAR DROPDOWN ===== */
.maf-calendar-dropdown {
    position: absolute !important;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.15);
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 650px;
    max-width: 90vw;
    overflow-y: auto;
    max-height: 80vh;
}

.maf-calendar-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Calendar Header */
.maf-dropdown-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 12px 12px 0 0;
}

.maf-dropdown-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.maf-dropdown-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Dropdown Calendar Body */
.maf-dropdown-calendar-body {
    padding: 20px;
}

.maf-desktop-months {
    display: flex;
    gap: 24px;
}

.maf-desktop-month-container {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.maf-desktop-calendar-month {
    flex: 1;
    min-width: 280px;
}

.maf-desktop-calendar-month .maf-month-header {
    margin-bottom: 12px;
}

.maf-desktop-calendar-month .maf-month-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    text-align: center;
}

.maf-desktop-calendar-month .maf-month-grid {
    width: 100%;
}

.maf-desktop-calendar-month .maf-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.maf-desktop-calendar-month .maf-weekday {
    text-align: center;
    font-size: 9px;
    font-weight: 600;
    color: #6b7280;
    padding: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.maf-desktop-calendar-month .maf-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.maf-desktop-calendar-month .maf-day {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: #374151;
    margin: 0 auto;
}

/* Horizontal Calendar Navigation */
.maf-dropdown-calendar-nav {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
}

.maf-calendar-prev,
.maf-calendar-next {
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.maf-calendar-prev:hover,
.maf-calendar-next:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.maf-calendar-months-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}







/* Dropdown Calendar Footer */
.maf-dropdown-calendar-footer {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    border-radius: 0 0 12px 12px;
}

.maf-dropdown-done {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maf-dropdown-done:hover {
    background: #1d4ed8;
}

/* ===== RESPONSIVE ADJUSTMENTS FOR DROPDOWN ===== */
@media (max-width: 768px) {
    /* Hide dropdown on mobile - use modal instead */
    .maf-calendar-dropdown {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .maf-calendar-dropdown {
        min-width: 550px;
        max-width: 600px;
    }
    
    .maf-desktop-month-container {
        gap: 16px;
    }
    
    .maf-desktop-calendar-month {
        min-width: 250px;
    }
}

/* Position dropdown relative to dates field */
.dates-group {
    position: relative;
}

/* ===== DESKTOP TRAVELERS DROPDOWN ===== */
.maf-travelers-dropdown {
    position: absolute !important;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.15);
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 380px;
    max-width: 420px;
    overflow-y: auto;
    max-height: 70vh;
}

.maf-travelers-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Travelers Header */
.maf-dropdown-travelers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 12px 12px 0 0;
}

.maf-dropdown-travelers-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Dropdown Travelers Body */
.maf-dropdown-travelers-body {
    padding: 20px;
}

.maf-travelers-dropdown .maf-traveler-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.maf-travelers-dropdown .maf-traveler-row:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.maf-travelers-dropdown .maf-traveler-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maf-travelers-dropdown .maf-traveler-label {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.maf-travelers-dropdown .maf-traveler-age {
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
}

.maf-travelers-dropdown .maf-traveler-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.maf-travelers-dropdown .maf-counter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
}

.maf-travelers-dropdown .maf-counter-btn:hover:not(:disabled) {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.maf-travelers-dropdown .maf-counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f9fafb;
    border-color: #f3f4f6;
    color: #d1d5db;
}

.maf-travelers-dropdown .maf-counter-value {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    min-width: 20px;
    text-align: center;
}

/* Desktop Class Section */
.maf-dropdown-class-section {
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.maf-class-label {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    display: block;
    margin-bottom: 12px;
}

.maf-class-dropdown-container {
    position: relative;
}

.maf-class-select-btn {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.maf-class-select-btn:hover,
.maf-class-select-btn.open {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.maf-class-arrow {
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.maf-class-select-btn.open .maf-class-arrow {
    transform: rotate(180deg);
}

/* Minimalistic Class Options Dropdown */
.maf-class-options-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.maf-class-options-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.maf-travelers-dropdown .maf-class-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.maf-travelers-dropdown .maf-class-option:last-child {
    border-bottom: none;
}

.maf-travelers-dropdown .maf-class-option:hover {
    background: #f9fafb;
    color: #111827;
}

.maf-travelers-dropdown .maf-class-option.selected {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

/* Dropdown Travelers Footer */
.maf-dropdown-travelers-footer {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    border-radius: 0 0 12px 12px;
}

.maf-travelers-dropdown .maf-dropdown-done {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maf-travelers-dropdown .maf-dropdown-done:hover {
    background: #1d4ed8;
}

/* ===== RESPONSIVE ADJUSTMENTS FOR TRAVELERS DROPDOWN ===== */
@media (max-width: 768px) {
    /* Hide dropdown on mobile - use modal instead */
    .maf-travelers-dropdown {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .maf-travelers-dropdown {
        min-width: 350px;
        max-width: 380px;
    }
}

/* Position dropdown relative to travelers field */
.travelers-class-group {
    position: relative;
    overflow: visible !important;
}

/* Ensure all containers allow dropdowns to show above */
.search-row,
.dates-group,
.from-group,
.to-group {
    overflow: visible !important;
}

/* ===== LOADING ANIMATION MODAL ===== */
.maf-loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.maf-loading-modal.visible {
    opacity: 1;
    visibility: visible;
}

.maf-loading-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: loadingSlideUp 0.5s ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

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

.maf-logo-section {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 24px;
    border-bottom: 1px solid #dee2e6;
}

.maf-loading-logo {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.maf-content-section {
    padding: 32px 40px;
    width: 100%;
    box-sizing: border-box;
}

.maf-loading-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.maf-loading-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.4;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Beautiful Sky Animation */
.maf-sky-animation {
    position: relative;
    height: 120px;
    margin: 32px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #87CEEB 0%, #B6E5FF 30%, #E0F6FF 70%, #F0FAFF 100%);
    border-radius: 16px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.maf-sky-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.maf-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    opacity: 0.8;
    filter: blur(0.5px);
}

.maf-cloud:before,
.maf-cloud:after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
}

.maf-cloud-1 {
    width: 60px;
    height: 20px;
    top: 15px;
    left: 10%;
    animation: cloudDrift1 12s ease-in-out infinite;
}

.maf-cloud-1:before {
    width: 40px;
    height: 16px;
    top: -8px;
    left: 10px;
}

.maf-cloud-1:after {
    width: 30px;
    height: 12px;
    top: -4px;
    right: 8px;
}

.maf-cloud-2 {
    width: 45px;
    height: 16px;
    top: 35px;
    right: 15%;
    animation: cloudDrift2 15s ease-in-out infinite reverse;
}

.maf-cloud-2:before {
    width: 35px;
    height: 14px;
    top: -6px;
    left: 8px;
}

.maf-cloud-3 {
    width: 50px;
    height: 18px;
    top: 10px;
    left: 70%;
    animation: cloudDrift1 18s ease-in-out infinite;
}

.maf-cloud-3:before {
    width: 30px;
    height: 12px;
    top: -6px;
    left: 12px;
}

.maf-cloud-4 {
    width: 35px;
    height: 14px;
    top: 60px;
    left: 25%;
    animation: cloudDrift2 20s ease-in-out infinite;
}

.maf-cloud-5 {
    width: 40px;
    height: 15px;
    top: 70px;
    right: 35%;
    animation: cloudDrift1 16s ease-in-out infinite reverse;
}

.maf-airplane-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.maf-airplane {
    position: absolute;
    width: 35px;
    height: 35px;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    animation: flyAcrossSky 4s ease-in-out infinite;
    z-index: 10;
}

.maf-plane-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.maf-plane-trail {
    position: absolute;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(135,206,235,0.4) 50%, transparent 100%);
    top: 50%;
    left: -120px;
    transform: translateY(-50%);
    animation: trailFollow 4s ease-in-out infinite;
    border-radius: 1px;
}

.maf-flight-path {
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 20px;
}

.maf-departure-city,
.maf-arrival-city {
    position: absolute;
    font-size: 10px;
    color: #666;
    font-weight: 600;
    top: 0;
}

.maf-departure-city {
    left: 0;
}

.maf-arrival-city {
    right: 0;
}

.maf-flight-line {
    position: absolute;
    top: 8px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, #003265 0%, #FCAE1E 50%, #003265 100%);
    opacity: 0.6;
}

.maf-flight-line:before {
    content: '';
    position: absolute;
    right: -4px;
    top: -2px;
    width: 0;
    height: 0;
    border-left: 4px solid #003265;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

/* Progress Animation */
.maf-search-progress {
    text-align: center;
    margin: 24px 0 16px;
}

.maf-progress-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.maf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #003265;
    opacity: 0.3;
}

.maf-dot-1 {
    animation: dotPulse 1.5s ease-in-out infinite;
}

.maf-dot-2 {
    animation: dotPulse 1.5s ease-in-out infinite 0.2s;
}

.maf-dot-3 {
    animation: dotPulse 1.5s ease-in-out infinite 0.4s;
}

.maf-progress-text {
    font-size: 13px;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Keyframe Animations */
@keyframes flyAcrossSky {
    0% {
        left: -40px;
        transform: translateY(-50%) rotate(0deg);
    }
    15% {
        transform: translateY(-50%) rotate(-3deg);
    }
    50% {
        transform: translateY(-50%) rotate(-1deg);
    }
    85% {
        transform: translateY(-50%) rotate(2deg);
    }
    100% {
        left: calc(100% + 40px);
        transform: translateY(-50%) rotate(0deg);
    }
}

@keyframes trailFollow {
    0% {
        left: -120px;
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        left: calc(100% + 40px);
        opacity: 0;
    }
}

@keyframes cloudDrift1 {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);
    }
}

@keyframes cloudDrift2 {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-12px);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.maf-loading-contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #FCAE1E;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

.maf-loading-contact h4 {
    font-size: 15px;
    font-weight: 600;
    color: #003265;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.maf-toll-free {
    font-size: 20px;
    font-weight: 700;
    color: #003265;
    margin: 0 0 8px 0;
    text-decoration: none;
    display: inline-block;
    padding: 4px 8px;
    background: rgba(252, 174, 30, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(252, 174, 30, 0.3);
}

.maf-loading-contact p {
    font-size: 13px;
    color: #495057;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.maf-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== AIRPORT SUGGESTIONS ===== */
.maf-airport-suggestions {
    position: fixed !important;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 999999 !important;
    max-height: 320px;
    overflow-y: auto;
}

.maf-airport-suggestion {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.maf-airport-suggestion:last-child {
    border-bottom: none;
}

.maf-airport-suggestion:hover {
    background: #f9fafb;
}

.airport-code {
    font-size: 16px;
    font-weight: 700;
    color: #2563eb;
    margin-right: 12px;
    min-width: 45px;
    text-align: center;
    background: #eff6ff;
    padding: 4px 8px;
    border-radius: 4px;
}

.airport-details {
    flex: 1;
}

.airport-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.airport-location {
    font-size: 12px;
    color: #6b7280;
}


