.point-search-bar{
	z-index: -1 !important;
}
.tsb-no-tabs .tsb-tabs {
    display: none !important;
}
.tsb-no-tabs .tsb-form.active {
    border-radius: 16px;
}
.tsb-wrap[data-show-if-query="1"] {
    display: none;
}
.tsb-wrap[data-show-if-query="1"].tsb-has-query {
    display: block;
}

.tsb-wrap {
    width: 100%;
    background: transparent;
    border-radius: 16px;
    padding: 0;
	box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.07);
    position: relative;
    z-index: 9999;
}

.tsb-form {
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    background: #fff;
	border: solid #20C210;
    border-width: 0 1px 1px !important;
    padding: 26px 24px;
    border-radius: 0 16px 16px;
}

.tsb-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    flex: 1;
    min-width: 160px;
}

.tsb-field--date {
    flex: 1.6;
    min-width: 220px;
}

.tsb-field--travellers {
    flex: 1.2;
    min-width: 180px;
    position: relative;
    z-index: 9999;
}

.tsb-label {
    font-size: 14px;
    font-weight: 500;
    color: #1c1c1c;
}

.tsb-select-wrap {
    position: relative;
}

/* Shared base styles: select, input and travellers trigger controls
   (same box model / background / border / cursor / transition) */
.tsb-select,
.tsb-input,
.tsb-travellers-trigger {
    width: 100%;
    height: 48px;
    padding: 0 28px 0 20px;
    border-radius: 50px;
    background: #F8F8F8;
    cursor: pointer;
	font-size: 16px;
}

/* Shared text styles: select and input only */
.tsb-select,
.tsb-input {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
	border: none;
}

/* Shared icon color/alignment: select arrow, date icon, travellers icon */
.tsb-select-arrow,
.tsb-date-icon,
.tsb-travellers-icon {
    display: flex;
    align-items: center;
    color: #888;
}

/* Shared absolute positioning: select arrow and date icon */
.tsb-select-arrow,
.tsb-date-icon {
    position: absolute;
    pointer-events: none;
}

.tsb-select-arrow {
    right: 14px;
}

.tsb-select-arrow svg {
    width: 12px;
    height: 8px;
}

.tsb-date-single,
.tsb-date-range {
    display: flex;
    align-items: center;
    gap: 0;
    height: 48px;
    background: #F8F8F8;
    border-radius: 50px;
}

.tsb-date-input-wrap {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.tsb-date-single .tsb-input,
.tsb-date-range .tsb-input {
    height: 100%;
    background: transparent;
    border: none;
    padding-left: 20px;
}

.tsb-date-range .tsb-date-icon {
    display: none;
}

.tsb-date-icon {
    left: 14px;
}

/* Shared icon size: date icon and travellers icon */
.tsb-date-icon svg,
.tsb-travellers-icon svg {
    width: 18px;
    height: 18px;
}

.tsb-input::placeholder {
    color: #BEBEBE;
    font-size: 16px;
}

.tsb-date-sep {
    color: transparent;
    font-size: 0;
    flex-shrink: 0;
    width: 1px;
    height: 60%;
    background: #ddd;
    align-self: center;
}

.tsb-label-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    color: #888;
    vertical-align: middle;
}

.tsb-travellers-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.tsb-travellers-trigger:focus,
.tsb-travellers-trigger.is-open {
    outline: none;
}

.tsb-travellers-icon {
    flex-shrink: 0;
}

.tsb-travellers-text {
    flex: 1;
    font-size: 16px;
    color: #BEBEBE;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Once a real selection is set (see search-bar.js), match the date
   field's look: dark text instead of the placeholder grey. */
.tsb-travellers-text.has-value {
    color: #1c1c1c;
}

.tsb-travellers-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 12px;
    z-index: 999;
	max-height: 320px;  
    overflow-y: auto;   
    overflow-x: hidden;
}

.tsb-travellers-panel.is-open {
    display: block;
}

.tsb-pax-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.tsb-pax-row:not(:last-child) {
    border-bottom: 1px solid #ececec;
}

.tsb-pax-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tsb-pax-label {
    font-size: 14px;
    font-weight: 400;
    color: #1e1e1e;
}

.tsb-pax-desc {
    font-size: 12px;
    color: #888;
}

.tsb-qty-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tsb-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #20C210;
    background-color: #fff !important;
    color: #20C210 !important;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    padding: 0;
    font-family: inherit;
}

.tsb-qty-btn:hover {
    background: #20C210;
    color: #fff;
}

.tsb-qty-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.tsb-qty-btn:disabled:hover {
    background: #fff;
    color: #ccc;
}

.tsb-qty-val {
    font-size: 14px;
    font-weight: 300;
    color: #1e1e1e;
    text-align: center;
}

.tsb-children-ages {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tsb-age-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F0;
}

.tsb-age-label {
    font-size: 14px;
    color: #505050;
    font-weight: 500;
}

.tsb-age-note {
    font-size: 11px;
    color: #20C210;
    font-weight: 600;
    margin-top: 2px;
    display: none;
}

.tsb-age-note.is-visible {
    display: block;
}

.tsb-age-select-wrap {
    position: relative;
}

.tsb-age-select {
    height: 38px;
    padding: 0 30px 0 12px;
    border: 1.5px solid #E8E8E8;
    border-radius: 8px;
    background: #FAFAFA;
    font-size: 14px;
    color: #1e1e1e;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    min-width: 130px;
}

.tsb-age-select:focus {
    border-color: #20C210;
}

.tsb-age-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
}

.tsb-age-arrow svg {
    width: 10px;
    height: 7px;
}

/* Shared button styles: done and search buttons */
.tsb-done-btn,
.tsb-search-btn {
    background: #20C210;
    color: #fff;
    border: 1px solid #20C210 !important;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.tsb-done-btn {
    width: 100%;
    margin-top: 12px;
    padding: 8px 12px !important;
    border-radius: 8px;
    font-size: 14px !important;
    transition: background .2s;
}

/* Shared hover background: done and search buttons */
.tsb-done-btn:hover,
.tsb-search-btn:hover {
    background: transparent;
	border-color: #20C210;
	color: #20C210;
}

.tsb-search-btn {
    height: 48px;
    padding: 0 24px !important;
    border-radius: 999px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, transform .1s;
    align-self: flex-end;
}

.tsb-search-btn svg {
    width: 18px;
    height: 18px;
}

.tsb-search-btn:hover {
    transform: translateY(-1px);
}

/* =============================================
   FLATPICKR — CUSTOM DESIGN
   Calendar left | Time picker right
   ============================================= */

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after {
    display: none;
}

.flatpickr-calendar {
    background: #fff;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14) !important;
    padding: 24px !important;
    font-family: inherit;
    width: fit-content !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.flatpickr-calendar.hasTime.open {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
}

.flatpickr-calendar.hasTime .flatpickr-months {
    flex: 0 0 100%;
}

.flatpickr-calendar.hasTime .flatpickr-innerContainer {
    flex: 0 0 auto;
    border: none;
    overflow: visible !important;
}

/* --- Month navigation --- */
.flatpickr-months {
    height: auto;
    margin-bottom: 12px;
    position: relative;
}

.flatpickr-month {
    background: transparent !important;
    height: 36px;
    line-height: 36px;
    color: #1a1a1a;
}

.flatpickr-current-month {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a !important;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: 0;
    width: auto;
}

.flatpickr-current-month span,
.flatpickr-current-month .cur-month {
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.flatpickr-monthDropdown-months {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
    cursor: pointer;
    outline: none;
    padding: 0 20px 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
}

.flatpickr-current-month .numInputWrapper {
    display: inline-flex;
    align-items: center;
}

.flatpickr-current-month input.cur-year {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
    background: transparent;
    border: none;
    outline: none;
    width: 52px;
    padding: 0 0 0 4px;
    -moz-appearance: textfield;
    appearance: textfield;
}

.flatpickr-current-month input.cur-year::-webkit-inner-spin-button,
.flatpickr-current-month input.cur-year::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.flatpickr-current-month .numInputWrapper span {
    display: none;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    top: 50% !important;
    transform: translateY(-50%);
    padding: 0 !important;
    transition: background 0.15s;
    color: #555;
}

.flatpickr-prev-month { left: 0 !important; }
.flatpickr-next-month { right: 0 !important; }

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
}

.flatpickr-prev-month.flatpickr-disabled {
    opacity: 0.2;
    pointer-events: none;
}

/* --- Weekdays --- */
.flatpickr-weekdays {
    background: transparent;
    height: auto;
}

.flatpickr-weekday {
    background: transparent;
    color: #b0b0b0 !important;
    font-size: 12px;
    font-weight: 500;
    height: 30px;
    line-height: 30px;
}

/* --- Day grid --- */
.flatpickr-days {
    border: none !important;
}

.dayContainer {
    padding: 0;
}

.flatpickr-day {
    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    height: 38px;
    width: 38px;
    max-width: 38px;
    line-height: 38px;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 1px;
}

.flatpickr-day:hover {
    background: #f0f0f0 !important;
    border-color: transparent !important;
    color: #1a1a1a;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #d0d0d0 !important;
    background: transparent !important;
    cursor: default;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #d0d0d0 !important;
}

.flatpickr-day.today {
    font-weight: 700;
    background: transparent !important;
    border: none !important;
    color: #1a1a1a;
}

.flatpickr-day.today:hover {
    background: #f0f0f0 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange,
.flatpickr-day.endRange:hover {
    background: #20C210 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    font-weight: 600;
}

/* --- Time picker — right panel --- */
.flatpickr-calendar.hasTime .flatpickr-time {
    flex: 0 0 200px !important;
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    height: auto !important;
    border: none !important;
    border-left: 1px solid #eee !important;
    margin-left: 24px;
    padding: 0 0 0 24px !important;
    flex-wrap: wrap !important;
    align-items: center;
    align-content: flex-start;
    background: transparent;
    overflow: visible !important;
}

.flatpickr-time::before {
    content: "Select pick-up time";
    flex: 0 0 100%;
    display: block;
    font-size: 12px;
    color: #888;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
}

.flatpickr-time .numInputWrapper {
    position: relative;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 10px;
    background: #fff;
    padding: 8px 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    height: 40px !important;
    box-sizing: border-box;
    width: 74px !important;
    cursor: pointer;
    transition: border-color 0.15s;
}

.flatpickr-time .numInputWrapper:hover {
    border-color: #bbb !important;
}

.flatpickr-time .numInput {
    border: none !important;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    width: 26px;
    height: auto;
    text-align: left;
    outline: none;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
    cursor: pointer;
}

.flatpickr-time .numInput::-webkit-inner-spin-button,
.flatpickr-time .numInput::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.flatpickr-time .numInputWrapper::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 24px;
    width: 1px;
    background: #eee;
}

.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown {
    position: absolute !important;
    right: 8px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 14px !important;
    height: 12px !important;
    border: none !important;
    opacity: 1 !important;
    cursor: pointer;
    background: transparent;
    margin: 0;
    border-radius: 3px;
    transition: background 0.15s;
}

.flatpickr-time .numInputWrapper span.arrowUp:hover,
.flatpickr-time .numInputWrapper span.arrowDown:hover {
    background: #f5f5f5;
}

.flatpickr-time .numInputWrapper span.arrowUp {
    top: 5px;
}

.flatpickr-time .numInputWrapper span.arrowDown {
    bottom: 5px;
}

.flatpickr-time .numInputWrapper span.arrowUp::after,
.flatpickr-time .numInputWrapper span.arrowDown::after {
    content: "" !important;
    position: static !important;
    display: block;
    width: 9px;
    height: 5px;
    border: none !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    left: auto !important;
    top: auto !important;
}

.flatpickr-time .numInputWrapper span.arrowUp::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 5l4-4 4 4' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.flatpickr-time .numInputWrapper span.arrowDown::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.flatpickr-time-separator {
    font-size: 16px;
    font-weight: 600;
    color: #999;
    padding: 0 10px;
    height: auto !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* =============================================
   RESPONSIVE FIX — ONLY applies when hasTime is
   active on screens 1024px and below.
   Unified: no internal scroll, consistent on all sizes.
   ============================================= */

@media (max-width: 1024px) {

    .flatpickr-calendar.hasTime.open {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 340px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 20px !important;
        margin: 0 !important;
        z-index: 9999 !important;
        box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45) !important;
    }

    .flatpickr-calendar.hasTime.open .flatpickr-innerContainer {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .flatpickr-calendar.hasTime.open .flatpickr-time {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
        border-left: none !important;
        border-top: 1px solid #eee !important;
        margin-left: 0 !important;
        margin-top: 16px !important;
        padding: 16px 0 0 0 !important;
        justify-content: center !important;
    }

    .flatpickr-calendar.hasTime.open .flatpickr-current-month {
        white-space: nowrap !important;
        width: max-content !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .flatpickr-calendar.hasTime.open .flatpickr-monthDropdown-months {
        flex-shrink: 0 !important;
        min-width: fit-content !important;
        white-space: nowrap !important;
    }

    .flatpickr-calendar.hasTime.open .flatpickr-current-month input.cur-year {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .flatpickr-calendar.hasTime.open .flatpickr-day {
        height: 34px;
        width: 34px;
        max-width: 34px;
        line-height: 34px;
        font-size: 12px;
        margin: 0.5px;
    }

    .flatpickr-calendar.hasTime.open .flatpickr-weekday {
        height: 26px;
        line-height: 26px;
        font-size: 11px;
    }
}

/* Lock background scroll while any calendar is open */
body:has(.flatpickr-calendar.open) {
    overflow: hidden !important;
    height: 100vh !important;
}

/* =============================================
   FIX — calendar/time inputs going transparent
   on focus/interaction
   ============================================= */

.flatpickr-calendar.hasTime.open {
    opacity: 1 !important;
    background-color: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: none !important;
}

.flatpickr-calendar.hasTime.open .flatpickr-innerContainer,
.flatpickr-calendar.hasTime.open .flatpickr-time,
.flatpickr-calendar.hasTime.open .flatpickr-days,
.flatpickr-calendar.hasTime.open .dayContainer {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.flatpickr-time .numInputWrapper {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.flatpickr-time .numInput:focus {
    background-color: transparent !important;
    opacity: 1 !important;
}

.tsb-date-input-wrap {
    display: flex;
    align-items: center;
    background-color: #F8F8F8;
    border-radius: 50px;
}

.tsb-range-divider {
    display: block;
    flex-shrink: 0;     
    align-self: center;   
    width: auto;         
    height: auto;    
    pointer-events: none;
}

/* Scrollbar */
.tsb-travellers-panel::-webkit-scrollbar {
    width: 4px;
}

.tsb-travellers-panel::-webkit-scrollbar-track {
    background: transparent;
}

.tsb-travellers-panel::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.tsb-travellers-panel::-webkit-scrollbar-thumb:hover {
    background: #20C210;
}

/* Responsive */
@media(max-width:1199px) {
	
	.tsb-form {
        gap: 12px;
		padding: 22px 20px;
    }

.tsb-select, .tsb-input, .tsb-travellers-trigger, .tsb-date-single {
    height: 42px;
}
	
	.tsb-search-btn {
    	height: 42px;
	}
	
	.tsb-travellers-panel {
		right: 0;
		left: unset;
	}
}

@media(max-width:860px) {
	.tsb-travellers-panel.is-open{width:100%;}	
}


@media(max-width:767px) {

    .tsb-form {
        flex-direction: column;
		padding: 16px;
    }

    .tsb-field,
    .tsb-field--date,
    .tsb-field--travellers {
        width: 100%;
        flex: none;
        min-width: 0;
    }

    .tsb-search-btn {
        width: 100%;
        justify-content: center;
    }

    .tsb-travellers-panel {
        left: 0;
        right: 0;
        min-width: 0;
    }
}

@media(max-width:479px)  {
	.tsb-form {
		border-radius: 0 16px 16px;
    }	
}


/* ════════════════════════════════════════════════════════════
   TABS — Tour / Hotel / Car / Transport
════════════════════════════════════════════════════════════ */
.tsb-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    
}

.tsb-tab {
	display: inline-flex;
    align-items: center;
    justify-content: center;
	gap: 10px;
    padding: 12px 25px !important;
    border-radius: 10px 10px 0 0 !important;
    font-size: 16px !important;
    border: solid #9F9F9F !important;
	border-width: 1px 1px 0px 0px !important;
    background: rgba(248, 248, 248, 0.20) !important;
    color: #fff !important;
    backdrop-filter: blur(20px);
}

.tsb-tab::first-child {
	border-left: 1px;	
}

.tsb-tab.active {
    background: #fff !important;
    color: #20C210 !important;
	border-color: #20C210 !important;
}

.tsb-tab svg path{
    color: #ffffff !important;
}

.tsb-tab.active svg path{
    fill: #20c210;
}

/* ════════════════════════════════════════════════════════════
   PANELS — only the active tab's fields are shown.
   (.tsb-panel must come after .tsb-form in source order so the
   "display:none" default below wins on the inactive panels;
   .tsb-panel.active always wins thanks to higher specificity.)
════════════════════════════════════════════════════════════ */
.tsb-panel {
    display: none;
}

.tsb-panel.active {
    display: flex;
	justify-content: end;
}

.tsb-panel--placeholder {
    align-items: center;
    justify-content: center;
    min-height: 90px;
    width: 100%;
}

.tsb-placeholder-text {
    color: #B2B2B2;
    font-size: 16px;
    margin: 0;
}

.tsb-combo-dropdown {
	width: 50%;
}

@media (max-width: 1199px) {
	
	.tsb-tab {
		padding:10px 20px !important;
	}	
}

@media (max-width: 600px) {
    .tsb-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;    
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tsb-tabs::-webkit-scrollbar {
        display: none;          /* Chrome, Safari */
    }

    .tsb-tab {
        padding: 8px 14px !important;
		font-size: 0px !important;
    	gap: 0;
    }

	.tsb-tab.active{
    	font-size: 14px !important;
    	gap: 6px;
	}
}

/* ════════════════════════════════════════════════════════════
   CUSTOM DROPDOWN (replaces native <select> look)
   ────────────────────────────────────────────────────────────
   The native <select> stays in the DOM for form-value purposes,
   but search-bar.js hides it + its arrow once JS runs and injects
   a `.tsb-custom-trigger` + `.tsb-custom-list` pair instead. If JS
   fails to load, the wrap never gets `.tsb-custom-active` and the
   original native select/arrow remain visible and fully usable.
════════════════════════════════════════════════════════════ */

/* Hide the native control + its old arrow once custom UI is built */
.tsb-select-wrap.tsb-custom-active .tsb-select,
.tsb-select-wrap.tsb-custom-active > .tsb-select-arrow {
    display: none;
}

/* Trigger — same box model as the native select so layout doesn't shift */
.tsb-custom-trigger {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border-radius: 50px;
    background: #F8F8F8;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.tsb-custom-trigger-icon {
    display: flex;
    align-items: center;
    color: #888;
    flex-shrink: 0;
}

.tsb-custom-trigger-icon svg {
    width: 18px;
    height: 18px;
}

.tsb-custom-trigger-text {
    flex: 1;
    font-size: 16px;
    color: #BEBEBE;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Once a real option (not the "All States" / "All Types" placeholder)
   is selected (see setTriggerFromOption in search-bar.js), match the
   date field's look: dark text instead of the placeholder grey. */
.tsb-custom-trigger-text.has-value {
    color: #1c1c1c;
}

.tsb-custom-arrow {
    display: flex;
    align-items: center;
    color: #888;
    flex-shrink: 0;
    transition: transform .2s;
}

.tsb-custom-arrow svg {
    width: 12px;
    height: 8px;
}

.tsb-custom-trigger.is-open .tsb-custom-arrow {
    transform: rotate(180deg);
}

/* Dropdown list */
.tsb-custom-list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    z-index: 99999;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
}

.tsb-custom-list.is-open {
    display: block;
}

.tsb-custom-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #505050;
    transition: background .15s, color .15s;
}

.tsb-custom-option:hover {
    background: rgba(32, 194, 16, .08);
}

.tsb-custom-option.is-selected {
    color: #20C210;
    background: rgba(32, 194, 16, .06);
}

.tsb-custom-option-icon {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    color: inherit;
}

.tsb-custom-option-icon svg {
    width: 18px;
    height: 18px;
}

.tsb-custom-option .tsb-custom-option-icon img{
    height: 20px;
    width : 20px;
    object-fit: contain;
    border-radius: 24px;
}

.tsb-custom-option-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Scrollbar to match the travellers panel */
.tsb-custom-list::-webkit-scrollbar {
    width: 4px;
}

.tsb-custom-list::-webkit-scrollbar-track {
    background: transparent;
}

.tsb-custom-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.tsb-custom-list::-webkit-scrollbar-thumb:hover {
    background: #20C210;
}

@media(max-width:1199px) {
    .tsb-custom-trigger {
        height: 42px;
    }
}

/* ════════════════════════════════════════════════════════════
   CAR PANEL — two-row stacked layout matching reference design
════════════════════════════════════════════════════════════ */
.tsb-panel--car.active {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 15px;
}

.tsb-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 50%;
}

.tsb-row.tsb-row--search {
	width: 100%;
}

.tsb-field--combo {
    flex: 1.6;
    min-width: 260px;
}

.tsb-combo-wrap {
    display: flex;
    align-items: center;
    height: 48px;
    background: #F8F8F8;
    border-radius: 50px;
}

.tsb-combo-wrap .tsb-input {
    flex: 1;
    height: 100%;
    width: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 20px;
    min-width: 0;
}

.tsb-row--search .tsb-search-btn {
    flex-shrink: 0;
}
.tsb-panel--car .tsb-row:first-child {
    position: relative;
    z-index: 10;
}

@media(max-width:1199px) {
	.tsb-panel--car.active, .tsb-row {
		gap: 12px;
	}
	
	.tsb-range-divider,.tsb-combo-wrap {
		height: 42px !important;
	}
}

@media(max-width:1024px){
	.tsb-row {
		width: 100%;
	}	
}

@media(max-width:767px) {
    .tsb-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .tsb-field--combo {
        width: 100%;
        min-width: 0;
    }
}