/* SEARCH BOX - EXACT IMAGE MATCH REDESIGN */

:root {
    --sb-bg-panel: #ffffff;
    --sb-bg-card: #f3f6f9;
    --sb-border: #e6ebf1;
    --sb-text-main: #06162e;
    --sb-text-label: #5e6d82;
    --sb-blue: var(--primary);
    --sb-red: var(--danger);
    --sb-radius: 8px;
}

.fc-search-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Tabs */
.fc-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.fc-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 18px;
    background: rgb(240, 240, 240);
    color: rgb(178, 178, 178);
    border: none;
    border-radius: 34px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.fc-tab img.flaticon {
    width: 20px;
    height: 20px;
    filter: invert(1);
    /* Make white by default */
}

.fc-tab.active img.flaticon {
    filter: none;
    /* Keep original color or use a specific filter if needed */
}

.fc-tab.active {
    background: #fff;
    color: #000;
}

.fc-tab.active img.flaticon {
    /* If red is needed, we can use a filter or just use a specific icon URL */
    filter: brightness(0) saturate(100%) invert(21%) sepia(85%) border-radius(100%) saturate(6444%) hue-rotate(352deg) brightness(98%) contrast(92%);
}

.fc-tab {

    strong {

        font-size: 20px;
    }

    span {
        font-size: 15px;
    }

}

/* Main Panel */
.fc-search-panel {
    background: var(--sb-bg-panel);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: visible;

}

/* ... existing styles ... */

.fc-field-card:has(.dropdown.show) {
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Top Options Row */
.fc-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fc-trip-options {
    display: flex;
    gap: 24px;
}

.fc-radio-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--sb-text-main);
}

.fc-radio-custom input {
    display: none;
}

.radio-dot {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fc-radio-custom input:checked+.radio-dot {
    border-color: var(--sb-blue);
}

.fc-radio-custom input:checked+.radio-dot::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--sb-blue);
    border-radius: 50%;
}

.fc-miles-option {
    display: flex;
    align-items: center;
}

.fc-checkbox-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--sb-text-main);
}

.fc-checkbox-custom input {
    display: none;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 3px;
    transition: all 0.2s;
}

.fc-checkbox-custom input:checked+.checkbox-box {
    background: var(--sb-blue);
    border-color: var(--sb-blue);
}

/* Main Fields Main Row */
.fc-panel-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr 180px 170px auto;
    gap: 4px;
    align-items: center;
}

.fc-field-card {
    background: var(--sb-bg-card);
    padding: 12px 16px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

.fc-field-card label {
    font-size: 11px;
    font-weight: 600;
    color: var(--sb-text-label);
    margin-bottom: 0px;
}

.fc-field-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--sb-text-main);
    line-height: 1.2;
}

.fc-field-sub {
    font-size: 12px;
    color: var(--sb-text-label);
    font-weight: 600;
}

/* Swap Circle */
.fc-swap-circle {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid var(--sb-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 -20px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.fc-swap-circle img.flaticon {
    width: 16px;
    height: 16px;
}

.fc-swap-circle:hover {
    transform: rotate(180deg);
}

/* Dates & Passengers Special */
.fc-dates {
    display: flex !important;
    justify-content: space-between;
    gap: 12px;
}

.fc-dates .fc-row {
    position: relative;
}

.fc-dates .hide {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.fc-dates .fc-text-wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.fc-icon-wrap img.flaticon-l {
    width: 32px;
    height: 32px;
    opacity: 0.6;
}

/* Search Button */
.fc-btn-search-image {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 24px;
    height: 86px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    font-weight: 600;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}



.fc-btn-search-image img.flaticon-btn {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

/* Footer */
.fc-panel-footer {
    margin-top: 20px;
    border-top: 1px solid var(--sb-border);
    padding-top: 15px;
}

.fc-recent-searches {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recent-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--sb-text-label);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-list {
    display: flex;
    gap: 15px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sb-text-main);
    cursor: pointer;
    transition: color 0.2s;
    background: #ededed;
    padding: 5px;
    border-radius: 4px;
}

.recent-item:hover {
    color: var(--sb-blue);
}

.recent-item img.flaticon-xs {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background: white;
    border-radius: 10px;
    border: 1px solid gainsboro;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 100;
    overflow: hidden;
}

.dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f3f6;
    overflow: hidden;
    margin-top: 5px;
}

.list .item {
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    border-left: 3px solid transparent;
}

.list .item:hover {
    background: #f8faff;
    border-left-color: #3399cc;
}

.list .item.selected {
    background: #f0f7ff;
    border-left-color: #3399cc;
}

.list .item .title {
    font-size: 15px;
    font-weight: 700;
    color: #15284D;
}

.list .item .subtitle {
    font-size: 13px;
    color: #70757A;
    font-weight: 500;
    line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .fc-panel-main {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fc-swap-circle {
        display: none;
    }

    .fc-btn-search-image {
        grid-column: span 2;
    }

    .fc-panel-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .fc-panel-main {
        grid-template-columns: 1fr;
    }

    .fc-btn-search-image {
        grid-column: span 1;


    }

    .fc-tab {
        padding: 10px 15px;
        font-size: 12px;
    }
}


.inputbox {
    padding: 0px;
    border: none;
    background: no-repeat;
    font-size: 18px;
    font-weight: 800;
    color: #000;
    padding-left: 0;
    outline: none;

}

























/* =====================date picker===================== */
.ui-widget.ui-widget-content {
    border: none;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
}

.ui-widget-header .ui-icon {
    background-image: unset;
}

.ui-datepicker .ui-widget-header {
    background: #3399cc;
    color: #fff;
    border: none;
    border-radius: 8px;
}

.ui-datepicker .ui-datepicker-prev::after {
    content: "\f100";
    right: 5px;
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    color: #fff;
}

.ui-datepicker .ui-datepicker-next::after {
    content: "\f101";
    left: 5px;
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    color: #fff;
}

.ui-datepicker .ui-datepicker-header .ui-corner-all,
.ui-datepicker .ui-datepicker-header .ui-state-hover {
    cursor: pointer;
    border: 0;
    background: none;
    font-weight: 600;
    top: 3px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    padding: 0.2em;
    text-align: center;
    text-decoration: none;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    border: none;
    border-radius: 8px;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    border: none;
    background: #F96768;
    color: #fff;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background: #3399cc;
    color: #fff;
}

/* ===================time picker css ====================== */
.ui-timepicker.ui-widget.ui-widget-content {
    box-shadow: none;
}

.ui-timepicker-standard {
    border: none !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
    z-index: 2 !important;
}

.ui-timepicker-standard a {
    border: none !important;
    transition: none !important;
    border-radius: 8px;
}

.ui-timepicker-standard a#ui-active-item,
.ui-timepicker-standard a:hover {
    background: #3399cc;
    color: #fff;
}

/* =====================price range slider===================== */
.price-range-slider {
    margin-bottom: 50px;
}

.price-range-slider .price-range-info {
    margin-bottom: 20px;
}

.priceRange {
    background: transparent;
    border: none;
    font-weight: 800;
    outline: none;
    color: #3399cc;
}

.price-range-slider label {
    color: #4F4B8B;
    font-weight: 500;
}

.price-range-slider .ui-slider-handle {
    top: -0.36em !important;
    border-radius: 50px;
    background: #fff !important;
    border: 4px solid #3399cc !important;
    width: 1.1em;
    height: 1.1em;
    outline: none;
}

.price-range-slider .ui-widget.ui-widget-content {
    background: #E6E9EC;
    border: none;
    border-radius: 50px;
    padding: 0;
    height: 0.4em;
}

.price-range-slider .ui-widget-header {
    background: #3399cc;
}

/* =====================play btn===================== */
.play-btn {
    display: inline-block;
    padding: 0;
    height: 75px;
    width: 75px;
    line-height: 75px;
    font-size: 20px;
    text-align: center;
    background: #F96768;
    color: #fff !important;
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.play-btn i::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: #F96768;
    border-radius: 50px;
    animation: ripple-wave 1s linear infinite;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: all 0.5s ease-in-out;
}

@keyframes ripple-wave {
    0% {
        opacity: 0.8;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
}





.popuppaxdetails {
    position: absolute;
    background: #fff;
    min-width: 300px;
    z-index: 99;
    border-radius: 10px;
    border: 1px solid gainsboro;
    padding: 0;
    position: absolute;
    top: 110px;
    left: 0;
    overflow: hidden;

    display: none;

    .roomdata {
        border-bottom: none !important;
    }
}

.popuppaxdetails .mainpopupselectroom {
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    min-width: 300px;
    /* -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4); */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #fff;
    border-radius: 5px;
}

.popuppaxdetails .mainpopupselectroom>div {
    max-height: 400px;
    overflow: auto;
}

.popuppaxdetails .mainpopupselectroom .addmorerooms {
    padding: 10px;
}

.popuppaxdetails .mainpopupselectroom .addmorerooms a {
    color: #005982;
    padding: 5px 0;
    background: none;
    display: block;
    line-height: inherit;
    border-radius: 0;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle {
    padding: 0px;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomnotext {
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 10px;
    border-bottom: 1px solid gainsboro;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomnotext span {
    margin: 0;
    color: #000;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomnotext .closeroom {
    background: url(/Templates_assets/assets/images/icons8-multiply-30.png) no-repeat;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle:first-child .closeroom {
    display: none;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    padding-bottom: 10px;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter select {
    border: 1px solid #ddd;
    width: 135px;
    background: url(../images/common/arrow.svg) no-repeat 90%;
    font-size: 13px;
    border-radius: 3px;
    padding: 5px 10px;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter .minussign {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gray-600);
    text-align: center;
    font-size: 25px;
    border-radius: 99px !important;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--gray-600);
    line-height: 30px;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter .minussign:hover {
    color: #0797CC;
    border-color: #0797CC;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter .plussign {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gray-600);
    text-align: center;
    font-size: 20px;
    border-radius: 99px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--gray-600);
    line-height: 30px;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter .plussign:hover {
    color: #0797CC;
    border-color: #0797CC;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter .disabled {
    border: 1px solid #898989;
    color: #898989;
    background: #ebebeb;
    cursor: no-drop;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv .counter label {
    width: 35px;
    padding: 0;
    height: 35px;
    font-size: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata .flexdiv.bg {
    background: #f0f4ff;
    margin-bottom: 10px;
    padding: 5px;
}

.popuppaxdetails .mainpopupselectroom .maindivroomsingle .roomdata label {
    font-size: 13px;
    background: transparent;
    color: var(--gray-600);
    padding: 0;
    opacity: 1;
}

.popuppaxdetails .btnok {
    padding: 10px 30px;
    background: var(--primary);
    color: #fff;
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .popuppaxdetails {
        width: 100%;
    }

    .popuppaxdetails .mainpopupselectroom {
        min-width: 100%;
    }
}



.trip-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    margin-bottom: 1.5rem;
}

.trip-toggle-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
    transition: all 0.2s ease;
    user-select: none;
}

.trip-toggle-option input[type="radio"] {
    display: none;
}

.trip-toggle-option.active {
    background: #fff;
    color: #222;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.trip-icon {
    font-size: 15px;
}




/* ===== VISA PANEL — all new classes, no conflict with fc- ===== */
.vs-panel {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.vs-grid {
    display: flex;
    align-items: stretch;
    gap: 20px;
    height: 90px;
    /* same height as fc-panel-main */
}

.vs-card {
    position: relative;
    flex: 1;
    background: #f0f4f8;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.2s;
    overflow: visible;
}

.vs-card:hover {
    background: #e4ecf5;
}

.vs-label {
    font-size: 11px;
    color: #7a8fa6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.vs-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a2b3c;
    line-height: 1.2;
}

.vs-sub {
    font-size: 12px;
    color: #9aacbe;
    margin-top: 2px;
}

.vs-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    font-size: 18px;
    color: #3da9e0;
    opacity: 0.6;
}

/* Dropdown */
.vs-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    z-index: 999;
    padding: 10px;
    box-sizing: border-box;
}

.vs-search-input {
    width: 100%;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    background: none;
    outline: none;
}

.vs-list {
    max-height: 200px;
    overflow-y: auto;
}

.vs-list-item {
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 13px;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.15s;
}

.vs-list-item:hover {
    background: #f0f4f8;
}

/* Search Button — matches fc-btn-search-image size */
.vs-btn-search {
    flex: 0 0 160px;
    background: #1daee8;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 90px;
}

.vs-btn-search:hover {
    background: #1598d0;
    transform: translateY(-1px);
}



.vs-type-card {
    flex: 0 0 180px;
}

.vs-details-bar {
    margin-top: 10px;
    background: #f0f4f8;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: vsFadeIn 0.3s ease;
}

.vs-detail-price {
    font-size: 15px;
    font-weight: 700;
    color: #1a2b3c;
}

.vs-detail-info {
    font-size: 13px;
    color: #7a8fa6;
}

@keyframes vsFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}