
/* =========================================
   1ST BOOKING.COM - GUEST SELECTOR
========================================= */

.guest-selector-field {
    position: relative;
    overflow: visible !important;
    z-index: 20;
}

.guest-selector {
    position: relative;
    width: 100%;
    min-width: 0;
}

.guest-selector-trigger {
    width: 100%;
    min-height: 65px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px;

    background: rgba(255,255,255,.96);
    color: #102d3a;

    text-align: left;
    cursor: pointer;
    font: inherit;

    transition: border-color .2s ease,
                box-shadow .2s ease;
}

.guest-selector-trigger:hover,
.guest-selector-trigger[aria-expanded="true"] {
    border-color: #c6a66b;
    box-shadow: 0 0 0 2px rgba(198,166,107,.15);
}

.guest-summary-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.guest-summary-text strong {
    font-size: 15px;
    font-weight: 600;
    color: #253246;
}

.guest-summary-text small {
    font-size: 13px;
    color: #647084;
}

.guest-chevron {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    fill: none;
    stroke: #102d3a;
    stroke-width: 2;
    transition: transform .2s ease;
}

.guest-selector-trigger[aria-expanded="true"] .guest-chevron {
    transform: rotate(180deg);
}


/* =========================================
   DROPDOWN PANEL
========================================= */

.guest-selector-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 320px;
    max-width: min(320px, calc(100vw - 16px));

    padding: 22px 24px 18px;

    background: #f5f5f5;
    color: #253246;

    border: 1px solid #e8edf3;
    border-radius: 13px;

    box-shadow: 0 15px 25px rgba(16, 47, 61, 0.2);

    z-index: 9999;
}

.guest-selector-panel[hidden] {
    display: none !important;
}


/* =========================================
   OPTION ROWS
========================================= */

.guest-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    min-height: 96px;
    padding: 16px 0;

    border-bottom: 1px solid #dce4ee;
}

.guest-option-label {
    font-size: 19px;
    font-weight: 500;
    color: #253246;
}


/* =========================================
   PLUS / MINUS COUNTERS
========================================= */

.guest-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.guest-counter strong {
    min-width: 30px;
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    color: #101828;
}

.guest-counter button {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 1px solid #dce4ee;
    border-radius: 7px;

    background: #ffffff;
    color: #101828;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;
    transition: background .2s ease,
                border-color .2s ease;
}

.guest-counter button:hover:not(:disabled) {
    border-color: #c6a66b;
    background: #fbf8f1;
}

.guest-counter button:disabled {
    opacity: .35;
    cursor: not-allowed;
}


/* =========================================
   CHILD AGE SELECTORS
========================================= */

.guest-ages-section {
    padding-top: 14px;
}

.guest-age-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.guest-age-row label {
    font-size: 16px;
    color: #596579;
}

.guest-age-row select {
    width: 175px;
    max-width: 58%;

    min-height: 48px;
    padding: 8px 12px;

    border: 1.5px solid #102d3a;
    border-radius: 8px;

    background: #ffffff;
    color: #253246;

    font-size: 16px;
    cursor: pointer;
}

.guest-age-row select:focus {
    outline: 2px solid rgba(198,166,107,.35);
    border-color: #c6a66b;
}


/* =========================================
   DONE BUTTON
========================================= */

.guest-panel-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

.guest-panel-footer button {
    min-width: 112px;
    min-height: 48px;

    padding: 10px 22px;

    border: none;
    border-radius: 9px;

    background: #102d3a;
    color: #ffffff;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;
    transition: background .2s ease,
                transform .2s ease;
}

.guest-panel-footer button:hover {
    background: #19495a;
    transform: translateY(-1px);
}


/* =========================================
   DATE INPUTS
========================================= */

.new-search-panel .new-date-input {
    width: 100%;
    min-width: 0;
    padding: 7px 4px;

    border: none;
    outline: none;

    background: transparent;
    color: #102d3a;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    color-scheme: light;
    accent-color: #c6a66b;
}

.new-search-panel .new-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .8;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .guest-selector-panel {
        position: fixed;

        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;

        width: auto;
        max-width: none;

        max-height: 85vh;
        overflow-y: auto;

        padding: 18px;
        border-radius: 14px;
    }

    .guest-option-row {
        min-height: 78px;
    }

    .guest-option-label {
        font-size: 17px;
    }

    .guest-counter {
        gap: 10px;
    }

    .guest-counter button {
        width: 42px;
        height: 42px;
    }

    .guest-age-row select {
        width: 160px;
        font-size: 14px;
    }

}


/* =========================================
   1ST BOOKING.COM - EXTRA COMPACT DESIGN
========================================= */

/* Main Search Panel */
.new-search-panel {
    width: min(1100px, calc(100vw - 40px));
    min-height: 100px;
    padding: 8px;
    border-radius: 18px;
    gap: 0;
}

/* Search Fields */
.new-search-panel > .new-search-field {
    min-height: 82px;
    padding: 8px 12px;
    gap: 9px;
}

/* Icons */
.new-search-panel .new-search-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
}

.new-search-panel .new-search-icon svg {
    width: 21px;
    height: 21px;
}

/* Field Labels */
.new-search-panel .new-field-content > small {
    font-size: 10px;
    letter-spacing: .8px;
}

/* Inputs */
.new-search-panel .new-field-content input[type="text"],
.new-search-panel .new-date-input {
    font-size: 12px;
    padding: 3px 0;
}

/* =====================================================
   1ST BOOKING.COM - GUEST SELECTOR
   Compact design + floating dropdown
===================================================== */

/* =====================================================
   1. HERO AND SEARCH PANEL LAYERS
===================================================== */

.new-hero {
    position: relative;
    z-index: 50;
    overflow: visible !important;
}

.new-hero-content {
    position: relative;
    z-index: 51;
    overflow: visible !important;
}

.new-search-panel {
    position: relative;
    z-index: 52;
    overflow: visible !important;
}

/* Sections behind the dropdown */
.new-trust-strip,
.new-section,
.new-featured,
.new-destinations {
    position: relative;
    z-index: 1;
}


/* =====================================================
   2. GUEST SELECTOR FIELD
===================================================== */

.guest-selector-field,
.guest-room-field {
    position: relative;
    z-index: 60;
    overflow: visible !important;
}

.guest-selector {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 61;
}


/* =====================================================
   3. GUEST SUMMARY BUTTON
===================================================== */

.guest-selector-trigger {
    width: 100%;
    min-height: 58px;
    padding: 7px 9px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;

    background: rgba(255,255,255,.96);
    color: #102d3a;

    text-align: left;
    cursor: pointer;
    font: inherit;

    transition: border-color .2s ease,
                box-shadow .2s ease;
}

.guest-selector-trigger:hover,
.guest-selector-trigger[aria-expanded="true"] {
    border-color: #c6a66b;
    box-shadow: 0 0 0 2px rgba(198,166,107,.15);
}

.guest-summary-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.guest-summary-text strong {
    font-size: 12px;
    font-weight: 600;
    color: #253246;
}

.guest-summary-text small {
    font-size: 10px;
    color: #647084;
}

.guest-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;

    fill: none;
    stroke: #102d3a;
    stroke-width: 2;

    transition: transform .2s ease;
}

.guest-selector-trigger[aria-expanded="true"] .guest-chevron {
    transform: rotate(180deg);
}


/* =====================================================
   4. FLOATING DROPDOWN PANEL
===================================================== */

.guest-selector-panel {
    position: absolute !important;

    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;

    width: 300px;
    max-width: min(300px, calc(100vw - 24px));

    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;

    padding: 12px 15px 10px;

    background: #ffffff;
    color: #253246;

    border: 1px solid #e8edf3;
    border-radius: 10px;

    box-shadow: 0 15px 30px rgba(16,47,61,.22);

    z-index: 99999 !important;
}

.guest-selector-panel[hidden] {
    display: none !important;
}


/* =====================================================
   5. ROOMS / ADULTS / CHILDREN ROWS
===================================================== */

.guest-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    min-height: 54px;
    padding: 7px 0;

    border-bottom: 1px solid #dce4ee;
}

.guest-option-label {
    font-size: 14px;
    font-weight: 500;
    color: #253246;
}


/* =====================================================
   6. PLUS / MINUS COUNTERS
===================================================== */

.guest-counter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.guest-counter strong {
    min-width: 19px;
    text-align: center;

    font-size: 14px;
    font-weight: 600;
    color: #101828;
}

.guest-counter button {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border: 1px solid #dce4ee;
    border-radius: 6px;

    background: #ffffff;
    color: #101828;

    font-size: 19px;
    line-height: 1;

    cursor: pointer;

    transition: background .2s ease,
                border-color .2s ease;
}

.guest-counter button:hover:not(:disabled) {
    border-color: #c6a66b;
    background: #fbf8f1;
}

.guest-counter button:disabled {
    opacity: .35;
    cursor: not-allowed;
}


/* =====================================================
   7. CHILD AGE SELECTORS
===================================================== */

.guest-ages-section {
    padding-top: 9px;
}

.guest-age-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    margin-bottom: 7px;
}

.guest-age-row label {
    font-size: 12px;
    color: #596579;
}

.guest-age-row select {
    width: 135px;
    max-width: 58%;

    min-height: 34px;
    padding: 5px 8px;

    border: 1px solid #102d3a;
    border-radius: 6px;

    background: #ffffff;
    color: #253246;

    font-size: 12px;
    cursor: pointer;
}

.guest-age-row select:focus {
    outline: 2px solid rgba(198,166,107,.35);
    border-color: #c6a66b;
}


/* =====================================================
   8. DONE BUTTON
===================================================== */

.guest-panel-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 5px;
}

.guest-panel-footer button {
    min-width: 75px;
    min-height: 34px;

    padding: 6px 13px;

    border: none;
    border-radius: 6px;

    background: #102d3a;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition: background .2s ease,
                transform .2s ease;
}

.guest-panel-footer button:hover {
    background: #19495a;
    transform: translateY(-1px);
}


/* =====================================================
   9. MOBILE RESPONSIVE
===================================================== */

@media (max-width: 600px) {

    .guest-selector-panel {
        position: fixed !important;

        top: auto !important;
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;

        width: auto;
        max-width: none;

        max-height: 80vh;
        overflow-y: auto;

        padding: 14px;
        border-radius: 10px;

        z-index: 99999 !important;
    }

    .guest-option-row {
        min-height: 54px;
    }

    .guest-option-label {
        font-size: 14px;
    }

    .guest-counter {
        gap: 9px;
    }

    .guest-counter button {
        width: 30px;
        height: 30px;
    }

    .guest-age-row select {
        width: 135px;
        font-size: 12px;
    }
}

/* Header সবসময় ভিডিওর উপরে থাকবে */
header,
.site-header,
.main-header,
.navbar {
    position: relative !important;
    z-index: 10000 !important;
}

/* Hero video section */
.new-hero {
    position: relative !important;
    z-index: 0 !important;
    isolation: isolate !important;
    overflow: visible !important;
}

/* Video থাকবে Hero section-এর পেছনে */
.new-hero video,
.new-hero .hero-video,
.new-hero video.background-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Hero content ভিডিওর সামনে */
.new-hero-content {
    position: relative !important;
    z-index: 2 !important;
}

/* Search panel সামনে থাকবে */
.new-search-panel {
    position: relative !important;
    z-index: 10 !important;
}
