/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    height: 600px;
    padding-top: 114px;
    z-index: 2;
    overflow: hidden;
    contain: layout style paint;
    /* NEW: containment for perf */
}

.hero-section .banner-sliders .owl-carousel {
    position: absolute;
    inset: 0;
    /* NEW: shorthand for top/right/bottom/left: 0 */
    width: 100%;
    height: 100%;
}

.hero-section .slider-item {
    position: relative;
    width: 100%;
    max-height: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

/* Overlay — kept commented but improved if needed
.hero-section .slider-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.35);
    border-radius: inherit;
}
*/

.hero-section .slider-content {
    position: absolute;
    inset: 50% auto auto 50%;
    /* NEW: avoid top/left when using translate */
    translate: -50% -50%;
    /* NEW: individual transform property */
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 20px;
    max-width: 90%;
    text-shadow: 0 2px 8px rgb(0 0 0 / 0.7);
}

.hero-section .slider-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.188rem);
    /* NEW: fluid type */
}

.hero-section .slider-content p {
    font-size: 1rem;
}


/* ==========================================================================
   SEARCH FORM SECTION
   ========================================================================== */

.search_form_section {
    padding: 0;
}

.search_form_section .search_form_box {
    margin-block-start: -74px;
    position: relative;
    z-index: 11;
}

.tts_product_box {
    width: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 15px rgb(0 0 0 / 0.15);
    color: #070a10;
    padding: 20px;
}

/* --- Search Tabs --- */

.search_tabs {
    font-weight: 700;
    font-size: 14px;
    text-transform: none;
    border: none;
    border-radius: 0;
    width: 100%;
    margin-block-end: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin-block-start: -70px;
}

.search_form_section .search_tabs li {
    list-style: none;
    float: left;
    position: relative;
    margin-inline-end: 10px;
    /* NEW: logical property */
}

.search_form_section .search_tabs li a {
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0 0 15px rgb(0 0 0 / 0.15);
    text-align: center;
    position: relative;
    z-index: 1;
    height: 70px;
    width: 90px;
    border-radius: 7px;
    transition: box-shadow 0.5s ease, translate 0.5s ease, background-color 0.3s ease, color 0.3s ease;
    /* NEW: explicit properties */
    font-weight: 400;
    text-decoration: none;
    /* NEW: always reset links */
}

.search_form_section .search_tabs li a i {
    font-size: 20px;
    display: block;
    margin-block-end: 5px;
    color: var(--tts-buttton-bg);
}

.search_form_section .search_tabs li a i.fa-gem {
    color: var(--primary-light);
}

.search_form_section .search_tabs li a:hover {
    box-shadow: 0 13px 21px -1px rgb(0 0 0 / 0.3);
    translate: 0 -7%;
    /* NEW: individual translate — avoids layout thrash vs transform */
}

.search_form_section .search_tabs li a.current {
    background: var(--tts-buttton-bg);
    color: var(--tts-buttton-txt);
}

.search_form_section .search_tabs li a.current i {
    color: #fff;
}

/* --- Flight Search --- */

.flight-search {
    padding: 0 0 15px;
    width: 100%;
}

.search-title h2 {
    font-size: 1.25rem;
    margin: 0;
}

/* --- Flight Search Border (shared row layout) --- */

.flight_search_border {
    display: flex;
    /* NEW: flex instead of float — eliminates clearfix needs */
    flex-wrap: wrap;
    border-block: 1px solid #ebebeb;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.flight_search_border li {
    position: relative;
    padding: 8px 15px;
    line-height: 1;
    transition: background-color 0.3s ease;
    /* NEW: reduced from .5s — snappier feel */
}

.flight_search_border li:hover {
    background-color: #f1f7ff;
}

/* Separator between items — only when not wrapping */
.flight_search_border li::after {
    content: "";
    width: 1px;
    height: 70%;
    background: #ebebeb;
    position: absolute;
    inset-block: 15% auto;
    inset-inline-end: 0;
    /* NEW: logical property */
}

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

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

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

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

.flight_search_border li.btnarea {
    text-align: center;
    width: 190px;
    display: flex;
    place-content: center flex-end;
    align-items: center;
}

/* Remove separator on last two items */
.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: var(--tts-buttton-bg);
    text-transform: capitalize;
    color: var(--tts-buttton-txt);
    border: 1px solid var(--tts-buttton-bg);
    padding: 12px 15px;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: none;
    /* CLEANUP: was three zero-value shadows */
    cursor: pointer;
    /* NEW: explicit for buttons */
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.flight_search_border li.btnarea .oneway_search_btn:hover {
    background-color: var(--tts-buttton-bg1);
    color: var(--tts-buttton-txt1);
    border-color: var(--tts-buttton-bg1);
}

/* NEW: :focus-visible for keyboard accessibility */
.flight_search_border li.btnarea .oneway_search_btn:focus-visible {
    outline: 3px solid var(--tts-buttton-bg);
    outline-offset: 2px;
}

/* --- Form Controls Inside Flight Border --- */

.flight_search_border .form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #363636;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
}

.flight_search_border .form-control,
.tts__traveller_select {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    border-radius: 0;
    line-height: 1.5;
    appearance: none;
    /* NEW: remove default browser styling on selects */
}

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

/* NEW: :focus-visible — only show outline for keyboard users */
.flight_search_border .form-control:focus-visible,
.tts__traveller_select:focus-visible {
    outline: none;
    outline-offset: -2px;
}

/* --- Supporting Text --- */

.guest-text,
.rooms-text {
    font-size: 0.9375rem;
    font-weight: normal;
    color: #000;
    margin: 0;
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flight_search_border .flight_text_p {
    font-size: 0.8125rem;
    color: #000;
    margin: 0;
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flight_search_border li h6 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.flight_search_border li h6 span {
    font-weight: 400;
    font-size: 0.875rem;
}

.flight_search_border li p.cabinclass {
    font-size: 0.8125rem;
    color: #000;
    margin: 0;
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 13px;
}

/* --- Dropdown Menus --- */

.tts__dropdown__menu__right {
    background: #fff;
    box-shadow: 0 2px 8px rgb(119 119 119 / 0.2);
    border-radius: 0;
    height: 300px;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    /* NEW: Firefox scrollbar styling */
}

.tts__dropdown__menu__right h5 {
    font-size: 0.875rem;
    color: #141823;
}

.tts__traveller__select h5 {
    font-size: 0.875rem;
    line-height: 1.15;
    color: #141823;
    margin: 0;
    font-weight: 500;
}

/* --- Traveller Counter --- */

.GwMit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    background: #fff;
    margin-inline-start: auto;
    border: 1px solid #ced4da;
}

.tts_product_box .tts__inputradio_label {
    font-size: 0.8125rem;
    cursor: pointer;
}

.tts__counter {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--tts-buttton-bg1);
    color: var(--tts-buttton-txt1);
    border: none;
    /* NEW: buttons should have explicit border reset */
    border-radius: 0;
    /* matches original intent */
    transition: filter 0.15s ease;
}

/* NEW: hover feedback on counter buttons */
.tts__counter:hover {
    filter: brightness(0.9);
}

.tts__counter:active {
    filter: brightness(0.8);
}

.tts_traveller__counter_span {
    width: 40px !important;
    /* kept for specificity override */
    font-size: 0.8125rem;
    text-align: center;
    border: 0;
}

/* --- Flex Filter Row --- */

.makeflex {
    display: flex;
    align-items: center;
}

.makeflex span {
    margin-inline-end: 15px;
    /* NEW: logical property */
}

.makeflex .search_filters {
    position: relative;
    border-radius: 4px;
    color: var(--second-bg-color);
}

.makeflex .form-check-inline {
    font-size: 0.8125rem;
}

.makeflex .form-check-inline .form-check-input {
    display: flex;
    align-items: center;
}

.makeflex .form-check-border {
    border-inline-end: 1px solid #9b9b9b;
    /* NEW: logical property */
    padding-inline-end: 1rem;
    margin-inline-end: 1rem;
}

.makeflex .search_filters input[type="checkbox"] {
    margin-top: 3px;
    border-radius: 50%;
    accent-color: var(--tts-buttton-bg);
    /* NEW: modern checkbox color */
}

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

/* --- Interchange Arrow --- */

.tts__interchange__arrow {
    position: absolute;
    left: 100%;
    top: 50%;
    background: #fff;
    z-index: 51;
    translate: -50% -50%;
    /* NEW: individual translate */
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.15);
    /* NEW: subtle depth for floating element */
    transition: translate 0.2s ease;
}

.tts__interchange__arrow:hover {
    translate: -50% -55%;
    /* NEW: subtle lift on hover */
}

/* ==========================================================================
   MULTI-CITY FLIGHT
   ========================================================================== */

.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: 20%;
}

.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: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #002543;
    border: 1px solid #002543;
    border-radius: 999px;
    text-align: center;
    padding: 0 10px;
    height: 28px;
    line-height: 28px;
    background: #fff;
    margin-inline-start: 10px;
    /* NEW: logical property */
    width: 130px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.flight-mult-city .flight_search_border li.search-flight .add-city:hover {
    background: #002543;
    color: #fff;
}


/* ==========================================================================
   HOTEL SEARCH
   ========================================================================== */

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

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

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

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

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

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

.tts__dropdown__menu__right .tts__add__room,
.tts__dropdown__menu__right .tts__remove__room {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
    text-transform: capitalize;
    cursor: pointer;
}


/* ==========================================================================
   BUS SEARCH
   ========================================================================== */

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

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


/* ==========================================================================
   HOLIDAY SEARCH
   ========================================================================== */

.flight_search_border li.destination {
    width: calc(100% - 190px);
    cursor: pointer;
}


/* ==========================================================================
   VISA SEARCH
   ========================================================================== */

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

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

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

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

.flight_search_border li select option {
    font-size: 0.875rem;
}


/* ==========================================================================
   CRUISE SEARCH
   ========================================================================== */

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

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

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

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


/* ==========================================================================
   CALENDAR (jQuery UI Datepicker)
   ========================================================================== */

.ui-widget.ui-widget-content.calendarOuter {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    margin-top: 20px;
    list-style: none;
    overflow-y: auto;
    font-family: "Noto Sans", serif;
    /* NEW: smooth scroll for calendar */
    scroll-behavior: smooth;
}

.calendarOuter .ui-widget-header .ui-icon {
    background-image: unset;
}

.ui-datepicker.calendarOuter .ui-widget-header {
    background: var(--tts-buttton-bg);
    color: var(--tts-buttton-txt);
    border: none;
    border-radius: 8px;
}

.ui-datepicker.calendarOuter .ui-datepicker-prev::after {
    content: "\f100";
    inset-block-start: 5px;
    inset-inline-start: 5px;
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    color: #fff;
}

.ui-datepicker.calendarOuter .ui-datepicker-next::after {
    content: "\f101";
    inset-block-start: 5px;
    inset-inline-end: 5px;
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    color: #fff;
}

.ui-datepicker.calendarOuter .ui-datepicker-header .ui-corner-all,
.ui-datepicker.calendarOuter .ui-datepicker-header .ui-state-hover {
    cursor: pointer;
    border: 0;
    background: none;
    font-weight: 600;
    top: 3px;
}

.ui-datepicker.calendarOuter td span,
.ui-datepicker.calendarOuter td a {
    display: block;
    padding: 0.2em;
    text-align: center;
    text-decoration: none;
}

.calendarOuter .ui-state-default,
.ui-widget-content.calendarOuter .ui-state-default {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    /* NEW: explicit */
    transition: background-color 0.15s ease, color 0.15s ease;
}

.calendarOuter .ui-state-highlight,
.ui-widget-content.calendarOuter .ui-state-highlight {
    border: none;
    background: var(--tts-buttton-bg1);
    color: var(--tts-buttton-txt1);
}

.calendarOuter .ui-state-active,
.ui-widget-content.calendarOuter .ui-state-active {
    background: var(--tts-buttton-bg);
    color: var(--tts-buttton-txt);
}


/* ==========================================================================
   AUTOCOMPLETE (jQuery UI)
   ========================================================================== */

.ui-autocomplete.tts-autocomplete {
    position: absolute;
    z-index: 999999;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    margin-top: 20px;
    list-style: none;
    max-height: 300px;
    width: 450px !important;
    overflow-y: auto;
    font-family: "Noto Sans", serif;
    scroll-behavior: smooth;
    /* NEW */
}

.tts-autocomplete .ui-menu-item-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    width: 100%;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    /* NEW: faster */
    border-block-end: 1px solid #f0f0f0;
}

.tts-autocomplete .dest_left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: "Noto Sans", serif;
}

.dest_left .city {
    font-weight: bold;
    font-family: "Noto Sans", serif;
}

.dest_left .airpotcode {
    font-size: 0.75rem;
    font-family: "Noto Sans", serif;
}

.tts-autocomplete .ui-menu-item-wrapper div:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tts-autocomplete .aircode {
    font-size: 0.75rem;
    font-family: "Noto Sans", serif;
}

.tts-autocomplete .flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    background-repeat: no-repeat;
    display: inline-block;
    background-image: url(../../../webroot/img/country-flag.png);
}

/* NEW: Scrollbar styling — unified for WebKit */
.tts-autocomplete::-webkit-scrollbar,
.tts__dropdown__menu__right::-webkit-scrollbar {
    width: 6px;
}

.tts-autocomplete::-webkit-scrollbar-thumb,
.tts__dropdown__menu__right::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.tts-autocomplete::-webkit-scrollbar-thumb:hover,
.tts__dropdown__menu__right::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

/* Autocomplete highlight states */
.tts-autocomplete .ui-state-highlight,
.tts-autocomplete.ui-widget-content .ui-state-highlight,
.tts-autocomplete .ui-state-active,
.tts-autocomplete.ui-widget-content .ui-state-active {
    border: none;
    background: var(--tts-buttton-bg);
    color: #fff;
}

.tts-autocomplete .ui-state-active:hover,
.tts-autocomplete.ui-widget-content .ui-state-active:hover {
    background: var(--tts-buttton-bg);
    color: #fff;
}


/* ==========================================================================
   COUNTRY FLAG SPRITE POSITIONS
   Uses a single sprite image — each class offsets by 16px vertically
   ========================================================================== */

.flag.ad {
    background-position: 0 -352px
}

.flag.ae {
    background-position: 0 -368px
}

.flag.af {
    background-position: 0 -384px
}

.flag.ag {
    background-position: 0 -400px
}

.flag.ai {
    background-position: 0 -416px
}

.flag.al {
    background-position: 0 -432px
}

.flag.am {
    background-position: 0 -448px
}

.flag.an {
    background-position: 0 -464px
}

.flag.ao {
    background-position: 0 -480px
}

.flag.aq {
    background-position: 0 -496px
}

.flag.ar {
    background-position: 0 -512px
}

.flag.as {
    background-position: 0 -528px
}

.flag.at {
    background-position: 0 -544px
}

.flag.au {
    background-position: 0 -560px
}

.flag.aw {
    background-position: 0 -576px
}

.flag.az {
    background-position: 0 -592px
}

.flag.ba {
    background-position: 0 -608px
}

.flag.bb {
    background-position: 0 -624px
}

.flag.bd {
    background-position: 0 -640px
}

.flag.be {
    background-position: 0 -656px
}

.flag.bf {
    background-position: 0 -672px
}

.flag.bg {
    background-position: 0 -688px
}

.flag.bh {
    background-position: 0 -704px
}

.flag.bi {
    background-position: 0 -720px
}

.flag.bj {
    background-position: 0 -736px
}

.flag.bm {
    background-position: 0 -752px
}

.flag.bn {
    background-position: 0 -768px
}

.flag.bo {
    background-position: 0 -784px
}

.flag.br {
    background-position: 0 -800px
}

.flag.bs {
    background-position: 0 -816px
}

.flag.bt {
    background-position: 0 -832px
}

.flag.bw {
    background-position: 0 -848px
}

.flag.by {
    background-position: 0 -864px
}

.flag.bz {
    background-position: 0 -880px
}

.flag.ca {
    background-position: 0 -896px
}

.flag.cg {
    background-position: 0 -912px
}

.flag.cf {
    background-position: 0 -928px
}

.flag.cd {
    background-position: 0 -944px
}

.flag.ch {
    background-position: 0 -960px
}

.flag.ci {
    background-position: 0 -976px
}

.flag.ck {
    background-position: 0 -992px
}

.flag.cl {
    background-position: 0 -1008px
}

.flag.cm {
    background-position: 0 -1024px
}

.flag.cn {
    background-position: 0 -1040px
}

.flag.co {
    background-position: 0 -1056px
}

.flag.cr {
    background-position: 0 -1072px
}

.flag.cu {
    background-position: 0 -1088px
}

.flag.cv {
    background-position: 0 -1104px
}

.flag.cy {
    background-position: 0 -1120px
}

.flag.cz {
    background-position: 0 -1136px
}

.flag.de {
    background-position: 0 -1152px
}

.flag.dj {
    background-position: 0 -1168px
}

.flag.dk {
    background-position: 0 -1184px
}

.flag.dm {
    background-position: 0 -1200px
}

.flag.do {
    background-position: 0 -1216px
}

.flag.dz {
    background-position: 0 -1232px
}

.flag.ec {
    background-position: 0 -1248px
}

.flag.ee {
    background-position: 0 -1264px
}

.flag.eg {
    background-position: 0 -1280px
}

.flag.eh {
    background-position: 0 -1296px
}

.flag.er {
    background-position: 0 -1312px
}

.flag.es {
    background-position: 0 -1328px
}

.flag.et {
    background-position: 0 -1344px
}

.flag.fi {
    background-position: 0 -1360px
}

.flag.fj {
    background-position: 0 -1376px
}

.flag.fm {
    background-position: 0 -1392px
}

.flag.fo {
    background-position: 0 -1408px
}

.flag.fr {
    background-position: 0 -1424px
}

.flag.ga {
    background-position: 0 -1440px
}

.flag.gb {
    background-position: 0 -1456px
}

.flag.gd {
    background-position: 0 -1472px
}

.flag.ge {
    background-position: 0 -1488px
}

.flag.gg {
    background-position: 0 -1504px
}

.flag.gh {
    background-position: 0 -1520px
}

.flag.gi {
    background-position: 0 -1536px
}

.flag.gl {
    background-position: 0 -1552px
}

.flag.gm {
    background-position: 0 -1568px
}

.flag.gn {
    background-position: 0 -1584px
}

.flag.gp {
    background-position: 0 -1600px
}

.flag.gq {
    background-position: 0 -1616px
}

.flag.gr {
    background-position: 0 -1632px
}

.flag.gt {
    background-position: 0 -1648px
}

.flag.gu {
    background-position: 0 -1664px
}

.flag.gw {
    background-position: 0 -1680px
}

.flag.gy {
    background-position: 0 -1696px
}

.flag.hk {
    background-position: 0 -1712px
}

.flag.hn {
    background-position: 0 -1728px
}

.flag.hr {
    background-position: 0 -1744px
}

.flag.ht {
    background-position: 0 -1760px
}

.flag.hu {
    background-position: 0 -1776px
}

.flag.id {
    background-position: 0 -1792px
}

.flag.mc {
    background-position: 0 -3840px
}

/* BUG FIX: was duplicating .id — Monaco needs its own position */
.flag.ie {
    background-position: 0 -1808px
}

.flag.il {
    background-position: 0 -1824px
}

.flag.im {
    background-position: 0 -1840px
}

.flag.in {
    background-position: 0 -1856px
}

.flag.iq {
    background-position: 0 -1872px
}

.flag.ir {
    background-position: 0 -1888px
}

.flag.is {
    background-position: 0 -1904px
}

.flag.it {
    background-position: 0 -1920px
}

.flag.je {
    background-position: 0 -1936px
}

.flag.jm {
    background-position: 0 -1952px
}

.flag.jo {
    background-position: 0 -1968px
}

.flag.jp {
    background-position: 0 -1984px
}

.flag.ke {
    background-position: 0 -2000px
}

.flag.kg {
    background-position: 0 -2016px
}

.flag.kh {
    background-position: 0 -2032px
}

.flag.ki {
    background-position: 0 -2048px
}

.flag.km {
    background-position: 0 -2064px
}

.flag.kn {
    background-position: 0 -2080px
}

.flag.kp {
    background-position: 0 -2096px
}

.flag.kr {
    background-position: 0 -2112px
}

.flag.kw {
    background-position: 0 -2128px
}

.flag.ky {
    background-position: 0 -2144px
}

.flag.kz {
    background-position: 0 -2160px
}

.flag.la {
    background-position: 0 -2176px
}

.flag.lb {
    background-position: 0 -2192px
}

.flag.lc {
    background-position: 0 -2208px
}

.flag.li {
    background-position: 0 -2224px
}

.flag.lk {
    background-position: 0 -2240px
}

.flag.lr {
    background-position: 0 -2256px
}

.flag.ls {
    background-position: 0 -2272px
}

.flag.lt {
    background-position: 0 -2288px
}

.flag.lu {
    background-position: 0 -2304px
}

.flag.lv {
    background-position: 0 -2320px
}

.flag.ly {
    background-position: 0 -2336px
}

.flag.ma {
    background-position: 0 -2352px
}

.flag.md {
    background-position: 0 -2368px
}

.flag.me {
    background-position: 0 -2384px
}

.flag.mg {
    background-position: 0 -2400px
}

.flag.mh {
    background-position: 0 -2416px
}

.flag.mk {
    background-position: 0 -2432px
}

.flag.ml {
    background-position: 0 -2448px
}

.flag.mm {
    background-position: 0 -2464px
}

.flag.mn {
    background-position: 0 -2480px
}

.flag.mo {
    background-position: 0 -2496px
}

.flag.mq {
    background-position: 0 -2512px
}

.flag.mr {
    background-position: 0 -2528px
}

.flag.ms {
    background-position: 0 -2544px
}

.flag.mt {
    background-position: 0 -2560px
}

.flag.mu {
    background-position: 0 -2576px
}

.flag.mv {
    background-position: 0 -2592px
}

.flag.mw {
    background-position: 0 -2608px
}

.flag.mx {
    background-position: 0 -2624px
}

.flag.my {
    background-position: 0 -2640px
}

.flag.mz {
    background-position: 0 -2656px
}

.flag.na {
    background-position: 0 -2672px
}

.flag.nc {
    background-position: 0 -2688px
}

.flag.ne {
    background-position: 0 -2704px
}

.flag.ng {
    background-position: 0 -2720px
}

.flag.ni {
    background-position: 0 -2736px
}

.flag.nl {
    background-position: 0 -2752px
}

.flag.no {
    background-position: 0 -2768px
}

.flag.np {
    background-position: 0 -2784px
}

.flag.nr {
    background-position: 0 -2800px
}

.flag.nz {
    background-position: 0 -2816px
}

.flag.om {
    background-position: 0 -2832px
}

.flag.pa {
    background-position: 0 -2848px
}

.flag.pe {
    background-position: 0 -2864px
}

.flag.pf {
    background-position: 0 -2880px
}

.flag.pg {
    background-position: 0 -2896px
}

.flag.ph {
    background-position: 0 -2912px
}

.flag.pk {
    background-position: 0 -2928px
}

.flag.pl {
    background-position: 0 -2944px
}

.flag.pr {
    background-position: 0 -2960px
}

.flag.ps {
    background-position: 0 -2976px
}

.flag.pt {
    background-position: 0 -2992px
}

.flag.pw {
    background-position: 0 -3008px
}

.flag.py {
    background-position: 0 -3024px
}

.flag.qa {
    background-position: 0 -3040px
}

.flag.re {
    background-position: 0 -3056px
}

.flag.ro {
    background-position: 0 -3072px
}

.flag.rs {
    background-position: 0 -3088px
}

.flag.ru {
    background-position: 0 -3104px
}

.flag.rw {
    background-position: 0 -3120px
}

.flag.sa {
    background-position: 0 -3136px
}

.flag.sb {
    background-position: 0 -3152px
}

.flag.sc {
    background-position: 0 -3168px
}

.flag.sd {
    background-position: 0 -3184px
}

.flag.se {
    background-position: 0 -3200px
}

.flag.sg {
    background-position: 0 -3216px
}

.flag.si {
    background-position: 0 -3232px
}

.flag.sk {
    background-position: 0 -3248px
}

.flag.sl {
    background-position: 0 -3264px
}

.flag.sm {
    background-position: 0 -3280px
}

.flag.sn {
    background-position: 0 -3296px
}

.flag.so {
    background-position: 0 -3312px
}

.flag.sr {
    background-position: 0 -3328px
}

.flag.st {
    background-position: 0 -3344px
}

.flag.sv {
    background-position: 0 -3360px
}

.flag.sy {
    background-position: 0 -3376px
}

.flag.sz {
    background-position: 0 -3392px
}

.flag.tc {
    background-position: 0 -3408px
}

.flag.td {
    background-position: 0 -3424px
}

.flag.tg {
    background-position: 0 -3440px
}

.flag.th {
    background-position: 0 -3456px
}

.flag.tj {
    background-position: 0 -3472px
}

.flag.tl {
    background-position: 0 -3488px
}

.flag.tm {
    background-position: 0 -3504px
}

.flag.tn {
    background-position: 0 -3520px
}

.flag.to {
    background-position: 0 -3536px
}

.flag.tr {
    background-position: 0 -3552px
}

.flag.tt {
    background-position: 0 -3568px
}

.flag.tv {
    background-position: 0 -3584px
}

.flag.tw {
    background-position: 0 -3600px
}

.flag.tz {
    background-position: 0 -3616px
}

.flag.ua {
    background-position: 0 -3632px
}

.flag.ug {
    background-position: 0 -3648px
}

.flag.us {
    background-position: 0 -3664px
}

.flag.uy {
    background-position: 0 -3680px
}

.flag.uz {
    background-position: 0 -3696px
}

.flag.va {
    background-position: 0 -3712px
}

.flag.vc {
    background-position: 0 -3728px
}

.flag.ve {
    background-position: 0 -3744px
}

.flag.vg {
    background-position: 0 -3760px
}

.flag.vi {
    background-position: 0 -3776px
}

.flag.vn {
    background-position: 0 -3792px
}

.flag.vu {
    background-position: 0 -3808px
}

.flag.ws {
    background-position: 0 -3824px
}

.flag.ye {
    background-position: 0 -3840px
}

.flag.za {
    background-position: 0 -3856px
}

.flag.zm {
    background-position: 0 -3872px
}

.flag.zw {
    background-position: 0 -3888px
}

/* BUG FIX: was duplicating .zm — Zimbabwe needs +16px offset */


/* ==========================================================================
   FOREX TICKER
   ========================================================================== */

.forex-wrapper {
    margin: 20px -20px -20px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.forex-wrapper .forex-bar {
    display: flex;
    align-items: center;
    background: var(--tts-buttton-bg);
    color: var(--tts-buttton-txt);
    padding: 12px 20px;
}

.forex-wrapper .forex-ticker {
    flex: 1;
    overflow: hidden;
}

.forex-wrapper .forex-track {
    display: flex;
    width: max-content;
    animation: tickerMove 200s linear infinite;
    will-change: transform;
    /* NEW: hint browser to promote to GPU layer */
}

/* NEW: respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .forex-wrapper .forex-track {
        animation: none;
    }
}

.forex-wrapper .forex-ticker:hover .forex-track {
    animation-play-state: paused;
}

.forex-wrapper .forex-item {
    padding: 0 20px;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.forex-wrapper .forex-item .currency-name {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
    margin-inline-end: 6px;
}

.forex-wrapper .forex-item .currency-rate {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
}

.forex-wrapper .forex-btn {
    background: transparent;
    color: #fff;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.forex-wrapper .forex-btn:hover {
    opacity: 0.8;
}

@keyframes tickerMove {
    to {
        translate: -50% 0;
        /* NEW: individual translate — GPU-friendly */
    }
}

.forex-wrapper .rate-box {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #eee;
}


/* ==========================================================================
   LUXURY SEARCH GROUP
   ========================================================================== */

.form-group.luxery-search-group {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
}

.form-group.luxery-search-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0;
    color: #222;
    font-size: 1rem;
}

.form-group.luxery-search-group .lux-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-group.luxery-search-group .lux-option {
    padding: 10px 16px;
    border-radius: 25px;
    background: rgb(255 255 255 / 0.7);
    border: 1px solid rgb(200 200 200 / 0.4);
    backdrop-filter: blur(8px);
    font-size: 0.875rem;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, translate 0.2s ease, box-shadow 0.3s ease;
    user-select: none;
}

.form-group.luxery-search-group .lux-option:hover {
    background: var(--tts-buttton-bg);
    color: var(--tts-buttton-txt);
    translate: 0 -2px;
    box-shadow: 0 5px 15px rgb(212 175 55 / 0.4);
}

.form-group.luxery-search-group .lux-option.active {
    background: var(--tts-buttton-bg);
    color: var(--tts-buttton-txt);
    border: none;
    box-shadow: 0 4px 12px rgb(201 162 39 / 0.5);
}

.form-group.luxery-search-group .lux-option:active {
    scale: 0.96;
    /* NEW: individual scale property */
}

.form-group.luxery-search-group .location {
    font-size: 0.8125rem;
    color: #888;
    font-style: italic;
}


/* ==========================================================================
   SELECT2 OVERRIDES
   ========================================================================== */

.tts_product_box .select2-container--default .select2-selection--single {
    height: inherit;
    border: none;
    border-radius: 6px;
    padding: 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    transition: border-color 0.2s ease;
}

.tts_product_box .select2-container--default .select2-selection--single:hover {
    border-color: #999;
}

.tts_product_box .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgb(74 144 226 / 0.15);
}

.tts_product_box .select2-container--default .select2-selection__rendered {
    color: #333;
    padding: 0;
}

.tts_product_box .select2-container--default .select2-selection__arrow {
    height: 100%;
    inset-inline-end: 10px;
    /* NEW: logical property */
}

.tts_product_box .select2-dropdown {
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
    width: 200px !important;
}

.tts_product_box .select2-results__option {
    padding: 10px;
    font-size: 0.75rem;
}

.tts_product_box .select2-results__option--highlighted {
    background-color: #4a90e2 !important;
    color: #fff;
}

.tts_product_box .select2-search__field {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
}

.tts_product_box .select2-search__field:focus {
    border-color: #4a90e2;
    outline: none;
    /* NEW: remove default outline since border-color handles it */
}


/* ==========================================================================
   INSURANCE SEARCH
   ========================================================================== */



/* ==========================================================================
   RESPONSIVE — TABLET (768px – 1024px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        height: 220px;
        padding-top: 80px;
    }

    .hero-section .slider-item {
        min-height: 220px;
    }

    .hero-section .slider-content {
        padding: 20px;
    }

    .search_form_section .search_form_box {
        margin: 0 !important;
    }
}


/* ==========================================================================
   RESPONSIVE — MOBILE (≤767px)
   ========================================================================== */

@media (max-width: 767px) {
    .hero-section {
        height: 160px;
        padding-top: 60px;
    }

    .hero-section .slider-item {
        min-height: 160px;
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .hero-section .slider-content {
        padding: 15px;
    }

    .search_form_section .search_form_box {
        margin: 0 !important;
    }

}


/* ==========================================================================
   RESPONSIVE — SEARCH FORM RESTRUCTURE (≤992px)
   ========================================================================== */

@media (max-width: 992px) {
    .search-title h2 {
        display: none;
    }

    .search_form_section .search_tabs li a {
        width: 40px !important;
        height: 40px !important;
    }

    .search_form_section .search_tabs li a span {
        display: none;
    }

    .search_form_section .search_tabs {
        margin-top: -37px !important;
        justify-content: center;
        gap: 5px;
    }

    .search_form_section .search_tabs li a i {
        font-size: 18px;
        margin: 0;
    }

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

    /* Two-column grid for form fields */
    .flight_search_border li.from,
    .flight_search_border li.to,
    .flight_search_border li.depart,
    .flight_search_border li.return {
        width: 50% !important;
    }

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

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

    /* Add bottom borders for stacked layout */
    .flight_search_border li {
        border-bottom: 1px solid #ebebeb;
    }

    /* Hide separators on wrapping break points */
    .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,
    .flight_search_border li.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: 1.0625rem !important;
    }

    .makeflex {
        display: block !important;
    }

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

    /* Hotel, Bus, Visa, Cruise — two columns */
    .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;
    }

    /* Full-width fields */
    .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: 0.75rem !important;
        font-weight: normal !important;
    }

    .hero-banner,
    .hero-banner .carousel-item {
        height: 250px;
    }

    .search-check-label {
        font-size: 0.75rem;
    }

    .flight_search_border li.btnarea {
        width: 100%;
    }
}


/* ==========================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ========================================================================== */

@media (max-width: 480px) {
    .hero-section {
        height: 140px;
        padding-top: 50px;
    }

    .hero-section .slider-item {
        min-height: 140px;
    }

    .hero-section .slider-content {
        padding: 10px;
    }

    .ui-autocomplete.tts-autocomplete {
        width: 300px !important;
        /* left: auto !important;
        right: 0 !important; */
    }

    .forex-wrapper .forex-item {
        font-size: 0.75rem;
        padding: 0 12px;
    }

    .forex-wrapper .forex-btn {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}


/* ==========================================================================
   OWL CAROUSEL NAVIGATION
   ========================================================================== */

.hero-section .owl-carousel .owl-nav {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.hero-section .owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tts-buttton-bg) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgb(255 255 255 / 0.25) !important;
    border-radius: 50%;
    color: var(--tts-buttton-txt) !important;
    font-size: 16px;
    cursor: pointer;
    pointer-events: auto;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        translate 0.25s ease,
        box-shadow 0.25s ease;
    outline: none;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
}

.hero-section .owl-carousel .owl-nav .owl-prev {
    left: 60px;
}

.hero-section .owl-carousel .owl-nav .owl-next {
    right: 60px;
}

.hero-section .owl-carousel .owl-nav button:hover {
    background: rgb(255 255 255 / 0.3);
    border-color: rgb(255 255 255 / 0.45);
    box-shadow: 0 4px 16px rgb(0 0 0 / 0.25);
}

.hero-section .owl-carousel .owl-nav .owl-prev:hover {
    translate: -3px -50%;
}

.hero-section .owl-carousel .owl-nav .owl-next:hover {
    translate: 3px -50%;
}

.hero-section .owl-carousel .owl-nav button:active {
    background: rgb(255 255 255 / 0.4);
    scale: 0.92;
}

.hero-section .owl-carousel .owl-nav button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.hero-section .owl-carousel .owl-nav button.disabled,
.hero-section .owl-carousel .owl-nav button.owl-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-section .owl-carousel .owl-nav button i {
    position: relative;
    left: 0;
    transition: translate 0.25s ease;
}

.hero-section .owl-carousel .owl-nav .owl-prev:hover i {
    translate: -2px 0;
}

.hero-section .owl-carousel .owl-nav .owl-next:hover i {
    translate: 2px 0;
}

.hero-section .owl-carousel .owl-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    translate: -50% 0;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-section .owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgb(255 255 255 / 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition:
        background-color 0.3s ease,
        width 0.3s ease;
    outline: none;
}

.hero-section .owl-carousel .owl-dots .owl-dot:hover {
    background: rgb(255 255 255 / 0.65);
}

.hero-section .owl-carousel .owl-dots .owl-dot.active {
    background: #fff;
    width: 28px;
    box-shadow: 0 0 8px rgb(255 255 255 / 0.5);
}

.hero-section .owl-carousel .owl-dots .owl-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
    .hero-section .owl-carousel .owl-nav button {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .hero-section .owl-carousel .owl-nav .owl-prev {
        left: 10px;
    }

    .hero-section .owl-carousel .owl-nav .owl-next {
        right: 10px;
    }

    .hero-section .owl-carousel .owl-nav .owl-dots {
        bottom: 16px;
        gap: 8px;
    }

    .hero-section .owl-carousel .owl-nav .owl-dots .owl-dot {
        width: 8px;
        height: 8px;
    }

    .hero-section .owl-carousel .owl-nav .owl-dots .owl-dot.active {
        width: 22px;
    }
}

@media (max-width: 480px) {
    .hero-section .owl-carousel .owl-nav .owl-nav button {
        width: 32px;
        height: 32px;
        font-size: 11px;
        background: rgb(0 0 0 / 0.3);
        border-color: rgb(255 255 255 / 0.15);
    }

    .hero-section .owl-carousel .owl-nav .owl-nav .owl-prev {
        left: 8px;
    }

    .hero-section .owl-carousel .owl-nav .owl-nav .owl-next {
        right: 8px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    .hero-section .owl-carousel .owl-nav .owl-nav button,
    .hero-section .owl-carousel .owl-nav .owl-nav button i,
    .hero-section .owl-carousel .owl-nav .owl-dots .owl-dot {
        transition: none;
    }
}

.insurance-search-body {
    /* padding: 0px 40px; */
}

.insurance-search-body .section-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--header-txt-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.insurance-search-body .search-input-wrapper {
    position: relative;
}

.insurance-search-body .search-input-wrapper input {
    background: var(--white);
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #6C757D;
    width: 100%;
}

.insurance-search-body .search-input-wrapper input:focus {
    border-color: var(--tts-buttton-bg) !important;
    box-shadow: none !important;
    color: var(--header-txt-color) !important;
    outline: none !important;
}

.insurance-search-body .search-input-wrapper .chevron-down {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    padding-left: 10px;
    border-left: 1px solid #DDD;
}

.insurance-search-body .form-control, .insurance-search-body .form-select{
    padding: 12px;
    font-size: 12px;
    color: #444;
}

.insurance-search-body .input-date {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
}

.insurance-search-body .bootstrap-date-input:focus {
    border-color: var(--tts-buttton-bg);
    box-shadow: none;
    color: var(--header-txt-color);
}

.insurance-search-body .traveller-selector-box {
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
}

.insurance-search-body .traveller-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--header-txt-color);
    font-size: 0.95rem;
}

.insurance-search-body .traveller-info i {
    color: var(--header-txt-color);
    font-size: 14px;
}

.insurance-search-body .counter-controls {
    display: flex;
    align-items: center;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    background: #F8F9FA;
    overflow: hidden;
}

.insurance-search-body .counter-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.insurance-search-body .counter-btn:hover {
    background: #EEEEEE;
    color: var(--header-txt-color);
}

.insurance-search-body .counter-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    background: var(--white);
    line-height: 32px;
    color: var(--header-txt-color);
}

.insurance-search-body .btn-view-packages {
    background-color: var(--tts-buttton-bg);
    color: var(--tts-buttton-txt);
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.insurance-search-body .btn-view-packages:hover {
    background-color: var(--tts-buttton-bg1);
    color: var(--tts-buttton-txt1);
}

@media (max-width: 768px) {
    .insurance-bg .insurance-search-body {
        padding: 0 !important;
        margin: 0 !important;
    }
}

.traveller-selector-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 12px 15px;
   }

   .traveller-info {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
   }

   .counter-controls {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
   }

   .counter-btn {
      width: 40px;
      height: 36px;
      border: none;
      background: #fff;
      cursor: pointer;
      font-size: 20px;
   }

   .counter-value {
      min-width: 50px;
      text-align: center;
      font-weight: 600;
   }

   .traveller-card {
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 15px;
      margin-top: 15px;
      background: #fff;
   }

   .traveller-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
   }

   .remove-traveller {
      color: #dc3545;
      cursor: pointer;
      font-size: 18px;
   }

   .remove-traveller:hover {
      color: #b02a37;
   }

   /* Traveller selector box — red border when error */
   .traveller-selector-box.input-error {
      border: 1.5px solid #dc3545 !important;
      border-radius: 6px;
   }

   /* Age / DOB field red border */
   .is-invalid {
      border-color: #dc3545 !important;
   }