.searchbar-hotel .input-wrapper {
    background: var(--bg-light);
    border: 1px solid var(--btn-border-color);
    border-radius: 8px;
    min-height: 60px;
    position: relative;
}
.searchbar-hotel .input-wrapper:focus-within {
    border-color: var(--secondary);
    background: var(--white);
}
.searchbar-hotel .input-wrapper.error {
    border-color: var(--primary);
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.searchbar-hotel .search-label { font-size: 11px; font-weight: 700; color: var(--text-muted); display: block; margin-bottom: 2px; }
.searchbar-hotel .search-input { border: none; outline: none; background: transparent; font-size: 14px; font-weight: 500; color: var(--text-dark); width: 100%; padding: 0; }
.searchbar-hotel .search-input::placeholder { color: var(--text-placeholder); font-weight: 400; }
.searchbar-hotel .search-value { font-size: 14px; font-weight: 500; color: var(--text-dark); }
.searchbar-hotel .search-icon { color: var(--text-placeholder); font-size: 18px; }
.searchbar-hotel .search-btn { font-size: 14px; font-weight: 700; min-height: 64px; min-width: 120px; border-radius: 8px; }
.searchbar-hotel .destination-suggestions { min-width: 582px; z-index: 1050; top: 140%; left: -15px; }
.searchbar-hotel .destination-suggestions .section-title { padding: 12px 16px; }
.searchbar-hotel .destination-suggestions .tags-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: var(--bg-light);
    border-top: 1px solid var(--btn-border-color);
    border-bottom: 1px solid var(--btn-border-color);
}

.searchbar-hotel .date-icon-circle {
    position: absolute; left: 48%; top: 50%; transform: translate(-50%, -50%);
    width: 34px; height: 34px; background: var(--white); border: 1px solid var(--btn-border-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--text-placeholder); font-size: 14px; z-index: 2;
}
/* Guest Dropdown */
.searchbar-hotel .guest-dropdown { border-radius: 12px; min-width: 380px !important; margin-top: 20px !important; }
.searchbar-hotel .room-card { border-bottom: 1px solid var(--bg-light); }
.searchbar-hotel .room-card:last-child { border-bottom: none; }
.searchbar-hotel .room-header { background: transparent; border-bottom: none !important; padding: 12px 16px !important; }
.searchbar-hotel .room-title { font-size: 14px; font-weight: 700; color: var(--black); }
.searchbar-hotel .remove-room-btn { font-size: 14px; font-weight: 400; color: var(--primary); text-decoration: none; }
.searchbar-hotel .remove-room-btn:hover { text-decoration: underline; }
.searchbar-hotel .room-body { padding: 0 18px 16px !important; }
.searchbar-hotel .room-row { padding: 12px 0; border-bottom: 1px solid var(--bg-light); }
.searchbar-hotel .room-row:last-of-type { border-bottom: none; }
.searchbar-hotel .room-row .label-text { font-size: 18px; font-weight: 500; line-height: 27px; }
.searchbar-hotel .room-row .label-sub { font-size: 12px; font-weight: 400; color: var(--text-light); line-height: 18px; }
/* Counter styles inherited from common.css (.counter-btn, .counter-value) */
.searchbar-hotel .counter-btn:hover { background: var(--primary-hover); }
.searchbar-hotel .add-room-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 16px;
}
.searchbar-hotel .add-room-btn:hover { text-decoration: underline; }
.searchbar-hotel .add-room-btn i { color: var(--primary); font-weight: 700; }
.searchbar-hotel .destination-suggestions .section-title { font-size: 18px; font-weight: 700; color: var(--secondary); }
/* .destination-tag - Uses .tag from common.css */
/* Autocomplete Results */
.searchbar-hotel .autocomplete-results {
    max-height: 320px;
    overflow-y: auto;
}
.searchbar-hotel .suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    transition: background 0.15s;
}
.searchbar-hotel .suggestion-item:last-child { border-bottom: none; }
.searchbar-hotel .suggestion-item:hover { background: var(--bg-light); color: var(--primary); }
.searchbar-hotel .suggestion-item i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.searchbar-hotel .no-results {
    padding: 24px 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}
.searchbar-hotel .theme-link { font-size: 14px; color: var(--text-dark); padding: 8px 0; }
.searchbar-hotel .theme-link:hover { color: var(--primary); }
.searchbar-hotel .theme-link i { font-size: 10px; color: var(--text-placeholder); }

/* Mobile elements - hidden on desktop */
.searchbar-hotel .destination-suggestions .search-box { display: none; }
.searchbar-hotel .guest-dropdown .mobile-heading { display: none; }
.searchbar-hotel .guest-dropdown .submit-button { display: none; }
.searchbar-hotel .date-picker-container .mobile-date-header { display: none; }
.searchbar-hotel .date-picker-container .mobile-date-display { display: none; }
.searchbar-hotel .date-picker-container .mobile-date-apply { display: none; }

/* Child Ages */
.searchbar-hotel .child-ages-container { padding-top: 12px; border-top: 1px solid var(--bg-light); margin-top: 12px; }
.searchbar-hotel .child-ages-container:empty { display: none; }
.searchbar-hotel .child-ages-header { margin-bottom: 12px; }
.searchbar-hotel .child-ages-header .label-text { font-size: 18px; font-weight: 500; line-height: 27px; }
.searchbar-hotel .child-ages-header .label-sub { font-size: 12px; font-weight: 400; color: var(--text-light); line-height: 18px; }
.searchbar-hotel .child-ages-selects { display: flex; flex-wrap: wrap; gap: 10px; }
.searchbar-hotel .child-age-select {
    flex: 0 0 calc(50% - 5px);
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid var(--btn-border-color);
    padding: 9px 14px;
    min-height: 56px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}
.searchbar-hotel .child-age-select label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    cursor: pointer;
    margin-bottom: 2px;
}
.searchbar-hotel .child-age-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
}
.searchbar-hotel .child-dropdown {
    display: none;
    position: absolute;
    border-radius: 8px;
    border: 1px solid var(--btn-border-color);
    background: var(--white);
    left: 0;
    width: 100%;
    bottom: 60px;
    max-height: 265px;
    overflow-y: auto;
    z-index: 10;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.searchbar-hotel .child-dropdown.active {
    display: flex;
}
.searchbar-hotel .child-dropdown a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 13px 16px;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    text-decoration: none;
}
.searchbar-hotel .child-dropdown a:last-child {
    border-bottom: none;
}
.searchbar-hotel .child-dropdown a:hover {
    background: var(--bg-light);
}
.searchbar-hotel .child-age-select.novalid {
    border-color: var(--error);
    background: var(--error-light);
}
.searchbar-hotel .child-age-select.novalid label,
.searchbar-hotel .child-age-select.novalid .child-age-value {
    color: var(--error);
}

/* Guest Input Validation */
.searchbar-hotel .input-wrapper.novalid {
    border-color: var(--error);
    background: var(--error-light);
}
.searchbar-hotel .input-wrapper.novalid .search-label,
.searchbar-hotel .input-wrapper.novalid .search-value {
    color: var(--error);
}

/* Date Picker Container */
.searchbar-hotel .date-picker-container {
    position: relative;
}

.searchbar-hotel .date-wrapper.focus {
    border-color: var(--secondary);
    background: var(--white);
}

.searchbar-hotel .date-input {
    position: relative;
}

.searchbar-hotel .date-input.has-value::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--success-bg);
    border-radius: 6px;
    z-index: 0;
}

.searchbar-hotel .date-input.has-value .search-label,
.searchbar-hotel .date-input.has-value .search-input {
    position: relative;
    z-index: 1;
}

/* Lightpick Custom Styling */
.searchbar-hotel .lightpick {
    position: absolute !important;
    top: 20px !important;
    left: -30px !important;
    border-radius: 12px !important;
    background: var(--white);
    box-shadow: 0 30px 74px 0 rgba(67, 12, 12, 0.14) !important;
    min-width: 370px;
    font-family: 'Inter', sans-serif !important;
    z-index: 1050;
    padding: 0;
}

.searchbar-hotel .lightpick .lightpick__inner {
    padding: 16px;
}

.searchbar-hotel .lightpick .lightpick__close-action {
    display: none;
}

.searchbar-hotel .lightpick .lightpick__months {
    background-color: var(--white) !important;
    grid-gap: 0;
}

.searchbar-hotel .lightpick .lightpick__month {
    width: 100% !important;
    padding: 4px;
}

.searchbar-hotel .lightpick .lightpick__month:last-child {
    display: none;
}

.searchbar-hotel .lightpick .lightpick__month-title-bar {
    margin-bottom: 12px;
    justify-content: center !important;
}

.searchbar-hotel .lightpick .lightpick__month-title {
    position: initial;
    z-index: 9 !important;
}

.searchbar-hotel .lightpick .lightpick__month-title select {
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
}

.searchbar-hotel .lightpick .lightpick__toolbar {
    position: absolute;
    width: 100%;
    left: 0;
    top: 16px;
    justify-content: space-between;
    padding: 0 16px;
}

.searchbar-hotel .lightpick .lightpick__toolbar button {
    background: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
}

.searchbar-hotel .lightpick .lightpick__toolbar button:hover {
    color: var(--primary);
}

.searchbar-hotel .lightpick .lightpick__day-of-the-week {
    font-size: 12px !important;
    font-style: normal;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--text-muted);
    height: 32px;
}

.searchbar-hotel .lightpick .lightpick__day {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    color: var(--text-dark);
    width: 54px;
    height: 43px;
    background-image: none !important;
}

.searchbar-hotel .lightpick .lightpick__day.is-today {
    color: var(--text-dark);
    background: none !important;
    font-weight: 700;
}

.searchbar-hotel .lightpick .lightpick__day.is-in-range {
    background: var(--error-bg) !important;
    color: var(--primary);
    border-radius: 0;
}

.searchbar-hotel .lightpick .lightpick__day:not(.is-disabled):not(.is-start-date):not(.is-end-date):hover {
    background: var(--error-bg) !important;
    color: var(--primary);
    border-radius: 0;
}

.searchbar-hotel .lightpick .lightpick__day.is-start-date {
    border-radius: 8px 0 0 8px !important;
    background: var(--primary) !important;
    color: var(--white) !important;
}

.searchbar-hotel .lightpick .lightpick__day.is-end-date {
    border-radius: 0 8px 8px 0 !important;
    background: var(--primary) !important;
    color: var(--white) !important;
}

.searchbar-hotel .lightpick .lightpick__day.is-start-date.is-end-date {
    border-radius: 8px !important;
}

.searchbar-hotel .lightpick .lightpick__tooltip {
    display: none !important;
}

/* Result Button */
.searchbar-hotel .lightpick .result-button {
    padding: 16px;
    border-top: 1px solid var(--btn-border-color);
}

.searchbar-hotel .lightpick .result-button a {
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    gap: 4px;
    padding: 12px 8px;
    text-decoration: none;
}

.searchbar-hotel .lightpick .result-button a:hover {
    opacity: 0.9;
}

.searchbar-hotel .lightpick .result-button a span {
    color: var(--primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 991px) {
    .searchbar-hotel .search-btn { min-height: 56px; }
}


@media (max-width: 767px) {
    /* Destination Suggestions - Full Screen Overlay */
    .searchbar-hotel .destination-suggestions {
        width: 100%;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        z-index: 999999;
        height: 100%;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-top: 0;
        bottom: 0;
        overflow-y: auto;
        border-radius: 0 !important;
    }

    .searchbar-hotel .destination-suggestions .search-box {
        display: block;
        padding: 16px;
    }

    .searchbar-hotel .destination-suggestions .search-box .inner {
        position: relative;
    }

    .searchbar-hotel .destination-suggestions .search-box .icon {
        position: absolute;
        display: flex;
        align-items: center;
        height: 100%;
        left: 10px;
        z-index: 9;
    }

    .searchbar-hotel .destination-suggestions .search-box .icon.close {
        right: 10px;
        left: auto;
        top: 0;
        cursor: pointer;
    }

    .searchbar-hotel .destination-suggestions .search-box .icon i {
        font-size: 18px;
        color: var(--text-placeholder);
    }

    .searchbar-hotel .destination-suggestions .search-box input {
        font-size: 14px;
        padding: 18px 12px;
        padding-left: 42px;
        padding-right: 40px;
        outline: none;
        border-radius: 8px;
        border: 1px solid var(--btn-border-color);
        background: var(--bg-light);
        width: 100%;
    }

    .searchbar-hotel .destination-suggestions .search-box input:focus {
        background: var(--white);
    }

    .searchbar-hotel .destination-suggestions .search-box input::placeholder {
        color: var(--text-light);
        font-weight: 400;
    }

    /* Guest Dropdown - Bottom Sheet */
    .searchbar-hotel .guest-dropdown {
        width: 100% !important;
        position: fixed !important;
        left: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        z-index: 999999 !important;
        height: auto !important;
        max-height: calc(100vh - 10px) !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        overflow-y: auto;
        border-radius: 20px 20px 0 0 !important;
        transform: none !important;
    }

    .searchbar-hotel .guest-dropdown .mobile-heading {
        display: flex;
        align-items: center;
        padding: 16px;
        justify-content: space-between;
        border-bottom: 1px solid var(--bg-light);
    }

    .searchbar-hotel .guest-dropdown .mobile-heading span {
        font-size: 22px;
        font-weight: 500;
    }

    .searchbar-hotel .guest-dropdown .mobile-heading .close-btn {
        font-size: 22px;
        color: var(--text-placeholder);
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
    }

    .searchbar-hotel .guest-dropdown .submit-button {
        display: block;
        margin-top: 20px;
        padding: 16px;
        padding-bottom: 33px;
    }

    .searchbar-hotel .guest-dropdown .submit-button span {
        font-size: 14px;
        font-weight: 700;
        color: var(--white);
        background: var(--secondary);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        min-height: 44px;
    }

    /* Date Picker Container - Full Screen on Mobile */
    .searchbar-hotel .date-picker-container {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: var(--white);
        z-index: 999999 !important;
        display: none;
        flex-direction: column;
    }

    .searchbar-hotel .date-picker-container.active {
        display: flex;
    }

    /* Mobile Date Header */
    .searchbar-hotel .date-picker-container .mobile-date-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        border-bottom: 1px solid var(--bg-light);
    }

    .searchbar-hotel .date-picker-container .mobile-date-header .reset-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: var(--error-hover);
        font-size: 14px;
    }

    .searchbar-hotel .date-picker-container .mobile-date-header .reset-btn span {
        font-size: 14px;
        font-weight: 500;
    }

    .searchbar-hotel .date-picker-container .mobile-date-header .close-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: var(--text-placeholder);
        font-size: 22px;
    }

    /* Mobile Date Display */
    .searchbar-hotel .date-picker-container .mobile-date-display {
        display: flex;
        align-items: center;
        padding: 0;
        gap: 0;
        background: var(--white);
        border: 1px solid var(--text-dark);
        border-radius: 8px;
        margin: 16px;
        position: relative;
    }

    .searchbar-hotel .date-picker-container .mobile-date-display .date-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 10px 12px;
    }

    .searchbar-hotel .date-picker-container .mobile-date-display .date-item.checkin-display {
        padding-right: 20px;
        border-right: 1px solid var(--text-dark);
    }

    .searchbar-hotel .date-picker-container .mobile-date-display .date-item.checkout-display {
        padding-left: 20px;
    }

    .searchbar-hotel .date-picker-container .mobile-date-display .date-item label {
        font-size: 10px;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 2px;
    }

    .searchbar-hotel .date-picker-container .mobile-date-display .date-item .date-value {
        font-size: 12px;
        font-weight: 500;
        color: var(--text-dark);
    }

    .searchbar-hotel .date-picker-container .mobile-date-display .date-item .date-value.placeholder {
        color: var(--text-placeholder);
    }

    .searchbar-hotel .date-picker-container .mobile-date-display .date-separator {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        background: var(--white);
        border: 1px solid var(--text-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-dark);
        font-size: 12px;
        z-index: 2;
    }


    /* Lightpick inside container */
    .searchbar-hotel .date-picker-container .lightpick {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        min-width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        flex: 1;
        overflow-y: auto;
    }

    .searchbar-hotel .date-picker-container .lightpick .lightpick__months {
        grid-template-columns: 1fr;
    }

    .searchbar-hotel .date-picker-container .lightpick .lightpick__month {
        width: 100% !important;
    }

    .searchbar-hotel .date-picker-container .lightpick .lightpick__month:last-child {
        display: block;
    }

    .searchbar-hotel .date-picker-container .lightpick .lightpick__days {
        grid-gap: 2px;
    }

    .searchbar-hotel .date-picker-container .lightpick .lightpick__month-title select {
        font-size: 14px;
    }

    .searchbar-hotel .date-picker-container .lightpick .lightpick__day-of-the-week {
        font-size: 10px !important;
        height: 28px;
    }

    .searchbar-hotel .date-picker-container .lightpick .lightpick__day {
        font-size: 12px;
        height: 38px;
        width: 44px;
    }

    .searchbar-hotel .date-picker-container .lightpick .result-button {
        display: none;
    }

    /* Mobile Apply Button */
    .searchbar-hotel .date-picker-container .mobile-date-apply {
        display: block;
        padding: 16px;
        background: var(--white);
        border-top: 1px solid var(--btn-border-color);
        order: 99;
        flex-shrink: 0;
    }

    .searchbar-hotel .date-picker-container .mobile-date-apply button {
        width: 100%;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--secondary);
        color: var(--white);
        gap: 4px;
        padding: 12px 8px;
        border: none;
    }

    .searchbar-hotel .date-picker-container .mobile-date-apply button span {
        color: var(--primary);
        font-size: 11px;
        font-weight: 700;
    }

    /* Date item with value - green background */
    .searchbar-hotel .date-picker-container .mobile-date-display .date-item.has-value {
        background: var(--success-bg);
        border-radius: 8px;
    }

    /* Child Age Selects */
    .searchbar-hotel .child-age-select {
        flex-direction: column;
    }

    .searchbar-hotel .child-age-select label {
        font-size: 11px;
        font-weight: 700;
        color: var(--text-muted);
    }

    /* Show Mobile Elements */
    .searchbar-hotel .destination-suggestions .search-box {
        display: block !important;
    }

    .searchbar-hotel .guest-dropdown .mobile-heading {
        display: flex !important;
    }

    .searchbar-hotel .guest-dropdown .submit-button {
        display: block !important;
    }

    /* Fix body scroll when overlay is open */
    body.mobile-overlay-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
    }

    /* Dark backdrop for guest bottom sheet */
    body.guest-overlay-open::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--overlay);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999998;
    }

    /* Hide backdrop when mobile-search panel is active (has its own overlay) */
    body.body-fixed.guest-overlay-open::after {
        display: none;
    }
}
