@import url("wl_searchform-7.css");

:root {
    --tts-buttton-bg: #1F4B9A;
    --tts-buttton-bg1: #FFC107;
    --tts-buttton-txt: #ffffff;
    --tts-buttton-txt1: #1F4B9A;
    --royal-blue: #1F4B9A;
    --royal-blue-deep: #163A72;
    --gold: #FFC107;
    --gold-light: #FFD54F;
    --wave-orange: #FF6F1A;
}

/* Hero atmosphere — no tall min-height (was creating big white gap) */
body.theme-template-14 .theme-search-14 .hero-section {
    min-height: 0 !important;
    height: auto !important;
    position: relative;
    overflow: visible;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* Hide hero bottom scoop — it left empty white space before section waves */
body.theme-template-14 .theme-search-14 .padma-wave--hero {
    display: none !important;
}
/* Pull smart-trip / search block tighter to next section waves */
body.theme-template-14 .theme-search-14 .smart-flight-hosts {
    margin: 8px 0 0 !important;
}
body.theme-template-14 .theme-search-14 .hero-section .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
body.theme-template-14 .theme-search-14 .search_form_box,
body.theme-template-14 .theme-search-14 .tts_product_box {
    margin-bottom: 0 !important;
}
body.theme-template-14 .theme-search-shell {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
body.theme-template-14 .theme-search-14 .banner-slider .slider-item::after {
    background: linear-gradient(180deg, rgba(22, 58, 114,.45) 0%, rgba(22, 58, 114,.72) 100%) !important;
}
body.theme-template-14 .theme-search-14 .slider-text h2 {
    color: #fff !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 18px rgba(0,0,0,.45) !important;
}
body.theme-template-14 .theme-search-14 .slider-text p {
    color: #FFF3C4 !important;
    font-weight: 600 !important;
}

/* FULL WIDTH search bar (not short/floating narrow) */
body.theme-template-14 .theme-search-14 .hero-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
}
body.theme-template-14 .theme-search-14 .hero-section .hero-content {
    margin-top: -90px;
    position: relative;
    z-index: 5;
}
/* Only outer wrapper full-width — do NOT force nested field cols to 100% */
body.theme-template-14 .theme-search-14 .hero-section .hero-content > .row > [class*="col-"] {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 0 !important;
}
body.theme-template-14 .theme-search-14 .search_form_box,
body.theme-template-14 .theme-search-14 .tts_product_box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, #1A3F86 0%, #2557A8 55%, #2A5FB0 100%) !important;
    border: 1px solid rgba(255, 213, 79, 0.75) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 20px 50px rgba(13, 27, 61, 0.28) !important;
    padding: 22px 24px 22px !important;
    overflow: visible;
}
/* Keep From/To/Dates/Travellers in one horizontal row across full bar */
body.theme-template-14 .theme-search-14 .flight_search_border > ul.row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
}
body.theme-template-14 .theme-search-14 .flight_search_border > ul.row > li.col-lg-5 {
    flex: 1 1 42% !important;
    max-width: 42% !important;
    width: 42% !important;
}
body.theme-template-14 .theme-search-14 .flight_search_border > ul.row > li.col-lg-3 {
    flex: 1 1 28% !important;
    max-width: 28% !important;
    width: 28% !important;
}
body.theme-template-14 .theme-search-14 .flight_search_border > ul.row > li.col-lg-4 {
    flex: 1 1 30% !important;
    max-width: 30% !important;
    width: 30% !important;
}
body.theme-template-14 .theme-search-14 .flight_search_border {
    border-color: rgba(255, 193, 7,.35) !important;
}
body.theme-template-14 .theme-search-14 .flight_search_border li:hover {
    background-color: rgba(255,255,255,.06) !important;
}
body.theme-template-14 .theme-search-14 .flight_search_border li::after {
    background: rgba(255, 193, 7,.35) !important;
}
/* Inputs: dark text on white */
body.theme-template-14 .theme-search-14 .flight_search_border .form-control,
body.theme-template-14 .theme-search-14 .search_form_box input,
body.theme-template-14 .theme-search-14 .tts_product_box input,
body.theme-template-14 .theme-search-14 .search_form_box select,
body.theme-template-14 .theme-search-14 .tts_product_box select,
body.theme-template-14 .theme-search-14 .search_form_box .form-control,
body.theme-template-14 .theme-search-14 .tts_product_box .form-control {
    background: #ffffff !important;
    color: #1F4B9A !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 193, 7,.45) !important;
    font-weight: 700 !important;
}
body.theme-template-14 .theme-search-14 .form-control::placeholder,
body.theme-template-14 .theme-search-14 input::placeholder {
    color: #475569 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}
body.theme-template-14 .theme-search-14 .select2-container .select2-selection--multiple,
body.theme-template-14 .theme-search-14 .select2-container .select2-selection__placeholder,
body.theme-template-14 .theme-search-14 .PreferredFlights + .select2 .select2-selection__rendered {
    color: #1F4B9A !important;
    background: #fff !important;
}
/* Field labels on navy */
body.theme-template-14 .theme-search-14 .search_form_box .form-label,
body.theme-template-14 .theme-search-14 .tts_product_box .form-label,
body.theme-template-14 .theme-search-14 .flight_search_border .form-label {
    color: #ffffff !important;
    font-weight: 700 !important;
}
/* Airport / day subtext under inputs — bright white, not thin gold */
body.theme-template-14 .theme-search-14 .flight_search_border .flight_text_p {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}
/* Travellers value on navy — must be bright */
body.theme-template-14 .theme-search-14 .flight_search_border h6,
body.theme-template-14 .theme-search-14 .flight_search_border h6.date,
body.theme-template-14 .theme-search-14 .flight_search_border h6 span,
body.theme-template-14 .theme-search-14 .flight_search_border .cabinclass {
    color: #ffffff !important;
    font-weight: 800 !important;
}
/* Tagline on navy */
body.theme-template-14 .theme-search-14 .flight-search h6 {
    color: #FFF3C4 !important;
    font-weight: 600 !important;
}
/* Trip type pills on navy */
body.theme-template-14 .theme-search-14 .search-check-label {
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    background: transparent !important;
    font-weight: 700 !important;
}
body.theme-template-14 .theme-search-14 .btn-check:checked + .search-check-label,
body.theme-template-14 .theme-search-14 .btn-check:checked + .btn,
body.theme-template-14 .theme-search-14 .flight-search .btn-check:checked + .btn {
    background: var(--gold) !important;
    color: #163A72 !important;
    border-color: var(--gold) !important;
    font-weight: 800 !important;
}

/* Fare row labels on navy */
body.theme-template-14 .theme-search-14 .makeflex > span,
body.theme-template-14 .theme-search-14 .makeflex .form-check-label {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* ===== Clear CHECKED state for fare radios / checkboxes on navy ===== */
body.theme-template-14 .theme-search-14 .makeflex .form-check-input {
    width: 1.15em !important;
    height: 1.15em !important;
    margin-top: 0.15em !important;
    background-color: #ffffff !important;
    border: 2px solid #FFC107 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer;
}
body.theme-template-14 .theme-search-14 .makeflex .form-check-input[type="radio"] {
    border-radius: 50% !important;
}
body.theme-template-14 .theme-search-14 .makeflex .form-check-input[type="checkbox"] {
    border-radius: 4px !important;
}
/* Checked: solid gold fill + dark check/dot — unmistakable */
body.theme-template-14 .theme-search-14 .makeflex .form-check-input:checked {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
    background-image: none !important;
}
body.theme-template-14 .theme-search-14 .makeflex .form-check-input[type="radio"]:checked {
    background-image: radial-gradient(circle, #163A72 0%, #163A72 38%, transparent 42%) !important;
    background-color: #FFC107 !important;
}
body.theme-template-14 .theme-search-14 .makeflex .form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23163A72' stroke-linecap='round' stroke-linejoin='round' stroke-width='3.5' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
body.theme-template-14 .theme-search-14 .makeflex .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.45) !important;
    border-color: #FFD54F !important;
}

/* Fare type radios as selectable pills */
body.theme-template-14 .theme-search-14 .search_filters .form-check {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    padding: 5px 12px 5px 8px !important;
    margin-right: 6px !important;
    margin-bottom: 6px !important;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.theme-template-14 .theme-search-14 .search_filters .form-check-label {
    color: #ffffff !important;
    font-weight: 700 !important;
    cursor: pointer;
}
body.theme-template-14 .theme-search-14 .search_filters .form-check:has(.form-check-input:checked) {
    background: #FFC107 !important;
    border-color: #FFD54F !important;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.45) !important;
}
body.theme-template-14 .theme-search-14 .search_filters .form-check:has(.form-check-input:checked) .form-check-label {
    color: #163A72 !important;
    font-weight: 800 !important;
}
/* Fallback without :has — gold label weight when checked */
body.theme-template-14 .theme-search-14 .search_filters .form-check-input:checked + .form-check-label {
    color: #FFF3C4 !important;
    font-weight: 800 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.theme-template-14 .theme-search-14 .search_filters .form-check:has(.form-check-input:checked) .form-check-input:checked + .form-check-label {
    color: #163A72 !important;
    text-decoration: none;
}

/* Non-Stop / Nearby — light pills; gold when checked */
body.theme-template-14 .theme-search-14 .non-stop-check,
body.theme-template-14 .theme-search-14 .nearby-airport-check {
    background: #ffffff !important;
    border: 2px solid rgba(255, 193, 7,.55) !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
}
body.theme-template-14 .theme-search-14 .non-stop-check .form-check-label,
body.theme-template-14 .theme-search-14 .nearby-airport-check .form-check-label {
    color: #1F4B9A !important;
    font-weight: 800 !important;
}
body.theme-template-14 .theme-search-14 .non-stop-check:has(.form-check-input:checked),
body.theme-template-14 .theme-search-14 .nearby-airport-check:has(.form-check-input:checked) {
    background: #FFC107 !important;
    border-color: #FFD54F !important;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.4) !important;
}

/* Special Round Trip — label + hint readable; gold when checked */
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 2px solid rgba(255, 193, 7, 0.55) !important;
    border-radius: 14px !important;
    padding: 6px 14px 8px !important;
    vertical-align: top;
}
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap .form-check-label {
    color: #ffffff !important;
    font-weight: 800 !important;
}
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap:has(.form-check-input:checked) {
    background: #FFC107 !important;
    border-color: #FFD54F !important;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.45) !important;
}
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap:has(.form-check-input:checked) .form-check-label {
    color: #163A72 !important;
}
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap:has(.form-check-input:checked) small,
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap:has(.form-check-input:checked) .text-muted {
    color: #3d2a00 !important;
}
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap small,
body.theme-template-14 .theme-search-14 #special-roundtrip-wrap .text-muted,
body.theme-template-14 .theme-search-14 .makeflex .text-muted,
body.theme-template-14 .theme-search-14 .makeflex small {
    color: #FFF3C4 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}
/* Group booking pill — keep dark text */
body.theme-template-14 .theme-search-14 .group-booking-pill,
body.theme-template-14 .theme-search-14 .group-booking-pill span,
body.theme-template-14 .theme-search-14 .group-booking-pill .gbp-text {
    color: #8B5A1A !important;
}
body.theme-template-14 .theme-search-14 .group-booking-pill .gbp-text strong {
    color: #FF6F1A !important;
}

/* Smart trip / recent / trending host sits on WHITE — dark text only */
body.theme-template-14 .theme-search-14 .smart-flight-hosts,
body.theme-template-14 .theme-search-14 .smart-flight-hosts .smart-label,
body.theme-template-14 .theme-search-14 .smart-flight-hosts .smart-hint,
body.theme-template-14 .theme-search-14 .smart-flight-hosts span {
    color: #1F4B9A !important;
}
body.theme-template-14 .theme-search-14 .smart-flight-hosts .smart-label {
    font-weight: 800 !important;
}
body.theme-template-14 .theme-search-14 .smart-flight-hosts .smart-hint {
    color: #475569 !important;
    font-weight: 600 !important;
}

/* Tabs — pill style like reference */
body.theme-template-14 .theme-search-14 .search_tabs {
    justify-content: flex-start !important;
    gap: 10px;
    margin-top: -42px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
body.theme-template-14 .theme-search-14 .search_tabs li a {
    width: auto !important;
    min-width: 110px;
    height: auto !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #1F4B9A !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(31, 75, 154,.12) !important;
    flex-direction: row !important;
    gap: 8px;
}
body.theme-template-14 .theme-search-14 .search_tabs li a span {
    color: #1F4B9A !important;
    font-weight: 800 !important;
    background: transparent !important;
    padding: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
}
body.theme-template-14 .theme-search-14 .search_tabs li a i {
    margin: 0 !important;
    color: #FF6F1A !important;
}
body.theme-template-14 .theme-search-14 .search_tabs li a.current,
body.theme-template-14 .theme-search-14 .search_tabs li a:hover {
    background: linear-gradient(135deg, #1F4B9A, #2F63B8) !important;
    color: #ffffff !important;
    transform: none !important;
}
body.theme-template-14 .theme-search-14 .search_tabs li a.current span,
body.theme-template-14 .theme-search-14 .search_tabs li a:hover span {
    color: #ffffff !important;
}
body.theme-template-14 .theme-search-14 .search_tabs li a.current i,
body.theme-template-14 .theme-search-14 .search_tabs li a:hover i {
    color: #FFD54F !important;
}

/* Yellow search CTA */
body.theme-template-14 .theme-search-14 .theme-btn,
body.theme-template-14 .theme-search-14 button.theme-btn,
body.theme-template-14 .theme-search-14 .oneway_search_btn,
body.theme-template-14 .theme-search-14 .flight_search_border .btnarea .oneway_search_btn {
    background: #FFC107 !important;
    color: #0D1B3D !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    letter-spacing: .02em;
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.55) !important;
    min-width: 140px;
    text-shadow: none !important;
}

@media (max-width: 991.98px) {
    body.theme-template-14 .theme-search-14 .hero-section { min-height: auto; }
    body.theme-template-14 .theme-search-14 .hero-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body.theme-template-14 .theme-search-14 .hero-section .hero-content {
        margin-top: -40px;
    }
    body.theme-template-14 .theme-search-14 .search_form_box,
    body.theme-template-14 .theme-search-14 .tts_product_box {
        border-radius: 16px !important;
        padding: 14px 12px 18px !important;
        border-width: 2px !important;
    }
    body.theme-template-14 .theme-search-14 .flight_search_border > ul.row {
        flex-wrap: wrap !important;
    }
    body.theme-template-14 .theme-search-14 .flight_search_border > ul.row > li.col-lg-5,
    body.theme-template-14 .theme-search-14 .flight_search_border > ul.row > li.col-lg-3,
    body.theme-template-14 .theme-search-14 .flight_search_border > ul.row > li.col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    body.theme-template-14 .theme-search-14 .search_tabs {
        margin-top: -28px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.theme-template-14 .theme-search-14 .search_tabs li { flex: 0 0 auto; }
    body.theme-template-14 .theme-search-14 .search_tabs li a {
        min-width: 88px;
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
}
