/* ===== PREMIUM SEARCH SECTION - Modern Travel UI ===== */

/*=========hero==carousel=====*/
.search_form_section .hero-banner {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search_form_section .carousel {
    width: 100%;
    min-height: 55vh;
    padding: 80px 0;
    margin: 0;
    position: relative;
}

.search_form_section .carousel .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    transition-duration: 0.6s;
    height: 55vh;
}

.search_form_section .carousel .carousel-item::before {
    content: "";
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.4) 0%, rgba(108, 92, 231, 0.55) 50%, rgba(26, 26, 46, 0.7) 100%);
    position: absolute;
    inset: 0;
    z-index: -1;
}

/*=========search_form=======*/
.search_form_section {
    position: relative;
    height: 55vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 80px;
    overflow: hidden;
}

.search_form_section::before {
    content: "";
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.3) 0%, rgba(108, 92, 231, 0.4) 50%, rgba(26, 26, 46, 0.6) 100%);
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* ===== Glassmorphic Search Card ===== */
.tts_product_box {
    width: 100%;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #2D3436;
    padding: 28px 30px;
    border: none;
    position: relative;
}

/* ===== Search Tabs - Floating Icons ===== */
.search_tabs {
    font-weight: 600;
    font-size: 13px;
    text-transform: none;
    border: none;
    border-radius: 0;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: -58px;
    gap: 10px;
}

.search_form_section .search_tabs li {
    list-style: none;
    float: left;
    position: relative;
    margin-right: 0;
}

.search_form_section .search_tabs li a {
    color: #4A3ABA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.12);
    text-align: center;
    position: relative;
    z-index: 1;
    height: 74px;
    width: 90px;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
}

.search_form_section .search_tabs li a i {
    font-size: 22px;
    display: block;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.search_form_section .search_tabs li a:hover {
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.22);
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.15);
}

.search_form_section .search_tabs li a.current {
    background: linear-gradient(135deg, #6C5CE7, #a855f7);
    color: #ffffff;
    box-shadow: 0 10px 35px rgba(108, 92, 231, 0.4);
    border-color: transparent;
    transform: translateY(-4px);
}

/* ===== Trip Type Buttons ===== */
.btn-group .search-check-label {
    background-color: #F8F7FF;
    color: #4A3ABA;
    border: 2px solid rgba(108, 92, 231, 0.12);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-group .search-check-label:hover {
    border-color: #6C5CE7;
    color: #6C5CE7;
    background: rgba(108, 92, 231, 0.04);
}

.btn-group .btn_check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.btn-check:checked + .btn, .btn-check:active + .btn, .btn:active, .btn.active, .btn.show {
    color: #ffffff;
    background: linear-gradient(135deg, #6C5CE7, #a855f7);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.search-title h2 {
    font-size: 18px;
    margin: 0;
    color: #2D3436;
    font-weight: 700;
}

/* ===== Flight Search Inputs ===== */
.flight-search {
    padding: 0 0px 15px;
    width: 100%;
}

.flight_search_border {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.flight_search_border li {
    position: relative;
    padding: 12px 16px;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(108, 92, 231, 0.08);
    border-radius: 14px;
    margin: 3px;
    background: #FAFAFF;
}

.flight_search_border li:hover {
    background-color: #ffffff;
    border-color: rgba(108, 92, 231, 0.25);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.08);
}

.flight_search_border li.from,
.flight_search_border li.to {
    width: calc(((100% - 200px)/ 5) + 55px);
    cursor: pointer;
}

.flight_search_border li.depart,
.flight_search_border li.return {
    width: calc(((100% - 200px)/ 5) - 40px);
    cursor: pointer;
    position: relative;
}

.flight_search_border li.travellers {
    width: calc(((100% - 200px)/ 5) - 40px);
    cursor: pointer;
}

.flight_search_border li:last-child {
    min-width: 190px;
}

/* ===== Search Button - Animated Gradient ===== */
.flight_search_border li.btnarea {
    text-align: center;
    width: 190px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6C5CE7 0%, #a855f7 50%, #6C5CE7 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.flight_search_border li.btnarea:hover {
    background-position: right center;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    transform: translateY(-2px);
}

.flight_search_border li.btnarea::after,
.flight_search_border li.travellers::after {
    display: none;
}

.flight_search_border li.btnarea .oneway_search_btn {
    width: 100%;
    line-height: 36px;
    background: transparent;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: none;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.flight_search_border li.btnarea .oneway_search_btn:hover {
    background: transparent;
    color: #ffffff;
    border: none;
}

/* ===== Form Labels ===== */
.flight_search_border .form-label {
    font-size: 10px;
    font-weight: 700;
    color: #6C5CE7;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
    margin: 0 0 4px;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: 1px;
}

.flight_search_border .form-control,
.tts__traveller_select {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1A1A2E;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    border-radius: 0;
}

.flight_search_border .form-control:focus,
.tts__traveller_select:focus {
    box-shadow: none;
    outline: 0;
}

.flight-mult-city .flight_search_border li.travellers {
    border-right: 2px solid rgba(108, 92, 231, 0.08);
}

/*=========Text and Info Styles======*/
.guest-text,
.rooms-text {
    font-size: 15px;
    font-weight: normal;
    color: #2D3436;
    margin: 0;
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flight_search_border .flight_text_p {
    font-size: 12px;
    color: #636e72;
    margin: 0;
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flight_search_border li h6 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1A1A2E;
}

.flight_search_border li h6 span {
    font-weight: 400;
    font-size: 14px;
    color: #636e72;
}

.flight_search_border li p.cabinclass {
    font-size: 12px;
    color: #636e72;
    margin: 0;
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 14px;
}

/* ===== Dropdowns ===== */
.tts__dropdown__menu__right {
    background: #ffffff;
    box-shadow: 0 15px 50px rgba(108, 92, 231, 0.18);
    border-radius: 16px;
    margin-top: 12px !important;
    height: 300px;
    overflow: auto;
    border: 1px solid rgba(108, 92, 231, 0.06);
}

.tts__dropdown__menu__right h5 {
    font-size: 14px;
    color: #2D3436;
}

.tts__traveller__select h5 {
    font-size: 14px;
    line-height: 16px;
    color: #2D3436;
    margin: 0;
    font-weight: 500;
}

.GwMit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    background: #ffffff;
    margin-left: auto;
    border: 2px solid rgba(108, 92, 231, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.tts_product_box .tts__inputradio_label {
    font-size: 13px;
    cursor: pointer;
}

/* ===== Counter Buttons ===== */
.tts__counter {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(135deg, #6C5CE7, #a855f7);
    color: #ffffff;
    transition: all 0.25s ease;
    font-weight: 700;
}

.tts__counter:hover {
    background: linear-gradient(135deg, #5A4BD1, #9645e0);
}

.tts_traveller__counter_span {
    width: 40px !important;
    font-size: 14px;
    text-align: center;
    border: 0;
    font-weight: 600;
}

/* ===== Fare Type / Filters ===== */
.makeflex {
    display: flex;
    align-items: center;
    margin-top: 18px;
}

.makeflex span {
    margin-right: 15px;
    border-right: 1px solid rgba(108, 92, 231, 0.12);
    padding-right: 15px;
}

.makeflex .search_filters {
    position: relative;
    border-radius: 4px;
    color: #2D3436;
}

.makeflex .form-check-inline {
    margin-bottom: 0;
    min-height: 0;
    font-size: 13px;
}

.makeflex .form-check-border {
    border-right: 1px solid rgba(108, 92, 231, 0.12);
    padding-right: 1rem;
    margin-right: 0rem;
}

.makeflex .search_filters input[type=checkbox] {
    border-radius: 50%;
    border-color: #6C5CE7;
}

.makeflex .search_filters input[type=checkbox]:checked {
    background-color: #6C5CE7;
    border-color: #6C5CE7;
}

.makeflex .form-check-inline label {
    margin-bottom: 0;
}

/* ===== Interchange Arrow ===== */
.tts__interchange__arrow {
    position: absolute;
    left: 100%;
    top: 50%;
    background: #ffffff;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(108, 92, 231, 0.2);
    border: 2px solid rgba(108, 92, 231, 0.1);
    color: #6C5CE7;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 12px;
}

.tts__interchange__arrow:hover {
    background: linear-gradient(135deg, #6C5CE7, #a855f7);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.35);
    transform: translate(-50%, -50%) rotate(180deg);
}

/* ===== Multi City ===== */
.flight-mult-city .flight_search_border li.from,
.flight-mult-city .flight_search_border li.to {
    width: 25%;
}

.flight-mult-city .flight_search_border li.depart {
    width: 25%;
}

.flight-mult-city .flight_search_border li.travellers {
    width: 25%;
}

.flight-mult-city .flight_search_border li.search-flight {
    width: 25% !important;
}

.flight-mult-city .flight_search_border li.search-flight .add-city {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6C5CE7;
    border: 2px solid #6C5CE7;
    border-radius: 999px;
    text-align: center;
    padding: 0 14px;
    height: 30px;
    line-height: 26px;
    background: #fff;
    margin-left: 10px;
    width: 130px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.flight-mult-city .flight_search_border li.search-flight .add-city:hover {
    background: #6C5CE7;
    color: #ffffff;
}

/*=========Hotel======*/
.flight_search_border li.cityHotel {
    width: calc(((100% - 200px)/ 4) - 6px);
    cursor: pointer;
}

.flight_search_border li.checkin {
    width: calc(((100% - 200px)/ 4) - 70px);
    cursor: pointer;
}

.flight_search_border li.checkout {
    width: calc(((100% - 200px)/ 4) - 70px);
    cursor: pointer;
    position: relative;
}

.flight_search_border li.roomsGuests {
    width: calc(((100% - 200px)/ 4) - 37px);
    cursor: pointer;
}

.flight_search_border li.country {
    width: calc(((100% - 200px)/ 4) - 84px);
    cursor: pointer;
}

.flight_search_border li.country .tts__traveller_select option {
    font-size: 13px;
    padding: 10px;
}

.tts__dropdown__menu__right .tts__add__room,
.tts__remove__room {
    font-size: 15px;
    font-weight: 700;
    color: #6C5CE7;
    text-transform: capitalize;
}

/*=========bus======*/
.flight_search_border li.cityBus {
    width: calc(((100% - 200px)/ 4) + 95px);
    cursor: pointer;
}

.flight_search_border li.travelDate {
    width: calc(((100% - 200px)/ 4) + 70px);
    cursor: pointer;
}

/*=========holiday======*/
.flight_search_border li.destination {
    width: calc(100% - 200px);
    cursor: pointer;
}

/*=========Visa======*/
.flight_search_border li.destination-visa {
    width: calc(((100% - 200px)/ 4) + 50px);
}

.flight_search_border li.visatype {
    width: calc(((100% - 200px)/ 4) - 50px);
}

.flight_search_border li.trveller {
    width: calc(((100% - 200px)/ 4) + 10px);
}

.flight_search_border li.traveldate {
    width: calc(((100% - 200px)/ 4) - 10px);
}

.flight_search_border li select option {
    font-size: 14px;
}

/*=========cruise======*/
.flight_search_border li.destination-cruise {
    width: calc(((100% - 200px)/ 4) + 50px);
}

.flight_search_border li.cityarea {
    width: calc(((100% - 200px)/ 4) - 50px);
}

.flight_search_border li.cruiseline {
    width: calc(((100% - 200px)/ 4) + 10px);
}

.flight_search_border li.ship {
    width: calc(((100% - 200px)/ 4) - 10px);
}

/* ===== Autocomplete Dropdown ===== */
.tts-autocomplete {
    max-height: 296px;
    overflow: scroll;
    overflow-x: hidden;
    margin-top: 40px !important;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(108, 92, 231, 0.18);
}

.ui-widget-content {
    color: #2D3436 !important;
}

.ui-widget {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
}

/* ===== Date Picker - Purple Theme ===== */
.ui-datepicker {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(108, 92, 231, 0.18);
    border: none;
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: 10px 0;
    background: linear-gradient(135deg, #6C5CE7, #a855f7);
    border: none;
}

.ui-widget-header {
    color: #ffffff;
    font-weight: 600;
    font-family: inherit;
}

.ui-widget-header a {
    color: rgba(255, 255, 255, 0.8);
}

.ui-widget-header a:hover {
    color: #ffffff;
}

.ui-datepicker th {
    padding: 0.7em 0.3em;
    text-align: center;
    color: #6C5CE7;
    border: 0px;
    font-weight: 700;
    font-size: 12px;
}

.ui-state-disabled {
    pointer-events: none;
    cursor: default !important;
    opacity: 0.35;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    font-weight: normal;
    border: 0px;
    background: linear-gradient(135deg, #6C5CE7, #a855f7);
    color: #ffffff;
    border-radius: 50%;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    text-align: center;
    text-decoration: none;
    border: none !important;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0.3em;
}

.ui-datepicker td a:hover {
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: 2px solid #6C5CE7;
    background: transparent;
    color: #6C5CE7;
    border-radius: 50%;
    font-weight: 700;
}

/* ===== MOBILE RESPONSIVE ===== */
@media only screen and (min-width: 200px) and (max-width: 768px) {

    .hero-banner,
    .search-title h2 {
        display: none;
    }

    .search_form_section {
        height: auto !important;
        min-height: auto;
        margin-top: 0 !important;
        position: relative;
        z-index: 1;
        padding: 20px 0 30px;
    }

    .search_form_section:before {
        content: "";
        background: linear-gradient(180deg, #6C5CE7, #4A3ABA);
        position: absolute;
        inset: 0;
        z-index: -1;
    }

    .tts_product_box {
        border-radius: 18px;
        padding: 18px 14px;
    }

    .search_form_section .search_tabs li a {
        width: 65px !important;
        height: 56px !important;
        border-radius: 12px;
        font-size: 10px;
    }

    .search_form_section .search_tabs {
        margin-top: -48px !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .search_form_section .search_tabs li a i {
        font-size: 18px !important;
    }

    .search_form_section .search_tabs li {
        float: none !important;
        display: inline-block;
        font-size: 10px;
        margin-right: 0 !important;
        margin-bottom: 0;
    }

    .flight_search_border li {
        border-radius: 12px;
        margin: 2px 0;
        padding: 10px 14px;
    }

    .flight_search_border li.from,
    .flight_search_border li.to,
    .flight_search_border li.depart,
    .flight_search_border li.return {
        width: calc(50% - 6px) !important;
    }

    .flight_search_border li.travellers {
        width: 100% !important;
    }

    .flight_search_border li.btnarea {
        width: 100% !important;
        border-radius: 14px;
        margin: 6px 0 0;
    }

    .flight_search_border li {
        border-bottom: 1px solid rgba(108, 92, 231, 0.08);
    }

    .flight_search_border li.to:after,
    .flight_search_border li.return:after,
    .flight_search_border li.travelDate:after,
    .flight_search_border li.destination::after,
    .flight_search_border li.visatype::after,
    .flight_search_border li.traveldate::after,
    .flight_search_border li.carto::after,
    .flight_search_border li.carreturn::after,
    .flight_search_border li.carpickup::after,
    .flight_search_border li.cityarea::after,
    .flight_search_border li.ship::after,
    .activity-location::after {
        display: none;
    }

    .flight_search_border li.cityBus:nth-child(2):after {
        display: none;
    }

    .flight_search_border .form-control,
    .tts__traveller_select {
        font-size: 16px !important;
    }

    .makeflex {
        display: block !important;
    }

    .makeflex .search_filters {
        display: flex;
        white-space: nowrap;
        overflow: auto;
    }

    .flight_search_border li.cityHotel,
    .flight_search_border li.checkin,
    .flight_search_border li.checkout,
    .flight_search_border li.roomsGuests,
    .flight_search_border li.cityBus,
    .flight_search_border li.destination-visa,
    .flight_search_border li.visatype,
    .flight_search_border li.trveller,
    .flight_search_border li.traveldate,
    .flight_search_border li.destination-cruise,
    .flight_search_border li.cityarea,
    .flight_search_border li.cruiseline,
    .flight_search_border li.ship {
        width: calc(50% - 6px) !important;
    }

    .flight_search_border li.country,
    .flight_search_border li.travelDate,
    .flight_search_border li.destination {
        width: 100% !important;
    }

    .flight_search_border .form-label {
        font-size: 9px !important;
        font-weight: 700 !important;
    }

    .flight_search_border li.travellers {
        width: 70%;
    }
}

@media only screen and (max-width: 991px) {

    .flight_search_border li.from,
    .flight_search_border li.to {
        width: 50%;
    }

    .flight_search_border li.depart,
    .flight_search_border li.return {
        width: 50%;
    }

    .flight_search_border li.travellers {
        width: 70%;
    }

    .flight_search_border li.to::after,
    .flight_search_border li.return::after {
        display: none;
    }

    .flight_search_border li {
        border-bottom: 1px solid rgba(108, 92, 231, 0.08);
    }

    .hero-banner .carousel-item {
        height: 40vh;
    }

    .flight_search_border li.cityHotel,
    .flight_search_border li.checkin,
    .flight_search_border li.checkout,
    .flight_search_border li.roomsGuests,
    .flight_search_border li.cityBus,
    .flight_search_border li.destination-visa,
    .flight_search_border li.visatype,
    .flight_search_border li.trveller,
    .flight_search_border li.traveldate,
    .flight_search_border li.destination-cruise,
    .flight_search_border li.cityarea,
    .flight_search_border li.cruiseline,
    .flight_search_border li.ship {
        width: 50% !important;
    }

    .flight_search_border li {
        border-bottom: 1px solid rgba(108, 92, 231, 0.08);
    }

    .flight_search_border li.checkin::after,
    .flight_search_border li.roomsGuests::after,
    .flight_search_border li.country::after,
    .flight_search_border li.cityBus::after {
        display: none;
    }

    .flight_search_border li.country,
    .flight_search_border li.travelDate,
    .flight_search_border li.destination {
        width: 70%;
    }
}