:root {
    --orange-brand: #FF6249;
    --orange-strong: #DB5E4A;
    --orange-brand-light: #FFE7E3;

    --purple-light: #C3B7D0;
    --purple-mid: #783EA1;
    --purple-mid-hover: #653388;

    --purple-brand: #46295A;
    --purple-brand-hover: #341f42;


    --dark-strong: #383241;
    --dark-mid: #6A676D;
    --dark-pale: #B1AEB5;


    --info-red: #EE6161;

    --light-mid: #EDEDED;
    --light-strong: #DDDDDD;
    --light-pale: #FDFDFD;
    --third-color: #BD5074;
    --third-color-hover: #a34363;
    --brand-simi-white: #F2F8F9;
    --white-purple: #F7F1FA;
    --purple-pale: #EAE0F0;
    --gradient-3: linear-gradient(90deg, #783EA1 0%, #FF6249 100%);
    --gradient-3-reflected: linear-gradient(90deg, #FF6249 0%, #783EA1 100%);
    --color-blue-pale: #E6EFFA;
    --color-green-pale: #E8F9F0;
    --color-coral-pale: #FCEAE7;
    --color-beige-pale: #F7F5E3;
    --color-yellow-pale: #FEF8EC;
    --color-pink-pale: #F4EFEE;
    --color-indigo-pale: #EFEDFC;
    --color-purple-pale: #F2EAF7;

    --info-green: #15BF64;
    /*
     * Site default Arabic UI font is IBM Plex Sans Arabic (body/h1–h6).
     * Many components historically used var(--Readex-Pro-Brand) as that default; QA #157943
     * requires resetting those to IBM Plex. Keep --Readex-Pro-Brand for rare branded uses.
     */
    --IBM-Plex: 'IBM Plex Sans Arabic';
    --Readex-Pro-Brand: 'Readex Pro';
    --SF-PRO-DISPLAY: 'SF Pro Display';
    --Ping-AR-LT: 'Ping AR + LT';
    --custom-padding-container: 48px;

    --scrollbar-size: 6px;
    --scrollbar-radius: 9999px;
    --scrollbar-thumb: var(--dark-pale);
    --scrollbar-thumb-hover: var(--dark-mid);
    --scrollbar-track: var(--light-strong);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
 * Firefox only: standard scrollbar-width / scrollbar-color.
 * In Chromium, those properties override ::-webkit-scrollbar-* and bring back the
 * native OS scrollbar (incl. arrow buttons on Windows). WebKit rules below apply elsewhere.
 */
@supports (-moz-appearance: none) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    }
}

/* WebKit / Blink: thin bar, no stepper arrows, rounded track + thumb */
*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
    -webkit-appearance: none;
    appearance: none;
}

*::-webkit-scrollbar-button,
*::-webkit-scrollbar-button:vertical,
*::-webkit-scrollbar-button:horizontal,
*::-webkit-scrollbar-button:increment,
*::-webkit-scrollbar-button:decrement,
*::-webkit-scrollbar-button:start:decrement,
*::-webkit-scrollbar-button:start:increment,
*::-webkit-scrollbar-button:end:decrement,
*::-webkit-scrollbar-button:end:increment,
*::-webkit-scrollbar-button:single-button,
*::-webkit-scrollbar-button:single-button:vertical:start:decrement,
*::-webkit-scrollbar-button:single-button:vertical:end:increment,
*::-webkit-scrollbar-button:vertical:start:decrement,
*::-webkit-scrollbar-button:vertical:end:increment,
*::-webkit-scrollbar-button:horizontal:start:decrement,
*::-webkit-scrollbar-button:horizontal:end:increment {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-track-piece {
    background: var(--scrollbar-track);
    border-radius: var(--scrollbar-radius);
}

*::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: var(--scrollbar-radius);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1,
body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.main-page {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;
    background: linear-gradient(180deg, rgba(224, 222, 247, 0.4) 0%, rgba(224, 222, 247, 0) 50%);

    &.white-bg,
    &.Unit-after-Fav {
        background: white;
    }
}

/* Sticky guest footer when it sits outside <main> (sibling of main, not inside .main-page) */
body:has(> .footer#footer-app) {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

body:has(> .footer#footer-app)>main {
    flex: 1 1 auto;
}

body:has(> .footer#footer-app)>.footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Home: the footer app mounts before #home-app is shown; keep it below the fold so it isn't pushed down */
.guest-home-page main {
    min-height: 100dvh;
}

/* Avoid double 100dvh stretch once footer is outside .main-page */
#support-messages-app .main-page,
#support-center-app .main-page,
#report-issue-app .main-page {
    min-height: 0;
    grid-template-rows: auto;
}

.navbar {
    background: var(--purple-mid);
    padding-block: 26px;
    position: sticky;
    z-index: 12000;
    top: 0;

    .navbar-brand {
        height: 53px;
        max-width: 225px;
        margin: 0;
        padding-block: 0;

        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }

    .navbar-toggler:focus {
        border: none;
        box-shadow: none;
    }

    .navbar-toggler {
        width: 32px;
        height: 32px;
        padding: 6px;
        border-radius: 50%;

        @media (max-width:991px) {
            display: flex;
        }


        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        &[aria-expanded="true"] {
            .close {
                display: block;
            }

            .menu {
                display: none;
            }
        }

        &[aria-expanded="false"] {
            padding: 8px;

            .close {
                display: none;
            }

            .menu {
                display: block;
            }
        }
    }

    &:has(.profile-menu) .navbar-toggler {
        display: none;
    }

    .list-menu {
        flex: 1;
        margin-inline-start: auto;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-end;
        padding-inline-end: 0;
    }

    .header-search-wrap {
        position: relative;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .navbar-nav {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-block: 12px;
        margin-bottom: 0;
    }

    .navbar-nav .nav-item {
        display: flex;
        justify-content: center;
        gap: 8px;

        .btn {
            align-self: stretch;
        }
    }

    .navbar-collapse {
        flex: 0 1 auto;
    }

    .btn-nav {
        background: none;
        border: none;
        display: flex;
        transition: .3s all ease-in-out;

        img {
            width: 22px;
            height: 22px;
        }
    }

    .btn {
        border-radius: 6px;
    }

    @media (max-width:992px) {
        .navbar-brand {
            max-width: 150px;
        }
    }

    @media (max-width:558px) {
        .navbar-brand {
            max-width: 100px;
        }
    }

    @media (max-width:448px) {
        .navbar-brand {
            max-width: 80px;
            height: 40px;
            padding-block: 0;
        }
    }
}

/* Guest header: pin chrome while scrolling (same pattern as search; wrapper avoids sticky quirks). */
#header-app {
    position: sticky;
    top: 0;
    z-index: 12000;
}

#header-app .navbar {
    position: static;
}

@media (min-width: 779px) {
    #header-app .navbar {
        padding-block: 26px 25px;
    }
}

/* Language / country Select2: flag + text — gap works in LTR & RTL (me-* can collapse in Select2) */
.language-select2-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.language-select2-inner>img {
    flex-shrink: 0;
    width: 18px;
    height: auto;
    vertical-align: middle;
    border-radius: 0;
    object-fit: contain;
}

@media (max-width:991px) {
    .navbar {
        .navbar-collapse {
            flex-basis: 100%;
            flex-grow: 1;
        }
    }
}

@media (max-width:778px) {
    .navbar {
        padding-block: 8px
    }
}

@media (max-width:558px) {
    .navbar #language-select .btn-language-toggle {
        font-size: 12px;
        padding: 4px 8px;
    }
}

.navbar #language-select .btn-language-toggle {
    color: #FFF;
}

.list-menu .header-search-wrap:has(.wrapper-search.active) .search-btn,
.list-menu .header-search-wrap:has(.wrapper-search:focus-within) .search-btn {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.wrapper-search {
    display: flex;
    align-items: center;
    background: #FFF;
    border-radius: 8px;
    padding: 10px 0;
    height: 50px;
    opacity: 0.7;
    box-shadow: 0 2px 8px 0 rgba(32, 32, 54, 0.07);
    transition: max-width 0.35s cubic-bezier(.42, 0, .58, 1), opacity 0.3s cubic-bezier(.42, 0, .58, 1);
    max-width: 0;
    position: relative;

    input {
        border: none;
        outline: none;
        width: 100%;
        background: transparent;
        font-size: 1em;
        color: #20203C;
        padding: 0;
        margin-left: 4px;
    }

    .btn-nav {
        display: none;
    }

    &.active,
    &:focus-within {
        max-width: 200px;
        opacity: 1;
        padding: 10px 10px;

        .btn-nav {
            display: flex;
        }

    }
}

/* Guest navbar (#header-app): expanded search field + suggestions aligned to Figma (~344×100) */
#header-app .wrapper-search {
    align-items: stretch;
}

#header-app .wrapper-search .wrapper-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex: 1;
    min-width: 0;
}

#header-app .wrapper-search .wrapper-search-inner input[type="search"] {
    flex: 1;
    min-width: 0;
    margin-left: 0;
}

#header-app .wrapper-search.active,
#header-app .wrapper-search:focus-within {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    max-width: 344px;
    height: 50px;
    padding: 18px 20px;
    border-radius: 12px;
    box-sizing: border-box;
}

#header-app:has(.wrapper-search.active) #header-filter-slot .filter-box--header,
#header-app:has(.wrapper-search:focus-within) #header-filter-slot .filter-box--header {
    opacity: 0;
    max-height: 0;
}

/* Suggestions: must outrank [v-cloak] { display: none !important } in base_vue.html
   and stay above navbar siblings; parent #header-app already v-cloaks unmounted shell. */
#header-app .wrapper-search.has-suggestions {
    overflow: visible;
}

#header-app .wrapper-search.has-suggestions .search-suggestions {
    display: block !important;
    z-index: 13020;
}

#header-app .navbar:has(.wrapper-search.has-suggestions)>.container,
#header-app .navbar:has(.wrapper-search.has-suggestions) .list-menu {
    overflow: visible;
}

#header-app .wrapper-search .search-suggestions {
    /* Kill .search-suggestions { translate } shifts that clip off-viewport */
    translate: none;
    width: 344px;
    max-width: min(344px, calc(100dvw - 32px));
    padding: 20px 22px 22px;
    box-sizing: border-box;
    border-radius: 0 0 12px 12px;
}

#header-app .wrapper-search .search-suggestions .title-suggestions {
    padding-left: 12px;
    padding-right: 12px;
}

@media (max-width: 992px) {
    #header-app .wrapper-search .search-suggestions {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        translate: none;
        width: min(344px, calc(100dvw - 24px));
        max-width: calc(100dvw - 24px);
    }
}


#inline-datepicker-calendar .daterangepicker,
#favorites-inline-datepicker-calendar .daterangepicker {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;

}

#inline-datepicker-calendar .daterangepicker .drp-calendar,
#favorites-inline-datepicker-calendar .daterangepicker .drp-calendar {
    max-width: none !important;
    width: 282px;
    min-width: 282px;
}

#inline-datepicker-calendar .daterangepicker .calendar-table,
#favorites-inline-datepicker-calendar .daterangepicker .calendar-table {
    width: 282px !important;
    min-width: 282px !important;
}

#inline-datepicker-calendar .daterangepicker .calendar,
#favorites-inline-datepicker-calendar .daterangepicker .calendar {
    float: none !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

#inline-datepicker-calendar .daterangepicker .ranges,
#favorites-inline-datepicker-calendar .daterangepicker .ranges {
    display: none !important;
}

#inline-datepicker-calendar .daterangepicker:before,
#inline-datepicker-calendar .daterangepicker:after,
#inline-datepicker-calendar .daterangepicker.openscenter:before,
#inline-datepicker-calendar .daterangepicker.openscenter:after,
.filter-box #date-popup .daterangepicker:before,
.filter-box #date-popup .daterangepicker:after,
.filter-box #date-popup .daterangepicker.openscenter:before,
.filter-box #date-popup .daterangepicker.openscenter:after {
    display: none !important;
}

.filter-box #date-popup .calendar-controls .btn-confirm-range {
    direction: ltr;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--purple-mid);
}

.filter-box #date-popup #inline-datepicker-calendar .daterangepicker .calendar-table thead tr:nth-child(2) th {
    font-size: 11px;
    line-height: 1.15;
    white-space: nowrap;
}

.content-section {
    margin-block: 58px;

    .container {
        display: flex;
        flex-direction: column;
        gap: 30px;

        .view-more {
            width: fit-content;
            color: #FFF;
            align-self: center;
            font-weight: bold;
            /* .btn is display:flex; center label in the pill */
            justify-content: center;
            text-align: center;
        }
    }

    @media (max-width:778px) {
        margin-block: 26px;

    }
}

.box-donwload {
    margin-bottom: 58px;

    .container {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 60px;
        gap: 32px;
        position: relative;

        &::before {
            content: "";
            border-radius: 20px;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 80%;
            background: var(--gradient-3-reflected);
            z-index: -1;
        }

        .left-side {
            .image-phone {
                max-width: 261px;
                height: 309px;
                display: flex;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }
            }
        }

        .right-side {
            .title {
                font-family: inherit;
                font-weight: 700;
                font-size: clamp(18px, 2vw, 26px);
                color: var(--white-purple);
                margin-bottom: 7px;
            }

            .subtitle {
                font-family: inherit;
                font-size: 13px;
                font-weight: 500;
                color: var(--light-mid);
                margin-bottom: 24px;
            }

            .download-buttons {
                display: flex;
                align-items: center;
                gap: 9px;

                .btn {
                    padding: 6px 22px 6px 32px;
                    font-family: inherit;
                }

                .download-text {
                    gap: 0;

                    .small-text {
                        font-family: 'Readex Pro', sans-serif;
                        font-size: 6.11px;
                        font-weight: 500;
                        color: #f2f8f9a1;
                        opacity: 1;
                    }

                    span:not(.small-text) {
                        font-family: 'IBM Plex Sans Arabic', sans-serif;
                        font-size: 10.19px;
                        font-weight: 600;
                        color: #fff;
                    }
                }
            }
        }

        @media (max-width:778px) {
            flex-direction: column;
            align-items: center;
            gap: 16px;
            padding: 20px 20px 32px;

            &::before {
                width: calc(100% - 24px);
                left: 50%;
                translate: -50% 0;
            }

            .right-side {
                text-align: center;

                .subtitle {
                    margin-bottom: 16px;
                }

                .download-buttons {
                    justify-content: center;
                }
            }
        }

        @media (max-width:558px) {
            .left-side {
                .image-phone {
                    max-height: 240px;
                    display: flex;
                }
            }
        }

        @media (max-width:448px) {
            .right-side {
                width: 100%;
            }
        }

        @media (max-width:360px) {
            .right-side {
                .download-buttons {
                    flex-direction: column;
                    width: 100%;

                    .btn {
                        width: 100%;
                        max-width: 150px;
                    }
                }
            }
        }
    }
}

:has(.modal-open) #header-app,
:has(.modal.show) #header-app,
:has(.modal-open) .navbar,
:has(.modal.show) .navbar {
    z-index: 100;
}

/* Root cause of the header vanishing behind dialogs: the scroll lock sets overflow:hidden on
   <html> (components.css) AND on <body> (Bootstrap .modal-open). Together they turn <body> into
   its own scroll container, so the sticky header stops sticking and slides away with the page.
   Keep <body> a plain block while a unit-details dialog is open: <html> alone locks the scroll,
   and the header stays sticky exactly where it was. Start the dialog just below it. */
body.modal-open:has(#unit-details-app) {
    overflow: visible !important;
}

#unit-details-app > .modal.show {
    top: var(--unit-details-header-offset, 117px);
    height: calc(100dvh - var(--unit-details-header-offset, 117px));
}

/* Login/OTP/logout modals live inside #header-app. Keep its stacking context above
   the page's map layers when those header-owned modals are open. */
:has(#loginModal.show) #header-app,
:has(#otpModal.show) #header-app,
:has(#logoutConfirmModal.show) #header-app {
    z-index: 12000;
}

#otpModal,
#loginModal,
#createAccountEmailOtpModal,
#createAccountPhoneOtpModal,
#personalInfoEmailOtpModal,
#hostAccountEmailOtpModal,
#hostAccountPhoneOtpModal,
#personalInfoPhoneOtpModal,
#logoutConfirmModal {
    z-index: 100000;
    background: #0000004f;
    backdrop-filter: blur(2px);

    .modal-dialog {
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        padding-top: 150px;

        .container {
            display: flex;
            justify-content: flex-end;

            .modal-content {
                max-width: 596px;
                box-shadow: 2px -12.12px 48px -4.85px #66666621, 0 30px 30px 0 #5A5A5A1A;
                background: var(--light-pale);
                border-radius: 20px;

                .modal-header {
                    display: flex;
                    flex-direction: column !important;
                    align-items: stretch !important;
                    border: none;
                    padding: 32px 25px 24px;

                    .title-header {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 8px;

                        .modal-title {
                            font-weight: 600;
                            font-size: clamp(18px, 2.4vw, 29px);
                            color: var(--dark-strong);
                            font-family: inherit;
                        }

                        .btn-close {
                            width: 32px;
                            height: 32px;
                            padding: 0;
                            margin: 0;
                            flex-shrink: 0;
                            opacity: 1;
                            background-color: transparent;
                            background-size: 14px;
                            box-sizing: border-box;
                        }
                    }

                    .subtitle {
                        color: var(--dark-mid);
                        font-size: clamp(16px, 2.4vw, 19px);
                        font-weight: 700;
                        margin: 0;
                        max-width: 338px;
                    }

                }

                .modal-body {
                    padding: 0 25px 24px;
                    display: flex;
                    flex-direction: column;
                    gap: 12px;

                    .number-group {
                        display: flex;
                        align-items: center;
                        flex-direction: row;
                        gap: 0;
                        background: var(--light-pale);
                        border: 2px solid var(--light-strong);
                        border-radius: 60px;
                        overflow: hidden;
                        box-shadow: 0 4px 5px 0 #00000012;
                        margin-bottom: 0;

                        input {
                            border: none;
                            outline: none;
                            box-shadow: none;
                            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        }
                    }

                    .number-group.is-invalid,
                    .number-group:has(input.is-invalid) {
                        border-color: var(--bs-danger, #dc3545);
                    }

                    .invalid-feedback {
                        margin-top: 6px;
                        margin-bottom: 4px;
                        padding-inline-start: 16px;
                        font-size: 13px;
                    }

                    .number-group .select2-container {
                        min-width: 110px;
                        margin-inline-end: 8px;
                    }

                    .number-group .select2-selection--single {
                        min-height: 48px;
                        background: #fff;
                        border-radius: 8px;
                        display: flex;
                        align-items: center;
                        padding: 8px 12px;
                        box-shadow: none;
                        font-family: inherit;
                        font-size: 1rem;
                        transition: box-shadow 0.2s;
                        border: none;
                    }

                    .number-group .select2-selection--single:focus,
                    .number-group .select2-selection--single:active {
                        outline: none;
                    }

                    .number-group .select2-selection__rendered {
                        color: var(--dark-strong, #333);
                        padding-right: 0;
                        padding-left: 0;
                        font-weight: 500;
                        display: flex;
                        align-items: center;
                    }

                    .number-group .select2-selection__arrow {
                        height: 100%;
                        right: 8px;
                    }

                    .number-group .select2-container--default .select2-selection--single .select2-selection__arrow b {
                        border-color: var(--purple-brand, #783EA1) transparent transparent transparent;
                        border-width: 5px 4px 0 4px;
                    }

                    .number-group .select2-dropdown {
                        border-radius: 8px;
                        border: 1px solid var(--light-strong, #DDDDDD);
                    }

                    .number-group .select2-results__option--highlighted {
                        background: var(--purple-pale, #EAE0F0);
                        color: var(--purple-brand, #783EA1);
                    }

                    .btn-submit {
                        padding: 12px;
                        text-align: center;
                        justify-content: center;
                        color: #FFF;
                        font-size: 16px;
                        font-weight: 600;
                        font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        margin-top: 12px;
                    }

                    .btn-skip {
                        align-self: center;
                        width: fit-content;
                        background: none;
                        border: none;
                        font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        font-size: 15px;
                        font-weight: 600;
                        color: var(--dark-pale);
                        transition: .3s all ease-in-out;

                        &:hover {
                            color: var(--purple-mid-hover);
                        }
                    }

                    .country-code-static {
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        padding: 0 12px;
                        flex-shrink: 0;
                    }

                    .country-code-static .flag-circle {
                        width: 24px;
                        height: 24px;
                        border-radius: 50%;
                        object-fit: cover;
                    }

                    .country-code-static span {
                        font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        font-weight: 500;
                        color: var(--dark-strong);
                        font-size: 15px;
                        white-space: nowrap;
                        direction: ltr;
                        unicode-bidi: isolate;
                    }

                    .login-options {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 12px;
                        margin-block: 12px;

                        .form-group {
                            opacity: 0.5;
                            transition: .3s all ease-in-out;

                            input {
                                display: none;
                            }

                            &:hover,
                            &:has(input:checked) {
                                opacity: 1;
                            }

                            label {
                                width: 32px;
                                height: 32px;
                                display: flex;
                                border: 1px solid var(--dark-strong);
                                border-radius: 50%;
                                overflow: hidden;
                                cursor: pointer;
                                padding: 6px;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                }
                            }
                        }
                    }

                }
            }

        }
    }
}

#otpModal {
    .modal-dialog {
        .container {
            .modal-content {
                /* Figma Outing-Web node 1:6705 — ~598×389 */
                max-width: 598px;

                .modal-header {
                    gap: 8px;
                    padding: 32px 32px 16px;

                    .title-header {
                        .modal-title {
                            font-family: 'IBM Plex Sans Arabic', sans-serif;
                            font-size: 24px;
                            font-weight: 600;
                            line-height: 1.3;
                            color: var(--dark-strong);
                        }
                    }

                    .subtitle {
                        font-family: 'IBM Plex Sans Arabic', sans-serif;
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 1.5;
                        color: var(--dark-mid);
                        max-width: none;
                    }

                    #otp-phone-section {
                        display: flex;
                        align-items: center;
                        gap: 7px;


                        #otp-phone-number {
                            font-family: 'IBM Plex Sans Arabic', sans-serif;
                            font-size: 16px;
                            color: var(--dark-strong);
                            font-weight: 600;
                            line-height: 1.4;
                        }

                        #otp-change-number-btn {
                            background: var(--purple-pale);
                            padding: 6px 18px;
                            gap: 4px;
                            font-family: var(--SF-PRO-DISPLAY), sans-serif;
                            font-size: 11px;
                            font-weight: 600;
                            text-decoration: none;
                            color: var(--purple-mid);
                            border-radius: 999px;
                            white-space: nowrap;
                            line-height: 1.2;
                            display: inline-flex;
                            align-items: center;
                            flex-shrink: 0;

                            .icon {
                                width: 12px;
                                height: 12px;
                                display: flex;
                                flex-shrink: 0;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                }
                            }
                        }
                    }
                }

                .modal-body {
                    padding: 0 32px 28px;

                    #otpForm {
                        display: flex;
                        flex-direction: column;
                        gap: 20px;

                        .container-otp-box {
                            display: grid;
                            grid-template-columns: repeat(4, 1fr);
                            gap: 10px;

                            input {
                                font-size: 20px;
                                font-weight: 600;
                                color: var(--dark-strong);
                                font-family: 'IBM Plex Sans Arabic', sans-serif;
                                border-radius: 50px;
                                background: var(--light-pale);
                                border: 1px solid var(--light-strong);
                                box-shadow: 0 3px 4px 0 #00000012;
                                padding: 14px 8px;
                                min-height: 52px;

                                &::placeholder {
                                    color: var(--dark-pale);
                                    font-weight: 400;
                                }

                                &:focus {
                                    border: 2px solid var(--purple-mid);
                                    color: var(--dark-strong);
                                }
                            }
                        }

                        .btn-submit {
                            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                            font-size: 16px;
                            font-weight: 600;
                        }
                    }

                    .otp-resend {
                        display: flex;
                        justify-content: flex-end;
                        color: var(--dark-pale);
                        padding-top: 16px;
                        font-weight: 400;
                        font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        text-decoration: none;
                        font-size: 13px;
                        line-height: 1.4;

                        span {
                            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        }

                        #otp-resend-btn {
                            color: var(--purple-light);
                            background: none;
                            border: none;
                            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                            font-size: 13px;
                            font-weight: 600;
                            transition: .3s all ease-in-out;

                            &:hover {
                                color: var(--purple-brand-hover);
                            }
                        }
                    }

                    #otpForm:has(.container-otp-box input:placeholder-shown) .btn-submit {
                        background: var(--purple-pale) !important;
                        color: #783EA14D !important;
                        cursor: not-allowed;
                    }
                }
            }
        }
    }
}

/* Login / create-account / personal-info OTP — same .otp-resend markup as #otpModal but styles were scoped to #otpModal only */
#loginModal .modal-dialog .container .modal-content .modal-body .otp-resend,
#createAccountEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend,
#createAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend,
#personalInfoEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend,
#hostAccountEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend,
#hostAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend,
#personalInfoPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend {
    display: flex;
    justify-content: flex-end;
    color: var(--dark-pale);
    padding-top: 16px;
    font-weight: 400;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    text-decoration: none;
    font-size: 13px;
}

#loginModal .modal-dialog .container .modal-content .modal-body .otp-resend #email-otp-resend-btn,
#createAccountEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button,
#createAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button,
#personalInfoEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button,
#hostAccountEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button,
#hostAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button,
#personalInfoPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button {
    color: var(--purple-light);
    background: none;
    border: none;
    transition: .3s all ease-in-out;
    cursor: pointer;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
}

#loginModal .modal-dialog .container .modal-content .modal-body .otp-resend #email-otp-resend-btn:hover,
#createAccountEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button:hover,
#createAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button:hover,
#personalInfoEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button:hover,
#hostAccountEmailOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button:hover,
#hostAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button:hover,
#personalInfoPhoneOtpModal .modal-dialog .container .modal-content .modal-body .otp-resend button:hover {
    color: var(--purple-brand-hover);
}

/* Email / phone OTP header — match #otpModal (need .title-header to beat shared modal title rule) */
#loginModal .modal-dialog .container .modal-content .modal-header,
#createAccountEmailOtpModal .modal-dialog .container .modal-content .modal-header,
#createAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-header,
#personalInfoEmailOtpModal .modal-dialog .container .modal-content .modal-header,
#hostAccountEmailOtpModal .modal-dialog .container .modal-content .modal-header,
#hostAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-header,
#personalInfoPhoneOtpModal .modal-dialog .container .modal-content .modal-header {
    gap: 8px;
}

#loginModal .modal-dialog .container .modal-content .modal-header .subtitle,
#createAccountEmailOtpModal .modal-dialog .container .modal-content .modal-header .subtitle,
#createAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-header .subtitle,
#personalInfoEmailOtpModal .modal-dialog .container .modal-content .modal-header .subtitle,
#hostAccountEmailOtpModal .modal-dialog .container .modal-content .modal-header .subtitle,
#hostAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-header .subtitle,
#personalInfoPhoneOtpModal .modal-dialog .container .modal-content .modal-header .subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-mid);
}

#loginModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title,
#createAccountEmailOtpModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title,
#createAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title,
#personalInfoEmailOtpModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title,
#hostAccountEmailOtpModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title,
#hostAccountPhoneOtpModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title,
#personalInfoPhoneOtpModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--dark-strong);
}

.container-otp-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.container-otp-box input {
    font-size: 14px;
    color: var(--dark-pale);
    font-family: var(--IBM-Plex), sans-serif;
    border-radius: 50px;
    background: var(--light-pale);
    border: 1px solid var(--light-strong);
    box-shadow: 0 3px 4px 0 #00000012;
    padding: 12px 8px;
}

.container-otp-box input:focus {
    border: 2px solid var(--purple-mid);
}

#otpForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#otp-phone-section {
    display: flex;
    align-items: center;
    gap: 7px;
}

#otp-phone-number {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--dark-strong);
    font-weight: 600;
}

#otp-change-number-btn {
    background: var(--purple-pale);
    padding: 6px 18px;
    gap: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--purple-mid);
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
}

#otp-change-number-btn .icon {
    width: 12px;
    height: 12px;
    display: flex;
}

#otp-change-number-btn .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* create-account / personal-info email/phone OTP — same row as #otp-phone-section (unique classes, no duplicate IDs) */
#createAccountEmailOtpModal .otp-phone-section,
#createAccountPhoneOtpModal .otp-phone-section,
#personalInfoEmailOtpModal .otp-phone-section,
#hostAccountEmailOtpModal .otp-phone-section,
#hostAccountPhoneOtpModal .otp-phone-section,
#personalInfoPhoneOtpModal .otp-phone-section {
    display: flex;
    align-items: center;
    gap: 7px;
}

#createAccountEmailOtpModal .otp-phone-number,
#createAccountPhoneOtpModal .otp-phone-number,
#personalInfoEmailOtpModal .otp-phone-number,
#hostAccountEmailOtpModal .otp-phone-number,
#hostAccountPhoneOtpModal .otp-phone-number,
#personalInfoPhoneOtpModal .otp-phone-number {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--dark-strong);
    font-weight: 600;
    direction: ltr;
    unicode-bidi: isolate;
}

#createAccountEmailOtpModal .otp-phone-section .btn-link,
#createAccountPhoneOtpModal .otp-phone-section .btn-link,
#personalInfoEmailOtpModal .otp-phone-section .btn-link,
#hostAccountEmailOtpModal .otp-phone-section .btn-link,
#hostAccountPhoneOtpModal .otp-phone-section .btn-link,
#personalInfoPhoneOtpModal .otp-phone-section .btn-link {
    background: var(--purple-pale);
    padding: 6px 18px;
    gap: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--purple-mid);
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
}

#createAccountEmailOtpModal .otp-phone-section .btn-link .icon,
#createAccountPhoneOtpModal .otp-phone-section .btn-link .icon,
#personalInfoEmailOtpModal .otp-phone-section .btn-link .icon,
#hostAccountEmailOtpModal .otp-phone-section .btn-link .icon,
#hostAccountPhoneOtpModal .otp-phone-section .btn-link .icon,
#personalInfoPhoneOtpModal .otp-phone-section .btn-link .icon {
    width: 12px;
    height: 12px;
    display: flex;
}

#createAccountEmailOtpModal .otp-phone-section .btn-link .icon img,
#createAccountPhoneOtpModal .otp-phone-section .btn-link .icon img,
#personalInfoEmailOtpModal .otp-phone-section .btn-link .icon img,
#hostAccountEmailOtpModal .otp-phone-section .btn-link .icon img,
#hostAccountPhoneOtpModal .otp-phone-section .btn-link .icon img,
#personalInfoPhoneOtpModal .otp-phone-section .btn-link .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.country-code-static {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}

.country-code-static .flag-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.country-code-static span {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 500;
    color: var(--dark-strong);
    font-size: 1rem;
}

/*
 * Host chrome on create-account: fixed .host-header is ~112px (30+content+30),
 * but .host-main clears it with padding-block-start: 142px. The surplus shows as
 * a light-pale (#FDFDFD) strip above the create-account gradient. Match clearance
 * to header height only; keep .create-account's own padding-block for content.
 * Guest path uses sticky #header-app + .body-page (unchanged).
 */
#create-account-app>.host-main {
    padding-block-start: 112px;
}

@media (max-width: 1200px) {

    /* .host-header padding becomes 18px */
    #create-account-app>.host-main {
        padding-block-start: 88px;
    }
}

@media (max-width: 768px) {

    /* .host-header padding becomes 12px; beat host.css padding-top */
    #create-account-app>.host-main {
        padding-block-start: 72px;
        padding-top: 72px;
    }
}

.create-account {
    padding-block: 44px;
    background: linear-gradient(to bottom, #f4f2fd, #fefefe);

    .container {
        .title {
            font-size: clamp(20px, 4vw, 41px);
            color: var(--dark-strong);
            margin-bottom: 86px;
        }

        @media (max-width:778px) {
            .title {
                margin-bottom: 32px;
            }
        }

        .create-account-form {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 42px 78px;

            h5.title-group,
            label.title-group {
                font-weight: 700;
            }

            .groups-checkbox .group-checkbox {
                font-weight: 400;
                font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
            }

            .group-input input,
            .group-input input::placeholder,
            .group-input .select2-container--default .select2-selection--single .select2-selection__rendered,
            .group-input .select2-container--default .select2-selection--single .select2-selection__placeholder,
            .phone-input-wrapper .phone-input,
            .phone-input-wrapper .phone-input::placeholder {
                font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
            }

            .form-group.upload-image {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                flex-direction: row;
                gap: 12px;
                grid-column: span 2;

                .upload-image-content {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                }

                .upload-skip-btn {
                    width: fit-content;
                    flex-shrink: 0;
                    align-self: flex-start;
                    background: none;
                    border: none;
                    font-size: 16px;
                    font-weight: 600;
                    color: var(--dark-pale);
                    cursor: pointer;
                    padding: 0;
                    transition: .3s color ease-in-out;

                    &:hover {
                        color: var(--purple-mid-hover);
                    }
                }

                .info {
                    display: flex;
                    flex-direction: column;
                    gap: 6px;
                    width: 100%;
                    max-width: 265px;

                    .form-title {
                        margin: 0;
                        font-size: clamp(17px, 2vw, 19px);
                        font-weight: 600;
                        color: var(--dark-strong);
                    }

                    /* Icon at inline-start: must beat ar.css [dir=rtl] .btn { row-reverse !important }. */
                    .btn-white-purple {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: row !important;
                        gap: 4px;
                        font-family: var(--SF-PRO-DISPLAY);
                        font-weight: 600;
                        font-size: 11px;

                        .icon {
                            order: -1;
                            flex-shrink: 0;
                        }
                    }
                }
            }

            @media (max-width:992px) {
                gap: 24px;

            }

            @media (max-width:778px) {
                grid-template-columns: minmax(0, 1fr);
                width: 100%;
                max-width: 100%;
                min-width: 0;

                .form-group.upload-image,
                .form-group,
                .form-group-full {
                    grid-column: auto;
                    min-width: 0;
                    max-width: 100%;
                    order: 5;
                }

                .form-group.upload-image {
                    flex-wrap: wrap;
                    order: 0;
                }

                .account-type-group {
                    order: 1;
                }

                .form-group-gender {
                    order: 2;
                }

                .form-group-name {
                    order: 3;
                }

                .form-group-email {
                    order: 4;
                }
            }

            .form-group-full {
                grid-column: span 2;
            }

            .account-type-group .type-account {
                width: 100%;
                background: var(--light-mid);
                padding: 6px;
                border-radius: 8px;
                gap: 4px;

                .group-checkbox {
                    border-radius: 8px;
                    min-height: 48px;
                    font-weight: 500;
                    color: var(--dark-pale);

                    .icon {
                        width: 14px;
                        height: 14px;
                        flex-shrink: 0;
                        background-color: var(--dark-pale);
                        -webkit-mask-repeat: no-repeat;
                        mask-repeat: no-repeat;
                        -webkit-mask-position: center;
                        mask-position: center;
                        -webkit-mask-size: contain;
                        mask-size: contain;
                        filter: none;
                    }

                    .icon--person {
                        -webkit-mask-image: url('../images/User-Setting.svg?cors');
                        mask-image: url('../images/User-Setting.svg?cors');
                    }

                    .icon--facility {
                        -webkit-mask-image: url('../images/homes-rate.svg?cors');
                        mask-image: url('../images/homes-rate.svg?cors');
                    }

                    .icon img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        opacity: 0;
                    }

                    &:has(:checked) {
                        background: #fff;
                        border-color: transparent;
                        box-shadow: 0 4px 16px 0 #0000001a;
                        color: var(--purple-mid);

                        .icon {
                            background-color: var(--purple-mid);
                            filter: none;
                        }
                    }
                }
            }

            .form-group .subtitle {
                color: var(--dark-pale);
            }

            .group-input .icon.icon--dark-pale {
                width: 16px;
                height: 16px;
                flex-shrink: 0;
                background-color: var(--dark-pale);
                -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
                -webkit-mask-position: center;
                mask-position: center;
                -webkit-mask-size: contain;
                mask-size: contain;
            }

            .group-input .icon.icon--dark-pale.icon--facility {
                -webkit-mask-image: url('../images/homes-rate.svg?cors');
                mask-image: url('../images/homes-rate.svg?cors');
            }

            .group-input .icon.icon--dark-pale.icon--person {
                -webkit-mask-image: url('../images/User-personal-info.svg?cors');
                mask-image: url('../images/User-personal-info.svg?cors');
            }

            .group-input .icon.icon--dark-pale img {
                opacity: 0;
            }

            .field-error {
                font-size: 13px;
                color: red;
                font-weight: 600;
            }

            .required-asterisk {
                font-weight: 700;
            }

            .terms-label-text {
                cursor: pointer;
                user-select: none;
                font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                font-weight: 400;
                font-size: 14px;
            }

            .terms-link {
                color: inherit;
                text-decoration: underline;
                font-weight: 600;

                &:hover {
                    color: inherit;
                }
            }

            .custom-checkbox--error .checkmark {
                border-color: red;
            }

            /* Field shells: override global .group-input white / phone #fff */
            .group-input,
            .group-input.group-input--datepicker,
            .phone-input-wrapper {
                background: var(--light-pale);
            }

            .group-input input,
            .group-input textarea,
            .group-input .select2-container--default .select2-selection--single,
            .phone-input-wrapper .phone-input,
            .phone-input-wrapper .select2-container--default .select2-selection--single {
                background: transparent;
            }

            /* Email/phone Activate: same flex overlay pattern in .group-input and
               .phone-input-wrapper. */
            .email-input-row {
                width: 100%;
            }

            .email-input-row .group-input input {
                width: auto;
                flex: 1;
                min-width: 0;
            }

            .email-input-row .email-verify-btn,
            .phone-input-wrapper .email-verify-btn {
                flex-shrink: 0;
                margin-inline-start: auto;
                white-space: nowrap;
                padding: 7px 11px !important;
                font-size: 12px;
                color: var(--dark-strong);
                font-weight: 600;
                font-family: var(--SF-PRO-DISPLAY), sans-serif;
            }

            .email-input-row .email-verify-btn .icon,
            .phone-input-wrapper .email-verify-btn .icon {
                display: inline-flex;
                width: 14px;
                height: 14px;
            }

            .email-input-row .email-verify-btn .icon img,
            .phone-input-wrapper .email-verify-btn .icon img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

            .phone-input-wrapper {
                border: 1px solid var(--light-strong);
                border-radius: 8px;
                box-shadow: 0 3px 4px 0 #00000012;
                height: auto;
                min-height: 52px;
                padding: 16px 20px;
            }

            .phone-input-wrapper #create-account-wrapper-country-code {
                display: flex;
                align-items: center;
                direction: ltr;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-container {
                width: auto !important;
                min-width: fit-content !important;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-container--default .select2-selection--single {
                border: none !important;
                background: transparent !important;
                height: auto !important;
                padding: 0 !important;
                min-height: auto !important;
                position: relative;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-selection__rendered {
                padding: 0 !important;
                padding-inline-end: 18px !important;
                line-height: 23px !important;
                display: flex !important;
                align-items: center !important;
                gap: 6px !important;
                font-family: var(--IBM-Plex), sans-serif !important;
                font-weight: 400 !important;
                font-size: 14px !important;
                color: var(--dark-strong) !important;
                direction: ltr;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-selection__rendered .language-select2-inner {
                display: inline-flex !important;
                align-items: center !important;
                gap: 6px !important;
                flex-direction: row !important;
                direction: ltr;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-selection__rendered img {
                width: 14px !important;
                height: 14px !important;
                object-fit: cover !important;
                flex-shrink: 0 !important;
                order: 0;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .Country-Code-text {
                font-family: var(--IBM-Plex), sans-serif !important;
                font-weight: 400 !important;
                font-size: 14px !important;
                line-height: 23px !important;
                color: var(--dark-strong) !important;
                white-space: nowrap !important;
                unicode-bidi: bidi-override;
                direction: ltr;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-selection__arrow {
                inset-inline-end: 0 !important;
                inset-inline-start: auto !important;
                right: 0 !important;
                left: auto !important;
                height: 14px !important;
                width: 14px !important;
                top: 50% !important;
                transform: translateY(-50%) !important;
                margin-top: 0 !important;
                position: absolute !important;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-selection__arrow b {
                display: none !important;
            }

            .phone-input-wrapper #create-account-wrapper-country-code .select2-selection__arrow::after {
                content: '';
                display: block;
                width: 14px;
                height: 14px;
                background-image: url('../images/angle-down-small-gray.svg');
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                position: absolute;
                top: 0;
                left: 0;
                transform: rotate(-90deg);
            }

            /* Dropdown is parented to .phone-input-wrapper (not the code wrapper), so
               LTR/+ prefix rules must target .select2-dropdown directly. */
            .phone-input-wrapper .select2-dropdown .select2-results__option {
                /* Avoid filter-panel radio padding/checkmarks on dial-code lists */
                padding-inline-start: 12px !important;
                padding-inline-end: 12px !important;
                overflow: visible !important;
                display: flex;
                justify-content: center;
            }

            .phone-input-wrapper .select2-dropdown .select2-results__option--selectable::before {
                content: none !important;
                display: none !important;
            }

            .phone-input-wrapper .select2-dropdown .select2-results__option .Country-Code-text {
                unicode-bidi: bidi-override;
                direction: ltr;
                font-family: var(--IBM-Plex), sans-serif !important;
                font-weight: 400 !important;
                font-size: 14px !important;
                line-height: 23px !important;
                white-space: nowrap !important;
            }

            .phone-input-wrapper .select2-dropdown .select2-results__option .language-select2-inner {
                display: inline-flex !important;
                align-items: center !important;
                gap: 6px !important;
                flex-direction: row !important;
                direction: ltr;
            }

            .phone-input-wrapper .select2-dropdown .select2-results__option img {
                width: 18px !important;
                height: 18px !important;
                object-fit: cover !important;
                flex-shrink: 0 !important;
            }

            /* Country of residence (#country-live): icon↔text gap + full-width dropdown
               (same approach as .tech-support .group-input:has(.select2-container)). */
            .group-input:has(#country-live) {
                padding-inline: 0;
                gap: 0;

                >.icon {
                    position: absolute;
                    inset-inline-start: 20px;
                    top: 50%;
                    transform: translateY(-50%);
                    z-index: 2;
                    pointer-events: none;
                    width: 20px;
                    height: 20px;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                >.select2-container {
                    width: 100% !important;
                    /* 20px field pad + 20px icon + 10px gap */
                    padding-inline-start: 50px;
                    padding-inline-end: 20px;
                }

                .select2-container--default .select2-selection--single {
                    padding: 0 !important;
                    padding-inline-end: 24px !important;
                    border: none;
                    background: transparent;
                    height: auto;
                    min-height: 20px;
                    display: flex;
                    align-items: center;
                }

                /* Select2 prepends clear before the label — reorder to [text][×] (LTR & RTL) */
                .select2-container--default .select2-selection--single .select2-selection__rendered {
                    order: 1;
                    min-width: 0;
                    padding-inline: 0 !important;
                    line-height: normal;
                    color: var(--dark-strong);
                }

                .select2-container--default .select2-selection--single .select2-selection__clear {
                    order: 2;
                    flex-shrink: 0;
                    position: static;
                    float: none;
                    height: auto;
                    margin: 0;
                    padding: 0;
                    padding-inline-start: 8px;
                }

                .select2-container--default .select2-selection--single .select2-selection__placeholder {
                    color: var(--dark-pale);
                }

                .select2-container--default .select2-selection--single .select2-selection__arrow {
                    inset-inline-end: 0 !important;
                    inset-inline-start: auto !important;
                    right: auto !important;
                    left: auto !important;
                    height: 100%;
                }

                html[dir="rtl"] & .select2-container--default .select2-selection--single .select2-selection__arrow,
                [dir="rtl"] & .select2-container--default .select2-selection--single .select2-selection__arrow {
                    left: 8px !important;
                    right: auto !important;
                }

                html[dir="ltr"] & .select2-container--default .select2-selection--single .select2-selection__arrow,
                [dir="ltr"] & .select2-container--default .select2-selection--single .select2-selection__arrow {
                    right: 8px !important;
                    left: auto !important;
                }

                /* dropdownParent = .group-input → flush full-width menu */
                >.select2-dropdown,
                .select2-dropdown {
                    left: 0 !important;
                    width: 100% !important;
                    box-sizing: border-box;
                }
            }

            .create-account-submit-btn {
                width: 100%;
                max-width: 346px;
                height: 52px;
                min-height: 52px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 16px;
                border-radius: 999px;
                box-sizing: border-box;
                color: #fff;
                font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                font-weight: 600;
                font-size: 13px;
                cursor: pointer;

                &:disabled {
                    opacity: 0.7;
                    cursor: not-allowed;
                }
            }

        }
    }
}

/* Create-account mobile: force single column (nested @media + span-2 full rows
   were leaving an implicit 2nd track and overflowing the viewport). */
@media (max-width: 778px) {
    .create-account .container .create-account-form {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 24px;
    }

    .create-account .container .create-account-form>.form-group,
    .create-account .container .create-account-form>.form-group.upload-image,
    .create-account .container .create-account-form>.form-group-full {
        grid-column: 1 / -1;
        min-width: 0;
        max-width: 100%;
        order: 5;
    }

    .create-account .container .create-account-form .form-group.upload-image {
        flex-wrap: wrap;
        order: 0;
    }

    .create-account .container .create-account-form .account-type-group {
        order: 1;
    }

    .create-account .container .create-account-form .form-group-gender {
        order: 2;
    }

    .create-account .container .create-account-form .form-group-name {
        order: 3;
    }

    .create-account .container .create-account-form .form-group-email {
        order: 4;
    }

    .create-account .container .create-account-form .create-account-submit-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Host create-account only: one column inside the same card as account information. */
.create-account--host {
    background: transparent;
    padding: 54px 20px 40px;
}

.create-account--host .container {
    width: 100%;
    max-width: 840px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    box-shadow: 2px -10px 40px -4px #66666621;
    border-radius: 20px;
    padding: 72px 20px;
}

.create-account--host .container .title {
    width: 100%;
    max-width: 645px;
    margin: 0 0 32px;
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    line-height: 32.4px;
    color: var(--dark-strong);
    text-align: start;
}

.create-account .container .create-account-form.create-account-form--host {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 645px;
    gap: 25px;
}

.create-account .container .create-account-form.create-account-form--host .form-group.upload-image .upload-skip-btn {
    font-size: 13px;
}

.create-account .container .create-account-form.create-account-form--host>.form-group,
.create-account .container .create-account-form.create-account-form--host>.form-group-full {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
}

.create-account .container .create-account-form.create-account-form--host>.form-group.upload-image {
    order: 0;
}

.create-account .container .create-account-form.create-account-form--host>.account-type-group {
    order: 1;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-name {
    order: 2;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-phone {
    order: 3;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-email {
    order: 4;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-country {
    order: 5;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-birthdate {
    order: 6;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-gender {
    order: 7;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-terms {
    order: 8;
}

.create-account .container .create-account-form.create-account-form--host>.form-group-submit {
    order: 9;
}

.create-account .container .create-account-form.create-account-form--host .create-account-submit-btn {
    width: 100%;
    max-width: 100%;
}

.create-account .container .create-account-form.create-account-form--host .field-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
    flex-shrink: 0;
    color: var(--info-green, #15BF64);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
}

html[dir="rtl"] .create-account .container .create-account-form.create-account-form--host .field-verified {
    direction: rtl;
}

.create-account .container .create-account-form.create-account-form--host .field-verified-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--info-green, #15BF64);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.create-account .container .create-account-form.create-account-form--host .field-verified-icon img {
    width: 11px;
    height: 11px;
    object-fit: contain;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;

    label {
        font-size: 14px;
        font-weight: 600;
        color: var(--dark-strong);
    }

    .title-group {
        font-size: 14px;
        font-weight: 600;
        color: var(--dark-strong);
    }

    .subtitle {
        font-size: 11px;
        color: var(--dark-mid);
        font-weight: 500;
        font-family: var(--SF-PRO-DISPLAY), sans-serif;
    }

    .groups-checkbox {
        display: flex;
        align-items: center;
        gap: 14px;

        .group-checkbox {
            border-radius: 8px;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            color: var(--dark-pale);
            flex: 1;
            cursor: pointer;
            transition: .3s all ease-in-out;
            border: 1px solid transparent;
            outline: none;

            .icon {
                width: 14px;
                height: 14px;
                display: flex;
                filter: grayscale(1);
                transition: .3s all ease-in-out;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }
            }

            input {
                display: none;
            }

            &:has(:checked) {
                border: 1px solid var(--light-pale);
                box-shadow: 0 8px 28px 0 #00000024;
                color: var(--purple-mid);

                .icon {
                    filter: none;
                }
            }
        }

    }

    .group-input {
        display: flex;
        align-items: center;
        gap: 10px;
        background: white;
        border: 1px solid var(--light-strong);
        box-shadow: 0 3px 4px 0 #00000012;
        border-radius: 8px;
        padding: 16px 20px;
        font-size: 14px;
        position: relative;
        transition: .3s all ease-in-out;

        textarea,
        input {
            color: black;
            font-family: var(--IBM-Plex), sans-serif;
            border: none;
            outline: none;
            width: 100%;

            &::placeholder {
                color: var(--dark-pale);
                padding-bottom: 4px;
            }
        }

        &:has(:focus) {
            border-color: var(--dark-strong);
        }

        &.step-4-select-unit {
            text-wrap: nowrap;
            cursor: pointer;

            .form-select {
                border: none;
                outline: none;
                flex: 1 1 auto;
                min-width: 0;
                width: auto;
                background-color: transparent;
                /* Chevron at the END of the field (physical right in LTR) */
                background-position: right 0.5rem center;
                padding-inline: 0 1.75rem;
            }
        }

        textarea {
            resize: none;
            width: 100%;
            min-height: 50px;
        }

        .select2-container {
            width: 100% !important;
            line-height: normal;

            .select2-selection--single {
                border: none;
                height: 20px;

                display: flex;
                align-items: center;
            }

            .select2-selection--single .select2-selection__rendered {
                line-height: normal;
                padding-left: 0;

                color: var(--dark-pale);
                font-family: var(--IBM-Plex), sans-serif;
            }

            .select2-selection--single .select2-selection__arrow {
                height: 100%;
            }
        }

        .daterangepicker {
            z-index: 1200 !important;
            border-radius: 12px;
            box-shadow: 0 8px 32px 0 #0000000f;
            font-family: var(--IBM-Plex), Arial, sans-serif;
            background: var(--light-pale);
            border: 1px solid var(--light-strong);
            font-size: 15px;
            padding: 12px 18px;
        }

        .daterangepicker .calendar-table {
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
        }

        .daterangepicker td.active,
        .daterangepicker td.active:hover {
            background-color: var(--purple-brand);
            color: #fff;
        }

        .daterangepicker td.in-range {
            background-color: var(--purple-pale);
            color: var(--purple-brand);
        }

        .daterangepicker td.available:hover {
            background: var(--purple-mid-hover);
            color: #fff;
        }

        .daterangepicker.show-calendar .drp-buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .daterangepicker .drp-buttons .btn {
            border-radius: 8px;
            font-family: var(--IBM-Plex), Arial, sans-serif;
            font-size: 14px;
            padding: 5px 18px;
            margin-right: 6px;
            background: var(--purple-pale);
            color: var(--purple-mid);
            border: none;
            transition: background 0.3s;
        }

        .daterangepicker .drp-buttons .btn:hover {
            background: var(--purple-mid-hover);
            color: #FFF;
        }

        input {
            cursor: pointer;
            background: transparent;
        }

        &[type="time"] {
            text-align: center !important
        }

        input.custom-birthdate {
            background: none !important;
            caret-color: transparent;
        }


    }

    &:has(.custom-checkbox) {
        grid-column: span 2;
    }

    .custom-checkbox {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;

        input[type="checkbox"] {
            display: none;
        }

        .checkmark {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            border: 2px solid var(--dark-pale);
            border-radius: 5px;
            background: #fff;
            position: relative;
            flex-shrink: 0;
            transition: border-color 0.2s, background 0.2s;
            box-sizing: border-box;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        input[type="checkbox"]:checked+.checkmark {
            background: var(--purple-brand);
        }

        .checkmark .checkmark-icon {
            display: none;
            width: 80%;
            height: 80%;
            pointer-events: none;
            object-fit: fill;
        }

        input[type="checkbox"]:checked+.checkmark .checkmark-icon {
            display: block;
            filter: brightness(10);
        }
    }

    .btn:not(:has(.small-text)):not(:has(img))[type='submit'] {
        max-width: 346px;
        border-radius: 5px;
        justify-content: center;
        color: #FFF;
        padding-block: 15px;
        font-size: 13px;
        font-weight: 600;
    }

    @media (max-width:778px) {
        & .btn:not(:has(.small-text)):not(:has(img))[type='submit'] {
            width: 100%;
            max-width: 100%;
        }
    }
}

/* Choose-add-unit-type unit select: chevron at field END.
 * LTR → physical right; RTL → physical left. Top-level (not nested) so it always applies. */
.form-group .group-input.step-4-select-unit .form-select {
    background-position: right 0.5rem center;
}

html[dir="rtl"] .form-group .group-input.step-4-select-unit .form-select {
    background-position: left 0.5rem center;
}

nav {

    .container:has(.filter-box) {
        position: relative;

    }

    /* Map / legacy header rows on purple bar — light-on-dark. Not the white header filter card
       (#FDFDFD on white in .value-group was effectively invisible; see .filter-box--header). */
    .filter-box:not(.filter-box--header) {
        margin: 0;

        .container {
            .wrapper-filter {
                position: static;
                padding: 0;
                border-color: #956fb0;
                background: transparent;

                .form-group:not(:last-child)::before {
                    background-color: #956fb0 !important;
                }

                .form-group:has(.toggled) {
                    background: rgba(201, 149, 238, 0.2) !important;
                }

                .icon :is(.arrow-dropdown, img) {
                    filter: brightness(10);
                }

                .form-groups {
                    gap: 0;

                    .form-group {
                        h5 {
                            color: var(--purple-light);
                            font-size: 13px;
                        }

                        .value-group {
                            color: var(--light-pale);
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }

    .filter-box.filter-box--header {
        margin: 0;
    }
}



/*
 * Login button: .navbar-nav .nav-item .btn uses align-self: stretch so it matches the taller
 * "Join as host" control when both are shown. When the host CTA is hidden (navbar block only),
 * the login button would shrink to ~intrinsic height; keep parity with the home layout (header inside main).
 */
#header-app #login-to-account.btn-gradient-3 {
    min-height: 42px;
    padding-block: 10px;
    justify-content: center;
}

#header-app #login-to-account.btn-gradient-3 .download-text {
    gap: 0;
    justify-content: center;
    font-family: 'Readex Pro', sans-serif;
    font-size: 10.7px;
    font-weight: 600;
    color: #FDFDFD;
}

/* Header join-as-host + login CTAs — Figma Home-Purple-Header */
#header-app .navbar-nav .btn.btn-purple-brand .download-text {
    gap: 0;
}

#header-app .navbar-nav .btn.btn-purple-brand .download-text .small-text {
    font-family: 'Readex Pro', sans-serif;
    font-size: 6.11px;
    font-weight: 500;
    line-height: 1.2;
    color: #f2f8f9a1;
    opacity: 1;
}

#header-app .navbar-nav .btn.btn-purple-brand .download-text span:not(.small-text) {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 10.19px;
    font-weight: 600;
    color: #fff;
}

/* Teleported search filter: use horizontal space between logo and actions; inner columns grow equally */
#header-app .navbar:has(#header-filter-slot)>.container {
    min-width: 0;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding-left: clamp(0.5rem, 1.5vw, 1.125rem);
    padding-right: clamp(0.5rem, 1.5vw, 1.125rem);

    .navbar-brand {
        flex-shrink: 0;
    }
}

/* Search / browsing-history: below teleport breakpoint the slot is empty — don't reserve row space.
   On mobile, allow Bootstrap collapse to wrap to full width (same UX as home header). */
@media (max-width: 1227px) {
    #header-app .navbar:has(#header-filter-slot) #header-filter-slot {
        display: none;
    }
}

@media (max-width: 991px) {
    #header-app .navbar:has(#header-filter-slot)>.container {
        flex-wrap: wrap;
    }

    #header-app .navbar:has(#header-filter-slot)>.container>.navbar-collapse {
        width: 100%;
    }
}

/* Figma 1:4082: ~69px between logo and search box, ~41px between search box and actions
   (container gap is 12px) */
#header-app .navbar:has(#header-filter-slot) #header-filter-slot {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    margin-inline-start: clamp(12px, 4vw, 57px);
    margin-inline-end: clamp(0px, 2vw, 29px);
}

#header-app .navbar:has(#header-filter-slot) #header-filter-slot .filter-box--header {
    transition: .3s .35s max-height ease-in-out,
        .3s opacity ease-in-out;
}

#header-app .navbar:has(#header-filter-slot) .list-menu {
    flex: 0 0 auto;
}

#header-app #header-filter-slot .filter-box.filter-box--header,
#header-app #header-filter-slot .filter-box.filter-box--header>.container {
    width: 100%;
    max-width: none;
    min-width: 0;
}

/* Avoid doubling Bootstrap .container side padding; outer nav .container already insets the row */
#header-app #header-filter-slot .filter-box.filter-box--header>.container {
    padding-left: 0;
    padding-right: 0;
}

#header-app #header-filter-slot .filter-box.filter-box--header .wrapper-filter {
    width: 100%;
    min-width: 0;
    gap: 12px;
    padding-inline-end: 12px;
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

/* Navbar filter: light labels, white values, light dividers (on gradient header)
 * Figma Outing-Web node 1:4082 */
#header-app #header-filter-slot .filter-box.filter-box--header .form-group h5 {
    color: var(--purple-light);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

#header-app #header-filter-slot .filter-box.filter-box--header .form-group:has(.toggled) {
    background: rgba(255, 255, 255, 0.1) !important;
}

#header-app #header-filter-slot .filter-box.filter-box--header .form-groups .form-group:not(:last-child)::before {
    background: rgba(255, 255, 255, 0.28) !important;
    opacity: 1;
}

#header-app #header-filter-slot .filter-box.filter-box--header .toggle-menu {
    color: #fff;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

#header-app #header-filter-slot .filter-box.filter-box--header .toggle-menu .value-group {
    color: #fff;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

#header-app #header-filter-slot .filter-box.filter-box--header .toggle-menu .icon :is(.arrow-dropdown, .close-dropdown, img) {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

#header-app #header-filter-slot .filter-box.filter-box--header .form-groups {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

/* RTL: last segment (dates) is on the physical left; base .form-groups border-radius
   was rounding that outer edge — square it (internal dividers stay straight). */
#header-app #header-filter-slot .filter-box.filter-box--header .form-groups {
    border-radius: 0 !important;
}

#header-app #header-filter-slot .filter-box.filter-box--header .form-group {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    /* Equal L/R (RTL-safe); overrides base 21px / 40px split */
    padding: clamp(12px, 1.2vw, 16px) clamp(16px, 2vw, 32px);
    box-sizing: border-box;
}

#header-app #header-filter-slot .filter-box.filter-box--header .toggle-menu {
    width: 100%;
    min-width: 0;
}

#header-app #header-filter-slot .filter-box.filter-box--header .toggle-menu .value-group {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
}

#header-app #header-filter-slot .filter-box.filter-box--header .toggle-menu[data-menu="date"] .icon {
    align-self: center;
}

/* Teleported search filter: subtle hover on transparent bar */
#header-app #header-filter-slot .filter-box.filter-box--header .container .wrapper-filter:hover,
#header-app #header-filter-slot .filter-box.filter-box--header .container .wrapper-filter:focus-within {
    background: rgba(255, 255, 255, 0.06);
    background-image: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

:is(#search-app, #browsing-history-app) .content-section .header-content .title-content,
:is(#search-app, #browsing-history-app) .content-section .header-content .title-content2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--dark-strong, #383241);
}

/* Figma search results section title — user/QA #157943 */
:is(#search-app, #browsing-history-app) .content-section .header-content .title-content.title-content-search-section {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--dark-strong, #383241);
}

:is(#search-app, #browsing-history-app) .content-section .header-content .subtitle {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-mid, #6A676D);
}

/* ── Global: hide in-body filter bar on pages that use navbar filter ── */
@media (min-width:779px) {
    .body-page .filter-box:not(.showAlways) {
        display: none;
    }
}

@media (max-width:778px) {
    .body-page .filter-box:not(.showAlways) {
        position: sticky;
        top: 80px;
        z-index: 10;

        .wrapper-filter {
            background: white;
        }
    }

    .navbar .filter-box:not(.showAlways) {
        display: none;
    }
}

/* ── Search / browsing-history: in-body filter shown below 1228px ── */

/* Show the body filter up to 1227px (overrides global hide-above-779) */
@media (max-width:1227px) {
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header {
        display: block;
        position: sticky;
        top: 80px;
        z-index: 10;
        margin-block: 0;
        padding-block: 12px;
        overflow: visible;
    }

    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header .wrapper-filter {
        overflow: visible;
    }
}

/* Navbar filter: search = icon only, 24×24 control */
#header-app #header-filter-slot .filter-box.filter-box--header .filter-box-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border-radius: 6px;
    gap: 0;
    font-size: 0;
    line-height: 0;
    background: transparent;

    &.unactive {
        opacity: .4
    }

    &:hover {
        transform: scale(1.05);
        transition: transform 0.2s ease-in-out;
        cursor: pointer;
    }

    .icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            width: 24px;
            height: 24px;
            object-fit: contain;
            filter: brightness(10);
        }
    }

    .filter-box-submit-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

/*
 * Vacation type popup (home + header filter) — compact category chips (design-1).
 */
.filter-box #vacation-popup.popup-overlay {
    width: auto;
    max-width: 100%;
    inset-inline-start: 0;
    inset-inline-end: auto;
    align-items: flex-start;
    justify-content: flex-start;
}

.filter-box #vacation-popup>.popup-content {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    padding: 16px 20px 45px;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(90, 90, 90, 0.12);
    box-sizing: border-box;
}

#vacation-popup .popup-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

#vacation-popup .popup-header .arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#vacation-popup .vacation-popup-title {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--dark-mid);
    margin: 0 0 8px;
    line-height: 1.3;
}

#vacation-popup .card-checkbox-list.swiper {
    display: block;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    padding-top: 12px;
    overflow: hidden;
}

#vacation-popup .swiper-slide.card-checkbox {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
    height: 130px;
    box-sizing: border-box;
    flex-shrink: 0;
}

#vacation-popup .swiper-slide.card-checkbox .card-inner {
    width: 100%;
    height: 130px;
    min-height: 130px;
    min-width: 0;
    box-sizing: border-box;
    padding: 4px 4px 8px;
    border-radius: 10px;
    border: 1.5px solid #ede7fa;
    gap: 6px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

#vacation-popup .card-inner .icon {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 4px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

#vacation-popup .card-inner .icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

#vacation-popup .card-inner .title {
    flex-shrink: 0;
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
    color: var(--dark-strong, #383241);
}

#vacation-popup .card-inner .checkmark {
    position: absolute;
    top: -16px;
    inset-inline-start: -2px;
    inset-inline-end: auto;
    width: 29px;
    height: 29px;
    transform: none;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border-radius: 50%;
    z-index: 1;
}

#vacation-popup .card-inner .checkmark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#vacation-popup .card-checkbox input[type="checkbox"]:checked+.card-inner {
    border-color: var(--purple-mid);
    border-width: 1.5px;
}

#vacation-popup .card-checkbox input[type="checkbox"]:checked+.card-inner .checkmark {
    display: flex;
}

/* Icon well tints (match category palette) */
#vacation-popup .swiper-slide.card-checkbox:nth-child(1) .card-inner .icon {
    background-color: var(--color-blue-pale, #e8f2fc);
}

#vacation-popup .swiper-slide.card-checkbox:nth-child(2) .card-inner .icon {
    background-color: var(--color-green-pale, #e8f5e9);
}

#vacation-popup .swiper-slide.card-checkbox:nth-child(3) .card-inner .icon {
    background-color: var(--color-coral-pale, #fdecea);
}

#vacation-popup .swiper-slide.card-checkbox:nth-child(4) .card-inner .icon {
    background-color: var(--color-beige-pale, #f5f0e1);
}

#vacation-popup .swiper-slide.card-checkbox:nth-child(5) .card-inner .icon {
    background-color: var(--color-yellow-pale, #fff3e0);
}

#vacation-popup .swiper-slide.card-checkbox:nth-child(6) .card-inner .icon {
    background-color: var(--color-pink-pale, #f3ebe6);
}

#vacation-popup .swiper-slide.card-checkbox:nth-child(7) .card-inner .icon {
    background-color: var(--color-indigo-pale, #ede7f6);
}

#vacation-popup .swiper-slide.card-checkbox:nth-child(8) .card-inner .icon {
    background-color: var(--color-purple-pale, #f3e5f5);
}

/* Mobile: filter popups drop below filter bar (not viewport-centered) */
@media (max-width: 778px) {

    .filter-box .wrapper-filter>#vacation-popup.popup-overlay,
    .filter-box .wrapper-filter>#date-popup.popup-overlay,
    .filter-box .wrapper-filter>#direction-popup.popup-overlay,
    .guest-home-page .filter-box.showAlways .wrapper-filter>#vacation-popup.popup-overlay,
    .guest-home-page .filter-box.showAlways .wrapper-filter>#date-popup.popup-overlay,
    .guest-home-page .filter-box.showAlways .wrapper-filter>#direction-popup.popup-overlay,
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header .wrapper-filter>#vacation-popup.popup-overlay,
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header .wrapper-filter>#date-popup.popup-overlay,
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header .wrapper-filter>#direction-popup.popup-overlay {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        inset-inline-start: 0;
        inset-inline-end: 0;
        translate: none;
        width: 100%;
        max-width: 100%;
        padding: 0;
        z-index: 20001;
        align-items: flex-start;
        justify-content: flex-start;
        max-height: none;
        overflow: visible;
    }

    .filter-box .wrapper-filter>#date-popup.popup-overlay,
    .guest-home-page .filter-box.showAlways .wrapper-filter>#date-popup.popup-overlay,
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header .wrapper-filter>#date-popup.popup-overlay {
        align-items: center;
        justify-content: center;
    }

    .filter-box .wrapper-filter>#vacation-popup>.popup-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 16px 14px 14px;
        overflow-y: visible;
        max-height: none;
    }

    .filter-box .wrapper-filter>#direction-popup>.popup-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        max-height: min(70dvh, calc(100dvh - 200px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guest-home-page .filter-box.showAlways,
    .guest-home-page .filter-box.showAlways .container,
    .guest-home-page .filter-box.showAlways .wrapper-filter,
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header,
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header .wrapper-filter {
        overflow: visible;
    }
}

/* Direction popup: show selected destinations as removable chips */
#direction-popup .selected-destinations {
    margin-top: 12px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--light-mid, #f3f0f8);
    border: 1px solid rgba(90, 90, 90, 0.12);
}

#direction-popup .selected-destinations__title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-mid);
}

#direction-popup .selected-destinations__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#direction-popup .selected-destinations__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 8px 4px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--purple-pale, #e8dff5);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-mid, #333);
}

#direction-popup .selected-destinations__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

#direction-popup .selected-destinations__remove {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    line-height: 1;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--light-mid, #eee8f2);
    color: var(--dark-mid);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

#direction-popup .selected-destinations__remove:hover {
    background: var(--purple-mid);
    color: #fff;
}

/* In-body filter: show “Search” text + full button (navbar uses icon-only) */
:is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header .filter-box-submit-btn {
    display: flex;
    width: auto;
    min-width: 110px;
    height: auto;
    margin: 8px;
    padding: 14px 20px;
    font-size: inherit;
    line-height: normal;
    gap: 8px;
    border-radius: 8px;
    font-weight: 600;

    .icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;

        img {
            width: 18px;
            height: 18px;
            object-fit: contain;
            /* Keep native SVG color (#B2AEB5) so it matches unactive label text */
            filter: none;
        }
    }

    &:not(.unactive) .icon img {
        filter: brightness(10);
    }

    &.unactive {
        color: var(--dark-pale, #B2AEB5);
    }

    .filter-box-submit-label {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.1;
    }
}

/* Body-mode filter on search page: white card (same as home page filter).
   Keep search-only — browsing-history uses the shared .filter-box mobile wrap (2+1 fields). */
@media (max-width:1227px) {
    #search-app .body-page .filter-box.filter-box--header .wrapper-filter {
        /* Restore white-card style identical to home page .filter-box */
        background: #ffffff;
        box-shadow: 0px 30px 30px 0px #5A5A5A1A;
        border: 2px solid #ffffff;
        padding-inline-end: 0;
        gap: 0;

        .form-groups {
            /* Square the travel-dates column outer edge; keep rounding on inline-start (vacation). */
            border-start-start-radius: 8px;
            border-end-start-radius: 8px;
            border-start-end-radius: 0;
            border-end-end-radius: 0;

            .form-group {
                max-width: none;
                flex: 1 1 0;
                padding: 16px 20px;
                box-sizing: border-box;

                h5 {
                    font-family: var(--IBM-Plex), sans-serif;
                    font-size: 14px;
                    font-weight: 600;
                }

                .toggle-menu,
                .value-group {
                    max-width: none;
                    font-family: var(--IBM-Plex), sans-serif;
                    font-size: 14px;
                    font-weight: 700;
                }

                &:has(.toggle-menu[data-menu="date"]) {
                    border-radius: 0;
                }
            }
        }
    }

    /* Gradient border on hover — same as home */
    #search-app .body-page .filter-box.filter-box--header .wrapper-filter:hover,
    #search-app .body-page .filter-box.filter-box--header .wrapper-filter:focus-within {
        border-color: transparent;
        background-image: linear-gradient(#fff, #fff),
            linear-gradient(270deg, #ff6249 0%, #783ea1 100%);
        background-origin: border-box;
        background-clip: padding-box, border-box;
    }

    /* Mobile: filter popups anchored under the bar (see shared mobile block above) */
}

/* Hide the teleported filter from the navbar below 1228px
   (the body filter handles it; the teleport is disabled anyway via isMobile) */
@media (max-width:1227px) {
    body:has(:is(#search-app, #browsing-history-app)) .navbar .filter-box.filter-box--header {
        display: none;
    }
}

.select2-container {
    z-index: 1061;
}

.filter-search-box {
    /* Figma Outing-Web node 1:4083 — quick-filter chip bar */
    background: #46295A;

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding-block: 20px;
        min-width: 0;

        a,
        .filter-menu,
        .form-group-filter {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 13px 24px;
            border: 1px solid #795591;
            border-radius: 4px;
            font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.3;
            transition: .3s all ease-in-out;
            cursor: pointer;
            color: var(--light-pale);
            background-color: transparent;
        }

        .form-group-filter {
            position: relative;
        }

        .form-group-filter input {
            display: none;
        }

        .group-select {
            display: flex;
            align-items: center;
            gap: 6px;
            border: 1px solid #795591;
            border-radius: 4px;
            font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.3;
            transition: .3s all ease-in-out;
            cursor: pointer;
            color: var(--light-pale);
            background-color: transparent;
            position: relative;
            overflow: visible;
        }

        .group-select .icon {
            height: 18px;
            width: 18px;
            display: flex;
            position: absolute;
            top: 50%;
            inset-inline-start: 16px;
            inset-inline-end: auto;
            translate: 0 -50%;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        /* Calendar-reservation.svg is #46295A (header / my-bookings); filter chips use #FDFDFD icons */
        .group-select:has(#reservation-mode) .icon img {
            filter: brightness(0) invert(1);
        }

        :is(a, .filter-menu).active,
        :is(a, .filter-menu):hover,
        .form-group-filter:hover,
        .form-group-filter:has(input:checked),
        .group-select:hover,
        .group-select:has(.select2-selection--clearable),
        .group-select:has(.unit-type-filter--active) {
            background: var(--purple-mid);
            border-color: var(--purple-mid);
        }

        .form-group-filter:has(input:checked)::before {
            content: '×';
            position: absolute;
            top: -6px;
            inset-inline-end: -6px;
            width: 18px !important;
            height: 18px !important;
            background: var(--orange-brand);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            line-height: 100%;
        }

        /* Style for select2 inside filter-search-box */
        .select2-container {
            display: flex;
            width: 100% !important;
        }

        .select2-container--default .select2-selection--single {
            background: transparent;
            border: none;
            border-radius: 4px;
            display: flex;
            align-items: center;
            padding-block: 13px;
            padding-inline-start: 36px;
            padding-inline-end: 36px;
            color: var(--light-pale);
            font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
            font-size: 13px;
            font-weight: 600;
            transition: .3s all ease-in-out;
            cursor: pointer;
        }

        .select2-container--default .select2-selection--single .select2-selection__clear {
            height: auto;
            color: var(--light-pale);
            margin-inline: 4px;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: var(--light-pale);
            line-height: normal;
            padding-inline: 8px;
            font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
            font-size: 13px;
            font-weight: 600;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            top: 50%;
            transform: translateY(-50%);
            height: auto;
            inset-inline-end: 16px;
            inset-inline-start: auto;
        }


        /* Option list — Filter-Panel.png: white panel, inset dividers, radio checkmarks */
        .select2-dropdown {
            background: #fff;
            border: 1px solid rgba(69, 54, 88, 0.12);
            border-radius: 10px;
            overflow: hidden;
            color: var(--dark-mid);
            box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
            padding-block: 4px;
        }

        .select2-dropdown .select2-results__option {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            /* Reserve space for check circle at inline-start (RTL = right; LTR = left) */
            padding-inline-start: 44px;
            padding-inline-end: 16px;
            font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
            font-size: 13px;
            font-weight: 600;
            color: var(--dark-mid);
            background: transparent !important;
        }

        .select2-dropdown .select2-results__option:not(:last-child)::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 0;
            height: 1px;
            background: rgba(69, 54, 88, 0.1);
            pointer-events: none;
        }

        /* Radio circle at inline-start (Filter-Panel.png: start side of option row) */
        .select2-dropdown .select2-results__option--selectable::before {
            content: '';
            position: absolute;
            top: 50%;
            inset-inline-start: 16px;
            inset-inline-end: auto;
            width: 15px;
            height: 15px;
            margin-top: -7.5px;
            border-radius: 50%;
            border: 1px solid var(--dark-pale, #b0b0b0);
            background: #fff;
            box-sizing: border-box;
            pointer-events: none;
        }

        .select2-results__option--selectable {
            color: var(--dark-mid);
            font-weight: 600;
            background: transparent !important;
            transition: background 0.2s;
        }

        .select2-results__option--highlighted.select2-results__option--selectable {
            background: transparent !important;
            color: var(--dark-mid);
            font-weight: 600;
        }

        .select2-results__option--selected,
        .select2-results__option--selected.select2-results__option--highlighted {
            background: transparent !important;
            color: var(--dark-strong);
            font-weight: 600;
        }

        .select2-dropdown .select2-results__option--selected::before {
            border: none;
            /* SVG has ~10% inset padding in viewBox; scale so green disk matches hollow circle */
            background: url('../images/check-green.svg') center / 122% 122% no-repeat;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-top-color: var(--light-pale);
            border-bottom-color: var(--light-pale);
        }

        .select2-container--default .select2-selection--single .select2-selection__placeholder {
            color: var(--light-pale);
        }

        .group-select>.unit-type-filter {
            flex: 1 1 auto;
            align-self: stretch;
            min-width: 0;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            position: relative;
            box-sizing: border-box;
            padding-inline-start: 36px;
        }

        .unit-type-filter__toggle {
            flex: 1 1 auto;
            min-width: 0;
            width: auto;
            margin: 0;
            padding: 0;
            border: none;
            background: transparent;
            border-radius: 4px;
            display: flex;
            align-items: center;
            min-height: 46px;
            padding-block: 13px;
            padding-inline: 0 44px;
            color: var(--light-pale);
            font-size: 13px;
            font-weight: 600;
            line-height: 1.3;
            text-align: inherit;
            cursor: pointer;
            box-sizing: border-box;
            font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
        }

        .unit-type-filter__label {
            flex: 1 1 auto;
            min-width: 0;
            line-height: 1.3;
            padding-inline: 8px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: var(--light-pale);
            font-size: 13px;
            font-weight: 600;
            font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
        }

        .unit-type-filter__label.is-placeholder {
            color: var(--light-pale);
            opacity: 0.9;
        }

        .unit-type-filter__arrow {
            position: absolute;
            top: 50%;
            inset-inline-end: 16px;
            inset-inline-start: auto;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 5px 4px 0 4px;
            border-color: var(--light-pale) transparent transparent transparent;
            pointer-events: none;
        }

        .unit-type-filter.is-open .unit-type-filter__arrow {
            border-width: 0 4px 5px 4px;
            border-color: transparent transparent var(--light-pale) transparent;
        }

        .unit-type-filter__clear {
            position: absolute;
            top: -6px;
            inset-inline-end: -6px;
            inset-inline-start: auto;
            flex: none;
            width: 18px !important;
            height: 18px !important;
            padding: 0;
            box-sizing: border-box;
            border: none;
            border-radius: 50%;
            background: var(--orange-brand);
            color: #fff;
            font-size: 14px;
            font-weight: bold;
            line-height: 100%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .unit-type-filter__clear[hidden] {
            display: none !important;
        }

        .unit-type-filter__panel {
            position: absolute;
            top: calc(100% + 4px);
            inset-inline-start: 0;
            min-width: 100%;
            max-width: min(320px, 85vw);
            max-height: 260px;
            overflow-y: auto;
            z-index: 1065;
            background: #fff;
            border: 1px solid rgba(69, 54, 88, 0.12);
            border-radius: 0 0 10px 10px;
            padding: 8px 0;
            box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
        }

        .unit-type-filter__option {
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
            padding: 10px 16px;
            margin: 0;
            font-size: 11px;
            font-weight: 700;
            color: #757577;
            cursor: pointer;
            transition: background 0.15s;
        }

        .unit-type-filter__option:has(input:checked) {
            background: #f5f3f8;
            font-weight: 700;
            color: #1a1a1a;
        }

        .unit-type-filter__option:not(:last-child)::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 0;
            height: 1px;
            background: rgba(69, 54, 88, 0.1);
            pointer-events: none;
        }

        .unit-type-filter__option:hover {
            background: #f5f3f8;
        }

        .unit-type-filter__option input {
            flex: 0 0 auto;
            accent-color: var(--purple-mid);
        }

        .right-side,
        .left-side {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .left-side {
            flex: 1 1 0;
            min-width: 0;
        }

        .right-side {
            flex: 0 0 auto;
            gap: 12px;

            .filter-search-box__action {
                position: relative;
                overflow: visible;
                flex: 0 0 auto;
                display: flex;
            }

            .filter-search-box__clear {
                position: absolute;
                top: -6px;
                inset-inline-end: -6px;
                inset-inline-start: auto;
                width: 18px !important;
                height: 18px !important;
                padding: 0;
                box-sizing: border-box;
                border: none;
                border-radius: 50%;
                background: var(--orange-brand);
                color: #fff;
                font-size: 14px;
                font-weight: bold;
                line-height: 100%;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 3;
            }

            /* v-show loses to display:flex here; keep an explicit hide hook if needed */
            .filter-search-box__clear[hidden] {
                display: none !important;
            }

            /*
             * Map + Filter chips (guest search bar): matches design —
             * darker fill #291936; filter row is chevron + label + icon.
             */
            >.filter-search-box__action>.toggle-search-view,
            >.filter-search-box__action>.filter-menu,
            >a {
                background-color: #291936;
                border-color: #291936;
            }

            >.filter-search-box__action>.toggle-search-view:hover,
            >.filter-search-box__action>.toggle-search-view:focus-visible,
            >a:hover,
            >a:focus-visible,
            >.filter-search-box__action>.filter-menu:hover,
            >.filter-search-box__action>.filter-menu:focus-visible {
                background-color: #352548;
                border-color: #352548;
            }

            /* Match unit-type / filter selection color when map view is open */
            >.filter-search-box__action>.toggle-search-view.active,
            >.filter-search-box__action>.toggle-search-view.active:hover,
            >.filter-search-box__action>.toggle-search-view.active:focus-visible {
                background-color: var(--purple-mid);
                border-color: var(--purple-mid);
            }

            /* Filter chip: same filled active style as quick-filter checkbox tags */
            >.filter-search-box__action>.filter-menu.filter-menu--active,
            >.filter-search-box__action>.filter-menu.filter-menu--active:hover,
            >.filter-search-box__action>.filter-menu.filter-menu--active:focus-visible {
                background-color: var(--purple-mid);
                border-color: var(--purple-mid);
            }

            .toggle-search-view,
            a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 50px;
                min-width: 50px;
                height: 50px;
                min-height: 50px;
                padding: 0;
                border-radius: 4px;
                border: none;
                transition: .3s all ease-in-out;

                .icon {
                    height: 22px;
                    width: 22px;
                    display: flex;

                    img {
                        height: 100%;
                        width: 100%;
                        object-fit: fill;
                    }
                }

                &.is-loading,
                &:disabled {
                    cursor: wait;
                    opacity: 0.9;
                }
            }

            .filter-menu {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 8px;
                min-height: 50px;
                padding-inline: 14px 16px;
                padding-block: 0;
                border-radius: 4px;

                .filter-menu__icon.icon {
                    position: relative;
                    inset-inline: auto;
                    top: auto;
                    translate: none;
                    flex: 0 0 auto;
                    width: 18px;
                    height: 18px;
                    display: flex;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                .filter-menu__label {
                    flex: 1 1 auto;
                    min-width: 0;
                    text-align: center;
                    font-family: var(--IBM-Plex), 'IBM Plex Sans', sans-serif;
                    font-size: 14px;
                    font-weight: 700;
                }

                .filter-menu__chevron {
                    display: inline-flex;
                    flex: 0 0 auto;
                    align-items: center;
                    justify-content: center;
                    padding-inline-start: 8px;
                    color: inherit;
                    line-height: 0;

                    svg {
                        display: block;
                        transition: transform 0.2s ease;
                    }
                }

                &.filter-menu--open .filter-menu__chevron svg {
                    transform: rotate(180deg);
                }
            }
        }

        /* Prev/next sit beside the track; must stay above sliding chips */
        .swiper-btn-filter {
            position: relative;
            z-index: 4;
            flex: 0 0 30px;
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--light-pale);
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            box-shadow: 0 2px 8px rgba(69, 54, 88, 0.07);
            margin: 0;
            transition: background 0.2s, box-shadow 0.2s;
            cursor: pointer;

            &::after {
                font-size: 12px;
                color: var(--purple-brand);
            }
        }

        .swiper-button-prev.swiper-btn-filter {
            inset-inline-start: var(--swiper-navigation-sides-offset, 10px) !important;
            inset-inline-end: auto !important;
        }

        .swiper-button-next.swiper-btn-filter {
            inset-inline-end: var(--swiper-navigation-sides-offset, 10px) !important;
            inset-inline-start: auto !important;
        }

        .swiper-button-next.swiper-button-disabled,
        .swiper-button-prev.swiper-button-disabled {
            display: none;
        }

        .swiper-btn-filter img {
            width: 18px;
            height: 18px;
            object-fit: contain;
        }

        .left-side .swiper-btn-filter {
            align-self: center;
        }

        .swiper-slide-left-filter {
            flex: 1 1 0;
            min-width: 0;
            align-self: center;
            overflow-x: clip;
            overflow-y: visible;
        }

        @media (min-width: 559px) {
            .swiper-slide-left-filter {
                padding-inline-end: 5px;
                box-sizing: border-box;
            }
        }

        /* Last quick-filter chip: room for orange clear × (extends past inline-end) */
        .swiper-slide-left-filter .swiper-slide:last-child .form-group-filter:has(input:checked) {
            padding-inline-end: 22px;
        }

        .swiper-slide-left-filter button.select2-selection__clear {
            position: absolute;
            top: -6px;
            inset-inline-end: -6px;
            padding: 0;
            box-sizing: border-box;
            width: 18px !important;
            height: 18px !important;
            font-size: 14px !important;
            background: var(--orange-brand) !important;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 !important;
        }

        .swiper-slide-left-filter button.select2-selection__clear span {
            line-height: 100%
        }

        .swiper-slide-left-filter .group-select--unit-type .unit-type-filter__clear {
            position: absolute;
            top: -6px;
            inset-inline-end: -6px;
            inset-inline-start: auto;
            width: 18px !important;
            height: 18px !important;
            padding: 0;
            box-sizing: border-box;
            border: none;
            border-radius: 50%;
            background: var(--orange-brand);
            color: #fff;
            font-size: 14px;
            line-height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
        }

        .swiper-slide-left-filter .group-select--unit-type {
            overflow: visible;
        }

        .swiper-slide-left-filter .swiper-wrapper {
            align-items: stretch;
        }

        /* slidesPerView: 'auto' — slide width follows content; min-width avoids collapse / equal split */
        .swiper-slide-left-filter .swiper-slide {
            display: flex;
            flex: 0 0 auto;
            width: auto;
            min-width: fit-content;
            height: auto;
            align-self: stretch;
            box-sizing: border-box;
        }

        .swiper-slide-left-filter .swiper-slide .form-group-filter {
            width: auto;
            min-width: fit-content;
        }

        .swiper-slide-left-filter .swiper-slide .group-select {
            width: auto;
            flex: 1;
            align-items: stretch;
            align-self: stretch;
            position: relative;
            /* Horizontal movement belongs to the chip scroller, not a tap. */
            touch-action: pan-y;
        }

        .swiper-slide-left-filter .swiper-slide .group-select:has(.select2-container--open),
        .swiper-slide-left-filter .swiper-slide .group-select:has(.unit-type-filter.is-open) {
            z-index: 13;
        }

        .swiper-slide-left-filter .swiper-slide .group-select>.select2-container {
            flex: 1 1 auto;
            align-self: stretch;
            min-width: 0;
        }

        .swiper-slide-left-filter .swiper-slide .group-select .select2-selection--single {
            width: 100%;
            min-height: 46px;
            box-sizing: border-box;
        }

        .swiper-slide-left-filter .swiper-slide .group-select>.unit-type-filter {
            flex: 1 1 auto;
            align-self: stretch;
            min-width: 0;
        }

        .swiper-slide-left-filter .swiper-slide .group-select .unit-type-filter__toggle {
            min-height: 46px;
        }

        .swiper-slide-left-filter .swiper-slide:has(select),
        .swiper-slide-left-filter .swiper-slide:has(.unit-type-filter) {
            touch-action: pan-y;
        }

        .swiper-slide-left-filter .swiper-slide .form-group-filter>span {
            white-space: nowrap;
            font-family: 'SF Pro Display', sans-serif;
            font-weight: 600;
        }



        /* Remove default Swiper absolute positioning for arrows within filter swiper */
        .swiper-slide-left-filter .swiper-button-next,
        .swiper-slide-left-filter .swiper-button-prev {
            position: static !important;
            margin: 0 4px;
        }

        /* Hide default pseudo elements on Swiper arrows if present */
        .swiper-slide-left-filter .swiper-button-next::after,
        .swiper-slide-left-filter .swiper-button-prev::after {
            display: none;
        }

        @media (max-width:558px) {
            .container {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
                gap: 8px;
            }

            .left-side {
                width: 100%;
                max-width: 100%;
            }

            .right-side {
                justify-content: flex-end;
            }
        }
    }

    /*
     * Unit-type panel is sometimes moved to a direct child of this <form> (fixed positioning; see searchResults.js).
     * Styles above live under .container, so they do not apply there — mirror dropdown + option rules here.
     */
    &>.unit-type-filter__panel {
        box-sizing: border-box;
        min-width: 0;
        max-width: min(320px, 85vw);
        max-height: 260px;
        overflow-y: auto;
        z-index: 1065;
        background: #fff;
        border: 1px solid rgba(69, 54, 88, 0.12);
        border-radius: 0 0 10px 10px;
        padding: 8px 0;
        box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
        margin: 0;
    }

    &>.unit-type-filter__panel .unit-type-filter__option {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
        padding: 10px 16px;
        margin: 0;
        font-size: 11px;
        font-weight: 700;
        color: #757577;
        cursor: pointer;
        transition: background 0.15s;
    }

    &>.unit-type-filter__panel .unit-type-filter__option:has(input:checked) {
        background: #f5f3f8;
        font-weight: 700;
        color: #1a1a1a;
    }

    &>.unit-type-filter__panel .unit-type-filter__option:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 0;
        height: 1px;
        background: rgba(69, 54, 88, 0.1);
        pointer-events: none;
    }

    &>.unit-type-filter__panel .unit-type-filter__option:hover {
        background: #f5f3f8;
    }

    &>.unit-type-filter__panel .unit-type-filter__option input {
        flex: 0 0 auto;
        accent-color: var(--purple-mid);
    }

    /*
     * Rating / price Select2 use dropdownParent: this <form>, so dropdowns are direct children of the form
     * (sibling of .container), not inside .container — mirror unit-type-filter__panel + in-container select2 rules.
     * Filter-Panel.png: radio checkmarks, inset dividers, no purple/row fill highlight.
     */
    &>.select2-container .select2-dropdown,
    &>.select2-dropdown {
        box-sizing: border-box;
        background: #fff;
        border: 1px solid rgba(69, 54, 88, 0.12);
        border-radius: 10px;
        padding: 4px 0;
        box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
        overflow: hidden;
        max-height: 260px;
        z-index: 1070;
        color: var(--dark-mid);
    }

    & .select2-dropdown .select2-results>.select2-results__options {
        max-height: min(244px, 70vh);
        overflow-y: auto;
    }

    & .select2-dropdown .select2-results__option {
        position: relative;
        padding: 12px 16px;
        padding-inline-start: 44px;
        padding-inline-end: 16px;
        margin: 0;
        font-family: var(--IBM-Plex), sans-serif;
        font-size: 12px;
        font-weight: 600;
        color: var(--dark-mid);
        background: transparent !important;
        transition: color 0.15s;
    }

    & .select2-dropdown .select2-results__option:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 0;
        height: 1px;
        background: rgba(69, 54, 88, 0.1);
        pointer-events: none;
    }

    & .select2-dropdown .select2-results__option--selectable::before {
        content: '';
        position: absolute;
        top: 50%;
        inset-inline-start: 16px;
        inset-inline-end: auto;
        width: 15px;
        height: 15px;
        margin-top: -7.5px;
        border-radius: 50%;
        border: 1px solid var(--dark-pale, #b0b0b0);
        background: #fff;
        box-sizing: border-box;
        pointer-events: none;
    }

    & .select2-dropdown .select2-results__option--selectable {
        color: var(--dark-mid);
        font-weight: 600;
        background: transparent !important;
    }

    & .select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
        background: transparent !important;
        color: var(--dark-mid);
        font-weight: 600;
    }

    & .select2-dropdown .select2-results__option--selected {
        background: transparent !important;
        color: var(--dark-strong);
        font-weight: 600;
    }

    & .select2-dropdown .select2-results__option--selected.select2-results__option--highlighted {
        background: transparent !important;
        color: var(--dark-strong);
        font-weight: 600;
    }

    & .select2-dropdown .select2-results__option--selected::before {
        border: none;
        background: url('../images/check-green.svg') center / 125% 125% no-repeat;
    }

    /*
     * ar.css sets RTL select2 arrow/padding with physical left/right !important — overrides break this strip.
     */
    html[dir="rtl"] & .container .select2-container--default .select2-selection--single {
        padding-block: 13px !important;
        padding-inline-start: 36px !important;
        padding-inline-end: 36px !important;
    }

    html[dir="rtl"] & .container .group-select>.unit-type-filter {
        padding-inline-start: 36px !important;
    }

    html[dir="rtl"] & .container .unit-type-filter__toggle {
        padding-block: 13px !important;
        padding-inline-start: 0 !important;
        padding-inline-end: 44px !important;
    }

    html[dir="rtl"] & .container .select2-container--default .select2-selection--single .select2-selection__arrow {
        left: auto !important;
        right: auto !important;
        inset-inline-end: 16px !important;
        inset-inline-start: auto !important;
    }

    /*
     * Quick-filter Select2 dropdown is appended under .filter-search-box (dropdownParent),
     * not inside .container, so option text size must target the form scope.
     */
    .select2-results__option {
        font-family: var(--IBM-Plex), sans-serif;
        font-size: 12px;
        font-weight: 600;
    }
}

/*
 * Filter drawer “Sort by” (#sort-by-price): same radio-list styling as .filter-search-box quick filters.
 * Dropdown is often under <body>; :has(#select2-sort-by-price-results) targets this menu reliably.
 */
.select2-dropdown:has(#select2-sort-by-price-results) {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(69, 54, 88, 0.12);
    border-radius: 10px;
    padding: 4px 0;
    box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
    overflow: hidden;
    color: var(--dark-mid);
    z-index: 1071;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results>.select2-results__options {
    max-height: min(244px, 70vh);
    overflow-y: auto;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option {
    position: relative;
    padding: 12px 16px;
    padding-inline-start: 44px;
    padding-inline-end: 16px;
    margin: 0;
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-mid);
    background: transparent !important;
    transition: color 0.15s;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 1px;
    background: rgba(69, 54, 88, 0.1);
    pointer-events: none;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--selectable::before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-start: 16px;
    inset-inline-end: auto;
    width: 15px;
    height: 15px;
    margin-top: -7.5px;
    border-radius: 50%;
    border: 1px solid var(--dark-pale, #b0b0b0);
    background: #fff;
    box-sizing: border-box;
    pointer-events: none;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--selectable {
    color: var(--dark-mid);
    font-weight: 600;
    background: transparent !important;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--highlighted.select2-results__option--selectable {
    background: transparent !important;
    color: var(--dark-mid);
    font-weight: 600;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--selected {
    background: transparent !important;
    color: var(--dark-strong);
    font-weight: 600;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--selected.select2-results__option--highlighted {
    background: transparent !important;
    color: var(--dark-strong);
    font-weight: 600;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--selected::before {
    border: none;
    background: url('../images/check-green.svg') center / 122% 122% no-repeat;
}

/* Filter drawer: panel starts below navbar + quick-filter bar (--outing-filter-drawer-top from JS). */
.filter-modal.modal {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;

}

.filter-modal.modal .modal-dialog {
    position: relative;
}

.filter-modal.modal .header-filter {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    background: #fff;
    padding: 10px 12px;
    z-index: 2;
    width: 100%;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(90, 90, 90, 0.08);
}

.filter-modal.modal .btn-close {
    background: none;
    height: 32px;
    width: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0);
    z-index: 1;
}

html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-left: 20px;
    margin-right: 0;
}

html[dir="rtl"] .filter-modal .modal-body .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-left: 0;
    padding-inline-start: 8px;
}

.filter-modal.modal .btn-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* EN/LTR: filter drawer docks to physical RIGHT (AR override pins LEFT).
 * Must beat `.filter-modal.modal .modal-dialog { position: relative }` or left/right won't pin. */
.filter-modal.modal .modal-dialog.modal-dialog-slide-left,
.filter-modal .modal-dialog-slide-left {
    position: fixed !important;
    left: auto;
    right: 0;
    margin: 0;
    top: var(--outing-filter-drawer-top, 0);
    bottom: 0;
    height: auto;
    max-width: 400px;
    width: 100vw;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.filter-modal.show .modal-dialog-slide-left,
.filter-modal.show .modal-dialog,
.filter-modal.modal.show .modal-dialog.modal-dialog-slide-left {
    transform: translateX(0) !important;
    pointer-events: auto;
    top: var(--outing-filter-drawer-top, 0);
}

.filter-modal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: calc(100dvh - var(--outing-filter-drawer-top, 0px));
    border-radius: 0;
    border: none;
    /* Right-edge drawer (EN): shadow falls toward page content (to the left). */
    box-shadow:
        -4px 0 24px rgba(70, 41, 90, 0.14),
        -2px 0 12px rgba(0, 0, 0, 0.08);
}

.filter-modal .modal-content.filter-extra-attributes-open {
    overflow: hidden;
}

/* Teleported header filter: anchor vacation/direction/date popups below the filter bar */
@media (min-width: 1228px) {
    #header-app #header-filter-slot .filter-box.filter-box--header.filter-box--popup-open .popup-overlay {
        position: fixed;
        top: var(--outing-header-filter-popup-top, calc(100% + 20px));
        left: 50%;
        translate: -50% 0;
        width: min(calc(100vw - 48px), 1140px);
        max-width: 1140px;
        max-height: var(--outing-header-filter-popup-max-height, calc(100dvh - 160px));
        overflow: visible;
        align-items: flex-start;
        align-content: flex-start;
        z-index: 13001;
    }

    #header-app #header-filter-slot .filter-box.filter-box--header.filter-box--popup-open .popup-overlay>.popup-content {
        max-height: var(--outing-header-filter-popup-max-height, calc(100dvh - 160px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Vacation popup: shrink to slides when they fit; max-width enables swiper scroll */
    #header-app #header-filter-slot .filter-box.filter-box--header.filter-box--popup-open #vacation-popup {
        left: auto;
        translate: none;
        width: auto;
        max-width: min(calc(100vw - 48px), 1140px);
        inset-inline-start: max(24px, calc((100vw - min(calc(100vw - 48px), 1140px)) / 2));
    }

    #header-app #header-filter-slot .filter-box.filter-box--header.filter-box--popup-open #vacation-popup>.popup-content {
        overflow-y: visible;
        max-height: none;
    }
}

@media (min-width: 779px) and (max-width: 1227px) {
    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header.filter-box--popup-open .popup-overlay {
        position: absolute;
        top: calc(100% + 20px);
        left: 0;
        translate: none;
        width: 100%;
        max-width: none;
        max-height: var(--outing-header-filter-popup-max-height, calc(100dvh - 200px));
        overflow: visible;
        align-items: flex-start;
        align-content: flex-start;
        z-index: 13001;
    }

    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header.filter-box--popup-open .popup-overlay>.popup-content {
        max-height: var(--outing-header-filter-popup-max-height, calc(100dvh - 200px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header.filter-box--popup-open #vacation-popup {
        width: auto;
        max-width: 100%;
        left: auto;
        translate: none;
        inset-inline-start: 0;
    }

    :is(#search-app, #browsing-history-app) .body-page .filter-box.filter-box--header.filter-box--popup-open #vacation-popup>.popup-content {
        overflow-y: visible;
        max-height: none;
    }
}

/* Keep daterangepicker top-center pointer visible inside filter date popups */
.filter-box.filter-box--header.filter-box--popup-open #date-popup .popup-content.date-popup-content {
    padding-top: 36px;
}

.filter-box.filter-box--header.filter-box--popup-open #date-popup .date-popup-calendar-section .calendar-range-container {
    overflow: visible;
}

.filter-box.filter-box--header.filter-box--popup-open #date-popup .daterangepicker.openscenter::before,
.filter-box.filter-box--header.filter-box--popup-open #date-popup .daterangepicker.openscenter::after {
    display: none !important;
}

@media (max-width: 400px) {
    .modal-dialog-slide-left {
        max-width: 100vw;
    }
}

/* EN right-edge drawer: features sheet slides in from the right. */
.filter-extra-attributes-panel {
    position: absolute;
    inset: 0;
    z-index: 20;
    width: 100%;
    max-width: none;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
    background: #fff;
}

.filter-extra-attributes-panel.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

.filter-extra-attributes-panel__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    background: #fff;
    box-shadow: none;
}

.filter-extra-attributes-panel .header-filter {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 12px;
    z-index: 2;
    width: 100%;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(90, 90, 90, 0.08);
}

.filter-extra-attributes-panel__title {
    width: 100%;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-strong, #1a1a1a);
}

.filter-extra-attributes-panel .btn-close {
    background: none;
    height: 32px;
    width: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0);
}

.filter-extra-attributes-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 33px;
    overflow-y: auto;
}

.filter-extra-attributes-panel__footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 16px 33px 24px;
    border-top: 1px solid rgba(90, 90, 90, 0.08);
    background: #fff;
}

.filter-extra-attributes-panel__footer .btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.filter-extra-attributes-panel__footer .btn-purple-mid {
    color: #fff;
}

.filter-extra-attributes-panel__footer .btn-purple-mid:disabled {
    color: #fff;
}

.filter-extra-attributes-panel__footer .btn-light {
    border: 1px solid var(--dark-pale, #cfcfcf);
}

.filter-extra-attributes-panel__footer .btn:disabled {
    opacity: 0.45;
    pointer-events: none;
}

.filter-extra-attributes-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding-block: 24px;
    border-bottom: 1px solid var(--light-mid);
}

.filter-extra-attributes-form .form-group:first-child {
    padding-top: 0;
}

.filter-extra-attributes-form .form-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-extra-attributes-form .form-label {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 14px;
    margin: 0;
    color: var(--dark-strong);
    font-weight: 700;
}

.filter-extra-attributes-form .list-checkbox-2 {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
}

.filter-extra-attributes-form .list-checkbox-2 .group-checkbox {
    background: none;
    border: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    padding: 4px 0;
    cursor: pointer;
}

.filter-extra-attributes-form .list-checkbox-2 .group-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.filter-extra-attributes-form .list-checkbox-2 .group-checkbox .checkmark {
    width: 19.44px;
    height: 19.44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--dark-pale);
    flex-shrink: 0;
}

.filter-extra-attributes-form .list-checkbox-2 .group-checkbox input:checked+.checkmark img {
    opacity: 1;
}

.filter-extra-attributes-form .list-checkbox-2 .group-checkbox .checkmark img {
    width: 130%;
    height: 130%;
    opacity: 0;
    transition: opacity 0.2s;
    object-fit: cover;
}

.filter-extra-attributes-form .list-checkbox-2 .group-checkbox>span {
    flex: 1;
    min-width: 0;
    text-align: start;
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-strong);
}

.filter-extra-attributes-panel__loading,
.filter-extra-attributes-panel__empty {
    padding: 0;
    color: var(--dark-mid);
    font-size: 14px;
}

.filter-modal {
    .modal-dialog {
        max-width: 450px;
    }

    .modal-header {
        border: none;
    }

    .modal-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 24px 33px;
        max-height: none;
        overflow-y: auto;

        &::-webkit-scrollbar {
            width: 4px;
        }


        &::-webkit-scrollbar-thumb {
            border-radius: 1px;
        }


        /* Handle select2 style inside filter modal */
        .select2-container {
            width: 100% !important;
            max-width: 100%;
            z-index: 1061;
        }

        .select2-container--default .select2-selection--single {
            border: 1px solid var(--light-strong);
            height: 42px;
            display: flex;
            align-items: center;
            position: relative;
            padding: 0 14px;
            padding-inline-end: 36px;
            font-size: 14px;
            color: #46295a;
            border-radius: 7px;
            box-shadow: 0 3px 4px 0 #00000012;

        }

        /* Select2 puts the clear button before the label in DOM — reorder to [text][×] + arrow pinned inline-end */
        .select2-container--default .select2-selection--single .select2-selection__rendered {
            order: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #46295a;
            line-height: 42px;
            padding: 0;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            position: absolute;
            top: 50%;
            inset-inline-end: 8px;
            inset-inline-start: auto;
            height: auto;
            width: 20px;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }

        .select2-container--default .select2-selection--single .select2-selection__clear {
            order: 2;
            flex-shrink: 0;
            position: static;
            height: auto;
            margin: 0;
            padding: 0;
            padding-inline-start: 8px;
        }

        .select2-dropdown {
            background: #fff;
            border: 1px solid rgba(69, 54, 88, 0.12);
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
            z-index: 1071;
        }

        .select2-results__option {
            padding: 12px 16px;
            padding-inline-start: 44px;
            padding-inline-end: 16px;
            color: var(--dark-mid);
            font-family: var(--IBM-Plex), sans-serif;
            font-size: 12px;
            font-weight: 600;
            border-radius: 0;
            background: transparent !important;
            transition: color 0.2s;
        }

        /* Adjust select2 for RTL — keep logical padding/arrow (inline-end = physical left in RTL) */
        [dir="rtl"] .select2-container--default .select2-selection--single {
            padding-inline-start: 14px;
            padding-inline-end: 36px;
        }

        [dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow {
            inset-inline-end: 8px;
            inset-inline-start: auto;
            right: auto;
            left: auto;
        }

        .filter-form-modal {
            .form-group {
                display: flex;
                flex-direction: column;
                gap: 14px;
                margin: 0;
                padding-block: 24px;
                border-bottom: 1px solid var(--light-mid);

                &:first-child {
                    padding-top: 0;
                }

                >.form-label,
                >label.form-label,
                .property-type-panel .header>.form-label {
                    font-family: 'IBM Plex Sans Arabic', sans-serif;
                    font-size: 15.36px;
                    margin: 0;
                    color: var(--dark-mid);
                    font-weight: 700;
                }

                label {
                    margin: 0;
                    color: var(--dark-strong);
                }

                /* Figma 1:5991 quantity chooser pills (rooms/beds/halls/bathrooms) */
                .filter-qty-pills {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    gap: 8px;
                }

                .filter-qty-pill {
                    appearance: none;
                    -webkit-appearance: none;
                    box-sizing: border-box;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    min-width: 40px;
                    height: 28px;
                    padding: 0 14px;
                    margin: 0;
                    border: 1.5px solid transparent;
                    border-radius: 999px;
                    background: var(--light-mid);
                    color: var(--dark-strong);
                    font-family: var(--SF-PRO-DISPLAY), 'IBM Plex Sans Arabic', sans-serif;
                    font-size: 10.56px;
                    font-weight: 600;
                    line-height: 1;
                    cursor: pointer;
                    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
                }

                .filter-qty-pill--any {
                    min-width: auto;
                    padding-inline: 16px;
                    background: #fff;
                    border-color: transparent;
                    color: var(--dark-strong);
                    font-family: 'IBM Plex Sans Arabic', sans-serif;
                }

                .filter-qty-pill.is-selected {
                    background: #fff;
                    border-color: var(--purple-mid);
                    color: var(--purple-mid);
                }

                .filter-qty-pill:focus-visible {
                    outline: 2px solid var(--purple-mid);
                    outline-offset: 2px;
                }

                .price-range-box {
                    display: flex;
                    flex-direction: column;
                    padding-bottom: 8px;

                    #price-range-chart {
                        width: 100%;
                        max-height: 58px;
                        height: 58px;
                        border-radius: 8px;
                        box-shadow: 0 1px 4px rgba(70, 41, 90, 0.05);
                        display: block;
                        margin: 0;

                    }

                    [slider] {
                        position: relative;
                        height: 2px;
                        border-radius: 10px;
                        text-align: left;
                        margin: 0 0 5px;

                        &>div {
                            position: absolute;
                            left: 0;
                            right: 0;
                            height: 2px;
                        }

                        &>div>[inverse-left] {
                            position: absolute;
                            left: 0;
                            height: 2px;
                            border-radius: 10px;
                            background-color: var(--dark-strong);
                            margin: 0;
                        }

                        &>div>[inverse-right] {
                            position: absolute;
                            right: 0;
                            height: 2px;
                            border-radius: 10px;
                            background-color: var(--dark-strong);
                            margin: 0;
                        }

                        &>div>[range] {
                            position: absolute;
                            left: 0;
                            height: 2px;
                            border-radius: 14px;
                            background-color: var(--purple-mid);
                        }

                        &>div>[thumb] {
                            position: absolute;
                            top: -7px;
                            z-index: 2;
                            height: 20px;
                            width: 20px;
                            text-align: left;
                            margin-left: -11px;
                            cursor: pointer;
                            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
                            background-color: #FFF;
                            border-radius: 50%;
                            outline: none;
                            border: 1px solid var(--dark-strong);
                        }

                        &>input[type=range] {
                            position: absolute;
                            pointer-events: none;
                            -webkit-appearance: none;
                            z-index: 3;
                            height: 14px;
                            top: -2px;
                            width: 100%;
                            -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
                            filter: alpha(opacity=0);
                            opacity: 0;
                        }

                        &>input[type=range]::-ms-track {
                            -webkit-appearance: none;
                            background: transparent;
                            color: transparent;
                        }

                        &>input[type=range]::-moz-range-track {
                            appearance: none;
                            background: transparent;
                            color: transparent;
                        }

                        &>input[type=range]:focus::-webkit-slider-runnable-track {
                            background: transparent;
                            border: transparent;
                        }

                        &>input[type=range]:focus {
                            outline: none;
                        }

                        &>input[type=range]::-ms-thumb {
                            pointer-events: all;
                            width: 28px;
                            height: 28px;
                            border-radius: 0;
                            border: 0 none;
                            background: red;
                        }

                        &>input[type=range]::-moz-range-thumb {
                            pointer-events: all;
                            width: 28px;
                            height: 28px;
                            border-radius: 0;
                            border: 0 none;
                            background: red;
                        }

                        &>input[type=range]::-webkit-slider-thumb {
                            pointer-events: all;
                            width: 28px;
                            height: 28px;
                            border-radius: 0;
                            border: 0 none;
                            background: red;
                            -webkit-appearance: none;
                        }

                        &>input[type=range]::-ms-fill-lower {
                            background: transparent;
                            border: 0 none;
                        }

                        &>input[type=range]::-ms-fill-upper {
                            background: transparent;
                            border: 0 none;
                        }

                        &>input[type=range]::-ms-tooltip {
                            display: none;
                        }

                        &>div>[sign] {
                            opacity: 0;
                            position: absolute;
                            margin-left: -22px;
                            top: -39px;
                            z-index: 3;
                            background-color: var(--purple-mid);
                            color: #fff;
                            min-width: 28px;
                            width: fit-content;
                            height: 28px;
                            border-radius: 28px;
                            -webkit-border-radius: 28px;
                            align-items: center;
                            -webkit-justify-content: center;
                            justify-content: center;
                            text-align: center;
                            padding-inline: 8px;
                        }

                        &>div>[sign]:after {
                            position: absolute;
                            content: '';
                            left: 0;
                            border-radius: 16px;
                            top: 19px;
                            border-left: 14px solid transparent;
                            border-right: 14px solid transparent;
                            border-top-width: 12px;
                            border-top-style: solid;
                            border-top-color: var(--purple-mid);
                        }

                        &>div>[sign]>span {
                            font-size: 12px;
                            font-weight: 700;
                            line-height: 28px;
                        }

                        &:hover>div>[sign] {
                            opacity: 1;
                        }
                    }
                }

                .input-range-number {
                    display: flex;
                    align-items: center;
                    gap: 27px;

                    .group-range-number {
                        display: flex;
                        flex: 1;

                        label {
                            flex: 1;

                        }

                        input {
                            flex: 1;
                            border-radius: 7px;
                            box-shadow: none;
                            border: 2px solid var(--dark-pale);
                            color: var(--dark-pale);
                            padding: 8px 12px;
                            margin: 0;
                            transition: .3s all ease-in-out;

                            &:focus {
                                border: 2px solid var(--purple-mid);
                                color: var(--dark-strong);
                            }
                        }
                    }
                }

                .list-checkbox {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    flex-wrap: wrap;

                    .group-checkbox {
                        flex: 1;
                        text-wrap: nowrap;
                        padding: 7px;
                        background: var(--light-mid);
                        border-radius: 38px;
                        font-size: 10px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;
                        transition: .3s all ease-in-out;
                        border: 2px solid var(--light-mid);

                        input {
                            display: none;
                        }

                        &:hover,
                        &:has([checked]) {
                            border-color: var(--purple-mid);
                            background: var(--light-pale);
                        }

                    }

                    &:not(.list-checkbox-2) .group-checkbox {
                        &:not(:has(.reset-field)) {

                            max-width: 40px;
                        }

                        &:has(.reset-field) {
                            max-width: fit-content;
                        }
                    }

                }

                .list-checkbox-2 {
                    align-items: stretch;
                    flex-direction: column;
                    gap: 8px;

                    .group-checkbox {
                        background: none;
                        border: none;
                        display: flex;
                        justify-content: flex-start;
                        max-width: 100%;

                        .checkmark {
                            width: 19.44px;
                            height: 19.44px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            margin-right: 6px;
                            border-radius: 50%;
                            overflow: hidden;
                            padding: 0;
                            border: 1px solid var(--dark-pale);
                        }

                        input:checked+.checkmark {
                            border-color: transparent;
                        }

                        input:checked+.checkmark img {
                            opacity: 1;
                        }

                        .checkmark img {
                            width: 130%;
                            height: 130%;
                            opacity: 0;
                            transition: opacity 0.2s;
                            object-fit: cover;
                        }

                        &>span {
                            flex: 1;
                            min-width: 0;
                            text-align: start;
                            font-family: var(--IBM-Plex), sans-serif;
                            font-size: 13px;
                            font-weight: 500;
                            color: var(--dark-strong);
                        }

                        .rate {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                            font-size: 13px;
                            font-weight: 600;
                            font-family: var(--IBM-Plex), sans-serif;
                            color: var(--dark-strong);
                            flex-shrink: 0;

                            .num-rate {
                                font-family: var(--SF-PRO-DISPLAY), sans-serif;
                                font-size: 11px;
                                font-weight: 600;
                                color: var(--dark-pale);
                                padding-top: 4px;
                            }
                        }

                        &:has(.info-choose) {
                            align-items: flex-start !important;

                            .checkmark {
                                margin-top: 6px;
                                flex-shrink: 0;
                            }
                        }

                        .info-choose {
                            display: flex;
                            flex-direction: column;
                            gap: 8px;
                            text-wrap: wrap;

                            .feature-choose {
                                padding: 7px 16px;
                                border-radius: 38px;
                                display: flex;
                                align-items: center;
                                gap: 5px;
                                width: fit-content;
                                font-weight: 700;

                                .icon {
                                    width: 14px;
                                    height: 14px;

                                    img {
                                        width: 100%;
                                        height: 100%;
                                        object-fit: contain;
                                    }
                                }

                                &.choose1 {
                                    background: #FDF0DC;
                                    color: #E6A135;
                                }

                                &.choose2 {
                                    background: #FFEDEA;
                                    color: #FF6F58;
                                }

                                &.choose3 {
                                    background: #F2EFE8;
                                    color: #B68068;
                                }

                                &.choose4 {
                                    background: #F0EEFF;
                                    color: #8072D2;
                                }

                                &.choose5 {
                                    background: #F3EFE2;
                                    color: #B3983A;
                                }

                                &.choose6 {
                                    background: #FFEDEA;
                                    color: #FF6F58;
                                }

                                &.choose7 {
                                    background: #EDF3FF;
                                    color: #5480F1;
                                }
                            }

                            p {
                                font-size: 11px;
                                font-weight: 400;
                                font-family: var(--IBM-Plex), sans-serif;
                                color: var(--dark-pale);
                                margin: 0;
                            }
                        }
                    }

                    .filter-checkbox {
                        max-width: 250px;
                    }
                }

                .title-group {
                    text-align: center !important;
                }

                .btn-light {
                    background: var(--light-mid);
                    color: var(--dark-strong);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 600;
                    font-family: var(--IBM-Plex), sans-serif;
                    border-radius: 7px;
                    font-size: 14px;
                    width: 32px;
                    height: 32px;
                    padding: 0;

                    &:hover {
                        background: var(--light-strong);
                    }
                }

                .btn-light.filter-unit-features-toggle {
                    width: auto;
                    height: auto;
                    font-size: 12.48px;
                    color: var(--dark-strong);
                    font-family: var(--IBM-Plex), sans-serif;
                    font-weight: 600;
                }

                .list-checkbox-3 {
                    display: flex;
                    flex-direction: column;
                    gap: 14px;

                    .group-checkbox {
                        input {
                            display: none;
                        }

                        label {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            cursor: pointer;
                            width: 100%;

                            .title-choose {
                                font-family: var(--IBM-Plex), sans-serif;
                                font-size: 13px;
                                font-weight: 400;
                                color: var(--dark-strong);
                            }

                            .toggle-button {
                                display: flex;
                                height: 30px;
                                width: 48px;
                                position: relative;
                                background: #78788029;
                                border-radius: 96px;
                                transition: .3s all ease-in-out;

                                &::before {
                                    content: "";
                                    position: absolute;
                                    top: 50%;
                                    left: 2px;
                                    right: auto;
                                    height: 25px;
                                    width: 25px;
                                    border-radius: 50%;
                                    box-shadow: 0 3px 1px 0 #0000000F, 0 2px 7px 0 #00000026, 0 0 0 1px #0000000A;
                                    background: #FFFFFF;
                                    translate: 0 -50%;
                                    transition: .3s all ease-in-out;

                                }
                            }
                        }

                        &:has(input:checked) label {
                            .toggle-button {
                                background: #34C759;

                                &::before {
                                    left: auto;
                                    right: 2px;
                                }
                            }
                        }
                    }
                }

                &.property-type-panel {
                    .header {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;

                        .arrows {
                            display: flex;
                            align-items: center;
                            gap: 8px;

                            .popup-arrow {
                                width: 24px;
                                height: 24px;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                border-radius: 50%;
                                padding: 6px;
                                border: none;
                                box-shadow: 0 0 4px 4px #5A5A5A1A;
                                background: none;
                                transition: .3s all ease-in-out;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                }

                                &.swiper-button-disabled {
                                    opacity: 0;
                                    pointer-events: none;
                                }
                            }
                        }
                    }

                    .wrapper-swiper {
                        .swiper {
                            width: 100%;
                            padding-block: 20px;

                            /* Do not flex the Swiper root; see components.css .card-checkbox-list.swiper */
                            .card-checkbox-list.swiper {
                                display: block;
                                width: 100%;
                                padding-top: 27px;
                            }

                            .card-checkbox {
                                position: relative;
                                cursor: pointer;
                            }

                            .card-checkbox input[type="checkbox"] {
                                display: none;
                            }

                            .card-checkbox:nth-child(1) .card-inner .icon {
                                background-color: var(--color-blue-pale);
                            }

                            .card-checkbox:nth-child(2) .card-inner .icon {
                                background-color: var(--color-green-pale);
                            }

                            .card-checkbox:nth-child(3) .card-inner .icon {
                                background-color: var(--color-coral-pale);
                            }

                            .card-checkbox:nth-child(4) .card-inner .icon {
                                background-color: var(--color-beige-pale);
                            }

                            .card-checkbox:nth-child(5) .card-inner .icon {
                                background-color: var(--color-yellow-pale);
                            }

                            .card-checkbox:nth-child(6) .card-inner .icon {
                                background-color: var(--color-pink-pale);
                            }

                            .card-checkbox:nth-child(7) .card-inner .icon {
                                background-color: var(--color-indigo-pale);
                            }

                            .card-checkbox:nth-child(8) .card-inner .icon {
                                background-color: var(--color-purple-pale);
                            }

                            .card-inner {
                                padding: 5px 5px 9px;
                                border-radius: 10px;
                                border: 2px solid #ede7fa;
                                text-align: center;
                                position: relative;
                                transition: border-color 0.2s, box-shadow 0.2s;
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                gap: 8px;
                            }

                            .card-inner .icon {
                                padding: 29px 4px;
                                width: 100%;
                                border-radius: 7px;
                            }

                            .card-inner .icon img {
                                width: 30px;
                                height: 30px;
                                object-fit: contain;
                            }

                            .card-inner .title {
                                font-size: 13px;
                                font-weight: 600;
                                color: var(--dark-mid);
                            }

                            /* Checkmark badge */
                            .card-inner .checkmark {
                                position: absolute;
                                top: 0;
                                right: 6px;
                                width: 29px;
                                height: 29px;
                                background: #fff;
                                border-radius: 100%;
                                display: none;
                                align-items: center;
                                justify-content: center;
                                padding: 1px;
                                transform: translateY(-50%);
                            }

                            .card-inner .checkmark img {
                                width: 100%;
                                height: 100%;
                                object-fit: contain;
                            }

                            /* Checked state */
                            .card-checkbox input[type="checkbox"]:checked+.card-inner {
                                border-color: var(--purple-mid);
                            }

                            .card-checkbox input[type="checkbox"]:checked+.card-inner .checkmark {
                                display: flex;
                            }
                        }
                    }
                }
            }

            .btn[type="submit"],
            .textCenter {
                padding-block: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #FFF;
            }

            .clear-filter {
                text-align: center;
                background: var(--light-mid);
                justify-content: center;
                padding-block: 12px;
            }

            .clear-filter:hover {
                background: var(--light-strong);
            }
        }
    }
}

#units-map {
    height: 800px;
    width: 100%;
}

.units-map-wrap {
    position: relative;
    width: 100%;
}

.units-map-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

.units-map-loading__spinner,
.toggle-search-view__spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: units-map-spin 0.7s linear infinite;
}

.units-map-loading__spinner {
    width: 36px;
    height: 36px;
    border-color: rgba(120, 62, 161, 0.25);
    border-top-color: var(--purple-mid, #783EA1);
}

.units-map-loading__text {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-strong, #383241);
    letter-spacing: 0.04em;
}

@keyframes units-map-spin {
    to {
        transform: rotate(360deg);
    }
}

.gm-style-iw {
    padding: 0 !important;
    border-radius: 18px !important;
    position: relative;
    width: fit-content !important;
    max-width: none !important;
    background: transparent !important;
    box-shadow: none !important;

    .gm-style-iw-chr,
    .gm-ui-hover-effect {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .gm-style-iw-ch {
        display: none !important;
    }

    .gm-style-iw-d {
        padding: 0 !important;
        overflow: visible !important;
        max-height: none !important;
        max-width: none !important;
        width: fit-content !important;
    }
}

.gm-style-iw-c {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: none !important;
    width: fit-content !important;
    overflow: visible !important;
}

/* Hide Google Maps default InfoWindow close control entirely */
.gm-style-iw-chr,
.gm-style .gm-ui-hover-effect {
    display: none !important;
    pointer-events: none !important;
}

.gm-style-iw-t {
    bottom: -1px !important;
}

/* Hide InfoWindow pointer / arrow head */
.gm-style-iw-tc,
.gm-style .gm-style-iw-tc,
.gm-style-iw-t::after,
.gm-style .gm-style-iw-tc::after {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

.unit-info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 280px;
    width: max-content;
    max-width: none;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    font-family: inherit;
    color: #1f1f1f;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: visible;
    box-sizing: border-box;
}

.unit-info-img {
    width: 84px;
    height: 108px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light-mid, #ededed);
}

.unit-info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.unit-info-img img.is-default {
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
    background: var(--light-mid, #ededed);
}

.unit-info-body {
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
    align-self: stretch;
    min-height: 96px;
    overflow: visible;
    box-sizing: border-box;
}

.unit-info-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
    color: var(--dark-strong);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.unit-info-subtitle {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.3;
    color: var(--dark-pale);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.unit-info-booking {
    font-size: 11px;
    color: var(--dark-pale);
}

.unit-info-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: auto;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    overflow: visible;
    box-sizing: border-box;
}

.unit-info-heart {
    width: 40px;
    height: 30px;
    min-width: 40px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    border: 1px solid var(--light-mid);
    background: #fff;
    padding: 0;
    flex: 0 0 auto;
    box-sizing: border-box;
    margin-inline-start: auto;

}

.unit-info-heart svg {
    width: 16px;
    height: 16px;
    fill: var(--dark-mid, #6b6572);
    stroke: none;
}

.unit-info-heart-filled svg {
    fill: var(--info-red);
    stroke: none;
}

.unit-info-heart-outline svg {
    fill: var(--dark-mid, #6b6572);
    stroke: none;
}

.unit-info-heart:hover svg {
    fill: var(--info-red);
    stroke: none;
}

.unit-info-rating {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    font-weight: 600;
    gap: 4px;
    font-size: 11px;
    color: var(--dark-pale);
    white-space: nowrap;
    flex-shrink: 0;
}

.unit-info-rating svg {
    width: 14px;
    height: 14px;
    fill: #ffbf3c;
    flex-shrink: 0;
}

.unit-info-rating-value {
    font-family: var(--IBM-Plex), sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-strong);
}

.unit-info-rating-count {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--dark-pale);
    white-space: nowrap;
}

.unit-info-price {
    display: inline-flex;
    align-items: baseline;
    flex-direction: row;
    gap: 4px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--purple-mid);
    white-space: nowrap;
    flex-shrink: 0;
}

.unit-info-currency {
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
}

.unit-info-amount {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: 1;
}

@media (max-width:558px) {

    .filter-box,
    .content-section {
        padding-block: 16px 24px;
        margin: 0px;
    }

    .content-section {
        .container {
            gap: 16px;
        }
    }

    .list-content {
        gap: 20px;

        &.content-search {
            .card-offer {
                .header-card {
                    max-height: 200px;
                    overflow: hidden;

                    .swiper-gallery-card {
                        .swiper-slide {
                            height: 200px;

                            .image-wrapper {}
                        }
                    }

                    /* Keep empty placeholder in sync with header/slide height (was 280px → overflow) */
                    .property-card-image-placeholder {
                        height: 200px;
                        max-height: 200px;
                    }

                    .property-card-image-placeholder .image-wrapper--empty {
                        width: 100%;
                        height: 100%;
                        max-height: 100%;
                        overflow: hidden;
                    }
                }
            }
        }
    }

    .filter-search-box {
        .container {
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 12px;
            padding: 12px;

            .left-side {
                width: 100%;
                max-width: 100%;
                gap: 6px;
            }

            .right-side {
                width: 100%;
                max-width: 100%;
                justify-content: stretch;
                gap: 8px;

                >.filter-search-box__action {
                    flex: 1 1 0;
                    min-width: 0;
                }

                >.filter-search-box__action>.toggle-search-view,
                >.filter-search-box__action>.filter-menu {
                    width: 100%;
                    justify-content: center;
                }
            }

            .swiper-btn-filter {
                display: none;
            }

            /* Room for orange clear × on last chip. Clip x so off-screen
               chips do not widen the page. */
            .swiper-slide-left-filter {
                padding-block-start: 8px;
                padding-inline-end: 0;
                box-sizing: border-box;
                overflow-x: clip;
                overflow-y: visible;
            }

            .swiper-slide-left-filter .swiper-slide {
                padding-block-start: 2px;
                padding-inline-end: 0;
            }

            .swiper-slide-left-filter .swiper-slide:last-child {
                padding-inline-end: 11px;
                box-sizing: border-box;
            }

            .swiper-slide-left-filter .swiper-slide:last-child .form-group-filter:has(input:checked) {
                padding-inline-end: 22px;
            }

            .form-group-filter,
            .select2-container--default .select2-selection--single,
            .filter-search-box .unit-type-filter__toggle {
                padding-block: 8px;
            }

            .form-group-filter {
                padding-inline: 14px 16px;
            }

            .right-side>a {
                padding: 0;
                width: 50px;
                min-width: 50px;
                height: 50px;
                min-height: 50px;
            }

            .right-side .filter-menu {
                padding-block: 10px;
                min-height: 50px;
            }
        }
    }
}

@media (max-width:450px) {

    .filter-search-box {
        .container {
            padding: 12px;

            .left-side {
                width: 100%;
                max-width: 100%;
            }

            .form-group-filter,
            .select2-container--default .select2-selection--single,
            .filter-search-box .unit-type-filter__toggle {
                padding-block: 8px;
            }

            .right-side>a {
                padding: 0;
                width: 50px;
                min-width: 50px;
                height: 50px;
                min-height: 50px;
            }

            .right-side .filter-menu {
                padding-block: 10px;
                min-height: 50px;
            }
        }
    }

    .filter-modal {
        .modal-body {
            .filter-form-modal {
                .form-group {
                    padding-block: 12px;
                }
            }
        }
    }
}


.loading-proccess,
.error {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-block: 80px;

        .icon {
            width: 100%;
            max-width: 233px;
            max-height: 296px;
            height: auto;
            display: flex;
            justify-content: center;
        }

        .title-error {
            font-size: clamp(24px, 3.4vw, 26px);
            color: var(--dark-strong);
            font-weight: 500;
            margin-block: 37px 19px;
        }

        .mid-title {
            font-size: clamp(17px, 2vw, 19px);
            color: var(--dark-strong);
            font-weight: 600;
            margin-block: 2px 28px;
        }

        .subtitle {
            font-weight: 600;
            font-size: clamp(17px, 2vw, 19px);
            color: var(--dark-mid);
            margin-bottom: 57px;
        }

        .buttons {
            display: flex;
            justify-content: center;
            gap: 25px;
            width: 100%;
            max-width: 521px;

            .btn {
                flex: 1;
                padding: 15px 20px;
                max-width: 302px;
            }

            .btn-gradient-3 {
                justify-content: center;
                color: var(--light-pale);
                border-radius: 5px;
                font-weight: 600;
                font-size: 13px;
            }
        }

        .buttons-2 {
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 11px;
            width: 100%;
            max-width: 339px;

            .btn {
                width: 100%;
                flex: 1;
                padding: 15px 20px;
                max-width: 302px;
            }

            .btn-gradient-3 {
                justify-content: center;
                color: var(--light-pale);
                border-radius: 5px;
                font-weight: 600;
                font-family: var(--IBM-Plex);
            }
        }

        .unit-profile {
            display: flex;
            align-items: start;
            background: var(--light-pale);
            padding: 10px;
            box-shadow: 1.88px 5.65px 5.65px 0px #6666660D;
            border-radius: 8px;
            gap: 18px;
            margin-block: 28px 39px;
            max-width: 339px;

            .right-side {
                margin: 0 !important;

                .image-unit {
                    width: 84px;
                    height: 84px;
                    border-radius: 8px;
                    display: flex;
                    overflow: hidden;

                    img {
                        object-fit: cover;
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .left-side {
                grid-column: span 6;

                .title-property {
                    font-size: 16px;
                    color: var(--dark-strong);
                    font-weight: 600;
                    line-height: 30.99px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    margin: 0;

                    @media (max-width:1024px) {
                        line-height: normal;

                    }
                }

                .location-property {
                    color: var(--dark-pale);
                    font-size: 11px;
                    font-weight: 600;
                    font-family: var(--SF-PRO-DISPLAY);
                }
            }

            @media (max-width:778px) {
                flex-direction: column;

                .right-side {
                    width: 100%;

                    .image-unit {
                        height: 200px;
                        width: 100%;
                    }
                }
            }
        }

    }
}

.list-notification {
    margin-top: 24px;

    .container {
        padding-block: 24px 48px;
        display: flex;
        flex-direction: column;
        gap: 25px;

        .item-notification {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 9px 30px 0 #5A5A5A1A;
            background: var(--light-pale);
            border-radius: 6px;
            padding: 34px;
            border-inline-start: 4px solid var(--purple-brand);
            transition: .3s box-shadow ease-in-out, .3s border-color ease-in-out, .3s background ease-in-out;

            &:hover {
                box-shadow: 0 13px 38px 0 #5A5A5A33;
            }

            .left-side {
                display: flex;
                gap: 10px;
                align-items: flex-start;

                /* The API sends only the type glyph; the read/unread circle is drawn here, as on mobile */
                .custom-icon {
                    position: relative;
                    width: 45px;
                    height: 45px;
                    flex-shrink: 0;
                    overflow: visible;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 50%;
                    background: var(--white-purple);

                    /* Glyphs are 54px @3x exports */
                    img {
                        width: 18px;
                        height: 18px;
                        object-fit: contain;
                        display: block;
                    }

                    &.is-unread {
                        background: var(--purple-mid);

                        /* The offers glyph is grey and vanishes on Purple-Mid; unread glyphs are white (#162604) */
                        img[src$="/offers-grey.png"] {
                            filter: brightness(0) invert(1);
                        }
                    }

                    /* Read: dim the API glyph to the design's grey (~#6A676D on White-Purple) (#162604) */
                    &:not(.is-unread) img {
                        filter: brightness(0) opacity(.57);
                    }

                    /* Figma unread badge (#FF6249) on logical start (AR right / EN left) */
                    .notification-unread-dot {
                        position: absolute;
                        top: 0;
                        inset-inline-start: 0;
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        background: var(--orange-brand, #FF6249);
                        border: 1.5px solid var(--light-pale, #FDFDFD);
                        box-shadow: none;
                        pointer-events: none;
                        z-index: 1;
                    }
                }

                .info {
                    display: flex;
                    justify-content: space-between;
                    flex-direction: column;
                    gap: 5px;

                    .title-notification {
                        margin: 0;
                        font-size: 16px;
                        font-weight: 700;
                        font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
                        color: var(--purple-brand);
                        line-height: 1.35;
                    }

                    .description-notification {
                        margin: 0;
                        color: var(--purple-mid);
                        font-weight: 600;
                        font-size: 11px;
                        font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                        line-height: 1.4;
                    }
                }
            }

            .right-side {
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                gap: 10px;

                .date {
                    color: var(--dark-mid);
                    font-weight: 600;
                    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                    font-size: 11px;
                    white-space: nowrap;
                    /* Keep DD/MM - HH:MM order in RTL (avoid bidi flipping) */
                    direction: ltr;
                    unicode-bidi: isolate;
                }
            }

            .notification-delete-btn {
                position: absolute;
                top: 8px;
                inset-inline-end: 6px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 4px;
                margin: 0;
                border: none;
                border-radius: 6px;
                background: var(--orange-brand, #FF6249);
                color: #fff;
                cursor: pointer;
                line-height: 1;
                transition: opacity 0.2s ease, box-shadow 0.2s ease;

                &:hover,
                &:focus-visible {
                    opacity: 0.92;
                    box-shadow: 0 4px 12px 0 #FF624933;
                    outline: none;
                }

                .custom-icon {
                    width: 20px;
                    height: 20px;
                    display: block;

                    img {
                        width: 100%;
                        height: 100%;
                        display: block;
                        object-fit: contain;
                    }
                }
            }

            /* Unread / new: keep date typography explicit (SF Pro 600 / 11px) */
            &:not(.done) .right-side .date {
                font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                font-weight: 600;
                font-size: 11px;
                color: var(--dark-mid);
            }

            &.done {
                border-inline-start-color: transparent;

                .left-side {
                    .info {
                        .title-notification {
                            color: var(--dark-strong);
                            font-weight: 600;
                        }

                        .description-notification {
                            color: var(--dark-pale);
                            font-weight: 500;
                        }
                    }
                }

                .right-side {
                    .date {
                        color: var(--dark-pale);
                    }
                }
            }

            @media (max-width:558px) {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;

                .right-side {
                    width: 100%;
                    padding-inline-start: 55px;
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-between;
                }
            }
        }

        .btn.btn-gradient-3.view-more {
            width: fit-content;
            color: #FFF;
            font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 600;
            font-size: 13px;
            border-radius: 999px;
            padding: 10px 28px;
            justify-content: center;
            text-align: center;
        }
    }
}

@media (max-width:778px) {
    .list-notification {
        margin-top: 16px;
    }
}

.privacy {
    .container {
        padding-block: 20px 48px;

        .date {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 12px;
            padding-block: 9px;
            font-size: 13px;
            font-weight: 600;
            font-family: var(--SF-PRO-DISPLAY), sans-serif;
            color: var(--dark-pale);

            .custom-icon {
                width: 17px;
                height: 17px;
            }
        }

        p {
            color: var(--dark-strong);
            margin-bottom: 18px;
            font-size: clamp(15px, 1.8vw, 16px);
        }

        h2 {
            font-size: clamp(18px, 2.3vw, 23px);
            color: var(--purple-mid);
            font-weight: 600;
            margin-block: 48px 18px;

        }

        h3 {
            color: var(--dark-strong);
            font-weight: 700;
            font-size: clamp(16px, 2vw, 19px);
            margin-block: 18px 5px;
        }
    }
}

/* Privacy / terms CMS HTML uses <ol>/<ul>; render as plain text aligned to the date row */
.privacy .privacy-policy-content {
    color: var(--dark-strong);
    font-size: clamp(15px, 1.8vw, 16px);
    text-align: start;
}

.privacy .privacy-policy-content ol,
.privacy .privacy-policy-content ul,
.privacy .privacy-policy-content ol ol,
.privacy .privacy-policy-content ol ul,
.privacy .privacy-policy-content ul ol,
.privacy .privacy-policy-content ul ul {
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
}

.privacy .privacy-policy-content li,
.privacy .privacy-policy-content ol li,
.privacy .privacy-policy-content ul li {
    list-style: none;
    list-style-type: none;
    color: var(--dark-strong);
    font-size: clamp(15px, 1.8vw, 16px);
    margin: 0;
    padding: 0;
}

.privacy .privacy-policy-content li::marker,
.privacy .privacy-policy-content ol::marker,
.privacy .privacy-policy-content ul::marker {
    content: none;
}

.privacy .privacy-policy-content>ol>li+li {
    margin-top: 30px;
}

.privacy .privacy-policy-content>ol>li>strong:first-child {
    display: block;
    font-size: clamp(18px, 2.3vw, 23px);
    color: var(--purple-mid);
    font-weight: 600;
    margin-block: 0 18px;
}

.privacy .privacy-policy-content ul>li+li {
    margin-top: 8px;
}

.support-center {
    .container {
        padding-block: var(--custom-padding-container);
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 51px;

        .left-side {
            display: flex;
            flex-direction: column;
            gap: 20px;
            flex: 1;
            min-width: 0;

            .header-support {
                display: flex;
                flex-direction: column;
                gap: 5px;

                .title {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-size: clamp(17px, 2vw, 19px);
                    font-weight: 600;
                    font-family: var(--IBM-Plex), sans-serif;
                    color: var(--purple-mid);
                    margin: 0;

                    .custom-icon,
                    .icon {
                        height: 26px;
                        width: 26px;
                        flex-shrink: 0;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }
                }

                .subtitle {
                    font-size: 14px;
                    font-weight: 400;
                    font-family: var(--IBM-Plex), sans-serif;
                    color: var(--dark-mid);
                    margin: 0;
                    line-height: 1.5;
                }
            }

            .list-problems {
                display: flex;
                flex-direction: column;

                .btn.item-problem {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background-color: #fff;
                    box-shadow: none;
                    color: var(--dark-strong);
                    font-size: 14px;
                    font-family: var(--IBM-Plex), sans-serif;
                    font-weight: 600;
                    border-radius: 0;
                    border-left: 1px solid var(--light-strong);
                    border-right: 1px solid var(--light-strong);
                    border-bottom: 1px solid var(--light-strong);
                    padding-block: 22px;
                    padding-inline: 16px;

                    &:first-child {
                        border-top: 1px solid var(--light-strong);
                        border-top-right-radius: 8px;
                        border-top-left-radius: 8px;
                    }

                    &:last-child {
                        border-bottom-right-radius: 8px;
                        border-bottom-left-radius: 8px;
                    }

                    &:hover {
                        background-color: var(--light-pale);
                    }
                }
            }

            .support-chat {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                height: 600px;
                min-width: 300px;
                overflow: hidden;

                /* Keep chat axis physical (user right / support left) like Figma,
                   even on RTL pages. Bubble text stays RTL for Arabic. */
                .list-messages {
                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                    flex: 1;
                    min-height: 0;
                    max-height: 550px;
                    overflow-x: hidden;
                    overflow-y: auto;
                    padding: 4px 10px 8px;
                    direction: ltr !important;
                    scrollbar-width: thin;
                    scrollbar-color: rgb(169 123 227 / 35%) transparent;

                    &::-webkit-scrollbar {
                        width: 6px;
                    }

                    &::-webkit-scrollbar-thumb {
                        background: rgb(169 123 227 / 35%);
                        border-radius: 3px;
                    }

                    &::-webkit-scrollbar-track {
                        background: transparent;
                    }

                    .group-message {
                        display: flex;
                        flex-direction: column;
                        gap: 4px;
                        max-width: 85%;
                        align-self: flex-start !important;
                        margin-right: auto;
                        margin-left: 0;

                        .message {
                            background: var(--purple-mid);
                            align-self: flex-start;
                            padding: 15px 21px;
                            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                            font-size: 15.28px;
                            line-height: 1.45;
                            color: var(--light-pale, #FDFDFD);
                            border-radius: 10px 10px 10px 0;
                            direction: rtl;
                            text-align: start;
                            unicode-bidi: plaintext;

                            .message-image {
                                max-width: 250px;
                                max-height: 300px;
                                border-radius: 8px;
                                cursor: pointer;
                                object-fit: cover;
                                display: block;
                            }
                        }

                        .info-message {
                            display: flex;
                            flex-direction: row;
                            align-items: center;
                            align-self: flex-start;
                            gap: 6px;

                            .date-message {
                                font-family: var(--SF-PRO-DISPLAY), sans-serif;
                                font-size: 12px;
                                font-weight: 600;
                                color: var(--dark-pale);
                                direction: ltr;
                                unicode-bidi: isolate;
                            }

                            .read-status {
                                display: inline-flex;
                                align-items: center;
                                justify-content: center;
                                order: -1;
                                width: 22px;
                                height: 22px;
                                flex-shrink: 0;

                                img {
                                    width: 22px;
                                    height: 22px;
                                    object-fit: contain;
                                }
                            }
                        }

                        &.user-message {
                            align-self: flex-end !important;
                            margin-left: auto;
                            margin-right: 0;

                            .message {
                                background: var(--light-mid);
                                border-radius: 10px 10px 0 10px;
                                color: var(--dark-strong);
                                align-self: flex-end;
                            }

                            .info-message {
                                align-self: flex-end;
                            }
                        }

                    }
                }

                .empty-chat-state img {
                    width: 48px;
                }

                .pending-image-preview {
                    position: relative;
                    align-self: flex-start;
                    flex-shrink: 0;
                    margin: 4px 10px 12px;
                    width: 88px;
                    height: 88px;
                    border-radius: 10px;
                    overflow: hidden;
                    box-sizing: border-box;
                    border: 1px solid var(--light-strong);
                    box-shadow: 0 2px 8px #0001;
                    background: var(--light-pale);

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                        cursor: pointer;
                    }

                    .btn-remove-pending {
                        position: absolute;
                        top: 6px;
                        inset-inline-end: 6px;
                        width: 22px;
                        height: 22px;
                        border-radius: 50%;
                        border: none;
                        background: rgba(0, 0, 0, 0.65);
                        color: #fff;
                        font-size: 16px;
                        line-height: 1;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        padding: 0;
                        cursor: pointer;
                        z-index: 1;
                        transition: background 0.2s ease-in-out;

                        &:hover {
                            background: var(--info-red, #c0392b);
                        }
                    }
                }

                /* Match Figma Support-Messages: attachment outside start,
                   send inside the input on the end side (right in RTL via ar.css). */
                .chat-from {
                    display: flex;
                    align-items: center;
                    flex-shrink: 0;
                    padding-top: 8px;

                    input[type="file"] {
                        display: none;
                    }

                    .form-group {
                        display: flex;
                        flex-direction: row;
                        width: 100%;
                        align-items: center;
                        gap: 10px;
                        background: transparent;
                        padding: 0;
                        margin: 0;

                        .input-container {
                            position: relative;
                            flex: 1;
                            min-width: 0;

                            .form-control {
                                border: 2px solid #A97BE32f;
                                border-radius: 25px;
                                padding-inline-start: 16px;
                                padding-inline-end: 45px;
                                height: 40px;
                                background: #fff;
                                font-family: var(--IBM-Plex), sans-serif;
                                font-size: 16px;
                                color: var(--dark-strong);
                                transition: .3s all ease-in-out;
                                box-shadow: none;

                                &:not(:placeholder-shown) {
                                    box-shadow: 0 3px 4px 0 #00000012;
                                    border-color: var(--purple-mid);
                                }

                                &:focus {
                                    outline: none;
                                    border-color: var(--purple-mid);
                                    box-shadow: 0 3px 4px 0 #00000012;
                                }
                            }

                            .send-btn {
                                position: absolute;
                                padding: 0;
                                /* End side: left in RTL, right in LTR */
                                inset-inline-end: 8px;
                                inset-inline-start: auto;
                                top: 50%;
                                transform: translateY(-50%);
                                color: white;
                                border-radius: 50%;
                                width: 29px;
                                height: 29px;
                                border: none;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                opacity: .4;
                                transition: .3s all ease-in-out;
                                background: transparent;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                }
                            }

                            .form-control:not(:placeholder-shown)+.send-btn,
                            .send-btn.active {
                                opacity: 1;
                            }

                            .send-btn:disabled,
                            .form-control:not(:placeholder-shown)+.send-btn:disabled,
                            .send-btn.active:disabled {
                                opacity: .4;
                                cursor: not-allowed;
                            }
                        }

                        .image-upload-btn {
                            background: transparent;
                            border: none;
                            padding: 0;
                            display: flex;
                            align-items: center;
                            flex-shrink: 0;
                            width: 33px;
                            height: 33px;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: contain;
                            }
                        }
                    }
                }
            }
        }

        .right-side {
            position: sticky;
            top: 120px;
            margin-top: 0;
            display: flex;
            flex-direction: column;
            gap: 29px;
            flex: 0 1 360px;
            max-width: 400px;
            width: 100%;

            &.chat-page {
                margin: 0;
            }

            .custom-box {
                border: 1px solid var(--purple-pale);
                border-radius: 8px;
                padding: 21px 34px 36px;
                background: #FFF;

                .title {
                    font-weight: 600;
                    font-size: clamp(17px, 2vw, 19px);
                    font-family: var(--IBM-Plex), sans-serif;
                    color: var(--dark-strong);
                    margin-bottom: 29px;
                }
            }

            .direct-contact {

                .contact-group {
                    margin-bottom: 20px;

                    .header-group {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        font-weight: 600;
                        font-size: clamp(17px, 2vw, 19px);
                        font-family: var(--IBM-Plex), sans-serif;
                        color: var(--orange-brand);
                        margin-bottom: 5px;

                        .custom-icon {
                            width: 26px;
                            height: 26px;
                            flex-shrink: 0;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: contain;
                            }
                        }

                    }

                    .title-group {
                        font-weight: 400;
                        font-family: var(--IBM-Plex), sans-serif;
                        color: var(--dark-strong);
                        font-size: 14px;
                        margin-bottom: 6px;
                    }

                    .value-group {
                        color: var(--dark-mid);
                        font-size: 11px;
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                        line-height: 1.45;
                    }
                }

                .btn {
                    font-size: 13px;
                    font-family: var(--IBM-Plex), sans-serif;
                    font-weight: 600;
                }
            }

            .your-rights {
                .title {
                    margin-bottom: 11px;
                }

                .subtitle {
                    font-size: 13px;
                    font-weight: 400;
                    font-family: var(--IBM-Plex), sans-serif;
                    color: var(--dark-mid);
                    line-height: 1.55;
                }

                .btn {
                    margin-block: 16px;
                    font-size: 13px;
                }

                .btn-transparent {
                    color: var(--dark-mid);
                    width: 100%;
                    font-family: var(--IBM-Plex), sans-serif;
                    font-weight: 600;
                }

                .btn-gray {
                    background-color: var(--light-mid);
                    font-size: 13px;
                    border-radius: 8px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    padding: 15px 20px !important;
                    color: var(--dark-strong);
                    font-family: var(--IBM-Plex), sans-serif;
                    font-weight: 600;
                    width: 100%;
                    margin-top: 0;

                    &:hover {
                        background-color: var(--light-strong);
                    }
                }
            }
        }

        @media (max-width:992px) {
            flex-direction: column;
            align-items: stretch;
            gap: 16px;

            .right-side {
                margin-top: 0;
                max-width: none;
                flex: 1 1 auto;
            }
        }
    }
}

.section-with-sticky {
    .container {
        padding-block: var(--custom-padding-container);
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 51px;

        @media (max-width:1200px) {
            gap: 31px;
        }

        >.left-side {
            display: flex;
            flex-direction: column;
            gap: 60px;
            min-width: 0;
            width: 100%;

            .section-settings {
                display: flex;
                flex-direction: column;
            }

            .custom-title-section {
                font-size: 19px;
                font-weight: 600;
                color: var(--dark-strong);
                margin-bottom: 15px;
            }

            .custom-title-section2 {
                font-size: clamp(20px, 2.2vw, 26.28px);
                font-weight: 600;
                color: var(--dark-strong);
                margin-bottom: 15px;
            }

            .custom-subtitle-section {
                font-size: 19px;
                font-weight: 600;
                color: var(--dark-mid);
                margin-bottom: 15px;
            }

            .group-settings {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 25px 20px;

                .setting-item {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 32px 18px;
                    background: var(--light-pale);
                    box-shadow: 0 9px 30px 0 #5A5A5A1A;
                    border-radius: 6px;
                    transition: .3s box-shadow ease-in-out;

                    .group-info {
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        .icon {
                            width: 35px;
                            height: 35px;
                            border-radius: 50%;
                            background: var(--light-mid);
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            transition: .3s background ease-in-out;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: contain;
                                padding: 8px;
                                transition: .3s filter ease-in-out;
                            }


                        }

                        .info {
                            display: flex;
                            flex-direction: column;
                            gap: 5px;

                            .title-item {
                                font-size: 14px;
                                color: var(--dark-strong);
                                font-weight: 600;
                                margin: 0;
                            }

                            .info-msg {
                                font-size: 11px;
                                font-weight: 600;
                                font-family: var(--SF-PRO-DISPLAY), sans-serif;
                                color: var(--dark-pale);
                                margin: 0;
                            }
                        }
                    }

                    .custom-icon {
                        width: 18px;
                        height: 18px;
                        rotate: 180deg;
                    }

                    &:hover {
                        box-shadow: 0 12px 38px 0 #5A5A5A2A;

                        .icon {
                            background: var(--purple-mid);

                            img {
                                filter: brightness(10);
                            }
                        }
                    }

                    @media (max-width:992px) {
                        padding: 24px 18px;
                        gap: 24px;
                    }

                    @media (max-width:558px) {
                        padding: 16px 12px;
                        gap: 16px;
                        align-items: flex-start;

                        .group-info {
                            flex-direction: column;
                            align-items: flex-start;
                        }
                    }
                }
            }
        }


        >.right-side {
            display: flex;
            flex-direction: column;
            gap: 29px;
            min-width: 335px;
            align-self: flex-start;
            position: sticky;
            top: 120px;

            .title-section {
                font-weight: 600;
                font-size: 19px;
                color: var(--dark-strong);
            }

            .account-summary {
                display: flex;
                gap: 18px;
                width: 100%;

                .summary-box {
                    display: flex;
                    align-items: center;
                    flex-direction: column;
                    gap: 5px;
                    padding: 21px 12px;
                    border-radius: 8px;
                    text-align: center;
                    flex: 1 1 0;
                    min-width: 0;
                    max-width: none;

                    .box-header {
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        .title-item {
                            font-weight: 700;
                            font-size: 16px;
                            margin: 0;
                        }

                        .custom-icon {
                            width: 20px;
                            height: 20px;
                        }
                    }

                    &:first-child {
                        background: #EEF3FF;

                        .title-item {
                            color: #6793FA;
                        }
                    }

                    &:nth-child(2) {
                        background: #ECF9F1;

                        .title-item {
                            color: var(--info-green);
                        }
                    }

                    &:last-child {
                        background: var(--white-purple);

                        .title-item {
                            color: var(--purple-mid);
                        }
                    }

                    .descripe {
                        color: var(--dark-strong);
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                    }
                }

            }

            .account-info {
                background-color: #FFF;
                border: 1px solid var(--purple-pale);
                border-radius: 8px;
                display: flex;
                flex-direction: column;
                gap: 15px;
                padding: 21px 23px;



                .profile-box {
                    border-radius: 8px;
                    background: var(--white-purple);
                    display: flex;
                    align-items: flex-start;
                    gap: 12px;
                    padding: 16px 17px;

                    .profile-image {
                        width: 70px;
                        height: 70px;
                        display: flex;
                        overflow: hidden;
                        border-radius: 50%;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }

                    .info {
                        display: flex;
                        flex-direction: column;

                        .header-info {
                            display: flex;
                            flex-direction: column;
                            gap: 2px;

                            .username {
                                font-size: 19px;
                                font-weight: 600;
                                color: var(--dark-strong);
                            }

                            .type-user {
                                display: flex;
                                align-items: center;
                                gap: 3px;
                                color: var(--dark-mid);
                                font-weight: 600;
                                font-family: var(--SF-PRO-DISPLAY), sans-serif;
                                font-size: 11px;

                                .custom-icon {
                                    height: 15px;
                                    width: 15px;
                                }
                            }
                        }

                        .type-user {
                            font-size: 11px;
                            color: var(--dark-mid);
                            font-weight: 600;
                        }

                        .verify-box {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: fit-content;
                            gap: 5px;
                            padding: 7px 12px;
                            border-radius: 40px;
                            font-size: 11px;
                            color: #6793FA;
                            background: #EEF3FF;
                        }
                    }
                }

                .account-details {
                    display: flex;
                    justify-content: center;
                    border-radius: 8px;
                    border: 1px solid var(--purple-pale);
                    padding: 14px;
                    gap: 30px;

                    .item-info {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        text-align: center;
                        gap: 5px;
                        position: relative;
                        min-width: 92px;
                    }

                    .item-info:not(:first-child)::before {
                        content: "";
                        display: block;
                        position: absolute;
                        left: -16px;
                        top: 50%;
                        transform: translateY(-50%);
                        width: 1px;
                        height: 52px;
                        background: var(--light-strong);
                    }


                    .custom-icon {
                        height: 20px;
                        width: 20px;
                    }

                    .title-info {
                        color: var(--dark-pale);
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                        font-size: 11px;
                    }

                    .value-info {
                        color: var(--dark-strong);
                        font-weight: 600;
                        font-family: var(--IBM-Plex), sans-serif;
                        font-size: 13px;
                    }
                }
            }

            .rating-info {
                background-color: #FFF;
                border: 1px solid var(--purple-pale);
                border-radius: 8px;
                display: flex;
                flex-direction: column;
                gap: 22px;
                padding: 21px 23px;

                .rating-list {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                }

                .rate-box {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                    padding: 15px;
                    background: #F6F6F6;
                    border-radius: 8px;

                    .header-box {
                        display: flex;
                        align-items: center;
                        gap: 5px;
                        font-size: 14px;
                        color: var(--dark-strong);
                        font-weight: 600;

                        .custom-icon {
                            width: 20px;
                            height: 20px;
                        }
                    }

                    .rate {
                        display: flex;
                        align-items: center;
                        gap: 4px;
                        color: var(--dark-strong);
                        font-size: 13px;
                        font-weight: 600;
                        font-family: var(--IBM-Plex), sans-serif;

                        .custom-icon {
                            width: 15px;
                            height: 15px;
                        }
                    }

                    .rate-description {
                        font-size: 13px;
                        font-weight: 600;
                        font-family: var(--IBM-Plex), sans-serif;
                        color: var(--dark-strong);
                    }

                    .date-rate {
                        color: var(--dark-pale);
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                        font-size: 11px;
                    }
                }

                .btn-transparent {
                    border-radius: 1000px;
                }
            }
        }

        @media (max-width:992px) {
            flex-direction: column;
            align-items: stretch;
            gap: 16px;

            >.right-side {
                position: static;
                top: auto;
                flex: none;
                max-width: 100%;
                width: 100%;

                .account-summary {
                    .summary-box {
                        flex: 1;
                        max-width: 100%;
                    }
                }
            }
        }

        .custom-title-section2 {
            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
            font-size: clamp(24px, 4vw, 46px);
            color: var(--dark-strong);
        }

        .list-wallet-transactions {
            display: flex;
            flex-direction: column;
            gap: 27px;

            .item-wallet-transactions {
                display: flex;
                justify-content: space-between;
                box-shadow: 0 9px 30px 0 #5A5A5A1A;
                border-radius: 6px;
                background: var(--light-pale);
                padding: 27px 36px;

                .left-side {
                    display: flex;
                    flex-direction: row;
                    align-items: flex-start;
                    gap: 9px;

                    .custom-icon {
                        width: 24px;
                        height: 24px;
                    }

                    .info {
                        display: flex;
                        flex-direction: column;
                        gap: 4px;

                        .title-item {
                            font-size: 14px;
                            font-weight: 600;
                            color: var(--dark-strong);
                            margin: 0;
                        }

                        .date-item {
                            color: #B8BDCA;
                            font-size: 11px;
                            font-weight: 600;
                            font-family: var(--SF-PRO-DISPLAY), sans-serif;
                        }
                    }
                }

                .right-side {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-end;
                    gap: 4px;

                    .state-transfer {
                        font-size: 14px;
                        font-weight: 600;
                        margin: 0;

                        &.deposit {
                            color: var(--purple-mid);
                        }

                        &.withdraw {
                            color: var(--info-red);
                        }
                    }

                    .total-balance {
                        color: #B8BDCA;
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                        font-size: 11px;
                    }
                }
            }
        }

        .wallet-balance {
            border-radius: 8px;
            background: #F7F1FA;
            border: 2px solid var(--purple-pale);
            padding: 17px 30px 28px;
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 30px;
            overflow: visible;

            .wallet-balance-row {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 5px;
                width: 100%;

                .title {
                    font-size: clamp(17px, 2vw, 19px);
                    font-weight: 600;
                    color: var(--dark-strong);
                    margin: 0;
                }

                .balance {
                    font-weight: 600;
                    font-size: clamp(20px, 2.4vw, 27px);
                    color: var(--purple-mid);
                }

                .wrapper-image {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    padding: 18px 10px;
                    overflow: visible;
                    box-sizing: border-box;

                    img {
                        backdrop-filter: blur(16px) drop-shadow(-6px 6px 14px #00000026);
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }

                    .wallet-card {
                        background: linear-gradient(135deg, #9B5FC0 0%, #7B44A8 50%, #6B3FA0 100%);
                        border-radius: 16px;
                        padding: 24px;
                        aspect-ratio: 1.86 / 1;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        color: #fff;
                        transform: rotate(-4deg);
                        box-shadow: 0 8px 24px rgba(107, 63, 160, 0.35);
                        position: relative;
                        overflow: hidden;
                        width: 100%;
                        max-width: 100%;
                        box-sizing: border-box;
                        justify-content: flex-start;

                        .wallet-card__watermark {
                            position: absolute;
                            top: 50%;
                            right: 34px;
                            transform: translateY(-50%);
                            width: 120px;
                            pointer-events: none;
                            z-index: 0;
                            object-fit: contain;
                        }

                        .wallet-card__logo {
                            position: absolute;
                            top: 24px;
                            left: 24px;
                            height: 28px;
                            width: auto;
                            max-width: 45%;
                            object-fit: contain;
                            z-index: 1;
                        }

                        .wallet-card__details {
                            position: absolute;
                            bottom: 24px;
                            left: 24px;
                            right: auto;
                            width: fit-content;
                            display: flex;
                            flex-direction: column;
                            align-items: flex-start;
                            gap: 6px;
                            z-index: 1;
                        }

                        .wallet-card__balance {
                            position: static;
                            font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
                            font-weight: 700;
                            font-size: 23px;
                            line-height: 1;
                            margin: 0;
                            text-align: start;
                            order: 1;
                        }

                        .wallet-card__name {
                            position: static;
                            order: 2;
                            font-family: 'Cousine', monospace;
                            font-weight: 400;
                            font-size: 10.11px;
                            line-height: 1;
                            letter-spacing: 0.06em;
                            text-transform: uppercase;
                            opacity: 0.85;
                            text-align: left;
                            margin: 0;
                        }
                    }
                }
            }
        }

        .list-payment-way-saved {
            display: flex;
            flex-direction: column;
            gap: 16px;

            .item-payment-way {
                display: flex;
                flex-direction: column;
                gap: 16px;
                padding: 16px 21px;
                border-radius: 7px;
                border: 1px solid var(--light-mid);

                .wrapper-item {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 16px;
                }

                &:not(.btn-white-purple) {
                    background: var(--light-pale);
                }

                .title-item {
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    font-size: 15px;
                    font-weight: 600;
                    color: var(--dark-strong);

                    .custom-icon {
                        width: 35px;
                        height: 21px;
                    }

                }

                .btn {
                    padding: 7px 10px;
                    font-size: 12px;
                    color: var(--dark-strong);
                    font-weight: 600;
                }

                &.btn.btn-white-purple {
                    font-weight: 600;
                    font-family: inherit;
                }

                .form-edit-payment-way {
                    display: none;
                    flex-direction: column;
                    gap: 22px;
                    padding-block: 0;
                    transform-origin: top center;
                    overflow: hidden;

                    .form-group {
                        label {
                            font-size: 14px;
                            color: var(--dark-strong);
                            font-weight: 600;
                        }

                        input {
                            flex: 1;
                        }

                        .group-checkbox {
                            .label-checkmark {
                                width: auto;
                            }
                        }
                    }

                    .groups-form-group {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 15px;

                        .form-group {
                            min-width: 0px;

                            input {
                                min-width: 0px;
                            }
                        }
                    }

                    @media (max-width: 778px) {
                        .form-group {
                            label {
                                font-size: 12px;
                            }

                            .group-input {
                                padding: 8px 12px;
                            }
                        }
                    }

                    @media (max-width: 558px) {
                        .form-group {
                            label {
                                font-size: 10px;
                            }

                            .group-input {
                                padding: 8px 12px;
                            }
                        }
                    }

                    .btn.btn-gradient-3 {
                        max-width: 248px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 16px;
                        padding-block: 16px;
                        border-radius: 5px;
                        color: var(--light-pale);
                    }
                }
            }
        }

        .list-hosts-blocks {
            display: flex;
            flex-direction: column;
            gap: 25px;

            .item-hosts-blocks {
                padding: 33px 37px;
                display: flex;
                border-radius: 6px;
                border: 1px solid var(--light-pale);
                box-shadow: 0 9px 30px 0 #5A5A5A1A;
                transition: .3s all ease-in-out;

                .container-item-block {
                    display: flex;
                    align-items: flex-end;
                    gap: 10px;
                    justify-content: space-between;
                    max-width: 358px;
                }

                .user-info {
                    display: flex;
                    gap: 10px;

                    .profile {
                        width: 38px;
                        height: 38px;
                        border-radius: 50%;
                        display: flex;
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }

                    .info {
                        display: flex;
                        flex-direction: column;
                        gap: 5px;

                        .username {
                            font-size: 16px;
                            font-weight: 700;
                            color: var(--dark-strong);
                            margin: 0;
                        }

                        .block-reason {
                            color: var(--dark-mid);
                            font-size: 11px;
                            font-family: var(--SF-PRO-DISPLAY), sans-serif;
                            font-weight: 600;
                        }
                    }
                }

                .block-date {
                    color: var(--dark-pale);
                    font-weight: 600;
                    font-size: 11px;
                    font-family: var(--SF-PRO-DISPLAY), sans-serif;
                }

                &:hover {
                    box-shadow: 0 20px 30px 0 #5A5A5A1A;
                }
            }
        }

        .form-groups-settings {
            display: flex;
            flex-direction: column;
            gap: 60px;

            .groups-settings {
                display: flex;
                flex-direction: column;
                gap: 19px;

                .title-group {
                    font-family: var(--IBM-Plex), sans-serif;
                    font-weight: 600;
                    font-size: clamp(17px, 2vw, 19px);
                    color: var(--dark-strong);
                    margin: 0;
                }

                .list-settings {
                    display: flex;
                    flex-direction: column;
                    gap: 9px;

                    .group-checkbox {
                        padding: 30px 37px;
                        background: var(--light-pale);
                        box-shadow: 0 9px 30px 0 #5A5A5A1A;
                        border-radius: 6px;

                        input {
                            display: none;
                        }

                        label {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            cursor: pointer;
                            width: 100%;

                            .title-choose {
                                font-family: var(--IBM-Plex), sans-serif;
                                font-size: 14px;
                                font-weight: 400;
                                color: var(--dark-strong);
                            }

                            .toggle-button {
                                display: flex;
                                height: 30px;
                                width: 48px;
                                position: relative;
                                background: #78788029;
                                border-radius: 96px;
                                transition: .3s all ease-in-out;

                                &::before {
                                    content: "";
                                    position: absolute;
                                    top: 50%;
                                    left: 2px;
                                    right: auto;
                                    height: 25px;
                                    width: 25px;
                                    border-radius: 50%;
                                    box-shadow: 0 3px 1px 0 #0000000F, 0 2px 7px 0 #00000026, 0 0 0 1px #0000000A;
                                    background: #FFFFFF;
                                    translate: 0 -50%;
                                    transition: .3s all ease-in-out;

                                }
                            }
                        }

                        &:has(input:checked) label {
                            .toggle-button {
                                background: #34C759;

                                &::before {
                                    left: auto;
                                    right: 2px;
                                }
                            }
                        }
                    }
                }
            }

        }
    }
}

.profile {
    .container {

        .form-personal-info {
            display: flex;
            flex-direction: column;
            gap: 48px;

            .title-form {
                font-size: clamp(20px, 4vw, 41px);
                color: var(--dark-strong);
                font-weight: 400;
                margin-bottom: 0;
            }

            h5.title-group,
            label.title-group {
                font-weight: 700;
            }

            .groups-checkbox .group-checkbox {
                font-weight: 400;
                font-family: var(--IBM-Plex);
            }

            .form-group.upload-image {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                flex-direction: row;
                gap: 12px;

                .upload-image-content {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                }

                .info {
                    display: flex;
                    flex-direction: column;
                    gap: 6px;
                    width: 100%;
                    max-width: 265px;

                    .form-title {
                        margin: 0;
                        font-size: clamp(17px, 2vw, 19px);
                        font-weight: 600;
                        color: var(--dark-strong);
                    }

                    .btn-white-purple {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: row !important;
                        gap: 4px;
                        font-family: var(--SF-PRO-DISPLAY);
                        font-weight: 600;
                        font-size: 11px;

                        .icon {
                            order: -1;
                            flex-shrink: 0;
                            width: 14px;
                            height: 14px;
                            display: flex;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: contain;
                            }
                        }
                    }
                }
            }

            .required-asterisk {
                font-weight: 700;
            }

            .terms-label-text {
                cursor: pointer;
                user-select: none;
                font-family: var(--IBM-Plex);
                font-weight: 400;
                font-size: 14px;
            }

            .terms-link {
                color: inherit;
                text-decoration: underline;

                &:hover {
                    color: inherit;
                }
            }

            .wrapper-form {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 50px 25px;
                align-items: start;

                @media (max-width:1200px) {
                    gap: 24px;
                }

                @media (max-width:1200px) and (min-width:992px) {
                    grid-template-columns: 1fr;
                }

                @media (max-width:778px) {
                    grid-template-columns: minmax(0, 1fr);
                    width: 100%;
                    min-width: 0;

                    >.form-group {
                        min-width: 0;
                        max-width: 100%;
                    }
                }

                .form-group-full {
                    grid-column: 1 / -1;
                }
            }

            .form-group {

                label,
                label.title-group {
                    color: var(--dark-strong);
                    font-weight: 600;
                }

                .group-input,
                .group-input.group-input--datepicker {
                    background: var(--light-pale);
                }

                .group-input input,
                .group-input textarea,
                .group-input .select2-container--default .select2-selection--single {
                    background: transparent;
                }

                .group-input>.icon {
                    width: 20px;
                    height: 20px;
                    flex-shrink: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                /* Birth date: icon stays in the row so the format hint is not covered. */
                .group-input.group-input--datepicker {
                    cursor: pointer;
                    overflow: visible;

                    >.icon {
                        position: static;
                        pointer-events: none;
                    }

                    input#birth-date {
                        width: auto;
                        flex: 1;
                        min-width: 0;
                        cursor: pointer;
                        background: transparent;
                        caret-color: transparent;

                        &::placeholder {
                            color: var(--dark-pale);
                            opacity: 1;
                        }
                    }

                    .daterangepicker.birthdate-daterangepicker {
                        z-index: 1060;
                        width: auto;
                        border-radius: 12px;
                        box-shadow: 0 8px 32px 0 #0000000f;
                        font-family: var(--IBM-Plex), sans-serif;
                        background: var(--light-pale);
                        border: 1px solid var(--light-strong);
                        font-size: 15px;
                        padding: 12px 18px;

                        .ranges,
                        .drp-calendar.right,
                        .drp-buttons {
                            display: none;
                        }

                        .calendar-table {
                            border: none;
                            border-radius: 10px;
                            background: #fff;
                        }

                        th.month,
                        select.monthselect,
                        select.yearselect {
                            font-family: var(--IBM-Plex), sans-serif;
                            font-weight: 600;
                            font-size: 14px;
                            color: var(--dark-strong);
                        }

                        th.month {
                            white-space: nowrap;
                        }

                        /* Form selects are width:100%; keep month/year inside the header so the year does not cover the arrow. */
                        select.monthselect,
                        select.yearselect {
                            appearance: none;
                            background: transparent;
                            border: none;
                            cursor: pointer;
                            width: auto;
                            margin: 0 2px;
                            vertical-align: middle;
                        }

                        .calendar-table thead tr:nth-child(2) th {
                            font-family: var(--SF-PRO-DISPLAY), sans-serif;
                            font-size: 11px;
                            font-weight: 600;
                            color: var(--dark-mid);
                        }

                        td {
                            font-family: Inter, sans-serif;
                            font-size: 14px;
                            font-weight: 500;
                        }

                        td.active,
                        td.active:hover {
                            background-color: var(--purple-brand);
                            color: #fff;
                        }

                        td.available:hover {
                            background: var(--purple-mid-hover);
                            color: #fff;
                        }

                        td.off {
                            color: var(--dark-pale);
                        }
                    }
                }

                .email-input-row {
                    width: 100%;
                }

                .email-input-row .group-input input {
                    width: auto;
                    flex: 1;
                    min-width: 0;
                }

                .active-email,
                .email-verify-btn {
                    margin-inline-start: auto;
                    flex-shrink: 0;
                    white-space: nowrap;
                    padding: 7px 11px !important;
                    font-size: 12px;
                    color: var(--dark-strong);
                    font-weight: 600;
                    font-family: var(--SF-PRO-DISPLAY), sans-serif;
                }

                .email-verify-btn .icon {
                    display: inline-flex;
                    width: 14px;
                    height: 14px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                .field-error {
                    font-size: 13px;
                    color: red;
                    font-weight: 600;
                    margin-top: 6px;
                }

                .field-success {
                    font-size: 13px;
                    color: #15BF64;
                    font-weight: 600;
                    margin-top: 6px;
                }

                /* Match create-account / host.css: LTR shell so dial code stays on the left. */
                .phone-input-wrapper {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    background: var(--light-pale);
                    border: 1px solid var(--light-strong);
                    border-radius: 8px;
                    box-shadow: 0 3px 4px 0 #00000012;
                    height: auto;
                    min-height: 52px;
                    padding: 16px 20px;
                    width: 100%;
                    box-sizing: border-box;
                    direction: ltr;
                }

                /* Same .icon treatment as .group-input fields (Mail/User). */
                .phone-input-wrapper>.icon {
                    width: 20px;
                    height: 20px;
                    flex-shrink: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .phone-input-wrapper>.icon img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }

                .phone-input-wrapper .phone-input {
                    flex: 1;
                    min-width: 0;
                    border: none;
                    outline: none;
                    background: transparent;
                    color: var(--dark-strong);
                    font-family: var(--IBM-Plex), sans-serif;
                    text-align: left;
                    direction: ltr;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code {
                    display: flex;
                    align-items: center;
                    direction: ltr;
                    flex-shrink: 0;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-container {
                    width: auto !important;
                    min-width: fit-content !important;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-container--default .select2-selection--single {
                    border: none !important;
                    background: transparent !important;
                    height: auto !important;
                    padding: 0 !important;
                    min-height: auto !important;
                    position: relative;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-selection__rendered {
                    padding: 0 !important;
                    padding-inline-end: 18px !important;
                    line-height: 23px !important;
                    display: flex !important;
                    align-items: center !important;
                    gap: 6px !important;
                    font-family: var(--IBM-Plex), sans-serif !important;
                    font-weight: 400 !important;
                    font-size: 14px !important;
                    color: var(--dark-strong) !important;
                    direction: ltr;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-selection__rendered .language-select2-inner {
                    display: inline-flex !important;
                    align-items: center !important;
                    gap: 6px !important;
                    flex-direction: row !important;
                    direction: ltr;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-selection__rendered img {
                    width: 14px !important;
                    height: 14px !important;
                    object-fit: cover !important;
                    flex-shrink: 0 !important;
                    order: 0;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .Country-Code-text {
                    font-family: var(--IBM-Plex), sans-serif !important;
                    font-weight: 400 !important;
                    font-size: 14px !important;
                    line-height: 23px !important;
                    color: var(--dark-strong) !important;
                    white-space: nowrap !important;
                    unicode-bidi: bidi-override;
                    direction: ltr;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-selection__arrow {
                    inset-inline-end: 0 !important;
                    inset-inline-start: auto !important;
                    right: 0 !important;
                    left: auto !important;
                    top: 50% !important;
                    height: 14px !important;
                    width: 14px !important;
                    transform: translateY(-50%) !important;
                    margin-top: 0 !important;
                    position: absolute !important;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-selection__arrow b {
                    display: none !important;
                }

                .phone-input-wrapper #personal-info-wrapper-country-code .select2-selection__arrow::after {
                    content: '';
                    display: block;
                    width: 14px;
                    height: 14px;
                    background-image: url('../images/angle-down-small-gray.svg');
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: center;
                    position: absolute;
                    top: 0;
                    left: 0;
                    transform: rotate(-90deg);
                }

                /* Same as create-account: dropdown lives under .phone-input-wrapper */
                .phone-input-wrapper .select2-dropdown .select2-results__option {
                    padding-inline-start: 12px !important;
                    padding-inline-end: 12px !important;
                    overflow: visible !important;
                }

                .phone-input-wrapper .select2-dropdown .select2-results__option--selectable::before {
                    content: none !important;
                    display: none !important;
                }

                .phone-input-wrapper .select2-dropdown .select2-results__option .Country-Code-text {
                    unicode-bidi: bidi-override;
                    direction: ltr;
                    font-family: var(--IBM-Plex), sans-serif !important;
                    font-weight: 400 !important;
                    font-size: 14px !important;
                    line-height: 23px !important;
                    white-space: nowrap !important;
                }

                .phone-input-wrapper .select2-dropdown .select2-results__option .language-select2-inner {
                    display: inline-flex !important;
                    align-items: center !important;
                    gap: 6px !important;
                    flex-direction: row !important;
                    direction: ltr;
                }

                .phone-input-wrapper .select2-dropdown .select2-results__option img {
                    width: 18px !important;
                    height: 18px !important;
                    object-fit: cover !important;
                    flex-shrink: 0 !important;
                }

                .phone-input-wrapper .email-verify-btn {
                    margin-inline-start: auto;
                }

                .group-input {
                    height: auto;
                    min-height: 52px;
                    align-items: center;

                    select {
                        border: none;
                        outline: none;
                        width: 100%;
                        background: transparent;
                        color: var(--dark-pale);
                        font-family: var(--IBM-Plex), sans-serif;
                        cursor: pointer;
                    }

                    .select2-selection--single {
                        border: none;
                        outline: none;
                    }
                }

                .group-input.group-input--file {
                    height: 52px;
                    min-height: 52px;
                    max-height: 52px;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    cursor: pointer;
                    overflow: hidden;

                    .filename {
                        order: 0;
                        flex: 1;
                        min-width: 0;
                        text-align: start;
                    }

                    .upload-file {
                        order: 1;
                        margin-inline-start: auto;
                        flex-shrink: 0;
                    }
                }

                /* Country + identity: match create-account #country-live (arrow spacing + clear at end) */
                .group-input:has(#country),
                .group-input:has(#identity-type) {
                    position: relative;
                    padding-inline: 0;
                    gap: 0;

                    >.icon {
                        position: absolute;
                        inset-inline-start: 20px;
                        top: 50%;
                        transform: translateY(-50%);
                        z-index: 2;
                        pointer-events: none;
                        width: 20px;
                        height: 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }

                    >.select2-container {
                        width: 100% !important;
                        /* 20px field pad + 20px icon + 10px gap */
                        padding-inline-start: 50px;
                        padding-inline-end: 20px;
                    }

                    .select2-container--default .select2-selection--single {
                        padding: 0 !important;
                        padding-inline-end: 24px !important;
                        border: none;
                        background: transparent;
                        height: auto;
                        min-height: 20px;
                        display: flex;
                        align-items: center;
                    }

                    /* Select2 prepends clear before the label — reorder to [text][×] */
                    .select2-container--default .select2-selection--single .select2-selection__rendered {
                        order: 1;
                        min-width: 0;
                        padding-inline: 0 !important;
                        line-height: normal;
                        color: var(--dark-strong);
                    }

                    .select2-container--default .select2-selection--single .select2-selection__clear,
                    .select2-container--default .select2-selection--single button.select2-selection__clear {
                        order: 2;
                        flex-shrink: 0;
                        position: static !important;
                        float: none !important;
                        left: auto !important;
                        right: auto !important;
                        top: auto !important;
                        height: auto;
                        margin: 0 !important;
                        padding: 0;
                        padding-inline-start: 8px;
                    }

                    .select2-container--default .select2-selection--single .select2-selection__placeholder {
                        color: var(--dark-pale);
                    }

                    /* Unset Select2 default top:1px / left:0|1px; space arrow from the side */
                    .select2-container--default .select2-selection--single .select2-selection__arrow {
                        inset-inline-end: 0 !important;
                        inset-inline-start: auto !important;
                        right: auto !important;
                        left: auto !important;
                        top: auto !important;
                        height: 100%;
                    }

                    html[dir="rtl"] & .select2-container--default .select2-selection--single .select2-selection__arrow,
                    [dir="rtl"] & .select2-container--default .select2-selection--single .select2-selection__arrow {
                        left: 8px !important;
                        right: auto !important;
                        top: auto !important;
                    }

                    html[dir="ltr"] & .select2-container--default .select2-selection--single .select2-selection__arrow,
                    [dir="ltr"] & .select2-container--default .select2-selection--single .select2-selection__arrow {
                        right: 8px !important;
                        left: auto !important;
                        top: auto !important;
                    }

                    >.select2-dropdown,
                    .select2-dropdown {
                        left: 0 !important;
                        width: 100% !important;
                        box-sizing: border-box;
                    }
                }

                .identity-upload-group {
                    align-self: start;
                }

                .identity-preview {
                    margin-bottom: 10px;
                }

                .identity-preview-thumb {
                    position: relative;
                    width: 72px;
                    height: 72px;
                    flex-shrink: 0;
                }

                .identity-preview-thumb img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 8px;
                    border: 2px solid #EAE0F0;
                    display: block;
                }

                .identity-preview-remove {
                    position: absolute;
                    top: -8px;
                    inset-inline-end: -8px;
                    width: 22px;
                    height: 22px;
                    border: none;
                    border-radius: 50%;
                    background: #fff;
                    color: var(--dark-strong);
                    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 16px;
                    line-height: 1;
                    cursor: pointer;
                    padding: 0;
                    z-index: 2;
                }

                input[type="file"] {
                    display: none;
                }

                .filename {
                    font-family: var(--IBM-Plex), sans-serif;
                    font-weight: 400;
                    color: var(--dark-pale);
                    display: -webkit-box;
                    -webkit-line-clamp: 1;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: normal;
                }

                .upload-file {
                    cursor: pointer;
                    margin-inline-start: auto;

                    .icon,
                    .custom-icon {
                        width: 18px;
                        height: 18px;
                        display: flex;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }
                }
            }

            .personal-info-submit-btn.create-account-submit-btn,
            .create-account-submit-btn.personal-info-submit-btn {
                width: 100%;
                max-width: 346px;
                height: 52px;
                min-height: 52px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 16px;
                border-radius: 5px;
                box-sizing: border-box;
                color: #fff;
                font-family: var(--IBM-Plex);
                font-weight: 600;
                font-size: 13px;
                cursor: pointer;

                &:disabled {
                    opacity: 0.7;
                    cursor: not-allowed;
                }
            }

            @media (max-width:778px) {
                .form-group.upload-image {
                    flex-direction: column;
                }

                .personal-info-submit-btn.create-account-submit-btn {
                    max-width: 100%;
                }
            }
        }
    }
}


.transactions {
    .container {
        display: flex;
        flex-direction: column;
        gap: 31px;

        .container-transactions {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 51px;
            width: 100%;

            >.left-side {
                flex: 1 1 0;
                min-width: 0;
                width: 100%;
            }

            >.right-side {
                flex: 0 0 360px;
                max-width: 400px;
                width: 100%;
                min-width: 0;
                align-self: flex-start;
                position: sticky;
                top: 120px;
            }

            @media (max-width:1200px) {
                gap: 31px;

                >.right-side {
                    flex-basis: 320px;
                    max-width: 360px;
                }
            }

            @media (max-width:992px) {
                flex-direction: column;
                gap: 24px;
                align-items: stretch;

                /* Balance card above transaction list on mobile */
                >.right-side {
                    order: -1;
                    position: static;
                    flex: none;
                    max-width: 100%;
                    width: 100%;
                }
            }
        }
    }
}

.blocks {
    .container {
        display: flex;
        flex-direction: column;
        gap: 31px;

        .container-blocks {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 51px;
            width: 100%;

            >.left-side {
                flex: 1 1 0;
                min-width: 0;
                width: 100%;
            }

            >.right-side {
                flex: 0 0 360px;
                max-width: 400px;
                width: 100%;
                min-width: 0;
                align-self: flex-start;
                position: sticky;
                top: 120px;
            }

            @media (max-width:1200px) {
                gap: 31px;

                >.right-side {
                    flex-basis: 320px;
                    max-width: 360px;
                }
            }

            @media (max-width:992px) {
                flex-direction: column;
                gap: 24px;
                align-items: stretch;

                >.right-side {
                    position: static;
                    flex: none;
                    max-width: 100%;
                    width: 100%;
                }
            }
        }
    }
}

.messages {
    position: relative;
    overflow: hidden;

    .container {
        .unit-profile {
            .container {
                padding: 10px 10px 16px;
                margin: 0 0 16px;
                gap: 15px;
                flex-direction: row;
                /* Beat .support-center .container { justify-content: space-between } */
                justify-content: flex-start;
                align-items: center;
                width: 100%;
                max-width: none;

                .right-side {
                    width: fit-content;
                    flex: none;
                    max-width: none;

                    .image-unit {
                        height: 84px;
                        width: 84px;
                        border-radius: 8px;
                        overflow: hidden;
                        flex-shrink: 0;
                        display: flex;
                        background: #ececee;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }

                .left-side {
                    gap: 12px;
                    min-width: 0;
                    flex: 1 1 auto;
                    display: flex;
                    flex-direction: column;
                    align-items: stretch;
                    overflow: hidden;

                    .title-property {
                        font-family: var(--IBM-Plex), sans-serif;
                        font-size: 16px;
                        font-weight: 700;
                        color: var(--dark-strong);
                        margin-bottom: 0;
                        width: 100%;
                        max-width: 100%;
                        min-width: 0;
                        display: block;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }

                    .unit-profile-actions {
                        display: flex;
                        flex-wrap: wrap;
                        align-items: center;
                        gap: 8px;
                    }
                }
            }
        }

        .btn-purple-pale {
            font-family: var(--SF-PRO-DISPLAY), sans-serif;
            font-size: 11px;
            font-weight: 600;
            max-width: 191px;
            height: 35px;
            padding: 8px 16px;
            justify-content: center;
            align-items: center;
            gap: 4px;
            border-radius: 20px;

            .custom-icon {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 12px;
                height: 12px;
                flex-shrink: 0;
                line-height: 0;

                img {
                    width: 12px;
                    height: 12px;
                    object-fit: contain;
                    display: block;
                }
            }

            >span:not(.custom-icon) {
                line-height: 1.4;
            }
        }

        .btn-go-booking {
            display: inline-flex;
        }

        .btn-archive-chat {
            max-width: none;
        }

        .info-chat {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 12px;
            margin: 12px 0;

            .box-info-chat {
                display: flex;
                align-items: flex-start;
                gap: 8px;
                background: #f4f4f4;
                border-radius: 10px;
                padding: 12px 16px;
                min-height: 108px;

                .custom-icon {
                    width: 18px;
                    height: 18px;
                    flex-shrink: 0;
                    margin-top: 2px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                .body-box {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                    min-width: 0;
                    flex: 1;

                    .title-box {
                        font-family: var(--IBM-Plex), sans-serif;
                        font-size: 14px;
                        font-weight: 600;
                        color: var(--dark-strong, #383241);
                        margin: 0;
                        line-height: 24.5px;
                    }

                    p {
                        color: var(--dark-pale);
                        font-size: 11px;
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                        margin: 0;
                        line-height: 1.4;

                        .host-kuwait-time {
                            white-space: nowrap;
                        }
                    }

                    .btn-alert-booking {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 4px;
                        height: 32px;
                        min-height: 32px;
                        padding: 10px;
                        margin-top: 6px;
                        border-radius: 20px;
                        background: var(--purple-pale, #eae0f0);
                        color: var(--purple-brand, #46295a);
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                        font-size: 11px;
                        font-weight: 600;
                        line-height: 1.4;
                        width: fit-content;
                        max-width: 100%;

                        .custom-icon {
                            width: 12px;
                            height: 12px;
                            margin-top: 0;

                            img {
                                width: 12px;
                                height: 12px;
                            }
                        }
                    }
                }

                &.text-center {
                    align-items: center;

                    .body-box {
                        align-items: center;
                        text-align: center;
                    }
                }

                &.box-info-chat--status {
                    min-height: 75px;
                    align-items: center;
                    justify-content: center;
                    background: #f5f5f5;
                    border-radius: 5px;
                    padding: 8px 10px;

                    .body-box {
                        align-items: center;
                        text-align: center;
                        gap: 0;

                        p {
                            color: var(--dark-strong, #383241);
                            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                            font-size: 14px;
                            font-weight: 400;
                            line-height: 23px;

                            .host-kuwait-time {
                                white-space: nowrap;
                            }
                        }
                    }
                }
            }

            &.info-chat--status {
                grid-template-columns: 1fr;
            }
        }

        .chat-view {
            &:not(:has(.list-messages .group-message)) {
                background: url("../images/chat-bg-image.png") center center no-repeat;
            }

            background-size: 308px auto;
            height: auto !important;

            .empty-chat-state {
                padding-block: 48px !important;
                min-height: 280px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

            .list-messages {
                min-height: 360px;
                overflow-y: auto;

                .group-message {
                    .info-message {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        gap: 6px;

                        .read-status {
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            order: -1;
                            width: 22px;
                            height: 22px;
                            flex-shrink: 0;

                            img {
                                width: 22px;
                                height: 22px;
                                object-fit: contain;
                            }
                        }

                        .date-message {
                            font-family: var(--SF-PRO-DISPLAY), sans-serif;
                            font-size: 12px;
                            font-weight: 600;
                            color: var(--dark-pale);
                            direction: ltr;
                            unicode-bidi: isolate;
                        }
                    }
                }
            }
        }

        @media (min-width: 993px) {
            &:has(.chat-panel) {
                padding-inline-end: 400px;
            }
        }

        .chat-panel {
            background: #FFFFFF;
            margin: 0;
            border: 2px solid var(--purple-pale);
            border-radius: 8px;
            padding: 24px 0;
            position: absolute;
            right: 0;
            top: -20px;
            height: calc(100% + 40px);
            width: 560px;
            z-index: 1;
            overflow: auto;
            transition: .3s all ease-in-out;

            .title-chats {
                padding: 16px 24px 8px;
            }

            .list-chats {
                display: flex;
                flex-direction: column;
                gap: 24px;
                position: relative;

                .groups-chat {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;

                    .close-chats {
                        display: flex;
                        align-items: center;
                        padding: 4px;
                        background: var(--purple-pale);
                        font-weight: 600;
                        transition: background 0.3s, color 0.3s;
                        border-radius: 50%;
                        border: none;
                        cursor: pointer;
                        position: absolute;
                        top: 10px;
                        right: 15px;

                        img {
                            filter: brightness(0);
                        }

                        &:hover {
                            background: var(--purple-light);
                        }

                        @media (min-width: 993px) {
                            display: none;
                        }
                    }

                    .title-chats {
                        display: flex;
                        font-family: var(--IBM-Plex), sans-serif;
                        font-weight: 600;
                        color: var(--dark-strong);
                        margin: 0;
                        font-size: 19px;
                        line-height: 1.4;
                        overflow: visible;
                        white-space: normal;
                    }

                    &:not(:first-child) .title-chats {
                        color: var(--dark-mid, #6a676d);
                    }

                    .chats {
                        display: flex;
                        flex-direction: column;
                        padding-block: 0;

                        .chat {
                            display: flex;
                            justify-content: space-between;
                            align-items: start;
                            gap: 12px;
                            padding: 14px 24px;
                            border: none;
                            background: transparent;
                            transition: .3s border ease-in-out, background-color .3s ease-in-out;
                            outline: none;
                            text-align: start;
                            width: 100%;
                            cursor: pointer;

                            .user-info {
                                display: flex;
                                align-items: center;
                                gap: 10px;
                                min-width: 0;

                                .custom-icon {
                                    width: 38px;
                                    height: 38px;
                                    border-radius: 50%;
                                    overflow: hidden;
                                    flex-shrink: 0;

                                    img {
                                        width: 100%;
                                        height: 100%;
                                        object-fit: cover;
                                    }
                                }

                                .info {
                                    display: flex;
                                    flex-direction: column;
                                    align-items: flex-start;
                                    gap: 5px;
                                    min-width: 0;

                                    .username {
                                        font-family: var(--IBM-Plex), sans-serif;
                                        color: var(--dark-mid, #6a676d);
                                        font-weight: 700;
                                        font-size: 16px;
                                        line-height: 24.5px;
                                        margin: 0;
                                        max-width: 100%;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                    }

                                    .last-message {
                                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                                        font-size: 11px;
                                        font-weight: 600;
                                        color: var(--dark-pale, #b1aeb5);
                                        max-width: 220px;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                    }
                                }
                            }

                            .chat-meta {
                                display: flex;
                                flex-direction: column;
                                align-items: flex-end;
                                gap: 6px;
                                flex-shrink: 0;
                            }

                            .last-message-date {
                                font-family: var(--SF-PRO-DISPLAY), sans-serif;
                                color: var(--dark-pale);
                                font-weight: 600;
                                font-size: 11px;
                                white-space: nowrap;
                                line-height: 1.4;
                                direction: ltr;
                                unicode-bidi: isolate;
                            }

                            .unread-badge {
                                display: inline-flex;
                                align-items: center;
                                justify-content: center;
                                min-width: 20px;
                                height: 20px;
                                padding: 0 6px;
                                border-radius: 20px;
                                background: var(--orange-brand, #ff6249);
                                color: var(--light-pale, #fdfdfd);
                                font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                                font-size: 11px;
                                font-weight: 600;
                                line-height: 1;
                            }

                            .chat-row-actions {
                                opacity: 0;
                                transition: opacity 0.2s ease-in-out;
                            }

                            .btn-chat-archive {
                                border: none;
                                background: transparent;
                                color: var(--purple-brand);
                                font-family: var(--SF-PRO-DISPLAY), sans-serif;
                                font-size: 11px;
                                font-weight: 600;
                                padding: 0;
                                cursor: pointer;
                                text-decoration: underline;
                                white-space: nowrap;
                            }

                            &:hover {
                                border-color: transparent;
                                background-color: rgba(234, 224, 240, 0.4);

                                .chat-row-actions {
                                    opacity: 1;
                                }

                                .last-message {
                                    color: var(--dark-strong);
                                }
                            }

                            &.active {
                                background-color: rgba(234, 224, 240, 0.4);

                                .username {
                                    color: var(--purple-brand, #46295a);
                                }

                                .last-message {
                                    color: var(--dark-strong);
                                }

                                .chat-row-actions {
                                    opacity: 1;
                                }
                            }

                            &:not(:last-child) {
                                border-bottom: 1px solid var(--light-mid);
                            }
                        }
                    }
                }
            }

            @media(max-width:1500px) {
                width: 450px;
            }

            @media(max-width:1300px) {
                width: 400px;

                .list-chats {
                    gap: 16px;

                    .groups-chat {
                        .title-chats {
                            padding-block: 10px;
                            padding-inline: 16px;
                        }

                        .chats {
                            .chat {
                                padding: 12px 16px;
                            }
                        }
                    }
                }
            }

            @media(max-width:992px) {
                width: 100%;
                max-width: 100%;
                left: 0;
                right: -100%;
                height: 100%;
                z-index: 5;
                box-sizing: border-box;

                .list-chats {
                    gap: 16px;

                    .groups-chat {
                        .title-chats {
                            padding-block: 10px;
                            padding-inline: 16px;
                        }

                        .chats {
                            .chat {
                                padding: 12px 16px;

                                .chat-row-actions {
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }

                &.show {
                    right: 0;
                    left: 0;
                }
            }
        }

        .toggle-chat {
            display: none;
            margin-bottom: 20px;
            align-self: flex-end;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            padding: 6px;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                background: none;
                pointer-events: none;
            }

        }

        @media(max-width:992px) {
            .toggle-chat {
                display: flex;
            }

            &:has(.chat-panel) {
                padding-block: 20px;
            }

            .left-side {
                min-width: auto;

                .list-messages {
                    min-height: 400px;
                }
            }
        }
    }
}


/* Messages: read receipt — icon first at inline-start, 22×22 */
.support-center.messages .container .left-side .support-chat .list-messages .group-message .info-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.support-center.messages .container .left-side .support-chat .list-messages .group-message .info-message .read-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 1;
    width: 22px;
    height: 22px;
    flex-shrink: 0;

    img,
    &:not(.is-read) img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }
}

.list-groups-fav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    align-items: stretch;

    .list-group-item {
        display: flex;
        align-items: stretch;
        text-align: center;
        flex-direction: column;
        gap: 13px;
        background: #FFFFFF;
        border: 1px solid #D9D9D9;
        border-radius: 10px;
        padding: 18px 18px 22px 18px;
        transition: .3s all ease-in-out;
        height: 100%;
        min-height: 100%;

        .header-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            width: 100%;
            flex: 1 1 auto;

            .image-wrapper {
                border-radius: 8px;
                overflow: hidden;
                height: 108px;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                background: var(--light-mid);
                font-weight: 600;
                font-size: 17px;
                color: var(--dark-strong);
                transition: .3s all ease-in-out;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                &.image-wrapper--empty,
                .image-wrapper--empty {
                    width: 100%;
                    height: 100%;
                    min-height: 108px;
                    background: var(--light-mid, #ececee);
                }
            }

            /* Keep 2×2 grid for sparse covers; single-cell expansion is unused when always 4 wrappers */
            &:has(> .image-wrapper:only-child) {
                grid-template-columns: 1fr;

                .image-wrapper {
                    height: 160px;
                }
            }

            /* 2 images: keep row, taller cells */
            &:has(> .image-wrapper:nth-child(2):last-child) {
                .image-wrapper {
                    height: 130px;
                }
            }

            /* Empty / filled 4-cell cover */
            &:has(> .image-wrapper:nth-child(4):last-child) {
                grid-template-columns: 1fr 1fr;

                .image-wrapper {
                    height: 108px;
                }
            }

            .more-image-number {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100%;
                font-weight: 600;
                font-size: 17px;
                color: var(--dark-strong);
                direction: ltr;
            }

            &:hover .image-wrapper {
                background: var(--purple-light);
            }
        }

        .add-new-fav {
            width: 100%;
            font-size: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--light-mid);
            border: none;
            transition: .3s all ease-in-out;
            height: 222px;
            flex: 1 1 auto;

            &:hover {
                background: var(--purple-light);
            }
        }

        .list-group-footer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            margin-top: auto;
            width: 100%;
        }

        .title-group {
            font-weight: 600;
            font-size: 13px;
            color: var(--dark-mid);
            margin: 0;
        }

        .count-group {
            font-weight: 400;
            font-size: 12px;
            color: var(--dark-pale);
            margin: 0;
            line-height: 1.3;
        }

        .show-details {
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50px;
            background: #F6F6F6;
            border: none;
            padding: 5px 12px;
            width: fit-content;
            transition: .3s all ease-in-out;

            &:hover {
                background: var(--light-strong);
            }
        }

        &:has(input[type='checkbox']) {
            cursor: pointer;
        }

        input[type='checkbox'] {
            display: none;
        }

        &:has(input:checked),
        &:hover {
            box-shadow: 0 0 0 2px var(--orange-brand);
        }
    }
}

.fav-units-date {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    background: #FFFFFF;
    border: 2px solid var(--purple-pale);
    border-radius: 8px;
    padding: 42px 24px;

    .title-box {
        font-weight: 600;
        font-size: clamp(17px, 2vw, 19px);
        color: var(--dark-strong);
        margin-bottom: 15px;
    }

    .box-date {
        position: relative;
        background: var(--purple-pale);
        padding: 11px 32px;
        font-size: 12px;
        width: 100%;
        max-width: 208px;
        justify-content: center;
        margin-bottom: 0;
        cursor: pointer;
    }

    .favorites-datepicker-wrap {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-bottom: 52px;
        z-index: 30;
    }

    .favorites-datepicker-panel {
        display: none;
        margin-top: 12px;
        width: 100%;
        max-width: 100%;
        background: #fff;
        border: 1px solid var(--light-strong, #e5e5e5);
        border-radius: 12px;
        box-shadow: 0 8px 32px 0 #0000000f;
        padding: 12px 16px 20px;
        overflow: auto;
    }

    /* !important beats leftover inline styles from Vue / daterangepicker */
    .favorites-datepicker-panel.is-open {
        display: block !important;
    }

    /* Mirror homepage Travel dates calendar styles (normally under .filter-box #date-popup) */
    .favorites-datepicker-panel.date-popup-content {
        .date-popup-calendar-section {
            display: flex;
            flex-direction: column;
            margin-top: 0;

            .calendar-range-container {
                display: flex;
                justify-content: center;

                select {
                    border: none;
                    appearance: none;
                    width: auto;
                }

                .daterangepicker {
                    display: flex !important;
                    flex-direction: row;
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 8px 16px;
                    border: none !important;
                    box-shadow: none !important;
                    background: transparent;
                    padding: 0;
                    margin: 0 !important;
                    position: static !important;
                    top: auto !important;
                    left: auto !important;
                    right: auto !important;
                    width: 100% !important;
                    max-width: 100% !important;
                }

                .daterangepicker:before,
                .daterangepicker:after,
                .daterangepicker.openscenter:before,
                .daterangepicker.openscenter:after {
                    display: none !important;
                }

                .daterangepicker .ranges {
                    display: none !important;
                }

                .daterangepicker .drp-calendar.left {
                    display: block;
                }

                .daterangepicker .drp-calendar.right {
                    display: none !important;
                }

                /* Keep month chevrons above Select2 month/year widgets */
                .daterangepicker .calendar-table th.prev,
                .daterangepicker .calendar-table th.next {
                    position: relative;
                    z-index: 2;
                    cursor: pointer;
                    pointer-events: auto;
                }

                .daterangepicker .drp-calendar {
                    max-width: 400px;
                    min-width: 282px;
                }

                .daterangepicker .calendar-table {
                    width: 282px;
                    min-width: 282px;
                    border: none;
                    background: transparent;
                }

                .daterangepicker .calendar-table th {
                    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                    font-size: 11px;
                    font-weight: 600;
                    color: var(--dark-mid, #6A676D);
                }

                .daterangepicker .calendar-table td {
                    width: 39px;
                    height: 39px;
                    font-family: Inter, sans-serif;
                    font-size: 16px;
                    font-weight: 500;
                    color: var(--dark-mid);
                }

                .daterangepicker td.in-range {
                    border-radius: 0;
                    background: var(--purple-pale);
                    color: var(--purple-brand);
                }

                .daterangepicker td.active,
                .daterangepicker td.active:hover,
                .daterangepicker td.start-date,
                .daterangepicker td.end-date {
                    background: var(--purple-brand);
                    color: #fff;
                    border-radius: 50%;
                }

                .daterangepicker td.today {
                    color: var(--light-pale);
                    background-color: var(--orange-brand);
                    border-radius: 50%;
                }

                .daterangepicker td.available:hover {
                    background: var(--purple-mid-hover);
                    color: #fff;
                    border-radius: 50%;
                }

                .daterangepicker .drp-buttons {
                    display: none !important;
                }
            }
        }

        .calendar-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 24px;

            .btn-confirm-range {
                border: 1px solid var(--light-strong);
                border-radius: 5px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                font-family: inherit;
                font-size: 14px;
                font-weight: 600;
                color: var(--purple-mid);
                background: #fff;
                padding: 12px;
                width: 100%;
                max-width: 200px;

                .icon {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 16px;
                    height: 16px;
                    transition: .3s all ease-in-out;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                &:hover {
                    color: #fff;
                    background: var(--purple-brand);

                    .icon {
                        filter: brightness(10);
                    }
                }
            }
        }
    }

    @media (max-width: 992px) {
        .favorites-datepicker-panel.date-popup-content {
            .date-popup-calendar-section .calendar-range-container {
                .daterangepicker .calendar-table td {
                    width: 26px;
                    height: 26px;
                    font-size: 12px;
                }

                .daterangepicker .drp-calendar {
                    max-width: 340px;
                    min-width: 0;
                }

                .daterangepicker .calendar-table {
                    width: auto;
                    min-width: 0;
                }
            }
        }
    }

    .group-items {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;

        &:not(:last-child) {
            margin-bottom: 44px;
        }

        .unit-profile {
            box-shadow: 1.88px 5.65px 5.65px 0px #6666660D;

            .container {
                margin: 0;
                padding: 10px 10px 14px;
                gap: 15px;

                @media (max-width: 992px) {
                    flex-direction: row;

                    .right-side {
                        width: auto;
                    }
                }

                .left-side {
                    display: flex;
                    flex-direction: column;
                    align-self: stretch;
                    height: auto;
                    min-height: 100%;
                    gap: 5px;

                    .title-property {
                        font-size: 16px;
                        font-weight: 700;
                        margin: 0;
                    }

                    .sub-info {
                        margin-top: auto;

                        .item-info {
                            align-items: center;

                            .icon {
                                width: 15px;
                                height: 15px;
                            }

                            .value {
                                span {
                                    font-size: 11px;
                                    font-family: var(--SF-PRO-DISPLAY);
                                }

                                .rate {
                                    font-size: 13px;
                                    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                                    font-weight: 600;
                                }
                            }
                        }

                        .btn-danger {
                            display: flex;
                            align-items: center;
                            gap: 5px;
                            font-size: 11px;
                            font-weight: 600;
                            font-family: var(--SF-PRO-DISPLAY);
                            color: var(--info-red);
                            background: #FEECEC;
                            border: none;
                            border-radius: 40px;
                            padding: 7px 17px;
                            justify-content: center;
                        }
                    }

                    .unit-location {
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY);
                        font-size: 11px;
                        color: var(--dark-pale);
                    }
                }

                .right-side {
                    .image-unit {
                        height: 108px;
                        width: 84px;
                    }
                }
            }
        }
    }
}

/* Favorites page: 3 list cards per row from 1200px */
@media (min-width: 1200px) {
    #favorites-app .list-groups-fav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Favorites unit thumb: same empty placeholder as home property cards (homes.svg) */
#favorites-app .fav-units-date .image-unit {
    width: 84px;
    height: 108px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-shrink: 0;
    background: #ececee;
}

#favorites-app .fav-units-date .image-unit img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#favorites-app .fav-units-date .image-unit__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ececee;
}

#favorites-app .fav-units-date .image-unit__placeholder .image-wrapper--empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#favorites-app .fav-units-date .image-unit__placeholder .image-wrapper--empty::after {
    content: '';
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: #9c90a6;
    -webkit-mask: url('/static/web/images/homes.svg?cors') no-repeat center / contain;
    mask: url('/static/web/images/homes.svg?cors') no-repeat center / contain;
}

#favorites-app .fav-units-date .unit-profile {
    cursor: pointer;
}

#favorites-app .fav-units-date .unit-profile .container {
    align-items: stretch;
}

/* .section-with-sticky's sidebar layout leaks onto the card's own .right-side; same antidote as .list-prev-reservation. */
#favorites-app .fav-units-date .unit-profile .container > .right-side {
    width: auto;
    min-width: 0;
    flex: none;
    position: static;
}

#favorites-app .fav-units-date .unit-profile .left-side {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 100%;
    flex: 1;
}

#favorites-app .fav-units-date .unit-profile .sub-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

#favorites-app .fav-units-date .unit-profile .sub-info .item-info {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: fit-content;
    flex: 0 0 auto;
}

#favorites-app .fav-units-date .unit-profile .sub-info .value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#favorites-app .fav-units-date .unit-profile .sub-info .value .rate {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#favorites-app .fav-units-date .unit-profile .sub-info .num-rate,
#favorites-app .fav-units-date .unit-profile .sub-info .reviews-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-pale, #B1AEB5);
}

/* Favorites page: title above both columns; lists + units aligned at top */
#favorites-app .favorites-page__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
}

#favorites-app .favorites-page__heading {
    width: 100%;
    margin-bottom: 15px;
}

#favorites-app .favorites-page__body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 51px;
    width: 100%;
}

#favorites-app .favorites-page__lists {
    flex: 1;
    min-width: 0;
}

#favorites-app .favorites-page__units {
    width: 100%;
    max-width: 385px;
    flex: 0 0 auto;
}

@media (max-width: 992px) {
    #favorites-app .favorites-page__body {
        flex-direction: column;
        gap: 24px;
    }

    #favorites-app .favorites-page__units {
        max-width: none;
        order: 1;
    }

    #favorites-app .favorites-page__lists {
        order: 2;
        width: 100%;
    }

    #favorites-app .list-groups-fav {
        grid-template-columns: 1fr;
        width: 100%;
    }

    #favorites-app .list-groups-fav .list-group-item {
        width: 100%;
        max-width: 100%;
    }
}

#favorites-app .profile.section-with-sticky>.container {
    align-items: stretch;
}

#favorites-app .custom-banner .breadcrumb-item,
#favorites-app .custom-banner .breadcrumb a,
#unit-reviews-app .custom-banner .breadcrumb-item,
#unit-reviews-app .custom-banner .breadcrumb a {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12.81px;
    font-weight: 400;
    color: var(--dark-pale, #B1AEB5);
}

#favorites-app .custom-banner .breadcrumb .breadcrumb-item.active,
#favorites-app .custom-banner ol.breadcrumb>li.breadcrumb-item.active,
#unit-reviews-app .custom-banner .breadcrumb .breadcrumb-item.active,
#unit-reviews-app .custom-banner ol.breadcrumb>li.breadcrumb-item.active {
    color: var(--Dark-Pale, #B1AEB5) !important;
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12.81px !important;
}

#favorites-app .custom-banner .title-info,
#unit-reviews-app .custom-banner .title-info {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 4vw, 53.12px);
    color: var(--purple-pale, #EAE0F0);
    line-height: 1.2;
}

#favorites-app .custom-title-section,
#favorites-app .fav-units-date .title-box {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#favorites-app .list-groups-fav .title-group {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 13.61px;
    text-align: center;
    vertical-align: middle;
}

#favorites-app .list-groups-fav .count-group {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#favorites-app .list-groups-fav .list-group-item .header-group {
    grid-template-columns: 84px 84px;
    justify-content: center;
}

#favorites-app .list-groups-fav .list-group-item .header-group .image-wrapper {
    width: 84px;
    height: 108px;
}

#favorites-app .list-groups-fav .list-group-item:has(> .header-group) {
    cursor: pointer;
}

#favorites-app .fav-units-date .title-property {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#favorites-app .fav-units-date .unit-location {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
}

#favorites-app .fav-units-date .box-date > span {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 12.8px;
}

.list-prev-reservation {
    display: flex;
    flex-direction: column;
    gap: 15px;

    .unit-profile {
        .container {
            flex-direction: row;
            align-items: flex-start;
            gap: 15px;
            padding-block: 10px;
            margin: 0;
            overflow: hidden;
            border: 1px solid var(--light-strong, #DDDDDD);
            box-shadow: 1.88px 5.65px 5.65px 0px #6666660D;

            .image-unit {
                width: 84px;
                height: 84px;
            }

            .right-side {
                width: auto;
                min-width: 0;
                flex: none;
                position: static;
            }

            .left-side {
                gap: 10px;

                .title-property {
                    margin-bottom: 0;
                    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
                    font-weight: 700;
                    font-size: 16px;
                    line-height: 24.5px;
                    color: var(--dark-strong);
                }

                .location-unit {
                    font-size: 11px;
                    font-weight: 600;
                    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                    line-height: 1.4;
                    color: var(--dark-pale, #b1aeb5);
                }

                .btn-controls {
                    display: flex;
                    gap: 5px;
                    padding-bottom: 30px;
                    align-items: center;

                    .custom-icon {
                        width: 15px;
                        height: 15px;
                    }

                    .btn {
                        font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                        font-weight: 600;
                        font-size: 11px;
                        line-height: 1.4;
                        padding: 7px 14px;
                        height: 29px;
                        border-radius: 40px;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 5px;

                        span {
                            font-size: 11px;
                            font-family: inherit;
                            font-weight: inherit;
                        }
                    }

                    .btn-re-reservation {
                        color: var(--dark-strong);
                        background: var(--light-mid);
                    }

                    .btn-rate-unit {
                        color: var(--purple-mid, #783ea1);
                        background: var(--purple-pale, #eae0f0);
                    }

                    .btn-unit-rated {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 5px;
                        height: 29px;
                        padding: 7px 14px;
                        border-radius: 40px;
                        font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                        font-weight: 600;
                        font-size: 11px;
                        line-height: 1.4;
                        color: var(--dark-pale, #b1aeb5);
                        background: var(--light-mid);
                        pointer-events: none;

                        .custom-icon {
                            width: 15px;
                            height: 15px;
                            opacity: 0.7;
                        }
                    }
                }
            }

            @media (max-width:558px) {
                flex-direction: column;
                gap: 0;
                padding: 0;
                overflow: hidden;

                .right-side {
                    width: 100%;
                    margin: 0 !important;

                    .image-unit {
                        height: 203px;
                        width: 100%;
                        border-radius: 0;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }

                .left-side {
                    width: 100%;
                    padding: 14px;
                    box-sizing: border-box;
                }
            }
        }
    }
}

.custom-unit-profile {
    box-shadow: 1.88px 5.65px 5.65px 0px #6666660D;
    padding-bottom: 10px;

    .container {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin: 0;

        .right-side {
            margin: 0 !important;

            .image-unit {
                width: 84px;
                height: 84px;
                border-radius: 8px;
                display: flex;
                overflow: hidden;

                img {
                    object-fit: cover;
                    width: 100%;
                    height: 100%;
                }
            }
        }

        .left-side {
            display: flex;
            flex-direction: column;
            gap: 18px;

            .title-property {
                font-size: 16px;
                color: var(--dark-strong);
                font-weight: 600;

                @media (max-width:1024px) {
                    line-height: normal;

                }
            }

            .location-unit {
                font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                font-weight: 600;
                font-size: 11px;
                line-height: 1.4;
                color: var(--dark-pale);
            }
        }
    }

}


.custom-banner {
    .container {
        .left-side {
            .group-info-hosting {

                .info-hosting {
                    .title-hosting {
                        color: var(--light-pale);
                        font-weight: 600;
                        font-size: clamp(18px, 2vw, 22.85px);
                    }

                    .time-hosting,
                    .date-hosting {
                        display: flex;
                        align-items: center;
                        gap: 4px;
                        font-size: 13.23px;
                        font-weight: 600;
                        color: var(--dark-pale);
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;

                        .custom-icon {
                            height: 18.04px !important;
                            width: 18.04px !important;
                        }
                    }
                }

                .features-hosting {
                    display: flex;
                    align-items: center;
                    align-self: flex-start;
                    gap: 10px;
                    flex-wrap: wrap;
                    flex-grow: 0;
                    flex-shrink: 2;

                    .feature-item {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        background: #523665;
                        color: #C29FF8;

                        padding: 7px 24px;
                        border-radius: 40px;

                        &.verified-host-feature {
                            color: #6793FA;
                        }

                        &.guest {
                            columns: #F4BEB5;
                        }
                    }

                    .icon {
                        width: 18px;
                        height: 18px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }

                    .title-feature {
                        font-size: 11px;
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY), sans-serif;
                    }
                }

                @media (max-width: 992px) {
                    flex-direction: row;
                    align-items: center;
                    gap: 12px;
                }
            }

        }
    }
}

.host-profile-page {
    .container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding-block: 48px;
        gap: 44px;

        .left-side {
            display: flex;
            flex-direction: column;
            gap: 16px;
            flex: 1;
            min-width: 0;

            .title-content2 {
                color: var(--dark-strong);
            }

            .list-content.content-search {
                min-width: 0;
            }

            .rates-info {
                display: flex;
                flex-direction: column;
                gap: 18px;
                border: 2px solid var(--purple-pale);
                border-radius: 8px;
                padding: 21px 23px;
                background: #FFFFFF;

                .title-feedback {
                    font-weight: 600;
                    font-size: clamp(17px, 2vw, 19px);
                    color: var(--dark-strong);
                }

                .feedback {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                    gap: 16px 15px;

                    .item-feedback {
                        padding: 15px;
                        border-radius: 8px;
                        background: #F6F6F6;
                        display: flex;
                        flex-direction: column;
                        gap: 5px;

                        .header-feedback {
                            display: flex;
                            align-items: center;
                            gap: 5px;

                            .profile-image {
                                width: 20px;
                                height: 20px;
                                border-radius: 50%;
                                overflow: hidden;
                                display: flex;

                                image {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                }
                            }

                            .username {
                                color: var(--dark-strong);
                                font-size: 14px;
                                font-weight: 600;
                            }
                        }

                        .user-rate {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                            font-size: 13px;
                            font-weight: 600;
                            font-family: var(--IBM-Plex);
                            color: var(--dark-strong);

                        }

                        .feedback-body {
                            font-weight: 600;
                            font-family: var(--IBM-Plex);
                            font-size: 13px;
                            color: var(--dark-strong);
                            display: -webkit-box;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }

                        .feedback-date {
                            font-size: 11px;
                            font-family: var(--SF-PRO-DISPLAY);
                            font-weight: 600;
                            color: var(--dark-pale);
                        }
                    }
                }
            }
        }

        .right-side {
            max-width: 385px;
            width: 100%;
            position: sticky;
            top: 120px;
            display: flex;
            flex-direction: column;
            gap: 24px;

            @media (min-width:993px) {
                padding-top: 26px;

                &.padding-top-0 {
                    padding-top: 0;
                }
            }

            .host {
                display: flex;
                flex-direction: column;
                background: #F7F7F7;
                gap: 23px;

                .title {
                    color: var(--dark-strong);
                    font-weight: 600;
                    font-size: clamp(16px, 2vw, 19px);
                    margin-bottom: 14px;
                }

                .profile-info {
                    display: flex;
                    justify-content: space-between;
                    gap: 20px;

                    .info-property-2 {
                        flex: 1;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        border: 1px solid var(--light-strong);
                        border-radius: 8px;
                        padding: 28px 16px;

                        .item-property {
                            display: flex;
                            align-items: center;
                            flex-direction: column;
                            gap: 5px;
                            flex: 1;

                            .icon {
                                height: 20px;
                                width: 20px;
                                display: flex;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                }
                            }

                            .title-property {
                                color: var(--dark-pale);
                                font-family: var(--SF-PRO-DISPLAY);
                                font-weight: 600;
                                font-size: 11px;
                                margin: 0;
                            }

                            .value {
                                font-weight: 600;
                                font-size: 13px;
                                font-family: var(--IBM-Plex);
                                color: var(--dark-strong);
                            }
                        }

                        .item-property:not(:first-child) {
                            border-left: 1px solid var(--light-strong);
                            padding-left: 24px;
                            margin-left: 24px;
                        }
                    }

                    @media (max-width:1200px) {
                        flex-direction: column;
                    }
                }

                .btn-contact-host {
                    border: 1px solid var(--light-strong);
                    border-radius: 8px;
                    background: var(--purple-pale);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 6px;
                    padding: 12px 20px;
                    color: var(--purple-mid);
                    font-family: var(--IBM-Plex);
                    font-weight: 600;
                    margin-top: 20px;
                    font-size: 13px;

                    &:hover {
                        background: var(--purple-light);
                    }
                }
            }

            .rates-info {
                display: flex;
                flex-direction: column;
                gap: 18px;
                border: 2px solid var(--purple-pale);
                border-radius: 8px;
                padding: 21px 23px;
                background: #FFFFFF;

                .title-feedback {
                    font-weight: 600;
                    font-size: clamp(17px, 2vw, 19px);
                    color: var(--dark-strong);
                }

                .feedback {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;

                    .item-feedback {
                        padding: 15px;
                        border-radius: 8px;
                        background: #F6F6F6;
                        display: flex;
                        flex-direction: column;
                        gap: 5px;

                        .header-feedback {
                            display: flex;
                            align-items: center;
                            gap: 5px;

                            .profile-image {
                                width: 20px;
                                height: 20px;
                                border-radius: 50%;
                                overflow: hidden;
                                display: flex;

                                image {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                }
                            }

                            .username {
                                color: var(--dark-strong);
                                font-size: 14px;
                                font-weight: 600;
                            }
                        }

                        .user-rate {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                            font-size: 13px;
                            font-weight: 600;
                            font-family: var(--IBM-Plex);
                            color: var(--dark-strong);

                        }

                        .feedback-body {
                            font-weight: 600;
                            font-family: var(--IBM-Plex);
                            font-size: 13px;
                            color: var(--dark-strong);
                            display: -webkit-box;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }

                        .feedback-date {
                            font-size: 11px;
                            font-family: var(--SF-PRO-DISPLAY);
                            font-weight: 600;
                            color: var(--dark-pale);
                        }
                    }
                }
            }

        }

        @media (max-width:1200px) {
            flex-direction: column;
            align-items: stretch;
            gap: 28px;

            .right-side {
                max-width: 100%;
                position: static;
            }

            .left-side .list-content.content-search {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width:778px) {
            flex-direction: column;
            align-items: stretch;
            gap: 24px;
            padding-block: 32px;

            .right-side {
                max-width: 100%;
            }

            .left-side .list-content.content-search {
                grid-template-columns: minmax(0, 1fr);
            }
        }
    }
}

.custom-section-layout {
    .container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding-block: 48px;
        gap: 44px;

        .title-section {
            font-size: clamp(17px, 2vw, 19px);
            color: var(--dark-strong);
            font-weight: 600;
        }

        .left-side {
            display: flex;
            flex-direction: column;
            gap: 16px;
            flex: 1;
        }

        .right-side {
            max-width: 385px;
            width: 100%;
            position: sticky;
            top: 120px;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        @media (max-width:1200px) {
            flex-direction: column;
            align-items: stretch;

            .right-side {
                max-width: 100%;
                position: static;
            }

            .left-side .list-content.content-search {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width:992px) {
            flex-direction: column;
            align-items: stretch;
            padding-block: 32px;
            gap: 28px;

            .right-side {
                max-width: 100%;
            }
        }

        @media (max-width:558px) {
            .left-side .list-content.content-search {
                grid-template-columns: minmax(0, 1fr);
            }
        }
    }
}

.unit-booking-page {
    .container {
        .left-side {

            .unit-profile {
                display: flex;
                align-items: flex-start;
                background: var(--light-pale);
                padding: 10px;
                box-shadow: 1.88px 5.65px 5.65px 0px #6666660D;
                border-radius: 8px;
                gap: 18px;

                .left-side {

                    .title-property {
                        font-size: clamp(16px, 2vw, 17.58px);
                        color: var(--dark-strong);
                        font-weight: 600;
                        line-height: 30.99px;

                        @media (max-width:1024px) {
                            line-height: normal;

                        }
                    }

                    .sub-info {
                        display: flex;
                        align-items: center;
                        gap: 14px;
                        font-size: 13px;

                        .item-info {
                            display: flex;
                            align-items: center;
                            gap: 5px;
                            font-family: var(--IBM-Plex);

                            .icon {
                                height: 17px;
                                width: 17px;
                                display: flex;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                }
                            }

                            .value {
                                display: flex;
                                align-items: center;
                                flex-wrap: wrap;
                                gap: 6px;
                                color: var(--dark-mid);
                                font-family: var(--IBM-Plex);
                                font-weight: 400;
                                font-size: 13px;

                                .code {
                                    color: var(--dark-strong);
                                    font-family: var(--IBM-Plex);
                                    font-weight: 400;
                                    font-size: 13px;
                                    unicode-bidi: bidi-override;
                                    direction: ltr;
                                }

                                span {
                                    color: var(--dark-mid);
                                    font-family: var(--IBM-Plex);
                                    font-weight: 400;
                                    font-size: 13px;

                                    span {
                                        color: var(--dark-pale);
                                    }
                                }

                                .rate {
                                    color: var(--dark-strong);
                                    font-family: var(--IBM-Plex);
                                    font-size: 16px;
                                    font-weight: 600;
                                }
                            }
                        }

                        @media (max-width:778px) {
                            flex-wrap: wrap;
                            margin-bottom: 16px;

                            .item-info {
                                flex: 1 1 auto;
                            }
                        }
                    }
                }


                .right-side {
                    width: auto;

                    .image-unit {
                        height: 132px;
                        width: 132px;
                        border-radius: 8px;
                        overflow: hidden;

                        img {
                            object-fit: cover;
                            width: 100%;
                            height: 100%;
                        }
                    }
                }

                @media (max-width:558px) {
                    flex-direction: row;
                    align-items: flex-start;
                    gap: 12px;

                    .right-side {
                        flex: 0 0 auto;
                        width: auto;
                    }

                    .left-side {
                        flex: 1 1 auto;
                        min-width: 0;
                        gap: 0;
                        display: flex;
                        flex-direction: column;

                        .title-property {
                            margin-bottom: 0;
                        }

                        .sub-info {
                            gap: 0;
                            margin-bottom: 0;
                            flex-direction: column;
                            align-items: flex-start;

                            .item-info {
                                flex: 0 0 auto;
                            }
                        }
                    }
                }
            }

            .unit-notes {
                grid-column: span 6;
                display: flex;
                flex-direction: column;
                gap: 26px;
                padding-block: 22px 42px;

                .about-unit {
                    border-top: 1px solid rgba(56, 50, 65, 0.1);
                    border-bottom: none;
                    padding-top: 46px;

                }

                .title-section {
                    font-size: clamp(17px, 2vw, 19px);
                    color: var(--dark-strong);
                    font-weight: 600;
                }

                .list-notes {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 22px;

                    .item-notes {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        padding: 16px 10px 16px 22px;
                        border-radius: 8px;
                        background: #F5F5F5;
                        color: var(--dark-strong);
                        font-family: var(--IBM-Plex);
                        font-size: 14px;

                        .icon {
                            display: flex;
                            width: 24px;
                            height: 24px;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: contain;
                            }
                        }
                    }
                }
            }

            .location {
                grid-column: span 4;
                display: flex;
                flex-direction: column;
                gap: 20px;

                .title-section {
                    font-size: clamp(17px, 2vw, 19px);
                    color: var(--dark-strong);
                    font-weight: 600;
                }

                #units-map {
                    height: 192px;
                    width: 100%;
                    border-radius: 6px;
                }

                .footer-locatiom {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;

                    .normal-location {
                        display: flex;
                        align-items: center;
                        gap: 5px;
                        font-weight: 600;
                        font-family: var(--SF-PRO-DISPLAY);
                        font-size: 11px;
                        color: var(--dark-strong);

                        .icon {
                            width: 15px;
                            height: 15px;
                            display: flex;

                            img {
                                object-fit: contain;
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }

                    .location {
                        font-size: 11px;
                        color: var(--purple-mid);
                        font-family: var(--SF-PRO-DISPLAY);
                        font-weight: 600;
                    }

                }

                .btn-light {
                    display: flex;
                    justify-content: center;
                    padding: 12px;
                    border-radius: 8px;
                    color: var(--dark-pale);
                    border: 1px solid var(--light-mid);

                    &:hover {
                        background-color: var(--light-mid);
                    }
                }
            }
        }

        .right-side {
            .reservation-details {
                background: #EAE0F0;
                border-radius: 6px;
                padding: 25px 20px;
                display: flex;
                flex-direction: column;
                gap: 18px;

                .header-details {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 12px;

                    .title {
                        font-size: clamp(17px, 2vw, 19px);
                        color: var(--dark-strong);
                        font-weight: 600;
                        margin: 0;
                    }

                    .btn.btn-edit {
                        border-radius: 20px;
                        color: #FFF;
                        padding: 10px 15px;
                        gap: 4px;
                        font-size: 11px;

                        >span {
                            font-family: var(--SF-PRO-DISPLAY);
                            font-weight: 600;
                        }
                    }
                }

                .wrapper-details {
                    display: grid;
                    grid-template-columns: max-content 1fr;
                    column-gap: 32px;
                    row-gap: 15px;
                    align-items: center;

                    .group-detail {
                        display: contents;

                        .title-detail {
                            color: var(--dark-mid);
                            font-size: 14px;
                            font-family: var(--IBM-Plex);
                            white-space: nowrap;
                        }

                        .value {
                            background: var(--light-pale);
                            padding: 4px 20px;
                            width: fit-content;
                            color: var(--purple-brand);
                            font-family: var(--IBM-Plex);
                            border-radius: 3px;
                            text-align: start;
                            font-size: 14px;
                            min-width: 0;
                        }
                    }
                }
            }

            .booking-details {
                grid-column: span 4;
                border: 1.5px solid var(--purple-pale);
                border-radius: 8px;
                padding: 25px 28px 32px;
                display: flex;
                flex-direction: column;
                background: #FFFFFF;

                .header-booking {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;

                    .price-first {
                        display: flex;
                        align-items: center;

                        .value {
                            font-size: clamp(18px, 2.4vw, 24px);
                            color: var(--purple-mid);
                            font-weight: 600;

                            .currency {
                                font-size: 0.7em;
                            }
                        }

                        .descripe {
                            font-size: clamp(17px, 2vw, 19px);
                            color: var(--dark-strong);
                            font-weight: 700;

                        }
                    }

                    .price-second {
                        display: flex;
                        align-items: center;

                        .value {
                            font-size: clamp(15px, 2.4vw, 16px);
                            color: var(--orange-strong);
                            font-weight: 700;

                            .currency {
                                font-size: 0.75em;
                            }
                        }

                        .descripe {
                            font-size: 12px;
                            color: var(--orange-strong);
                            font-weight: 700;

                        }
                    }
                }

                .btn-gradient-3 {
                    justify-content: center;
                    border-radius: 5px;
                    color: var(--light-pale);
                    margin-block: 12px 35px;
                    padding-block: 16px;
                    font-weight: 600;
                    font-family: var(--IBM-Plex);
                }

                .booking-details-content {
                    display: flex;
                    flex-direction: column;
                    gap: 9px;
                    margin-bottom: 31px;

                    .header-booking-details-content {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 12px;

                        .title {
                            font-size: clamp(17px, 2vw, 19px);
                            color: var(--dark-strong);
                            font-weight: 600;
                            margin: 0;
                        }

                        .btn-white-purple {
                            background: var(--light-mid);
                            border-radius: 20px;
                            padding: 5px 22px;

                            &:hover {
                                background: var(--light-strong);
                            }
                        }

                    }

                    .list-booking-details-content {
                        display: grid;
                        grid-template-columns: repeat(2, 1fr);
                        gap: 12px;

                        .item-booking-details-content {
                            display: flex;
                            flex-direction: column;
                            gap: 5px;
                            border: 1px solid var(--light-strong);
                            border-radius: 8px;
                            padding: 22px 9px;

                            .icon {
                                width: 24px;
                                height: 24px;
                                display: flex;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                }
                            }

                            .subtitle {
                                font-family: var(--SF-PRO-DISPLAY);
                                font-weight: 600;
                                font-size: 11px;
                                color: var(--dark-mid);
                                margin: 0;
                            }

                            .title {
                                font-family: var(--IBM-Plex);
                                font-weight: 600;
                                font-size: 12px;
                                color: var(--dark-strong);
                                margin: 0;
                            }

                            .title-third {
                                font-family: var(--IBM-Plex);
                                font-weight: 400;
                                font-size: 14px;
                                color: var(--dark-mid);
                                margin: 0;
                            }
                        }
                    }
                }

                .condition {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                    padding: 20px 10px;
                    background: #FFF8DF;
                    border-radius: 6px;

                    .title {
                        color: var(--dark-mid);
                        font-family: var(--SF-PRO-DISPLAY);
                        font-weight: 600;
                        font-size: 11px;
                    }

                    .list-condition {
                        color: #AE813D;
                        font-size: 14px;
                        font-family: var(--IBM-Plex);
                    }
                }

                .cancel-privacy {
                    gap: 8px;

                    .list-cancel-privacy {
                        .item-cancel {
                            display: flex;
                            align-items: center;
                            gap: 10px;
                            padding: 16px 10px 16px 22px;
                            border-radius: 8px;
                            background: #F5F5F5;
                            color: var(--dark-strong);
                            font-family: var(--IBM-Plex);
                            font-size: 14px;
                        }
                    }
                }

                &.custom-style-padding {
                    padding: 10px 10px 30px;

                    .booking-details-content {
                        padding: 0 24px;
                    }
                }

                .without-margin {
                    margin: 0;
                }
            }
        }
    }
}

.identity-verification {
    .container {
        .left-side {
            gap: 35px;

            .custom-title-page {
                font-family: var(--IBM-Plex), sans-serif;
                font-weight: 500;
                color: var(--purple-mid);

                @media (min-width: 993px) {
                    font-size: 34px;
                    line-height: 60px;
                }
            }

            .form-verification {
                display: flex;
                flex-direction: column;
                gap: 52px;

                .form-group-identity {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;

                    .list-type-identity {
                        display: flex;
                        flex-direction: column;
                        gap: 14px;

                        .group-radio {
                            border-radius: 8px;
                            background: var(--light-pale);
                            border: 2px solid var(--light-mid);
                            opacity: .5;
                            transition: .3s all ease-in-out;

                            input {
                                display: none;
                            }

                            label {
                                display: flex;
                                align-items: center;
                                gap: 15px;
                                padding: 16px 22px;
                                cursor: pointer;

                                .custom-icon {
                                    height: 24px;
                                    width: 24px;
                                    flex-shrink: 0;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;

                                    img {
                                        height: 100%;
                                        width: 100%;
                                        object-fit: contain;
                                    }
                                }

                                .info-option {
                                    display: flex;
                                    flex-direction: column;
                                    gap: 5px;
                                    flex: 1;
                                    min-width: 0;

                                    .title-info {
                                        font-weight: 700;
                                        font-size: 16px;
                                        margin: 0;
                                        color: var(--dark-strong);

                                        span {
                                            color: var(--dark-mid);
                                        }

                                    }
                                }

                                .checkmark {
                                    height: 24px;
                                    width: 24px;
                                    flex-shrink: 0;
                                    display: flex;
                                    opacity: 0;
                                    transition: .3s all ease-in-out;

                                    img {
                                        height: 100%;
                                        width: 100%;
                                        object-fit: contain;
                                    }

                                }
                            }

                            &:has(input:checked) {
                                opacity: 1;
                                border-color: var(--dark-strong);

                                label {
                                    .checkmark {
                                        opacity: 1;
                                    }
                                }
                            }
                        }
                    }
                }

                .form-group-upload {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;

                    .title-section {
                        font-family: var(--IBM-Plex), sans-serif;
                        font-weight: 600;
                        font-size: clamp(17px, 2vw, 19px);
                        color: var(--dark-strong);
                        margin: 0;
                    }

                    label,
                    .upload-from-camera {
                        display: flex;
                        align-items: center;
                        gap: 15px;
                        background: var(--light-pale);
                        border: 1px solid var(--light-mid);
                        padding: 22px;
                        cursor: pointer;
                        transition: .3s all ease-in-out;
                        border-radius: 8px;

                        input {
                            display: none;
                        }

                        .custom-icon {
                            height: 24px;
                            width: 24px;
                            flex-shrink: 0;
                            display: flex;
                            align-items: center;
                            justify-content: center;

                            .checkmark {
                                display: none;
                            }

                            img {
                                height: 100%;
                                width: 100%;
                                object-fit: contain;
                            }
                        }

                        .info-option {
                            color: var(--dark-strong);
                            font-size: 16px;
                            font-weight: 700;
                            flex: 1;
                            min-width: 0;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }

                        .remove-button {
                            background: var(--light-mid);
                            padding: 7px 23px;
                            border-radius: 50px;
                            border: none;
                            transition: .3s all ease-in-out;
                            opacity: 0;
                            pointer-events: none;
                            flex-shrink: 0;
                            display: flex;
                            align-items: center;
                            justify-content: center;

                            &:hover {
                                background: var(--light-strong);
                            }

                            img {
                                width: 18px;
                                height: 18px;

                            }
                        }

                        &.uploaded {
                            .custom-icon {
                                img {
                                    display: none;
                                }

                                .checkmark {
                                    display: block;
                                }
                            }

                            .remove-button {
                                opacity: 1;
                                pointer-events: all;
                            }
                        }
                    }

                    &:has(.uploaded) label:not(.uploaded),
                    &:has(.uploaded) .upload-from-camera:not(.uploaded) {
                        opacity: .2;
                        pointer-events: none;
                    }

                    /* Camera remains actionable for retake even after device upload is dimmed */
                    &:has(label.upload-from-device.uploaded) .upload-from-camera:not(.uploaded) {
                        opacity: 1;
                        pointer-events: all;
                    }
                }

                .form-buttons {
                    display: flex;
                    gap: 29px;
                    width: 100%;

                    .btn {
                        border-radius: 5px;
                        padding: 16px 20px;
                        flex: 1;
                        justify-content: center;
                        max-width: none;
                        font-size: 13px;
                        font-weight: 600;

                        &.btn-gradient-3 {
                            color: var(--light-pale);
                            font-family: var(--Readex-Pro-Brand);
                        }
                    }
                }
            }
        }

        .right-side {
            .booking-details {
                grid-column: span 4;
                border: 1.5px solid var(--purple-pale);
                border-radius: 8px;
                padding: 25px 28px 32px;
                display: flex;
                flex-direction: column;
                background: #FFFFFF;

                .booking-details-content {
                    display: flex;
                    flex-direction: column;
                    gap: 9px;

                    .header-booking-details-content {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 12px;

                        .title {
                            font-size: clamp(17px, 2vw, 19px);
                            color: var(--dark-strong);
                            font-weight: 600;
                            margin: 0;
                        }

                        .btn-white-purple {
                            background: var(--light-mid);
                            border-radius: 20px;
                            padding: 5px 22px;

                            &:hover {
                                background: var(--light-strong);
                            }
                        }

                    }

                    .list-booking-details-content {
                        display: grid;
                        grid-template-columns: repeat(2, 1fr);
                        gap: 12px;

                        .item-booking-details-content {
                            display: flex;
                            flex-direction: column;
                            gap: 5px;
                            border: 1px solid var(--light-strong);
                            border-radius: 8px;
                            padding: 22px 9px;

                            .icon {
                                width: 24px;
                                height: 24px;
                                display: flex;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                }
                            }

                            .subtitle {
                                font-family: var(--SF-PRO-DISPLAY);
                                font-weight: 600;
                                font-size: 11px;
                                color: var(--dark-mid);
                                margin: 0;
                            }

                            .title {
                                font-family: var(--IBM-Plex);
                                font-weight: 600;
                                font-size: 12px;
                                color: var(--dark-strong);
                                margin: 0;
                            }

                            .title-third {
                                font-family: var(--IBM-Plex);
                                font-weight: 400;
                                font-size: 14px;
                                color: var(--dark-mid);
                                margin: 0;
                            }
                        }
                    }
                }

                .condition {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                    padding: 20px 10px;
                    background: #FFF8DF;
                    border-radius: 6px;

                    .title {
                        color: var(--dark-mid);
                        font-family: var(--SF-PRO-DISPLAY);
                        font-weight: 600;
                        font-size: 11px;
                    }

                    .list-condition {
                        color: #AE813D;
                        font-size: 14px;
                        font-family: var(--IBM-Plex);
                    }
                }

                @media (min-width:993px) {
                    margin-top: 80px;
                }
            }
        }

        @media (max-width:992px) {
            .left-side {
                .title-section {
                    margin: 0;
                }

                .form-verification {
                    gap: 24px;
                }
            }
        }
    }
}

.identity-verification .form-group-paci {
    display: flex;
    flex-direction: column;
    gap: 10px;

    .title-section {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: clamp(17px, 2vw, 19px);
        color: var(--dark-strong);
        margin: 0;
    }
}

/* "Verified" mark: profile fields and the identity cards (Personal Info and Confirm Identity) */
.profile .container .form-personal-info .form-group,
.identity-verification .list-type-identity {
    .field-verified {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-inline-start: auto;
        flex-shrink: 0;
        color: #15BF64;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        font-family: var(--SF-PRO-DISPLAY), sans-serif;

        /* html[dir=rtl] is an ancestor; nest with & so the selector matches. */
        html[dir="rtl"] & {
            direction: rtl;
        }
    }

    .field-verified-icon {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 1px solid #15BF64;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .field-verified-icon img {
        width: 11px;
        height: 11px;
        object-fit: contain;
    }
}

/* Passport states — Figma 18595:27318 (empty) and 18595:28698 (uploaded) */
.identity-verification .container .left-side .form-verification .form-group-passport {
    .title-required {
        margin: 0 0 6px;
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: 19px;
        line-height: 33.5px;
        color: var(--purple-mid);
    }

    .title-section {
        font-size: 17px;
        line-height: 33.5px;
    }

    .upload-from-device,
    .upload-from-camera {
        background: #fdfdfd;
    }

    .passport-file {
        display: flex;
        align-items: center;
        gap: 15px;
        min-height: 70px;
        padding: 16px 10px;
        padding-inline-end: 22px;
        background: var(--light-pale);
        border: 1px solid var(--light-mid);
        border-radius: 8px;

        .passport-remove {
            width: 32px;
            height: 32px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: none;
            border-radius: 50px;
            background: var(--light-mid);
            transition: .3s all ease-in-out;

            &:hover {
                background: var(--light-strong);
            }
        }

        .info-option {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-family: var(--IBM-Plex), sans-serif;
            font-weight: 700;
            font-size: 16px;
            line-height: 24.5px;
            color: var(--dark-strong);
        }
    }
}

.identity-verification .form-buttons .btn.btn-gradient-3:disabled {
    background: #D4D4D4;
    color: var(--light-pale);
    opacity: 1;
}

/* PACI popup — Figma 03_1_type 18570:27916 */
#paciVerificationModal.show {
    z-index: 1075;
}

/* Open country / phone menus use z-index 1061 and paint over this popup. */
body:has(#paciVerificationModal.show)>.modal-backdrop.show {
    z-index: 1064;
}

body:has(#paciVerificationModal.show) .select2-container,
body:has(#paciVerificationModal.show) .select2-dropdown {
    z-index: 1 !important;
}

#paciVerificationModal {
    .modal-dialog {
        max-width: calc(699px + 24px);
        padding-inline: 12px;
    }

    .modal-content {
        position: relative;
        overflow: hidden;
        border: none;
        border-radius: 48px;
        background: var(--light-pale);
        box-shadow: 0 0 12px rgba(0, 0, 0, .08), 0 16px 32px rgba(0, 0, 0, .1);

        &::before,
        &::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            pointer-events: none;
        }

        &::before {
            width: 209px;
            height: 209px;
            top: -124px;
            inset-inline-start: 292px;
            background: rgba(255, 98, 73, .18);
        }

        &::after {
            width: 187px;
            height: 187px;
            bottom: -113px;
            inset-inline-end: -119px;
            background: rgba(120, 62, 161, .14);
        }
    }

    .paci-modal-body {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 56px;
        padding-block: 71px;
        padding-inline: 62px 56px;
    }

    .paci-modal-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 356px;
        max-width: 100%;
        padding-top: 20px;
    }

    .paci-logo {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        align-self: flex-start;

        .paci-logo-star {
            margin-top: 9px;
        }
    }

    .paci-modal-text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 55px;
        text-align: start;
    }

    .paci-modal-title {
        width: 285px;
        max-width: 100%;
        margin: 0;
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 32.4px;
        color: var(--purple-brand);
    }

    .paci-modal-description {
        margin: 0;
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 24.5px;
        color: var(--dark-mid);
    }

    .btn.btn-gradient-3 {
        width: 197px;
        height: 42px;
        margin-top: 24px;
        padding: 0 16px;
        justify-content: center;
        border-radius: 5px;
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        font-size: 13px;
        line-height: 21px;
        color: var(--light-pale);
    }

    .paci-phone {
        position: relative;
        flex: 0 0 169px;
        width: 169px;
        height: 344px;
        filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .1)) drop-shadow(0 0 6px rgba(0, 0, 0, .08));

        .paci-phone-screen {
            position: absolute;
            top: 2.15%;
            right: 4.85%;
            bottom: 2.27%;
            left: 5.08%;
            width: calc(100% - 4.85% - 5.08%);
            height: calc(100% - 2.15% - 2.27%);
        }

        .paci-phone-frame {
            position: absolute;
            top: 0;
            left: 0;
            width: 100.23%;
            height: 99.89%;
            object-fit: cover;
        }
    }

    /* QR code PACI returns, shown in place of the phone while waiting */
    .paci-qr {
        flex: 0 0 220px;
        width: 220px;
        padding: 12px;
        border-radius: 16px;
        background: var(--light-pale);
        box-shadow: 0 0 6px rgba(0, 0, 0, .08), 0 16px 16px rgba(0, 0, 0, .1);

        img {
            display: block;
            width: 100%;
            height: auto;
        }
    }

    .paci-modal-status,
    .paci-modal-error {
        margin: 0;
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 24.5px;
    }

    .paci-modal-status {
        color: var(--purple-brand);
    }

    .paci-modal-error {
        color: var(--info-red);
    }

    @media (max-width: 640px) {
        .modal-content {
            border-radius: 32px;
        }

        .paci-modal-body {
            flex-direction: column-reverse;
            align-items: center;
            gap: 24px;
            padding: 40px 24px 32px;
        }

        .paci-phone {
            flex: none;
        }

        .paci-modal-info {
            width: 100%;
            padding-top: 0;
        }

        .paci-modal-text {
            margin-top: 24px;
        }

        .paci-modal-title {
            width: auto;
        }

        .btn.btn-gradient-3 {
            width: 100%;
        }
    }
}

/* #158057 — identity success page typography (matches booking confirm identity design) */
.body-page:has(.identity-verification-message) {

    .custom-banner .breadcrumb-item,
    .custom-banner .breadcrumb a,
    .custom-banner .breadcrumb li.active {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-size: 13px;
        font-weight: 400;
        color: var(--dark-pale);
    }
}

.body-page:has(.booking-success-message) {

    .custom-banner .breadcrumb-item,
    .custom-banner .breadcrumb a,
    .custom-banner .breadcrumb li.active {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-size: 13px;
        font-weight: 400;
        color: var(--dark-pale);
    }

    .loading-proccess.booking-success-message {
        .mid-title {
            font-family: var(--Readex-Pro-Brand), sans-serif;
            font-weight: 600;
            font-size: clamp(17px, 2vw, 19px);
            color: var(--dark-strong);
        }

        .unit-profile .left-side .title-property {
            font-family: var(--Readex-Pro-Brand), sans-serif;
            font-weight: 600;
            font-size: 16px;
            color: var(--dark-strong);
        }

        .unit-profile .left-side .location-property {
            font-family: var(--Readex-Pro-Brand), sans-serif;
            font-weight: 400;
            font-size: 11px;
            color: var(--dark-mid);

            .booking-date-range {
                unicode-bidi: isolate;
                display: inline-block;
                white-space: nowrap;
            }

            .booking-date-part,
            .booking-date-sep {
                unicode-bidi: isolate;
                display: inline-block;
            }

            .booking-date-sep {
                white-space: pre;
            }

            .booking-date-part {
                direction: ltr;
            }
        }

        .buttons-2 .btn-gradient-3 {
            font-family: var(--Readex-Pro-Brand), sans-serif;
            font-weight: 600;
            font-size: 13px;
        }

        .buttons-2 .btn-transparent {
            font-family: var(--Readex-Pro-Brand), sans-serif;
            font-weight: 600;
            font-size: 13px;
            color: var(--dark-mid);
        }
    }
}

.identity-verification-message {
    .title-error {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 500;
        color: var(--dark-strong);
        text-align: center;
    }

    .subtitle {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        color: var(--dark-mid);
        text-align: center;
    }

    .buttons .btn-gradient-3 {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        justify-content: center;
    }
}

.custom-info-hosting {

    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light-pale);
    font-weight: 600;
    font-size: clamp(18px, 2vw, 24px);

    .title-hosting {
        color: var(--light-pale);
        font-weight: 600;
        font-size: clamp(18px, 2vw, 22.85px);
    }

    .custom-icon {
        border-radius: 50%;
        overflow: hidden;
        width: 84px;
        height: 84px;
    }

    .time-hosting,
    .date-hosting {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 13.23px;
        font-weight: 600;
        color: var(--dark-pale);
        font-family: var(--SF-PRO-DISPLAY), sans-serif;

        .custom-icon {
            height: 18px !important;
            width: 18px !important;
        }
    }
}

.form-message-to-host {
    border-radius: 10px;
    background-color: #F4F4F4;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    .title-section {
        margin: 0;
    }

    .custom-info-hosting {
        .title-hosting {
            font-size: clamp(17px, 2vw, 19px);
            color: var(--dark-strong);
            font-weight: 600;
        }

        .time-hosting,
        .date-hosting {
            font-size: 11px;
            color: var(--dark-mid);
        }
    }
}

.payment-full-amount {
    .container {
        .left-side {
            gap: 29px;

            .form-group-identity {
                display: flex;
                flex-direction: column;
                gap: 10px;

                .list-type-payment,
                .list-type-identity {
                    display: flex;
                    flex-direction: column;
                    gap: 14px;

                    .group-radio {
                        border-radius: 8px;
                        background: var(--light-pale);
                        border: 2px solid var(--light-mid);
                        transition: .3s all ease-in-out;

                        input {
                            display: none;
                        }

                        label {
                            display: flex;
                            align-items: center;
                            gap: 15px;
                            padding: 16px 22px;
                            cursor: pointer;

                            .custom-icon {
                                height: 24px;
                                width: 24px;
                            }

                            .info-option {
                                display: flex;
                                flex-direction: column;
                                gap: 5px;
                                flex: 1;

                                .title-info {
                                    font-family: var(--IBM-Plex), sans-serif;
                                    font-weight: 700;
                                    font-size: 16px;
                                    margin: 0;
                                    color: var(--dark-strong);

                                    span {
                                        color: var(--dark-mid);
                                    }

                                }

                                .subinfo {
                                    color: var(--dark-mid);
                                    font-size: 11px;
                                    font-weight: 600;
                                    font-family: var(--SF-PRO-DISPLAY);
                                }
                            }

                            .checkmark {
                                height: 24px;
                                width: 24px;
                                display: flex;
                                opacity: 0;
                                transition: .3s all ease-in-outs;

                                img {
                                    height: 100%;
                                    width: 100%;
                                    object-fit: contain;
                                }

                            }
                        }

                        &:has(input:checked) {
                            opacity: 1;
                            border-color: var(--dark-strong);

                            label {
                                .checkmark {
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
            }

            .list-type-payment {
                .group-radio {
                    label {

                        .custom-icon {
                            width: 62px !important;
                            height: 29px !important;
                            border: 1px solid var(--purple-mid);
                            border-radius: 7.84px;
                            padding: 4px;
                        }
                    }

                }
            }

            .useWalletBalance {
                display: flex;
                align-items: center;
                gap: 5px;
                padding-block: 24px 29px;
                border-bottom: 1px solid var(--light-mid);

                .custom-icon {}

                .info-option {
                    .title-info {
                        font-family: var(--IBM-Plex);
                        font-weight: 400;
                        font-size: 14px;
                        margin: 0;
                        color: var(--dark-strong);

                        span {
                            color: var(--dark-pale);
                        }
                    }
                }
            }


            .useCoupon {
                display: flex;
                align-items: center;
                width: 100%;
                border-bottom: 1px solid var(--light-mid);

                button.coupon {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    width: 100%;
                    max-width: none;
                    background: none;
                    border: none;
                    padding-block: 18px;
                    text-align: start;

                    .custom-icon {
                        width: 24px;
                        height: 24px;
                        flex-shrink: 0;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }

                    .info-option {
                        flex: 1;
                        min-width: 0;

                        .title-info {
                            font-family: var(--IBM-Plex), sans-serif;
                            font-size: 14px;
                            font-weight: 400;
                            margin: 0;
                            color: var(--dark-strong);
                        }
                    }
                }
            }

            .btn-gradient-3 {
                justify-content: center;
                border-radius: 5px;
                color: var(--light-pale);
                margin-top: 24px;
                font-weight: 600;
                font-family: var(--IBM-Plex);
                max-width: 328px;
                font-size: 13px;
                padding: 16px 22px;
            }

            @media (max-width: 992px) {
                .form-group-identity>.btn.btn-gradient-3 {
                    width: 100%;
                    max-width: none;
                    align-self: stretch;
                }
            }

            .ottu-payment-section {
                margin-top: 24px;

                .title-section {
                    font-weight: 700;
                    font-size: 16px;
                    color: var(--dark-strong);
                    margin-bottom: 18px;
                }

                #ottu-checkout {
                    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
                }

                /*
                 * HTTPS Ottu widget (light DOM / pierceable hosts) — match HTTP mock rows.
                 * Closed shadow roots ignore this; theme + config.css cover that path.
                 */
                #ottu-checkout .ottu__sdk-main {
                    background: transparent !important;
                    padding: 0 !important;
                    margin: 0 !important;
                    box-shadow: none !important;
                    border: none !important;
                }

                #ottu-checkout button[type="submit"],
                #ottu-checkout button[class*="pay"],
                #ottu-checkout [class*="pay-button"],
                #ottu-checkout [class*="PayButton"] {
                    background: #783EA1 !important;
                    background-image: linear-gradient(90deg, #783EA1 0%, #FF6249 100%) !important;
                    background-size: 150% !important;
                    background-position: 10% 0 !important;
                    border: none !important;
                    border-radius: 5px !important;
                    color: #FDFDFD !important;
                    font-weight: 600 !important;
                    font-size: 13px !important;
                    font-family: var(--Readex-Pro-Brand), 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif !important;
                    min-height: 52px !important;
                    max-width: 328px !important;
                    width: 100% !important;
                    margin-top: 24px !important;
                    box-shadow: none !important;
                }
            }
        }
    }
}

html[dir="ltr"] .useCoupon .custom-icon img[src*="arrow-left"] {
    rotate: 180deg;
}

.info-edit-reservation {
    .edit-details {
        width: 100%;
        margin-block: 23px 38px;

        th .table-head {
            padding-bottom: 19px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--dark-strong);
            font-family: var(--IBM-Plex), sans-serif;
            font-weight: 700;
            font-size: 16px;
            gap: 6px;
            border-bottom: 1px solid var(--light-mid);

            .custom-icon {
                width: 16px;
                height: 16px;
                flex-shrink: 0;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }
            }
        }

        tbody {
            tr {
                &:first-child td {
                    padding-top: 19px;
                }

                &:not(:last-child) td {
                    padding-bottom: 13px;
                }

                td {
                    .table-body {
                        display: flex;
                        flex-direction: column;
                        gap: 2px;
                        padding: 0 13px;
                        max-width: 139px;
                        margin: 0 auto;

                        .field-name {
                            color: var(--dark-strong);
                            font-family: var(--IBM-Plex), sans-serif;
                            font-size: 14px;
                            font-weight: 600;
                        }

                        .field-value {
                            color: var(--dark-mid);
                            font-family: var(--SF-PRO-DISPLAY), sans-serif;
                            font-size: 11px;
                            font-weight: 600;
                        }

                        .price {
                            font-weight: 600;
                            font-size: 13px;
                            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                            color: var(--dark-mid);
                        }

                        &.changed {

                            .field-value,
                            .price {
                                color: var(--purple-mid);
                            }
                        }
                    }
                }
            }
        }
    }

    .total-price {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        justify-content: space-between;
        padding-top: 19px;
        border-top: 1px solid var(--light-mid);

        .left-side {
            display: flex;
            flex-direction: column;
            gap: 8px;
            flex: 1;
            min-width: 0;

            .top-text {
                color: var(--purple-brand);
                font-family: var(--IBM-Plex), sans-serif;
                font-weight: 600;
                font-size: 14px;
                margin: 0;
            }

            .bottom-text {
                color: var(--dark-mid);
                font-size: 11px;
                font-weight: 600;
                font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
            }
        }

        .right-side {
            flex-shrink: 0;

            .price {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 40px;
                border: 1.5px solid var(--purple-pale);
                border-radius: 5px;
                background: var(--purple-pale);
                padding: 8px 18px;
                font-family: var(--IBM-Plex), sans-serif;
                font-size: clamp(16px, 2vw, 18px);
                font-weight: 600;
                color: var(--purple-brand);
                white-space: nowrap;
            }
        }
    }

    .confirmEditReservation-control {
        display: flex;
        flex-direction: column;
        padding-top: 19px;

        .title {
            font-weight: 700;
            font-size: clamp(16px, 2vw, 18px);
            color: var(--dark-strong);
            margin-bottom: 8px;
        }

        .subtitle {
            color: var(--dark-mid);
            font-family: var(--SF-PRO-DISPLAY);
            font-size: 11px;
            margin-bottom: 23px;
        }

        .btn-confirm-edit {
            color: var(--light-pale);
            border-radius: 5px;
            width: 100%;
            max-width: 100%;
            padding-block: 15px;
            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
            font-weight: 600;
            font-size: 13px;
            justify-content: center;
        }
    }

    .custom-white-box {

        padding: 22px;
        background: white;
        border: 1.5px solid var(--purple-pale);
        border-radius: 8px;
        margin-bottom: 23px;
    }
}

.extension-payment-section {
    /* Same card as the reservation summary above — the payment step is part of
       the panel, not loose content on the page background. */
    background: #FFFFFF;
    border: 1.5px solid var(--purple-pale);
    border-radius: 8px;
    padding: 22px;
    margin-top: 16px;

    .extension-wallet-section {
        .useCoupon {
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--light-mid);
            gap: 8px;

            &.is-wallet-applied,
            &.is-coupon-applied {
                align-items: stretch;

                button.coupon {
                    flex: 1;
                    width: auto;
                }

                .btn-remove-wallet,
                .btn-remove-coupon {
                    flex-shrink: 0;
                    align-self: center;
                    width: 24px;
                    height: 24px;
                    border: none;
                    border-radius: 50%;
                    background: var(--light-mid);
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0;

                    img {
                        width: 14px;
                        height: 14px;
                    }
                }
            }

            button.coupon {
                display: flex;
                align-items: center;
                gap: 10px;
                width: 100%;
                background: none;
                border: none;
                padding-block: 16px;
                cursor: pointer;

                .custom-icon {
                    width: 24px;
                    height: 24px;
                    flex-shrink: 0;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                .info-option {
                    flex: 1;

                    .title-info {
                        font-size: 14px;
                        font-weight: 400;
                        margin: 0;
                        text-align: start;

                        .text-success {
                            color: var(--info-green);
                        }
                    }
                }
            }
        }
    }

    /* Payment widget heading — panel scale, not page scale (matches checkout) */
    .ottu-payment-section {
        margin-top: 18px;

        .title-section {
            font-family: var(--Readex-Pro-Brand), sans-serif;
            font-weight: 700;
            font-size: 16px;
            color: var(--dark-strong);
            margin-bottom: 14px;
        }
    }

    .confirmEditReservation-control {
        padding-top: 12px;
    }
}

/* Disable calendar interaction in payment mode (host already approved dates) */
.calendar-read-only .date-page-content {
    pointer-events: none;
    opacity: 0.65;
}

.calendar-read-only .btn-confirm-range {
    display: none;
}

.date-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    padding: 28px 32px;
    border: 1.5px solid var(--purple-pale);
    border-radius: 8px;

    .popup-header {
        justify-content: center;
        background: var(--light-mid);
        width: fit-content;
        padding: 6px;
        border-radius: 8px;
        width: 100%;

        .date-popup-main-tabs {
            display: flex;
            width: 100%;

            .tab {
                border-radius: 5px;
                padding: 8.5px 10px;
                flex: 1;
                border: none;
                font-size: 14px;
                color: var(--dark-mid);
                font-family: var(--IBM-Plex);

                &:not(.active):hover {
                    color: var(--purple-mid);
                }

                &.active {
                    background: var(--purple-mid);
                    color: #FFF;
                }
            }
        }
    }

    .date-popup-secondary-tabs {
        display: flex;
        justify-content: center;
        gap: 6px;
        width: 100%;
        margin-block: 29px 40px;
        padding-bottom: 23px;
        border-bottom: 1px solid var(--light-mid);

        .tab {
            border-radius: 5px;
            padding: 8.5px 12px;
            border: none;
            font-size: 13px;
            color: var(Purple-light);
            font-family: var(--IBM-Plex);
            background: transparent;
            transition: background 0.2s, color 0.2s;
            cursor: pointer;
            flex: 1;

            &:not(.active):hover {
                color: var(--purple-mid);
                background: var(--light-mid);
            }

            &.active {
                background: var(--purple-pale);
                color: var(--purple-mid);
            }

            &.disabled {
                opacity: 0.5;
                cursor: not-allowed;
                pointer-events: none;
            }
        }
    }

    .date-popup-calendar-section {
        display: flex;
        flex-direction: column;

        #edit-date-inline-datepicker,
        #review-date-inline-datepicker,
        #checkout-date-inline-datepicker {
            display: none;
        }

        .daterangepicker {
            display: flex !important;
            border: none !important;
        }

        .drp-calendar.right {
            display: none;
        }

        .calendar-range-container {
            display: flex;
            justify-content: center;

            select {
                border: none;
                appearance: none;
            }

            .daterangepicker .drp-calendar {
                max-width: 400px;
            }

            .daterangepicker .calendar-table td {
                width: 44px;
                height: 44px;
                font-size: 16px;
                font-weight: 500;
            }

            .active {}

            .today {
                color: var(--light-pale);
                background-color: var(--orange-brand);
                border-radius: 50%;

            }

            .in-range {
                border-radius: 0;
                background: var(--purple-pale);
            }

            .end-date,
            .start-date {
                background: var(--purple-brand);
                border-radius: 50%;

            }

        }
    }

    .daterangepicker.drop-up:after,
    .daterangepicker.drop-up:before {
        display: none;
    }

    .calendar-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 32px;

        .btn-gradient-3 {
            color: var(--light-pale);
            border-radius: 5px;
            width: 100%;
            max-width: 100%;
            padding-block: 15px;
            font-size: 13px;
            justify-content: center;
        }
    }

    @media (max-width: 992px) {
        .date-popup-calendar-section {
            .calendar-range-container {
                .daterangepicker .calendar-table td {
                    width: 26px;
                    height: 26px;
                    font-size: 12px;
                    font-weight: 500;
                }

                .daterangepicker .drp-calendar {
                    max-width: 340px;
                }

            }
        }

        .calendar-controls {
            flex-direction: column;
            gap: 8px;
        }

        .calendar-controls .btn-confirm-range {
            max-width: 100%;
            width: 100%;
            font-size: 15px;
            padding: 12px 0;
        }
    }

    @media (max-width: 480px) {
        .calendar-controls {
            padding: 0 6px;
        }

        .calendar-controls .btn-confirm-range {
            font-size: 14px;
            padding: 10px 0;
        }
    }
}

.custom-info-host {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    background: #F7F7F7;
    padding: 53px 43px;

    .title {
        color: var(--dark-strong);
        font-weight: 600;
        font-size: clamp(16px, 2vw, 19px);
        margin-bottom: 14px;
    }

    .profile-info {
        display: flex;
        justify-content: space-between;
        gap: 20px;

        .left-side {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 12px;

            .info {
                display: flex;
                gap: 12px;

                .profile-image {
                    width: 70px;
                    height: 70px;
                    border-radius: 50%;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .personal-info {
                    .name {
                        font-size: clamp(16px, 2vw, 19px);
                        color: var(--dark-strong);
                        font-weight: 600;
                    }

                    .list-details {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                        font-size: 11px;
                        color: var(--dark-mid);
                        font-family: var(--SF-PRO-DISPLAY);

                        .detail {
                            display: flex;
                            align-items: center;
                            gap: 3px;
                        }
                    }
                }
            }

            .host-property {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: 11px;

                .item-property {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 5px;
                    padding: 7px 10px;
                    border-radius: 40px;
                    flex: 0 1 auto;
                    font-size: 11px;

                    .icon {
                        width: 14px;
                        height: 14px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-shrink: 0;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }
                }

                .property1 {
                    background: #F5EFFF;
                    color: #9974D3;
                }

                .property2 {
                    background: #EEF3FF;
                    color: #6793FA;
                }
            }
        }

        .right-side {
            grid-column: span 4;
            display: flex;
            flex-direction: column;
            gap: 32px;
            flex: 1;

            .info-property-2 {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 0;
                border: 1px solid var(--light-strong);
                border-radius: 8px;
                padding: 12px 16px;

                .item-property {
                    display: flex;
                    align-items: center;
                    flex-direction: column;
                    gap: 4px;
                    flex: 1;

                    .icon {
                        height: 20px;
                        width: 20px;
                        display: flex;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }

                    .title-property {
                        color: var(--dark-pale);
                        font-family: var(--SF-PRO-DISPLAY);
                        font-weight: 600;
                        font-size: 11px;
                        margin: 0;
                    }

                    .value {
                        font-weight: 600;
                        font-size: 13px;
                        font-family: var(--IBM-Plex);
                        color: var(--dark-strong);
                    }
                }

                .item-property:not(:first-child) {
                    border-left: 1px solid var(--light-strong);
                    padding-left: 12px;
                    margin-left: 12px;
                }
            }
        }

        @media (max-width:1200px) {
            flex-direction: column;
        }
    }

    .btn-contact-host {
        border: 1px solid var(--light-strong);
        border-radius: 8px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 12px 20px;
        color: var(--dark-strong);
        font-family: var(--IBM-Plex);
        font-weight: 600;
        margin-top: 20px;

        &:hover {
            background: var(--purple-pale);
        }
    }
}

.booking-number-info {
    .booking-number-content {
        display: flex;
        flex-direction: column;
        gap: 19px;
        border: 2px solid var(--purple-pale);
        padding: 15px 21px;
        border-radius: 8px;


        .header-number-details-content {
            display: flex;
            flex-direction: column;
            gap: 8px;

            .title {
                color: var(--dark-strong);
                font-weight: 600;
                font-size: clamp(17px, 2vw, 19px);
                margin: 0;
            }

            .subtitle {
                color: var(--dark-mid);
                font-weight: 600;
                font-size: 11px;
                font-family: var(--SF-PRO-DISPLAY), sans-serif;
            }

            .booking-number {
                font-size: 14px;
                padding: 2px 19px;
                color: var(--purple-brand);
                background: var(--purple-pale);
                border-radius: 3px;
                width: fit-content;
            }
        }

        .btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            font-weight: 600;
            border: none;
            padding-block: 15px;
            border-radius: 4px;

            .custom-icon {
                width: 15px;
                height: 15px;
            }

            &.btn-success {
                color: var(--info-green);
                background: #E8F3EC;

                &:hover {
                    background: #d6ffe5;
                }
            }

            &.btn-white-purple,
            &.btn-purple-pale {
                font-family: var(--IBM-Plex), sans-serif;
                font-size: 13px;
            }
        }
    }
}

.custom-title-section2 {
    color: var(--purple-mid);
    font-weight: 600;
    font-size: clamp(18px, 2vw, 24px);
}

.unit-info {
    display: flex;
    flex-direction: column;
    gap: 21px;

    .list-box-info {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

        gap: 21px;
        padding-bottom: 25px;

        hr {
            background-color: var(--light-mid);
            grid-column: 2 span;
            margin: 0;
            opacity: 1;
        }

        .box-info {
            display: flex;
            gap: 10px;
            flex: 1;

            .info {
                display: flex;
                flex-direction: column;
                gap: 5px;

                .title {
                    font-weight: 600;
                    font-size: clamp(17px, 2vw, 19px);
                    color: var(--dark-strong);
                    margin: 0;
                    line-height: 33.5px;
                }

                .desc {
                    font-size: 14px;
                    font-weight: 600;
                    color: var(--dark-strong);
                    margin: 0;
                    line-height: 24.5px;
                    max-width: 180px;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }
            }

            .image {
                display: flex;
                width: 130px;
                height: 100px;
                border-radius: 8px;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }

        @media (max-width:558px) {
            grid-template-columns: 1fr;

            hr {
                grid-column: auto;
            }

            .box-info {
                .info {
                    flex: 1;

                    .desc {
                        max-width: none;
                    }
                }
            }
        }

    }
}

.departure-instructions {
    display: flex;
    flex-direction: column;
    gap: 25px;

    .subtitle {
        color: var(--dark-mid);
        font-size: clamp(17px, 2vw, 19px);
        font-weight: 600;
        margin: 0;
    }

    .group-section {
        display: flex;
        flex-direction: column;
        gap: 21px;
        padding-bottom: 24px;

        &.with-border {
            padding-bottom: 42px;
            border-bottom: 1px solid var(--light-strong);
            margin-bottom: 22px;
        }
    }

    .list-what-should-do {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .item {
            display: flex;
            align-items: center;
            gap: 15px;
            background: var(--light-pale);
            border: 1px solid var(--light-mid);
            border-radius: 8px;
            padding: 26px 22px;
            color: var(--dark-strong);
            font-weight: 700;
            transition: .3s all ease-in-out;

            &:hover {
                background: var(--light-mid);
            }

            .custom-icon {
                height: 24px;
                width: 24px;
            }
        }
    }

    .extra-instructions {
        color: var(--dark-strong);
        font-weight: 600;
        font-size: clamp(17px, 2vw, 19px);

    }

    .image-garbage {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 25px 12px;

        .item {
            width: 100%;
            height: 188px;
            display: flex;
            overflow: hidden;

            &:hover {
                img {
                    scale: 1.2;
                }
            }

            img {
                object-fit: cover;
                width: 100%;
                height: 100%;
                transition: .3s all ease-in-out;
            }
        }

        @media (max-width:778px) {
            grid-template-columns: 2fr 1fr;
        }

        @media (max-width:558px) {
            grid-template-columns: 1fr 1fr;

            .item {
                height: 120px;
            }
        }
    }
}

.info-unit-entrance {
    background: #FFFFFF;
    border: 1.5px solid var(--purple-pale);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 18px 20px;

    .info-box {
        border: 1px solid var(--light-strong);
        display: flex;
        align-items: center;
        justify-content: center;
        padding-block: 18px;

        .info-item {
            border-radius: 5px;
            color: var(--dark-strong);
            font-size: 16px;
            font-weight: 700;
            display: flex;
            align-items: center;
            height: 34px;
            padding-inline: 23px;

            &:not(:first-child) {
                border-inline-start: 1px solid var(--light-strong);
            }
        }
    }
}

.wifi-password,
.access-unit {
    background: #FFFFFF;
    border: 1.5px solid var(--purple-pale);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 23px 20px;

    .steps-access {
        display: flex;
        flex-direction: column;
        gap: 20px;

        .access-way {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            flex: 1;

            .info {
                display: flex;
                flex-direction: column;
                gap: 5px;

                .title {
                    font-weight: 600;
                    font-size: clamp(17px, 2vw, 19px);
                    color: var(--dark-strong);
                    margin: 0;
                    line-height: 33.5px;
                }

                .desc {
                    font-size: 14px;
                    font-weight: 600;
                    color: var(--dark-strong);
                    margin: 0;
                    line-height: 24.5px;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }
            }

            .image {
                display: flex;
                width: 130px;
                height: 100px;
                border-radius: 8px;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }

    }

    .text-with-mark {
        border: 1px solid var(--light-strong);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        gap: 4px;
        font-size: clamp(17px, 2vw, 19px);
        color: var(--dark-strong);
        font-weight: 600;
        border-radius: 5px;

        span {
            color: var(--purple-mid);
        }
    }

    .info-text {
        border: 1px solid var(--light-strong);
        box-shadow: 0px 3px 4px 0px #00000012;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
        border-radius: 8px;
        font-size: 14px;
        color: var(--dark-strong);
        font-family: var(--IBM-Plex);
    }
}

.asterisk {
    color: red;
    font-weight: 500;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--purple-mid);
}

/* Quick-filter strip + rating/price Select2: radio checkmarks (Filter-Panel.png); beat global purple highlight */
.filter-search-box .select2-results__option--highlighted.select2-results__option--selectable:not(.select2-results__option--selected) {
    background-color: transparent !important;
    color: var(--dark-mid) !important;
    font-family: var(--IBM-Plex), sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.filter-search-box .select2-results__option--selected,
.filter-search-box .select2-results__option--selected.select2-results__option--highlighted {
    background-color: transparent !important;
    color: var(--dark-strong) !important;
    font-family: var(--IBM-Plex), sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.filter-search-box .select2-dropdown {
    border-radius: 10px !important;
    padding-block: 4px !important;
    border: 1px solid rgba(69, 54, 88, 0.12) !important;
}

/* Filter modal Sort-by list: beat global purple highlight (dropdown may be under body) */
.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--highlighted.select2-results__option--selectable:not(.select2-results__option--selected) {
    background-color: transparent !important;
    color: var(--dark-mid) !important;
    font-family: var(--IBM-Plex), sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--selected,
.select2-dropdown:has(#select2-sort-by-price-results) .select2-results__option--selected.select2-results__option--highlighted {
    background-color: transparent !important;
    color: var(--dark-strong) !important;
    font-family: var(--IBM-Plex), sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Quick-filter #rating Select2 (dropdownParent = .filter-search-box); same radio markers as Figma 1:5991 */
.select2-dropdown:has(#select2-rating-results) {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(69, 54, 88, 0.12) !important;
    border-radius: 10px !important;
    padding: 4px 0 !important;
    box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
    overflow: hidden;
    color: var(--dark-mid);
    z-index: 1071;
}

.select2-dropdown:has(#select2-rating-results) .select2-results__option {
    position: relative;
    padding: 12px 16px;
    padding-inline-start: 44px;
    padding-inline-end: 16px;
    margin: 0;
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-mid);
    background: transparent !important;
}

.select2-dropdown:has(#select2-rating-results) .select2-results__option:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 1px;
    background: rgba(69, 54, 88, 0.1);
    pointer-events: none;
}

.select2-dropdown:has(#select2-rating-results) .select2-results__option--selectable::before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-start: 16px;
    inset-inline-end: auto;
    width: 15px;
    height: 15px;
    margin-top: -7.5px;
    border-radius: 50%;
    border: 1px solid var(--dark-pale, #b0b0b0);
    background: #fff;
    box-sizing: border-box;
    pointer-events: none;
}

.select2-dropdown:has(#select2-rating-results) .select2-results__option--selected::before {
    border: none;
    background: url('../images/check-green.svg') center / 122% 122% no-repeat;
}

.select2-dropdown:has(#select2-rating-results) .select2-results__option--highlighted.select2-results__option--selectable:not(.select2-results__option--selected),
.select2-dropdown:has(#select2-rating-results) .select2-results__option--selected,
.select2-dropdown:has(#select2-rating-results) .select2-results__option--selected.select2-results__option--highlighted {
    background-color: transparent !important;
    color: var(--dark-strong) !important;
    font-family: var(--IBM-Plex), sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.select2-dropdown {
    border-radius: 24px;
    padding-block: 12px;
    border: 1px solid #aaa;
}

.tech-support {
    .form-group {
        .group-input {
            &:has(.select2-container) {
                padding-inline: 0;

                .select2-container {
                    padding-inline: 20px;
                }
            }

            .select2-container {
                .select2-selection--single .select2-selection__rendered {
                    color: black;
                    order: 1;
                    flex: 0 1 auto;
                    width: auto;
                    max-width: calc(100% - 40px);
                    min-width: 0;
                    padding-inline: 0 !important;
                }

                .select2-selection--single {
                    padding: 0 !important;
                    background: var(--light-pale);
                    display: flex;
                    align-items: center;
                    flex-wrap: nowrap;
                }

                .select2-selection--single .select2-selection__clear,
                .select2-selection--single button.select2-selection__clear {
                    order: 2;
                    flex-shrink: 0;
                    position: static !important;
                    float: none !important;
                    left: auto !important;
                    right: auto !important;
                    top: auto !important;
                    height: auto;
                    margin: 0 !important;
                    padding: 0;
                    padding-inline-start: 8px;
                }
            }

            textarea,
            input {
                color: black;
                background: var(--light-pale);
            }
        }
    }

}

body:has(#search-app) #header-app {
    position: sticky;
    top: 0;
    z-index: 88;
}

/* Quick-filter menus must stack below the search sticky header (z-index: 88). */
body:has(#search-app) .filter-search-box>.select2-dropdown,
body:has(#search-app) .filter-search-box>.select2-container .select2-dropdown,
body:has(#search-app) .filter-search-box>.unit-type-filter__panel,
body:has(#search-app) .filter-search-box .select2-container.select2-container--open {
    z-index: 87 !important;
}

body:has(#search-app) #header-app .navbar {
    position: static;
}

body:has(#search-app) #header-app::before {
    display: none;
}

@media (max-width: 1227px) {

    /* Search keeps a larger offset (sticky header chrome). */
    #search-app .body-page .filter-box.filter-box--header {
        top: 110px;
    }

    /* Browsing history: >778px (tablet body-filter) */
    #browsing-history-app .body-page .filter-box.filter-box--header {
        top: 95px;
        transition: top 0.3s ease;
    }

    /* Search only: equal flex columns. Do not apply to browsing-history
       (keeps shared mobile wrap: first two fields on one row). */
    #search-app .body-page .filter-box.filter-box--header .wrapper-filter .form-groups .form-group {
        flex: 1 1 auto;
    }
}

@media (max-width: 778px) and (min-width: 448px) {

    /* 448px–778px */
    #browsing-history-app .body-page .filter-box.filter-box--header,
    #browsing-history-app .body-page .filter-box.filter-box--header.is-scrolled {
        top: 57px;
    }
}

@media (max-width: 778px) {
    #search-app .body-page .filter-box.filter-box--header {
        top: 70px;
    }
}

@media (max-width: 447px) {

    /* <448px: tuck under navbar on scroll (animates to 45px) */
    #browsing-history-app .body-page .filter-box.filter-box--header {
        top: 69px;
        transition: top 0.3s ease;
    }

    #browsing-history-app .body-page .filter-box.filter-box--header.is-scrolled {
        top: 45px;
    }
}

/* Section headings (daily / package) — extra space below */
#search-app .search-results-section-header.header-content {
    margin-bottom: 16px;
}

#search-app .title-content-search-section {
    margin-bottom: 8px;
}

/* Body filter (≤1227px): same type scale as Figma header filter fields — search only */
#search-app .body-page .filter-box.filter-box--header .form-groups .form-group h5 {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 14px;
    font-weight: 600;
}

#search-app .body-page .filter-box.filter-box--header .form-groups .form-group .toggle-menu,
#search-app .body-page .filter-box.filter-box--header .form-groups .form-group .toggle-menu .value-group {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 14px;
    font-weight: 700;
}

#search-app .reviews-count-chip {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
}

#search-app .favorite-button {
    cursor: pointer;
}

/* Search cards: footer padding only — price uses shared .card-offer padding (2px 10px) */
#search-app .card-offer.purple-card .footer-card {
    padding: 0;
}

/* Tag pills on image: no ul chrome; spacing comes from shared .list-features */
#search-app .header-card ul.list-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

#search-app .header-card .list-features li span {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    color: var(--dark-strong);
    font-weight: 600;
}

#search-app .header-card .list-features li .icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-app .header-card .list-features li .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Single-list search results: inline package divider, infinite-scroll sentinel and loader
   span the whole grid width. */
#search-app .search-results-single-list>.search-package-divider,
#search-app .search-results-single-list>.search-scroll-sentinel,
#search-app .search-results-single-list>.search-loadmore-inline {
    grid-column: 1 / -1;
}

#search-app .search-results-single-list>.search-package-divider {
    margin-block-start: 12px;
}

#search-app .search-results-single-list>.search-loadmore-inline {
    display: flex;
    justify-content: center;
    padding-block: 24px;
}

body>.modal-backdrop.show {
    display: none;
}

body:has(#couponsModal.show)>.modal-backdrop.show,
body:has(#walletModal.show)>.modal-backdrop.show,
body:has(#controlListModal.show)>.modal-backdrop.show,
body:has(#addToListFavModal.show)>.modal-backdrop.show,
body:has(#newListFavModal.show)>.modal-backdrop.show,
body:has(#addUnitToListFav.show)>.modal-backdrop.show,
body:has(#deleteListModal.show)>.modal-backdrop.show,
body:has(#moveUnitsModal.show)>.modal-backdrop.show,
body:has(#paciVerificationModal.show)>.modal-backdrop.show {
    display: block;
    opacity: 0.45;
}

#couponsModal.coupons-checkout-modal.show,
#walletModal.wallet-checkout-modal.show,
#controlListModal.show,
#addToListFavModal.show,
#newListFavModal.show,
#addUnitToListFav.show,
#deleteListModal.show,
#moveUnitsModal.show {
    background: rgba(0, 0, 0, 0.31);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#search-app {
    position: relative;
}

/* Footer is a sibling of #search-app — don't force .main-page to 100dvh (empty gap). */
#search-app .main-page,
#check-in-out-app .main-page,
#favorite-list-units-app .main-page,
#favorites-app .main-page {
    min-height: 0;
    grid-template-rows: auto;
}

#search-app .search-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#search-app .search-empty-state>p {
    margin-top: 1rem;
}

/* My Account: smaller setting-card chevrons */
#my-account-app .setting-item .custom-icon {
    width: 7px;
    height: 7px;
}

#my-account-app .setting-item .custom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#my-account-app .account-summary .summary-box .descripe {
    font-size: 11px;
}

#my-account-app .account-details .value-info {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#my-account-app .account-info .verify-box>span:not(.custom-icon) {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
}

@media (min-width: 992px) {
    #personal-info-app .profile.section-with-sticky .container>.right-side {
        max-width: 385px;
    }
}

#personal-info-app .account-details .value-info {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#personal-info-app .account-info .verify-box>span:not(.custom-icon) {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
}

#personal-info-app .account-summary .summary-box .descripe {
    font-size: 11px;
}

#personal-info-app .form-personal-info .terms-label-text,
#personal-info-app .form-personal-info .personal-info-submit-btn>span {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

/* My Account mobile: summary first, no sticky sidebar */
@media (max-width: 992px) {
    .profile.section-with-sticky .container>.right-side {
        position: static;
        top: auto;
        order: 1;
    }

    .profile.section-with-sticky .container>.left-side {
        order: 2;
    }
}

#reviewReservationModal.show,
#checkoutReservationModal.show,
#unit-date-popup,
#favorites-date-popup {
    z-index: 99999999 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
}

#reviewReservationModal .modal-content,
#checkoutReservationModal .modal-content,
#unit-date-popup .popup-content.date-popup-content,
#unit-date-popup .unit-date-popup-content,
#favorites-date-popup .popup-content.date-popup-content,
#favorites-date-popup .unit-date-popup-content {
    background: #fff;
    border-radius: 14px;
    min-width: 350px;
    padding: 8px 22px 22px 22px;
    width: 100%;
    max-width: 570px;
    box-shadow: 0px 30px 30px 0px rgba(90, 90, 90, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    margin: auto;
    flex-shrink: 0;
}

/* Inner calendar wrapper is not a second card — styles come from modal-content */
#reviewReservationModal .modal-body .popup-content.date-popup-content,
#reviewReservationModal .modal-body .date-popup-content,
#checkoutReservationModal .modal-body .popup-content.date-popup-content,
#checkoutReservationModal .modal-body .date-popup-content {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    max-height: none;
    width: 100%;
}

#reviewReservationModal .modal-header,
#checkoutReservationModal .modal-header {
    padding: 24px 16px 0;
    width: 100%;
}

#reviewReservationModal .modal-body,
#checkoutReservationModal .modal-body {
    width: 100%;
    padding: 0;
    padding-top: 16px;
}

#reviewReservationModal .daterangepicker.openscenter:after,
#reviewReservationModal .daterangepicker.openscenter:before,
#checkoutReservationModal .daterangepicker.openscenter:after,
#checkoutReservationModal .daterangepicker.openscenter:before,
#checkoutReservationModal .daterangepicker:before,
#checkoutReservationModal .daterangepicker:after,
#unit-date-popup .daterangepicker:before,
#unit-date-popup .daterangepicker:after,
#favorites-date-popup .daterangepicker:before,
#favorites-date-popup .daterangepicker:after {
    display: none;
}

#reviewReservationModal .modal-content,
#checkoutReservationModal .modal-content,
#unit-date-popup .popup-content.date-popup-content,
#favorites-date-popup .popup-content.date-popup-content {
    max-width: fit-content !important;
    min-width: 570px !important
}

@media (max-width: 678px) {

    #reviewReservationModal .modal-content,
    #checkoutReservationModal .modal-content,
    #unit-date-popup .popup-content.date-popup-content,
    #favorites-date-popup .popup-content.date-popup-content {
        max-width: 100% !important;
        min-width: 100% !important
    }
}

#reviewReservationModal .modal-content .popup-header,
#checkoutReservationModal .modal-content .popup-header,
#unit-date-popup .popup-content.date-popup-content .popup-header,
#favorites-date-popup .popup-content.date-popup-content .popup-header {
    align-self: center;
}

#reviewReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.monthselect,
#reviewReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.yearselect,
#checkoutReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.monthselect,
#checkoutReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.yearselect,
#unit-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.monthselect,
#unit-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.yearselect,
#favorites-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.monthselect,
#favorites-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker select.yearselect {
    width: auto;
}

/* Booking calendars: month/year Select2 trigger stays text-like in the header */
.date-popup-calendar-section .calendar-range-container .daterangepicker th.month .select2-container,
#unit-date-popup .daterangepicker th.month .select2-container,
#favorites-date-popup .daterangepicker th.month .select2-container,
#reviewReservationModal .daterangepicker th.month .select2-container,
#checkoutReservationModal .daterangepicker th.month .select2-container {
    width: auto !important;
    margin: 0 2px;
    vertical-align: middle;
    display: inline-block;
}

.date-popup-calendar-section .calendar-range-container .daterangepicker th.month .select2-selection--single,
#unit-date-popup .daterangepicker th.month .select2-selection--single,
#favorites-date-popup .daterangepicker th.month .select2-selection--single,
#reviewReservationModal .daterangepicker th.month .select2-selection--single,
#checkoutReservationModal .daterangepicker th.month .select2-selection--single {
    border: none !important;
    background: transparent !important;
    height: auto !important;
    min-height: 32px;
    padding: 0 !important;
    border-radius: 0;
    box-shadow: none;
}

.date-popup-calendar-section .calendar-range-container .daterangepicker th.month .select2-selection--single .select2-selection__rendered,
#unit-date-popup .daterangepicker th.month .select2-selection--single .select2-selection__rendered,
#favorites-date-popup .daterangepicker th.month .select2-selection--single .select2-selection__rendered,
#reviewReservationModal .daterangepicker th.month .select2-selection--single .select2-selection__rendered,
#checkoutReservationModal .daterangepicker th.month .select2-selection--single .select2-selection__rendered {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.2;
    color: var(--dark-strong, #383241);
    padding: 0 4px !important;
    line-height: 32px;
}

.date-popup-calendar-section .calendar-range-container .daterangepicker th.month .select2-selection--single .select2-selection__arrow,
#unit-date-popup .daterangepicker th.month .select2-selection--single .select2-selection__arrow,
#favorites-date-popup .daterangepicker th.month .select2-selection--single .select2-selection__arrow,
#reviewReservationModal .daterangepicker th.month .select2-selection--single .select2-selection__arrow,
#checkoutReservationModal .daterangepicker th.month .select2-selection--single .select2-selection__arrow {
    display: none;
}

/*
 * Booking calendar month/year open menu — same look as filter price Select2
 * (.select2-dropdown:has(#select2-sort-by-price-results))
 */
.select2-dropdown.unit-calendar-select2-dropdown {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(69, 54, 88, 0.12) !important;
    border-radius: 0 0 10px 10px !important;
    padding: 8px 0 !important;
    box-shadow: 0 8px 24px rgba(69, 54, 88, 0.12);
    overflow: hidden;
    color: #757577;
    z-index: 100000001 !important;
}

.select2-dropdown.unit-calendar-select2-dropdown .select2-results>.select2-results__options {
    max-height: min(244px, 70vh);
    overflow-y: auto;
}

.select2-dropdown.unit-calendar-select2-dropdown .select2-results__option {
    position: relative;
    padding: 10px 16px;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', var(--IBM-Plex), sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #757577;
    transition: background 0.15s, color 0.15s;
}

.select2-dropdown.unit-calendar-select2-dropdown .select2-results__option:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 1px;
    background: rgba(69, 54, 88, 0.1);
    pointer-events: none;
}

.select2-dropdown.unit-calendar-select2-dropdown .select2-results__option--selectable {
    color: #757577;
    font-weight: 700;
    background: transparent;
}

.select2-dropdown.unit-calendar-select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
    background: #f5f3f8 !important;
    color: #757577 !important;
    font-weight: 700 !important;
}

.select2-dropdown.unit-calendar-select2-dropdown .select2-results__option--selected,
.select2-dropdown.unit-calendar-select2-dropdown .select2-results__option--selected.select2-results__option--highlighted {
    background: #f5f3f8 !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

#reviewReservationModal .modal-content .calendar-controls .btn-confirm-range:hover img,
#checkoutReservationModal .modal-content .calendar-controls .btn-confirm-range:hover img,
#unit-date-popup .popup-content.date-popup-content .calendar-controls .btn-confirm-range:hover img,
#favorites-date-popup .popup-content.date-popup-content .calendar-controls .btn-confirm-range:hover img {
    filter: brightness(10);
}

/* Favorites date popup: Clear + Confirm in one footer row */
#favorites-date-popup .calendar-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 70%;
    margin-inline: auto;
}

#favorites-date-popup .calendar-controls .btn-clear-range,
#favorites-date-popup .calendar-controls .btn-confirm-range {
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid var(--light-strong);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-mid);
    background: transparent;
    padding: 12px 12px;
    min-width: 0;
}

#favorites-date-popup .calendar-controls .btn-clear-range:hover,
#favorites-date-popup .calendar-controls .btn-confirm-range:hover {
    color: #FFF;
    background: var(--purple-brand);
}

@media (max-width: 480px) {
    #favorites-date-popup .calendar-controls {
        flex-direction: column;
        gap: 8px;
    }

    #favorites-date-popup .calendar-controls .btn-clear-range,
    #favorites-date-popup .calendar-controls .btn-confirm-range {
        max-width: 100%;
        width: 100%;
    }
}

#reviewReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.today.start-date.end-date::after,
#checkoutReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.today.start-date.end-date::after,
#unit-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.today.start-date.end-date::after {
    background: var(--orange-brand) !important
}

/* Reserved nights — app-style gray disc (unit-details / review / checkout) */
#unit-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.today.start-date.end-date.calendar-booked::after,
#reviewReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.today.start-date.end-date.calendar-booked::after,
#checkoutReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.today.start-date.end-date.calendar-booked::after,
#reviewReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.calendar-booked::after,
#checkoutReservationModal .modal-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.calendar-booked::after,
#reviewReservationModal .modal-content .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.off.calendar-booked::after,
#checkoutReservationModal .modal-content .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.off.calendar-booked::after,
#unit-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.calendar-booked::after {
    background: var(--light-mid) !important;
    box-shadow: none !important;
}

#unit-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.calendar-booked,
#unit-date-popup .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.off.calendar-booked,
#reviewReservationModal .modal-content .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.calendar-booked,
#reviewReservationModal .modal-content .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.off.calendar-booked,
#checkoutReservationModal .modal-content .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.calendar-booked,
#checkoutReservationModal .modal-content .popup-content.date-popup-content .date-popup-calendar-section .calendar-range-container .daterangepicker td.off.calendar-booked {
    position: relative;
    z-index: 0;
    isolation: isolate;
    background: transparent !important;
    background-image: none !important;
    color: var(--dark-pale) !important;
    opacity: 1 !important;
    border-radius: 0;
    text-decoration: none;
    text-shadow: none;
    pointer-events: none;
    font-weight: 500;
}

#reviewReservationModal .date-popup-content,
#checkoutReservationModal .date-popup-content {
    width: 100%;
}

#booking-review-app,
#booking-checkout-app,
#unit-booking-app {

    /* Check-in/Check-out value keeps wrapping onto 2 lines (long date + time
       string doesn't fit the column), which makes the white chip taller/more
       prominent than the design's single-line box. Give it a bit more room
       so it stays on one line for both languages. */
    .reservation-details .wrapper-details {
        column-gap: 18px;

        .value {
            padding: 4px 20px;
            width: fit-content;
            font-size: 14px;
            /* Keep DD/MM/YYYY - h:mmpm visual order in RTL (avoid bidi flip). */
            direction: ltr;
            unicode-bidi: isolate;
        }

        /* Separate spans: Arabic ص/م sits between " - " and the clock (red-spot). */
        .value.booking-datetime {
            display: inline-flex;
            flex-direction: row;
            align-items: center;
            white-space: nowrap;
        }
    }
}

/*
 * #157992 / #157050 — booking review/checkout/unit-booking design texts:
 * use --Readex-Pro-Brand (literal Readex Pro). After #157943, --Readex-Pro
 * resolves to IBM Plex (site default); do not rely on it for these highlights.
 * #158057 — same tokens for identity verification (booking confirm identity).
 */
#booking-review-app,
#booking-checkout-app,
#unit-booking-app,
#booking-details-app,
#identity-verification-app {
    min-height: 100%;

    .custom-banner .breadcrumb-item,
    .custom-banner .breadcrumb a,
    .custom-banner .breadcrumb li.active {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-size: 12.81px;
        font-weight: 400;
        color: var(--dark-pale);
    }

    .unit-profile .title-property {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        color: var(--dark-strong);
    }

    /* Match unit-details header metadata (Unit Number / location / rating) */
    .unit-profile .sub-info {
        gap: 14px;
        font-size: 11px;

        .item-info {
            align-items: center;
            font-family: var(--Readex-Pro-Brand), sans-serif;
            font-size: 11px;

            .icon {
                height: 17px;
                width: 17px;
            }

            .value {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: 6px;
                font-family: var(--Readex-Pro-Brand), sans-serif;
                font-weight: 400;
                font-size: 11px;
                color: var(--dark-mid);

                span,
                .code {
                    font-family: var(--Readex-Pro-Brand), sans-serif;
                    font-weight: 400;
                    font-size: 11px;
                    color: var(--dark-mid);
                }

                .code {
                    color: var(--dark-strong);
                }

                .rate {
                    font-family: var(--Readex-Pro-Brand), sans-serif;
                    font-weight: 600;
                    font-size: 13.47px;
                    color: var(--dark-strong);
                }

                &:has(.rate) > span:not(.rate) {
                    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                    font-weight: 600;
                    font-size: 11.4px;
                    color: var(--dark-mid);
                }

                &:has(.rate) > span:not(.rate) > span {
                    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                    font-weight: 600;
                    font-size: 11.4px;
                    color: var(--dark-pale);
                }

                .reviews-count,
                .reviews-count span {
                    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                    font-weight: 400;
                    font-size: 11.4px;
                    color: var(--dark-pale);
                }

                span span {
                    color: var(--dark-pale);
                }
            }
        }
    }

    .form-message-to-host .title-section {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: clamp(17px, 2vw, 19px);
        color: var(--dark-strong);
    }

    .form-message-to-host .custom-info-hosting .title-hosting {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: clamp(17px, 2vw, 19px);
        color: var(--dark-strong);
    }

    .form-message-to-host .custom-info-hosting .time-hosting,
    .form-message-to-host .custom-info-hosting .date-hosting {
        font-family: var(--SF-PRO-DISPLAY), sans-serif;
        font-weight: 600;
        font-size: 11px;
        color: var(--dark-mid);
    }

    .form-group-identity>.title-section {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        font-size: clamp(17px, 2vw, 19px);
        color: var(--dark-strong);
    }

    .list-type-identity .info-option .title-info {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: var(--dark-strong);

        span {
            color: var(--dark-mid);
            font-weight: 400;
        }
    }

    .list-type-identity .info-option .subinfo {
        font-family: var(--SF-PRO-DISPLAY), sans-serif;
        font-weight: 600;
        font-size: 11px;
        color: var(--dark-mid);
        line-height: 1.5;
    }

    .useCoupon .info-option .title-info {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: var(--dark-strong);

        span {
            color: var(--dark-mid);
            font-weight: 400;
        }
    }

    .custom-static-message .title-message {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        font-size: 14px;
        color: var(--dark-strong);
    }

    .custom-static-message .body-message {
        font-family: var(--SF-PRO-DISPLAY), sans-serif;
        font-weight: 600;
        font-size: 11px;
        color: var(--dark-mid);
    }

    .reservation-details .header-details .title,
    .header-section-aside .title,
    .booking-details-content .header-booking-details-content .title {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        color: var(--dark-strong);
    }

    .details-price .header-section-aside .title {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 600;
        color: var(--dark-strong);
    }

    .reservation-details .wrapper-details .title-detail {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: var(--dark-mid);
    }

    .reservation-details .wrapper-details .value {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: var(--purple-brand);
    }

    .reservation-details .btn.btn-edit,
    .reservation-details .btn.btn-edit>span {
        font-family: var(--SF-PRO-DISPLAY), sans-serif !important;
        font-weight: 600;
        font-size: 11px;
        color: #fff;
    }

    .details-price .row-details.total-price .row-title {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: var(--dark-mid);
    }

    .details-price .row-details .row-value {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: var(--dark-strong);
    }

    .details-price .row-details.wallet-balance-discount .row-title,
    .details-price .row-details.wallet-balance-discount .row-value {
        color: var(--purple-mid);
    }

    .details-price .row-details.total-price-row .row-title {
        font-family: var(--IBM-Plex), sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: var(--purple-brand);
    }

    .details-price .row-details.total-price-row .row-value {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        font-size: clamp(18px, 2vw, 24px);
        color: var(--purple-brand);
        background: var(--purple-pale);
        border-radius: 4px;
        padding: 2px 10px;
        line-height: 1.3;
    }

    .booking-details-content .condition .title {
        font-family: var(--SF-PRO-DISPLAY), sans-serif;
        font-weight: 600;
        font-size: 11px;
        color: var(--dark-mid);
    }

    .booking-details-content .condition .list-condition {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-size: 14px;
        color: #AE813D;
    }

    .cancel-privacy .item-cancel {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-size: 14px;
        color: var(--dark-strong);
    }

    .ottu-payment-section .title-section {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: var(--dark-strong);
    }

    /* Wallet / coupon rows — Figma Payment-Full-Amount alignment */
    .useCoupon button.coupon .info-option .title-info {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: var(--dark-strong);

        span {
            color: var(--dark-mid);
            font-weight: 400;
        }
    }

    .useCoupon.is-wallet-applied button.coupon .custom-icon.wallet-trailing {
        width: 24px;
        height: 24px;
    }

    /*
     * #157050 img1 / review.png — nightly price, currency د.ك, Book CTA.
     * Explicit Brand font so these stay Readex after --Readex-Pro → IBM remap.
     */
    .booking-details .header-booking .price-first {
        .value {
            font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 600;
            font-size: 24px;
            color: var(--purple-mid);

            .currency {
                font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
                font-weight: 600;
                font-size: 19px;
                color: var(--purple-mid);
            }
        }

        .descripe {
            font-weight: 700;
            font-size: 16px;
            color: var(--dark-strong);
        }
    }

    .booking-details .header-booking .price-second {

        .value,
        .value .currency {
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 700;
            font-size: 16px;
        }

        .descripe {
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 600;
            font-size: 12px;
        }
    }

    .booking-details .btn-gradient-3 {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        font-size: 13px;
        color: var(--light-pale);
    }

    .unit-notes .title-section,
    .location>.title-section {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-weight: 600;
        color: var(--dark-strong);
    }

    .unit-notes .list-notes .item-notes {
        font-family: var(--Readex-Pro-Brand), sans-serif;
        font-size: 14px;
        color: var(--dark-strong);
    }

    .location .footer-locatiom .location {
        font-family: var(--SF-PRO-DISPLAY), sans-serif;
        font-weight: 600;
        font-size: 11px;
        color: var(--purple-mid);
    }
}

#booking-review-app .unit-profile .sub-info .item-info .value,
#booking-checkout-app .unit-profile .sub-info .item-info .value {
    .rate {
        font-size: 13.47px;
    }

    .reviews-count,
    .reviews-count span {
        font-size: 11.4px;
    }

    .reviews-count .reviews-count-highlight,
    .reviews-count .reviews-count-highlight span {
        color: var(--dark-mid);
    }
}

/* Checkout/review header language control (screen1.png annotation) */
body:has(#booking-checkout-app) .navbar #language-select .btn-language-toggle,
body:has(#booking-review-app) .navbar #language-select .btn-language-toggle {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
}

/* #157050 — unit details metadata row shares review card HTML; keep true Readex */
#unit-details-app .header-property-details .sub-info .item-info,
#unit-details-app .header-property-details .sub-info .item-info .value,
#unit-details-app .header-property-details .sub-info .item-info .value span,
#unit-details-app .header-property-details .sub-info .item-info .value .code,
#unit-details-app .header-property-details .sub-info .item-info .value .rate {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 13.47px;
}

#unit-details-app .header-property-details .sub-info .item-info .value:has(.rate) > span:not(.rate) {
    font-size: 11.4px;
}

#unit-details-app .header-property-details .sub-info .item-info .value:has(.rate) > span:not(.rate) > span {
    font-size: 11.4px;
}

#unit-details-app .custom-banner .btn-purple-brand>span {
    white-space: nowrap;
}

/* #158355 — unit media page typography */
#unit-media-app {
    .custom-banner {

        .breadcrumb-item,
        .breadcrumb a,
        .breadcrumb li.active {
            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
            font-size: 13px;
            font-weight: 400;
            color: var(--dark-pale);
        }

        .btn-share,
        .btn-purple-brand {
            flex-direction: row !important;
            align-items: center;
            justify-content: center;
        }

        .btn-share>.custom-icon,
        .btn-purple-brand>.custom-icon {
            order: 2;
            flex-shrink: 0;
            width: 16px;
            height: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        .btn-share>span:not(.custom-icon),
        .btn-purple-brand>span:not(.custom-icon) {
            order: 1;
        }

        .btn-share>span:not(.custom-icon) {
            font-family: 'IBM Plex Sans Arabic', var(--IBM-Plex), sans-serif;
            font-weight: 700;
            font-size: 16px;
            color: var(--purple-light, #C3B7D0);
        }

        .btn-purple-brand>span {
            font-weight: 700;
            color: var(--purple-pale, #EAE0F0);
        }
    }

    .unit-profile.unit-profile--media-page {
        .title-property {
            font-family: var(--IBM-Plex), sans-serif;
            font-weight: 600;
            color: var(--dark-strong);
        }

        .sub-info {
            .item-info {
                .value {
                    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                    font-weight: 400;
                    font-size: 11.05px;
                    color: var(--dark-mid);

                    span,
                    .code {
                        font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        font-weight: 400;
                        font-size: 11.05px;
                        color: var(--dark-mid);
                    }

                    .code {
                        color: var(--dark-strong);
                    }

                    .rate {
                        font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
                        font-weight: 600;
                        font-size: 13.47px;
                        color: var(--dark-strong, #383241);
                    }
                }

                .value--rating .rating-count {
                    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
                    font-weight: 600;
                    font-size: 11.4px;
                    color: var(--dark-mid);
                }

                .value--rating .rating-count span {
                    font-family: inherit;
                    font-weight: inherit;
                    font-size: inherit;
                }
            }
        }
    }

    .unit-media-page-heading__back {
        font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
        font-weight: 600;
        font-size: 13px;
        color: var(--dark-strong);
    }

    /* Gallery modal swiper arrows (#158355) */
    #imagePreviewSliderModal #unit-media-swiper-gallery {
        .swiper-button-prev {
            padding-inline-end: 4px;
        }

        .swiper-button-next {
            padding-inline-start: 4px;

            &::after {
                font-size: 16px;
            }
        }
    }
}

#support-messages-app,
#support-center-app {
    .custom-banner {
        .container {
            align-items: flex-start;
        }

        .breadcrumb-item,
        .breadcrumb a,
        .breadcrumb li.active {
            font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
            font-size: 12.81px;
            font-weight: 400;
            color: var(--dark-pale);
        }

        .title-info {
            font-family: var(--IBM-Plex), sans-serif;
            font-weight: 400;
            color: var(--purple-pale);
            line-height: 1.2;
        }

        .group-info {
            font-family: var(--IBM-Plex), sans-serif;
            font-weight: 600;
            color: var(--light-pale);
            align-items: flex-start;
        }
    }
}

#support-messages-app .custom-banner .container {
    align-items: center;
}

#support-messages-app .custom-banner .container .left-side {
    gap: 21px;
}

#support-messages-app .custom-banner .group-info {
    align-items: center;
}

#support-messages-app .custom-banner .group-info .custom-icon {
    width: 46px;
    height: 46px;
}

#support-messages-app .custom-banner .group-info .custom-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}

#support-center-app .custom-banner .container .right-side>.icon {
    width: 110px;
    height: 110px;
    margin-inline-start: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#support-center-app .custom-banner .container .right-side>.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#support-center-app .custom-banner .group-info>span {
    font-size: clamp(24px, 4vw, 53.12px);
    font-weight: 400;
    color: var(--purple-pale);
}

#support-center-app .custom-banner .breadcrumb-item,
#support-center-app .custom-banner .breadcrumb a,
#support-center-app .custom-banner .breadcrumb li.active,
#support-messages-app .custom-banner .breadcrumb-item,
#support-messages-app .custom-banner .breadcrumb a,
#support-messages-app .custom-banner .breadcrumb li.active {
    max-width: none;
}

#privacy-policy-app .custom-banner .breadcrumb-item,
#privacy-policy-app .custom-banner .breadcrumb a,
#privacy-policy-app .custom-banner .breadcrumb li.active,
#warranty-details-app .custom-banner .breadcrumb-item,
#warranty-details-app .custom-banner .breadcrumb a,
#warranty-details-app .custom-banner .breadcrumb li.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 12.81px;
    color: var(--dark-pale, #B1AEB5);
}

/* Figma Support-Messages (#1:8905): support bubbles on the left, user on the right */
#support-messages-app .support-chat {
    /* Don't force a tall empty panel when there are only a few messages */
    height: auto;
    max-height: min(600px, calc(100dvh - 220px));
    justify-content: flex-start;
    gap: 12px;
}

#support-messages-app .support-chat .list-messages {
    direction: ltr !important;
    flex: 0 1 auto;
    min-height: 320px;
    height: auto;
    max-height: min(420px, calc(100dvh - 320px));
    overflow-y: auto;
}

#support-messages-app .support-chat .list-messages .group-message {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

#support-messages-app .support-chat .list-messages .group-message.user-message {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

#support-messages-app .support-chat .list-messages .group-message .message {
    direction: rtl;
    text-align: start;
    unicode-bidi: plaintext;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#support-messages-app .support-center .your-rights .subtitle {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--dark-mid);
    line-height: 1.55;
}

#support-messages-app .support-center .direct-contact .contact-group,
#support-messages-app .support-center .direct-contact .contact-group .header-group,
#support-messages-app .support-center .direct-contact .contact-group .title-group,
#support-messages-app .support-center .direct-contact .contact-group .value-group {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#support-messages-app .support-center .direct-contact .btn-transparent,
#support-messages-app .support-center .direct-contact .btn-transparent>span,
#support-messages-app .support-center .your-rights .btn-transparent,
#support-messages-app .support-center .your-rights .btn-transparent>span,
#support-messages-app .support-center .your-rights .btn-gray,
#support-messages-app .support-center .your-rights .btn-gray>span {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#supportMessageImageModal,
#chatMessageImageModal {
    z-index: 100000;
    background: #0000004f;
    backdrop-filter: blur(2px);
}

#supportMessageImageModal .modal-dialog,
#chatMessageImageModal .modal-dialog {
    max-width: min(720px, 94vw);
}

#supportMessageImageModal .support-message-image-modal,
#chatMessageImageModal .chat-message-image-modal {
    background: rgba(255, 255, 255, 0.97);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 36px 0 rgba(0, 0, 0, 0.12);
}

#supportMessageImageModal .modal-header,
#chatMessageImageModal .modal-header {
    border: none;
    padding: 16px;
    min-height: 64px;
    height: auto;
    align-items: center;
    box-sizing: border-box;
    justify-content: flex-start;
}

#supportMessageImageModal .modal-header .btn-close,
#chatMessageImageModal .modal-header .btn-close {
    position: static;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    background-color: var(--light-mid);
    box-sizing: border-box;
    background-size: 12px;
    margin: 0 !important;
    opacity: 1;
    flex-shrink: 0;
}

#supportMessageImageModal .modal-body,
#chatMessageImageModal .modal-body {
    padding: 12px 20px 24px;
}

#supportMessageImageModal .support-message-preview-img,
#chatMessageImageModal .chat-message-preview-img {
    max-width: 100%;
    max-height: min(75vh, 680px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* ── Browsing History (#158182) ─────────────────────────────────────────── */
#browsing-history-app .custom-banner .breadcrumb-item,
#browsing-history-app .custom-banner .breadcrumb a,
#browsing-history-app .custom-banner .breadcrumb li.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--dark-pale);
}

/* Title → cards: 24px only (override .content-section .container gap + header mb) */
#browsing-history-app .content-section .container {
    gap: 0;
}

#browsing-history-app .browsing-history-day-header.header-content {
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 0;
}

#browsing-history-app .content-section .header-content.browsing-history-day-header .title-content.title-content-search-section {
    color: var(--dark-pale, #B1AEB5);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 0;
    padding-bottom: 0;
}

#browsing-history-app .browsing-history-day-header+.list-content.content-search {
    margin-top: 0;
    margin-bottom: 28px;
}

/* 3 cards / row (reinforce over any later grid overrides) */
#browsing-history-app .list-content.content-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

@media (max-width: 991px) {
    #browsing-history-app .list-content.content-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 558px) {
    #browsing-history-app .list-content.content-search {
        grid-template-columns: minmax(0, 1fr);
    }
}

#browsing-history-app .list-content.content-search .card-offer {
    height: 100%;
    min-width: 0;
}

#browsing-history-app .list-content.content-search .card-offer>.property-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
}

#browsing-history-app .list-content.content-search .card-offer .body-card {
    flex: 1 1 auto;
}

#browsing-history-app .list-content.content-search .card-offer .footer-card {
    margin-top: auto;
}

/* Card typography — Figma / QA #158182 */
#browsing-history-app .list-content.content-search .card-offer .body-card .title-card,
#browsing-history-app .list-content.content-search .card-offer .body-card .address,
#browsing-history-app .list-content.content-search .card-offer .body-card .info-card,
#browsing-history-app .list-content.content-search .card-offer .footer-card,
#browsing-history-app .list-content.content-search .card-offer .footer-card .price {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#browsing-history-app .list-content.content-search .card-offer .body-card .title-card {
    color: var(--dark-strong, #383241);
    font-weight: 600;
}

#browsing-history-app .browsing-history-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-block: 24px 32px;
    align-self: stretch;
}

/* Homepage-style gradient pill (centered Load More / Clear Filters) */
#browsing-history-app .browsing-history-load-more .btn.btn-gradient-3.view-more,
#browsing-history-app .browsing-history-empty__inner .btn.btn-gradient-3.view-more {
    min-width: 180px;
    width: fit-content;
    color: #fff;
    border: none;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 28px;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    background: var(--gradient-3) center center no-repeat;
    background-size: 150%;
    background-position: 10% 0;
    justify-content: center;
    text-align: center;
    align-self: center;
    margin-inline: auto;
}

#notifications-app .empty-state-box,
#wallet-app .empty-state-box,
#browsing-history-app .empty-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--dark-pale);
    font-size: 14px;
    font-family: var(--Readex-Pro-Brand);
    gap: 16px;
}

#notifications-app .empty-state-box p,
#wallet-app .empty-state-box p,
#browsing-history-app .empty-state-box p {
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: inherit;
}

#notifications-app .host-units-empty__logo,
#wallet-app .host-units-empty__logo,
#browsing-history-app .host-units-empty__logo {
    width: auto;
    max-width: 140px;
    height: auto;
    display: block;
}


/* #158188 — Notifications list page typography (Figma Outing-Web node 1:8495) */
#notifications-app .custom-banner .container,
#favorites-app .custom-banner .container,
#unit-reviews-app .custom-banner .container,
#my-bookings-app .custom-banner .container,
#support-center-app .custom-banner .container,
.my-account-banner .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

#notifications-app .custom-banner .container .right-side,
#favorites-app .custom-banner .container .right-side,
#unit-reviews-app .custom-banner .container .right-side,
#my-bookings-app .custom-banner .container .right-side,
#support-center-app .custom-banner .container .right-side,
.my-account-banner .container .right-side {
    align-self: flex-start;
    justify-content: flex-start;
    margin: 0;
    max-width: none;
    flex: 0 0 auto;
}

#notifications-app .custom-banner .container .right-side>.icon,
#favorites-app .custom-banner .container .right-side>.icon,
#unit-reviews-app .custom-banner .container .right-side>.icon,
#my-bookings-app .custom-banner .container .right-side>.icon,
#support-center-app .custom-banner .container .right-side>.icon,
.my-account-banner .container .right-side>.icon {
    margin-inline-start: 0;
    display: flex;
}

#notifications-app .custom-banner .container .left-side,
#favorites-app .custom-banner .container .left-side,
#unit-reviews-app .custom-banner .container .left-side,
#my-bookings-app .custom-banner .container .left-side,
#support-center-app .custom-banner .container .left-side,
.my-account-banner .container .left-side {
    flex: 1 1 auto;
    min-width: 0;
}

@media (min-width: 993px) {

    #notifications-app .custom-banner .container,
    #favorites-app .custom-banner .container,
    #unit-reviews-app .custom-banner .container,
    #my-bookings-app .custom-banner .container,
    #support-center-app .custom-banner .container,
    .my-account-banner .container {
        justify-content: space-between;
    }

    #notifications-app .custom-banner .container .left-side,
    #favorites-app .custom-banner .container .left-side,
    #unit-reviews-app .custom-banner .container .left-side,
    #my-bookings-app .custom-banner .container .left-side,
    #support-center-app .custom-banner .container .left-side,
    .my-account-banner .container .left-side {
        order: 1;
    }

    #notifications-app .custom-banner .container .right-side,
    #favorites-app .custom-banner .container .right-side,
    #unit-reviews-app .custom-banner .container .right-side,
    #my-bookings-app .custom-banner .container .right-side,
    #support-center-app .custom-banner .container .right-side,
    .my-account-banner .container .right-side {
        order: 2;
        margin-inline-start: auto;
    }
}

@media (max-width: 992px) {

    #notifications-app .custom-banner .container,
    #my-bookings-app .custom-banner .container,
    #support-center-app .custom-banner .container,
    .my-account-banner .container {
        justify-content: flex-start;
    }

    #notifications-app .custom-banner .container .left-side,
    #notifications-app .custom-banner .container .right-side,
    #my-bookings-app .custom-banner .container .left-side,
    #my-bookings-app .custom-banner .container .right-side,
    #support-center-app .custom-banner .container .left-side,
    #support-center-app .custom-banner .container .right-side,
    .my-account-banner .container .left-side,
    .my-account-banner .container .right-side {
        order: initial;
    }

    #notifications-app .custom-banner .container .right-side,
    #my-bookings-app .custom-banner .container .right-side,
    #support-center-app .custom-banner .container .right-side,
    .my-account-banner .container .right-side {
        margin-inline-start: 0;
    }
}

.my-account-banner .breadcrumb-item,
.my-account-banner .breadcrumb a {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12.81px;
    font-weight: 400;
    color: var(--dark-pale, #B1AEB5);
}

.my-account-banner .breadcrumb .breadcrumb-item.active,
.my-account-banner ol.breadcrumb>li.breadcrumb-item.active {
    color: var(--Dark-Pale, #B1AEB5) !important;
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12.81px !important;
}

.my-account-banner .title-info {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 4vw, 53.12px);
    color: var(--purple-pale, #EAE0F0);
    line-height: 1.2;
}

#notifications-app .custom-banner .breadcrumb-item,
#notifications-app .custom-banner .breadcrumb a,
#my-bookings-app .custom-banner .breadcrumb-item,
#my-bookings-app .custom-banner .breadcrumb a {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12.81px;
    font-weight: 400;
    color: var(--dark-pale, #B1AEB5);
}

#notifications-app .custom-banner .breadcrumb .breadcrumb-item.active,
#notifications-app .custom-banner ol.breadcrumb>li.breadcrumb-item.active,
#my-bookings-app .custom-banner .breadcrumb .breadcrumb-item.active,
#my-bookings-app .custom-banner ol.breadcrumb>li.breadcrumb-item.active {
    color: var(--Dark-Pale, #B1AEB5) !important;
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12.81px !important;
}

#notifications-app .custom-banner .title-info,
#my-bookings-app .custom-banner .title-info {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 4vw, 53.12px);
    color: var(--purple-pale, #EAE0F0);
    line-height: 1.2;
}

#notifications-app .list-notification .item-notification:not(.done) .title-notification {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--purple-brand, #46295A);
}

#notifications-app .list-notification .item-notification:not(.done) .description-notification {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-mid, #783EA1);
}

#notifications-app .list-notification .item-notification:not(.done) .date {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-mid, #6A676D);
}

#notifications-app .list-notification .item-notification.done .title-notification {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-strong, #383241);
}

#notifications-app .list-notification .item-notification.done .description-notification {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--dark-pale, #B1AEB5);
}

#notifications-app .list-notification .item-notification.done .date {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-pale, #B1AEB5);
}

#notifications-app .list-notification .text-center p {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-mid, #6A676D);
}

#notifications-app .list-notification .btn.btn-gradient-3.view-more {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--light-pale, #FDFDFD);
}

#notifications-app .list-notification .item-notification .notification-delete-btn {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

#notifications-app .list-notification .item-notification .notification-delete-btn:hover,
#notifications-app .list-notification .item-notification .notification-delete-btn:focus-visible {
    opacity: 0.75;
    box-shadow: none;
}

/* #158186 — Notification Settings page typography (Figma Outing-Web node 1:8528) */
#notification-settings-app .custom-banner .breadcrumb-item,
#notification-settings-app .custom-banner .breadcrumb a,
#notification-settings-app .custom-banner .breadcrumb li.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--dark-pale);
}

#notification-settings-app .custom-title-section2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 6vw, 46.3px);
    color: var(--dark-strong, #383241);
    line-height: 1.2;
}

#wallet-app .custom-banner .breadcrumb-item,
#wallet-app .custom-banner .breadcrumb a,
#wallet-app .custom-banner .breadcrumb li.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--dark-pale, #B1AEB5);
}

#wallet-app .custom-banner .breadcrumb .breadcrumb-item.active,
#wallet-app .custom-banner ol.breadcrumb>li.breadcrumb-item.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: var(--dark-pale, #B1AEB5) !important;
}

#wallet-app .custom-title-section2 {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 6vw, 46.3px);
    color: var(--dark-strong, #383241);
    line-height: 1.2;
}

#wallet-app .wallet-balance .wallet-balance-row--header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
}

#wallet-app .wallet-balance .wallet-balance-row--header .title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: clamp(17px, 2vw, 19px);
    color: var(--dark-strong);
    white-space: nowrap;
}

#wallet-app .wallet-balance {
    min-width: 330px;
    box-sizing: border-box;
}

#wallet-app .wallet-balance .wallet-balance-row--header .balance {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.4vw, 27px);
    color: var(--purple-mid);
    white-space: nowrap;
}

#wallet-app .wallet-card__name {
    font-family: 'Cousine', monospace;
    font-weight: 400;
    font-size: 10.11px;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.55;
    width: 100%;
    text-align: left;
}

#wallet-app .wallet-card__balance {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 23px;
    line-height: 1;
    text-align: start;
}

#notification-settings-app .form-groups-settings .groups-settings .title-group {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--dark-mid, #6A676D);
}

#notification-settings-app .form-groups-settings .title-choose {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-strong, #383241);
}

#notification-settings-app .custom-box-info .header-booking-details-content .title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--dark-strong, #383241);
}

#notification-settings-app .custom-box-info .condition .title {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--dark-mid);
}

#notification-settings-app .custom-box-info .condition .list-condition,
#notification-settings-app .custom-box-info .condition .list-condition>li {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #AE813D;
}

#notification-settings-app .custom-box-info.your-rights .title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--dark-strong, #383241);
}

#notification-settings-app .custom-box-info.your-rights .subtitle {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--dark-mid, #6A676D);
    line-height: 1.55;
}

#notification-settings-app .custom-box-info.your-rights .btn-transparent,
#notification-settings-app .custom-box-info.your-rights .btn-transparent>span,
#notification-settings-app .custom-box-info.your-rights .btn-gray,
#notification-settings-app .custom-box-info.your-rights .btn-gray>span {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-mid, #6A676D);
}

#notification-settings-app .container-blocks>.right-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Shared modal chrome (terms 1:5457, report 1:5563) — Figma Outing-Web: Readex Pro */
#notification-settings-app #reportModal .modal-title,
#notification-settings-app #termsAndRightsModal .modal-title,
#support-messages-app #reportModal .modal-title,
#support-messages-app #termsAndRightsModal .modal-title,
#termsAndRightsModal .modal-title,
#reportModal .modal-title,
#rejectModal .modal-title,
#approveModal .modal-title,
#idCardModal .modal-title {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    line-height: 1.35;
    color: var(--dark-strong, #383241) !important;
}

#reportModal .modal-title,
#reportModal #reportViolationModalLabel,
#deleteAccountConfirmModal .modal-title,
#deleteAccountConfirmModal #deleteAccountConfirmModalLabel,
#rejectModal .modal-title,
#rejectModal #rejectModalLabel,
#approveModal .modal-title,
#approveModal #approveModalLabel {
    margin-bottom: 16px !important;
}

#idCardModal .modal-title,
#idCardModal #idCardModalLabel {
    margin-bottom: 0 !important;
}

#idCardModal .modal-header {
    margin-bottom: 16px !important;
}

#notification-settings-app #reportModal .modal-title,
#notification-settings-app #reportModal #reportViolationModalLabel,
#support-messages-app #reportModal .modal-title,
#support-messages-app #reportModal #reportViolationModalLabel {
    margin-bottom: 16px !important;
}

#notification-settings-app #reportModal .modal-content,
#notification-settings-app #termsAndRightsModal .modal-content,
#support-messages-app #reportModal .modal-content,
#support-messages-app #termsAndRightsModal .modal-content,
#reportModal .modal-content,
#termsAndRightsModal .modal-content,
#deleteAccountConfirmModal .modal-content,
#rejectModal .modal-content,
#approveModal .modal-content,
#idCardModal .modal-content {
    padding: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 30px 30px 0px #5A5A5A1A;
}

/* Terms modal content hierarchy (API HTML: first <p> = section title) */
#termsAndRightsModal .modal-body .details .description {
    max-width: 100%;
    margin-bottom: 0;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--dark-strong, #383241) !important;
    line-height: 1.55;
}

#termsAndRightsModal .modal-body .details .description>p:first-child {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: var(--purple-mid, #783EA1) !important;
    margin: 0 0 8px;
    line-height: 1.4;
}

#termsAndRightsModal .modal-body .details .description>p:not(:first-child) {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--dark-strong, #383241) !important;
    margin: 0 0 12px;
    line-height: 1.55;
}

#termsAndRightsModal .modal-body .details .description>p:last-child {
    margin-bottom: 0;
}

#reportModal .modal-body {
    gap: 20px;
    padding: 24px 30px 40px !important;
}

#deleteAccountConfirmModal .modal-body {
    gap: 20px;
    padding: 24px 30px 40px !important;
}

#deleteAccountConfirmModal .modal-title,
#deleteAccountConfirmModal #deleteAccountConfirmModalLabel,
#deleteAccountConfirmModal .modal-body .subtitle {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif !important;
}

#deleteAccountConfirmModal .modal-body .subtitle {
    text-align: center;
}

#rejectModal .modal-body,
#approveModal .modal-body,
#idCardModal .modal-body {
    gap: 20px;
    padding: 24px 30px 40px !important;
}

#notification-settings-app #reportModal .modal-body,
#support-messages-app #reportModal .modal-body {
    padding: 24px 30px 40px !important;
}

#reportModal .group-input,
#rejectModal .group-input {
    margin: 0;
}

#reportModal .group-input textarea,
#reportModal .group-input textarea.form-control,
#rejectModal .group-input textarea,
#rejectModal .group-input textarea.form-control {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--dark-strong, #383241) !important;
    line-height: 1.5;
}

#reportModal .group-input textarea::placeholder,
#reportModal .group-input textarea.form-control::placeholder,
#rejectModal .group-input textarea::placeholder,
#rejectModal .group-input textarea.form-control::placeholder {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--dark-pale, #B1AEB5) !important;
}

#reportModal .buttons,
#rejectModal .buttons,
#approveModal .buttons {
    margin-top: 8px;
}

#reportModal .buttons .btn,
#rejectModal .buttons .btn,
#approveModal .buttons .btn {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Report options: Readex Pro 14/400 purple-brand (Figma 1:5563); check at inline-start */
#reportModal .list-checkbox {
    align-items: flex-start;
    gap: 16px;
}

#reportModal .list-checkbox .group-checkbox {
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

#reportModal .list-checkbox .group-checkbox>span:last-child {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--purple-brand, #46295A) !important;
    line-height: 1.4;
}

#my-bookings-app .container-blocks>.left-side {
    gap: 44px;
    display: flex;
    flex-direction: column;
}

#my-bookings-app .empty-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--dark-pale);
    font-size: 14px;
    font-family: var(--Readex-Pro-Brand);
}

#my-bookings-app .empty-state-box p {
    margin: 0;
}

#my-bookings-app .host-units-empty {
    gap: 16px;
}

#my-bookings-app .host-units-empty .host-units-empty__logo {
    width: auto;
    max-width: 140px;
    height: auto;
    display: block;
}

#my-bookings-app .group-section-booking,
#my-bookings-app .group-section,
#my-bookings-app .list-current-reservation,
#my-bookings-app .list-prev-reservation {
    width: 100%;
    max-width: 100%;
}

#my-bookings-app .container-blocks>.right-side.booking-side {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

#my-bookings-app .container-blocks>.right-side .custom-box-info {
    max-width: 100%;
}

#my-bookings-app .my-bookings-load-more {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 24px;
}

#my-bookings-app .my-bookings-load-more .btn.btn-gradient-3.view-more {
    width: fit-content;
    color: #FFF;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    border-radius: 999px;
    padding: 10px 28px;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

#my-bookings-app .my-bookings-load-more .btn.btn-gradient-3.view-more.disabled {
    pointer-events: none;
    opacity: 0.75;
}

/* booking details breadcrumb */
#booking-details-app .custom-banner .breadcrumb-item,
#booking-details-app .custom-banner .breadcrumb a,
#booking-details-app .custom-banner .breadcrumb li.active {
    font-size: 12.8px;
    line-height: 21px;
}

/* Match price details horizontal inset for payment method block */
#booking-details-app .unit-booking-page .left-side > .payment-used {
    box-sizing: border-box;
    padding: 21px;
    width: 100%;
}

/* Guest booking extend/edit — page header + hide calendar Confirm Dates */
#booking-extension-app .main-page {
    background: linear-gradient(180deg, rgba(224, 222, 247, 0.4) 0%, rgba(224, 222, 247, 0) 100%);
    background-color: #fff;
}

#booking-extension-app .custom-banner .breadcrumb-item,
#booking-extension-app .custom-banner .breadcrumb a,
#booking-extension-app .custom-banner .breadcrumb li.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 12.8px;
    line-height: 21px;
    color: var(--dark-pale);
}

#booking-extension-app .group-section>.custom-title-section2 {
    font-family: var(--IBM-Plex), sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.2vw, 26px);
    color: var(--dark-strong);
    margin-bottom: 8px;
}

#booking-extension-app .group-section>.custom-subtitle-section {
    font-family: var(--IBM-Plex), sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--dark-mid);
    margin-bottom: 23px;
}

#booking-extension-app .date-page-content .calendar-controls {
    display: none;
}

/* Comparison table: X (previous) vs check (new) header icons */
#booking-extension-app .info-edit-reservation table.edit-details thead th:first-child .table-head .custom-icon {
    width: 19px;
    height: 19px;
    padding: 4px;
}

#booking-extension-app .info-edit-reservation table.edit-details thead th:nth-child(2) .table-head .custom-icon {
    width: 19px;
    height: 19px;
    padding: 0;
}

#booking-extension-app .info-edit-reservation table.edit-details thead th:nth-child(2) .table-head .custom-icon > img {
    width: 19px;
    height: 19px;
    padding: 0;
}

/* Date popup tabs: Readex Pro (overrides .date-page-content IBM Plex) */
#booking-extension-app .date-popup-main-tabs.tabs button.tab,
#booking-extension-app .date-popup-main-tabs.tabs button.tab.active,
#booking-extension-app .date-popup-secondary-tabs.tabs button.tab,
#booking-extension-app .date-popup-secondary-tabs.tabs button.tab.active,
#booking-extension-app .date-popup-secondary-tabs.tabs button.tab .tab-title,
#booking-extension-app .date-popup-secondary-tabs.tabs button.tab .tab-subtitle {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

/* Calendar weekday headers (Sun…Sat / الأحد…السبت) */
#booking-extension-app #edit-inline-datepicker-calendar .daterangepicker table.table-condensed thead tr th {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
}

/* Hide daterangepicker popup pointer (openscenter triangle) on extend/edit */
#booking-extension-app #edit-inline-datepicker-calendar .daterangepicker:before,
#booking-extension-app #edit-inline-datepicker-calendar .daterangepicker:after,
#booking-extension-app #edit-inline-datepicker-calendar .daterangepicker.openscenter:before,
#booking-extension-app #edit-inline-datepicker-calendar .daterangepicker.openscenter:after {
    display: none !important;
}

#booking-extension-app .custom-static-message .title-message {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#my-bookings-app .custom-box-info.your-rights .title {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 33.5px;
    color: var(--dark-strong, #383241);
}

#my-bookings-app .custom-box-info.your-rights .subtitle {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.4;
    color: var(--dark-mid, #6A676D);
}

#my-bookings-app .list-current-reservation .header-reservation .box-info {
    z-index: 2;
}

#my-bookings-app .list-current-reservation .body-current-reservation .show-details {
    font-size: 13px;
}

#my-bookings-app .list-current-reservation .box-pay .btn-info:disabled {
    pointer-events: none;
    cursor: not-allowed;
}

#my-bookings-app .list-prev-reservation .location-unit {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: #B1AEB5 !important;
}

#my-bookings-app .list-prev-reservation .prev-reservation-clickable {
    cursor: pointer;
}

/* Past bookings: greyed-out 84×84 thumbnail (Figma My-Bookings 1:6922 — luminosity blend over #d9d9d9) */
#my-bookings-app .list-prev-reservation .image-unit {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    background: #d9d9d9;
}

#my-bookings-app .list-prev-reservation .image-unit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

#my-bookings-app .list-prev-reservation .image-unit__placeholder {
    width: 100%;
    height: 100%;
}

#my-bookings-app .list-prev-reservation .prev-reservation-clickable:focus-visible {
    outline: 2px solid var(--purple-brand);
    outline-offset: 2px;
}

#my-bookings-app .list-prev-reservation .btn-controls .btn,
#my-bookings-app .list-prev-reservation .btn-controls .btn span {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.4;
}

#my-bookings-app .list-prev-reservation .btn-controls .btn-unit-rated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 29px;
    padding: 7px 14px;
    border-radius: 40px;
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: #B1AEB5 !important;
    background: var(--light-mid) !important;
    pointer-events: none;
}

#my-bookings-app .list-prev-reservation .btn-controls .btn-unit-rated>span:not(.custom-icon) {
    font-family: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

#my-bookings-app .list-prev-reservation .btn-controls .btn-unit-rated .custom-icon {
    display: inline-flex;
    width: 15px;
    height: 15px;
    padding: 0;
    flex-shrink: 0;
    opacity: 0.7;
}

#my-bookings-app .list-prev-reservation .btn-controls .btn-unit-rated .custom-icon img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

/* Site-wide breadcrumbs: always Readex Pro */
.breadcrumb,
.breadcrumb .breadcrumb-item,
.breadcrumb a,
.breadcrumb li.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

/* Guest responsive layout fixes — spacing, cards, banners, calendars */
@media (max-width: 992px) {
    .custom-banner .container {
        padding-block: 14px;
        gap: 10px;
    }

    .custom-banner .container .left-side {
        gap: 8px;
    }

    .custom-banner .container .left-side .title-info {
        font-size: clamp(22px, 5vw, 32px);
        line-height: 1.2;
    }

    .custom-banner .container .left-side .group-info.group-info-hosting .custom-icon {
        width: 56px;
        height: 56px;
    }

    #support-center-app .custom-banner .container .right-side>.icon {
        width: 72px;
        height: 72px;
    }

    /* Unit details banner: stack breadcrumb + actions on mobile */
    #unit-details-app .custom-banner .container {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    #unit-details-app .custom-banner .container .left-side,
    #unit-details-app .custom-banner .container .right-side {
        width: 100%;
        max-width: none;
        align-self: stretch;
    }

    #unit-details-app .custom-banner .container .right-side {
        flex-wrap: wrap;
    }

    .wallet-balance .wrapper-image {
        max-width: 420px;
        margin-inline: auto;
    }

    .loading-proccess .container,
    .error .container {
        padding-block: 40px;
    }

    .privacy .container {
        padding-block: 16px 24px;
        padding-inline: 16px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .privacy .container h2 {
        margin-block: 28px 14px;
    }

    .custom-info-host {
        padding: 28px 20px;
    }

    .custom-info-host .profile-info {
        width: 100%;
    }

    .custom-info-host .profile-info .right-side,
    .custom-info-host .profile-info .info-property-2 {
        width: 100%;
        max-width: 100%;
    }

    .unit-booking-page .container .left-side .unit-profile .left-side .title-property {
        margin-bottom: 8px;
    }

    #header-app .wrapper-search .search-suggestions {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        translate: none;
        width: min(344px, calc(100dvw - 24px));
        max-width: calc(100dvw - 24px);
        box-sizing: border-box;
    }

    #inline-datepicker-calendar .daterangepicker .drp-calendar,
    #inline-datepicker-calendar .daterangepicker .calendar-table,
    .date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
    .date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker {
        width: 100% !important;
        max-width: 100% !important;
    }

    .date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td {
        width: auto;
        height: auto;
        aspect-ratio: 1;
    }

    .reservation-details .btn.btn-edit {
        flex-direction: row !important;
        white-space: nowrap;
        transform: none !important;
    }

    .reservation-details .btn.btn-edit>span {
        transform: none !important;
        unicode-bidi: isolate;
        direction: inherit;
    }

    /* Filter chip bar: hide empty slides that render as slivers */
    .filter-search-box .swiper-slide-left-filter .swiper-slide:empty {
        display: none !important;
    }

    /* Search / history empty state: avoid huge py-5 band before footer */
    #search-app .content-section .text-center.py-5,
    #browsing-history-app .content-section .text-center.py-5 {
        padding-block: 1.5rem !important;
    }
}

@media (max-width: 558px) {
    .custom-banner .container .right-side>.icon {
        display: none;
    }

    /* Notifications / Favorites / My Bookings: keep banner icon visible at the start */
    #notifications-app .custom-banner .container .right-side>.icon,
    #favorites-app .custom-banner .container .right-side>.icon,
    #unit-reviews-app .custom-banner .container .right-side>.icon,
    #my-bookings-app .custom-banner .container .right-side>.icon,
    #support-center-app .custom-banner .container .right-side>.icon,
    .my-account-banner .container .right-side>.icon {
        display: flex;
    }

    #notifications-app .custom-banner .container .right-side>.icon,
    #favorites-app .custom-banner .container .right-side>.icon,
    #unit-reviews-app .custom-banner .container .right-side>.icon,
    #my-bookings-app .custom-banner .container .right-side>.icon,
    #support-center-app .custom-banner .container .right-side>.icon,
    .my-account-banner .container .right-side>.icon {
        width: 56px;
        height: 56px;
    }

    .list-groups-fav {
        grid-template-columns: 1fr;
    }

    .list-groups-fav .list-group-item .header-group .image-wrapper {
        height: 100px;
    }

    .list-groups-fav .list-group-item .header-group:has(> .image-wrapper:only-child) .image-wrapper {
        height: 140px;
    }

    /* Favorites always renders 4 cover cells — keep 2×2 heights on small screens */
    #favorites-app .list-groups-fav .list-group-item .header-group:has(> .image-wrapper:nth-child(4):last-child) .image-wrapper {
        width: 84px;
        height: 108px;
    }

    .section-property-details .container .right-side .info-property-2 {
        max-height: none;
        padding: 16px 10px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .section-property-details .container .right-side .info-property-2 .item-property {
        flex: 1 1 30%;
        min-width: 72px;
    }

    .section-property-details .container .right-side .info-property-2 .item-property:not(:first-child) {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    html[dir="rtl"] .section-property-details .container .right-side .info-property-2 .item-property:not(:first-child) {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
}

/* Search suggestions: anchor to search field; stay in viewport AR/EN */
html[dir="ltr"] #header-app .wrapper-search .search-suggestions {
    left: 0;
    right: auto;
    transform: none;
    translate: none;
}

html[dir="rtl"] #header-app .wrapper-search .search-suggestions {
    left: auto;
    right: 0;
    transform: none;
    translate: none;
}

@media (max-width: 992px) {

    html[dir="ltr"] #header-app .wrapper-search .search-suggestions,
    html[dir="rtl"] #header-app .wrapper-search .search-suggestions {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        translate: none;
    }
}

/* Booking success/pending: drop 100dvh stretch (footer is sibling) */
.main-page:has(.loading-proccess) {
    min-height: 0;
    grid-template-rows: auto;
}

/* Booking / extend / unit calendars: expand past daterangepicker 270px; keep 44×44 */
#reviewReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
#checkoutReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
#unit-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
#favorites-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
#booking-extension-app .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
.date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar {
    max-width: none !important;
    width: 308px;
    min-width: min(308px, 100%);
}

#reviewReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
#checkoutReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
#unit-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
#favorites-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
#booking-extension-app .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
.date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table {
    width: 308px !important;
    min-width: min(308px, 100%) !important;
}

#reviewReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
#checkoutReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
#unit-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
#favorites-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
#booking-extension-app .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
.date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
}

@media (max-width: 360px) {

    #reviewReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
    #checkoutReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
    #unit-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
    #favorites-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
    #booking-extension-app .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
    .date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .drp-calendar,
    #reviewReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
    #checkoutReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
    #unit-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
    #favorites-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
    #booking-extension-app .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table,
    .date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table {
        width: 100% !important;
        min-width: 0 !important;
    }

    #reviewReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
    #checkoutReservationModal .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
    #unit-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
    #favorites-date-popup .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
    #booking-extension-app .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td,
    .date-page-content .date-popup-calendar-section .calendar-range-container .daterangepicker .calendar-table td {
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        aspect-ratio: 1;
    }
}

/* Host profile banner: keep avatar + info in a row on mobile */
@media (max-width: 992px) {
    .custom-banner .container .left-side .group-info-hosting {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .custom-banner .container .left-side .group-info-hosting .info-hosting {
        flex: 1;
        min-width: 0;
    }
}

/* Messages banners: keep breadcrumb/title at inline-start (AR right / EN left) */
#guest-messages-app .custom-banner .container,
#host-messages-app .custom-banner .container {
    justify-content: flex-start;
}

#guest-messages-app .custom-banner .container .left-side,
#host-messages-app .custom-banner .container .left-side {
    align-items: flex-start;
    width: 100%;
    margin-inline: 0;
    text-align: start;
}

#guest-messages-app .custom-banner .container .left-side .title-info,
#host-messages-app .custom-banner .container .left-side .title-info,
#guest-messages-app .custom-banner .container .left-side .group-info,
#host-messages-app .custom-banner .container .left-side .group-info {
    text-align: start;
    justify-content: flex-start;
}

/* Guest messages: close-chats control offset */
#guest-messages-app button.close-chats {
    top: 10px;
}

/* Guest messages: chat list + archived banner colors */
#guest-messages-app .support-center.messages .chat-panel .groups-chat > .title-chats {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 33.5px;
    color: #383241;
}

#guest-messages-app .support-center.messages .chat-panel .groups-chat:not(:first-child) > .title-chats {
    color: #6a676d;
}

#guest-messages-app .support-center.messages .chat-panel .chats .chat .user-info .info {
    align-items: start;
}

#guest-messages-app .support-center.messages .chat-panel .chats .chat .user-info .info .username {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24.5px;
    color: #6a676d;
}

#guest-messages-app .support-center.messages .chat-panel .chats .chat .user-info .info .last-message {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #b1aeb5;
}

#guest-messages-app .support-center.messages .chat-panel .chats .chat .last-message-date {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #b1aeb5;
}

#guest-messages-app .support-center.messages .chat-panel .chats .chat:hover,
#guest-messages-app .support-center.messages .chat-panel .chats .chat.active {
    background-color: rgba(234, 224, 240, 0.4);
}

#guest-messages-app .support-center.messages .chat-panel .chats .chat:hover .user-info .info .last-message,
#guest-messages-app .support-center.messages .chat-panel .chats .chat.active .user-info .info .last-message {
    color: #383241;
}

#guest-messages-app .support-center.messages .chat-panel .chats .chat.active .user-info .info .username {
    color: #46295a;
}

/* Host messages list: unread = black, read = gray */
#host-messages-app .messages-page .chats .chat.is-unread .user-info .info .username,
#host-messages-app .messages-page .chats .chat.is-unread .user-info .info .last-message {
    color: var(--dark-strong, #383241);
}

#host-messages-app .messages-page .chats .chat:not(.is-unread) .user-info .info .username {
    color: var(--dark-mid, #6a676d);
}

#host-messages-app .messages-page .chats .chat:not(.is-unread) .user-info .info .last-message {
    color: var(--dark-pale, #b1aeb5);
}

#guest-messages-app .support-center.messages .info-chat--archived {
    grid-template-columns: 1fr;
}

#guest-messages-app .support-center.messages .box-info-chat--archived {
    background: #f5f5f5;
    border-radius: 5px;
    padding: 8px 10px;
    min-height: auto;
    align-items: center;
    justify-content: center;
}

#guest-messages-app .support-center.messages .box-info-chat--archived .body-box {
    align-items: center;
    text-align: center;
    gap: 10px;
}

#guest-messages-app .support-center.messages .box-info-chat--archived .title-box {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    color: #383241;
    margin: 0;
}

#guest-messages-app .support-center.messages .box-info-chat--archived p {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #b1aeb5;
    margin: 0;
}

#guest-messages-app .support-center.messages .box-info-chat--archived .btn-purple-pale {
    background: #eae0f0;
    color: #46295a;
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

/* Guest messages: empty unit thumb uses shared homes.svg placeholder */
#guest-messages-app .unit-profile .image-unit .image-unit__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ececee;
}

#guest-messages-app .unit-profile .image-unit .image-wrapper--empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#guest-messages-app .unit-profile .image-unit .image-wrapper--empty::after {
    content: '';
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: #9c90a6;
    -webkit-mask: url('/static/web/images/homes.svg?cors') no-repeat center / contain;
    mask: url('/static/web/images/homes.svg?cors') no-repeat center / contain;
}

/* Alert body copy color for guest message info cards */
#guest-messages-app .support-center.messages .info-chat:not(.info-chat--archived) .box-info-chat .body-box p {
    color: #5e5e5e;
}

/* Phone country-code dropdown: match create-account narrow dial-code panel */
.phone-input-wrapper #wrapper-country-code .select2-container,
.phone-input-wrapper #personal-info-wrapper-country-code .select2-container,
.phone-input-wrapper #create-account-wrapper-country-code .select2-container {
    width: auto !important;
    min-width: fit-content !important;
}

.phone-input-wrapper>.select2-container--open .select2-dropdown,
.phone-input-wrapper .select2-container--open .select2-dropdown {
    min-width: 71px !important;
    width: max-content !important;
    max-width: 110px !important;
}

html[dir="rtl"] #personal-info-app .phone-input-wrapper .select2-dropdown {
    left: auto !important;
    right: auto !important;
    inset-inline-end: -36px !important;
}

html[dir="ltr"] #personal-info-app .phone-input-wrapper .select2-dropdown {
    left: auto !important;
    right: auto !important;
    inset-inline-start: -36px !important;
}

.phone-input-wrapper .select2-dropdown .select2-search--dropdown {
    padding: 8px;
}

.phone-input-wrapper .select2-dropdown .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--light-strong, #ddd);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile header: floating search panel under the search button */
@media (max-width: 992px) {
    .navbar .list-menu {
        padding-inline-end: 0;
    }

    #header-app .header-search-wrap {
        position: relative;
        z-index: 13010;
    }

    /* Keep the search icon visible; panel floats below it */
    #header-app .list-menu .header-search-wrap:has(.wrapper-search.active) .search-btn,
    #header-app .list-menu .header-search-wrap:has(.wrapper-search:focus-within) .search-btn {
        opacity: 1;
        pointer-events: auto;
        display: flex;
    }

    #header-app .wrapper-search {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        translate: none;
        width: min(344px, calc(100vw - 24px));
        max-width: min(344px, calc(100vw - 24px));
        z-index: 13020;
        box-shadow: 0 10px 28px rgba(32, 32, 54, 0.18);
    }

    #header-app .wrapper-search:not(.active):not(:focus-within) {
        max-width: 0;
        width: 0;
        height: 0;
        padding: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        border: 0;
        box-shadow: none;
        transform: translateX(-50%);
    }

    #header-app .wrapper-search.active,
    #header-app .wrapper-search:focus-within {
        flex-direction: row;
        align-items: center;
        justify-content: stretch;
        max-width: min(344px, calc(100vw - 24px));
        width: min(344px, calc(100vw - 24px));
        height: auto;
        min-height: 48px;
        padding: 12px 14px;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
        border-radius: 12px;
        box-sizing: border-box;
    }

    #header-app .wrapper-search.active .wrapper-search-inner,
    #header-app .wrapper-search:focus-within .wrapper-search-inner {
        width: 100%;
        min-width: 0;
    }

    #header-app .wrapper-search.has-suggestions .search-suggestions {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        transform: none;
        translate: none;
    }
}

#favorite-list-units-app .content-section .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

#favorite-list-units-app .content-section .header-content .title-content2 {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 33.5px;
    color: var(--dark-strong, #383241);
    margin: 0;
}

#favorite-list-units-app .custom-banner .breadcrumb-item,
#favorite-list-units-app .custom-banner .breadcrumb a,
#favorite-list-units-app .custom-banner .breadcrumb li.active {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 12.81px;
    font-weight: 400;
    color: var(--dark-pale, #b1aeb5);
}

#favorite-list-units-app .custom-banner .title-info {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 400;
    font-size: 53.12px;
    line-height: 1.15;
    color: var(--purple-pale, #eae0f0);
}

#favorite-list-units-app .fav-list-manage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 50px;
    background: #F6F6F6;
    border: none;
    flex-shrink: 0;
}

#favorite-list-units-app .fav-list-manage-btn:hover {
    background: var(--light-strong);
}

#favorite-list-units-app .custom-banner .fav-list-units-breadcrumb {
    position: relative;
    z-index: 2;
}

#favorite-list-units-app .list-content.content-search.fav-list-units-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

@media (max-width: 991px) {
    #favorite-list-units-app .list-content.content-search.fav-list-units-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 558px) {
    #favorite-list-units-app .list-content.content-search.fav-list-units-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

#favorite-list-units-app .fav-list-units-grid .card-offer {
    height: 100%;
    min-width: 0;
}

#favorite-list-units-app .fav-list-units-grid .card-offer>.property-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    cursor: pointer;
}

#favorite-list-units-app .fav-list-units-grid .card-offer .body-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

#favorite-list-units-app .fav-list-units-grid .card-offer .footer-card {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

#favorite-list-units-app .fav-list-units-grid .card-offer .body-card .title-card {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24.5px;
    color: var(--dark-strong, #383241);
}

#favorite-list-units-app .fav-list-units-grid .card-offer .body-card .location-card {
    align-items: center;
}

#favorite-list-units-app .fav-list-units-grid .card-offer .body-card .location-card,
#favorite-list-units-app .fav-list-units-grid .card-offer .body-card .location-card span {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    color: var(--dark-pale, #b1aeb5);
}

#favorite-list-units-app .fav-list-units-grid .card-offer .footer-card .price {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 33.5px;
    color: var(--purple-mid, #783ea1);
}

#favorite-list-units-app .fav-list-units-grid .card-offer .footer-card .rate {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-strong, #383241);
}

#favorite-list-units-app .fav-list-units-grid .card-offer .footer-card .rate .num-rate,
#favorite-list-units-app .fav-list-units-grid .card-offer .footer-card .rate .reviews-count-chip {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-pale, #b1aeb5);
}

/* .empty-state-box lives in host.css, which guest pages never load. Same
   de-nesting as #my-bookings-app above. */
#unit-reviews-app .empty-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--dark-pale);
    font-size: 14px;
    font-family: var(--Readex-Pro-Brand);
}

#unit-reviews-app .empty-state-box p {
    margin: 0;
}

#unit-reviews-app .host-units-empty {
    gap: 16px;
}

#unit-reviews-app .host-units-empty .host-units-empty__logo {
    width: auto;
    max-width: 140px;
    height: auto;
    display: block;
}

/* Photos attached to a guest review — shared by the host ratings page,
   the unit reviews page and the unit details preview. */
.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.review-images__item {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-shrink: 0;
    border: 1px solid var(--light-mid);
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.review-images__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 558px) {
    .review-images__item {
        width: 64px;
        height: 64px;
    }
}

.host-review-reply {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--light-pale, #FDFDFD);
    border: 1px solid var(--light-mid);
}

.host-review-reply__label {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-mid);
    margin-bottom: 6px;
}

.host-review-reply__body {
    margin: 0;
}

.host-review-reply__date {
    display: block;
    margin-top: 8px;
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-pale, #b1aeb5);
    text-align: start;
}

.host-profile-reviews {
    padding-block: 48px 56px;
}

.host-profile-reviews .rates-info .feedback-body.host-review-reply__body {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    text-overflow: unset;
}

/* Host profile page: banner title + tags in one row; reviews in sidebar */
#host-profile-page-app .body-page {
    background: linear-gradient(180deg, #f5f4fc 0%, #ffffff 40%);
}

#host-profile-page-app .custom-banner .group-info.group-info-hosting {
    padding-inline-start: 12px;
}

#host-profile-page-app .custom-banner .group-info-hosting .custom-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--purple-mid, #523665);
}

#host-profile-page-app .custom-banner .group-info-hosting .date-hosting .custom-icon,
#host-profile-page-app .custom-banner .group-info-hosting .time-hosting .custom-icon {
    background: none;
    border-radius: 0;
}

#host-profile-page-app .custom-banner .group-info-hosting .custom-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
}

#host-profile-page-app .custom-banner .group-info-hosting .custom-icon img[src*="User.svg"] {
    padding: 16px 8px 8px 8px;
    object-fit: contain;
}

#host-profile-page-app .group-info-hosting .info-hosting {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#host-profile-page-app .hosting-title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

#host-profile-page-app .hosting-title-row .title-hosting {
    margin: 0;
    flex: 0 1 auto;
    overflow-wrap: anywhere;
}

#host-profile-page-app .hosting-title-row .features-hosting {
    align-self: center;
    flex-shrink: 0;
}

#host-profile-page-app .features-hosting .feature-item {
    background-color: #523665;
}

#host-profile-page-app .features-hosting .feature-item .icon {
    width: 15px;
    height: auto;
}

#host-profile-page-app .features-hosting .feature-item .icon img {
    width: 15px;
    height: auto;
}

#host-profile-page-app .host-profile-page .left-side .list-content.content-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#host-profile-page-app .host-profile-page .right-side .host {
    background: transparent;
}

#host-profile-page-app .host-profile-page .right-side .host-profile {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#host-profile-page-app .host-profile-page .right-side .btn-contact-host {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#host-profile-page-app .host-profile-page .right-side .btn-contact-host>span:not(.icon) {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#host-profile-page-app .host-profile-page .right-side .info-property-2 .item-property .value {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
}

#host-profile-page-app .host-profile-page .right-side .host .profile-info .info-property-2 .item-property .icon {
    width: 20px;
    height: 20px;
}

#host-profile-page-app .host-profile-page .right-side .host .profile-info .info-property-2 .item-property .icon img {
    width: 20px;
    height: 20px;
}

#host-profile-page-app .host-profile-page .right-side .info-property-2 .item-property:not(:first-child) {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-inline-start: 1px solid var(--light-strong);
    padding-inline-start: 24px;
    margin-inline-start: 24px;
}

#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card {
    height: 240px;
    max-height: 240px;
}

#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .body-card .location-card {
    align-items: center;
}

#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card .swiper-gallery-card .swiper-slide,
#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card .property-card-image-placeholder {
    height: 240px;
    max-height: 240px;
}

#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card .image-wrapper,
#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card .image-wrapper img {
    height: 240px;
}

#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card .favorite-button {
    width: 42px;
    height: 42px;
}

#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card .favorite-button img {
    width: 18px;
    height: 18px;
}

#host-profile-page-app .host-profile-page .list-content.content-search .card-offer .header-card .list-features li {
    padding-block: 7px;
}

#host-profile-page-app .host-latest-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 18px;
    border: 1px solid var(--light-strong, #e5e5e5);
    border-radius: 12px;
    background: #fff;
}

#host-profile-page-app .host-latest-reviews__title {
    margin: 0;
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: clamp(17px, 2vw, 19px);
    color: var(--dark-strong, #383241);
    text-align: start;
}

#host-profile-page-app .host-latest-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* The shared review card. Its .item-feedback chain in components.css is only
   reachable under a .rates ancestor, which this page has none of — so it is
   de-nested here, same as #host-ratings-app in host.css. */
#host-profile-page-app .host-latest-reviews__list .item-feedback {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 15px;
    border-radius: 8px;
    border: 1px solid var(--light-strong);
    background: #fff;
    text-align: start;
}

#host-profile-page-app .host-latest-reviews__list .header-feedback {
    display: flex;
    align-items: center;
    gap: 5px;
}

#host-profile-page-app .host-latest-reviews__list .profile-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    flex-shrink: 0;
    background: var(--light-mid, #ececee);
}

#host-profile-page-app .host-latest-reviews__list .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#host-profile-page-app .host-latest-reviews__list .username {
    color: var(--dark-strong);
    font-size: 14px;
    font-weight: 600;
}

#host-profile-page-app .host-latest-reviews__list .user-rate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-strong);
}

#host-profile-page-app .host-latest-reviews__list .user-rate .icon {
    display: inline-flex;
}

#host-profile-page-app .host-latest-reviews__list .feedback-body {
    margin: 0;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dark-strong);
}

#host-profile-page-app .host-latest-reviews__list .feedback-date {
    align-self: flex-start;
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-pale, #b1aeb5);
}

#host-profile-page-app .host-latest-reviews__show-all.btn.btn-transparent {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--light-strong, #e5e5e5);
    border-radius: 8px;
    background: #fff;
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-strong, #383241);
}

#host-profile-page-app .host-latest-reviews__show-all.btn.btn-transparent:hover {
    background: var(--light-pale, #fdfdfd);
    color: var(--dark-strong, #383241);
}

@media (max-width: 992px) {
    #host-profile-page-app .hosting-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 778px) {
    #host-profile-page-app .host-profile-page .left-side .list-content.content-search {
        grid-template-columns: minmax(0, 1fr);
    }
}

#booking-checkout-app .coupons-checkout-modal.show~.modal-backdrop,
#booking-extension-app .coupons-checkout-modal.show~.modal-backdrop {
    opacity: 0.55;
}

#booking-checkout-app .unit-profile .title-property,
#booking-review-app .unit-profile .title-property {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#booking-review-app .unit-notes .title-section,
#booking-review-app .location>.title-section,
#booking-review-app .reservation-details .header-details .title,
#booking-review-app .booking-details-content .header-booking-details-content .title,
#booking-checkout-app .reservation-details .header-details .title,
#booking-checkout-app .booking-details-content .header-booking-details-content .title,
#identity-verification-app .booking-details-content .header-booking-details-content .title {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#booking-checkout-app .custom-banner .breadcrumb-item,
#booking-checkout-app .custom-banner .breadcrumb a,
#booking-checkout-app .custom-banner .breadcrumb li.active {
    font-size: 12.81px;
}

/* Payment Method heading — checkout only (do not change extension / other title-section) */
#booking-checkout-app .ottu-payment-section>h4.title-section {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 19px;
}

/* Ottu checkout SDK — pierce light DOM; shadow roots use ottuPayment.js injected CSS */
#booking-checkout-app #ottu-checkout .ottu__sdk-main-theme {
    max-width: none !important;
}

#booking-checkout-app #ottu-checkout .ottu__sdk-pay-button-theme {
    background: linear-gradient(90deg, #783EA1 0%, #FF6249 100%) !important;
}

#booking-checkout-app #ottu-checkout .ottu__sdk-accordion-item.ottu__sdk-border-green {
    border: 2px solid var(--dark-strong) !important;
    opacity: 1 !important;
}

#booking-checkout-app #ottu-checkout .ottu__sdk-accordion-item::before {
    position: absolute !important;
    inset-inline-end: 28px !important;
}

#booking-checkout-app #ottu-checkout .ottu__sdk-secondary-text-theme {
    color: var(--dark-strong) !important;
}

#booking-checkout-app #ottu-checkout .ar .ottu__sdk-payment-name {
    padding: 0 !important;
}

#booking-checkout-app #ottu-checkout .method-icon-name-block {
    justify-content: start !important;
    gap: 15px !important;
}

#booking-checkout-app #ottu-checkout .ottu__sdk-payment-method-name-wrapper {
    order: 2 !important;
}

#booking-checkout-app .details-price .total-offer-discount {
    background: var(--light-pale);
    margin-top: 4px;
}

#booking-checkout-app .details-price .row-details.total-price .row-title {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#booking-checkout-app #couponsModalLabel,
#booking-extension-app #couponsModalLabel,
#booking-checkout-app #walletModalLabel {
    font-size: clamp(20px, 3vw, 31.36px);
}

#booking-checkout-app #couponsModal .image-coupon,
#booking-extension-app #couponsModal .image-coupon {
    width: auto;
    height: auto;
    overflow: visible;
}

#booking-checkout-app #couponsModal .image-coupon img,
#booking-extension-app #couponsModal .image-coupon img {
    width: 74.94px;
    height: 77.68px;
}

#booking-checkout-app #couponsModal .coupon-uses,
#booking-checkout-app #couponsModal .expiry-warning,
#booking-extension-app #couponsModal .coupon-uses,
#booking-extension-app #couponsModal .expiry-warning {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
}

#booking-checkout-app .coupons-checkout-modal__dialog,
#booking-extension-app .coupons-checkout-modal__dialog {
    max-width: min(630px, 92vw);
}

#booking-checkout-app .coupons-checkout-modal__content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 12px 40px rgba(56, 50, 65, 0.18);
}

#booking-checkout-app .form-coupon .btn-apply-coupon {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-strong);
    border-color: var(--light-strong);
    background: transparent;
}

#booking-checkout-app .coupon-code-error {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12px;
    margin: 8px 0 0;
}

#booking-checkout-app .wallet-checkout-modal__dialog {
    max-width: min(630px, 92vw);
}

#booking-checkout-app .wallet-checkout-modal__content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 12px 40px rgba(56, 50, 65, 0.18);
}

#booking-checkout-app .payment-full-amount .container .left-side .btn.btn-gradient-3 {
    font-family: var(--Readex-Pro-Brand), 'Readex Pro', sans-serif;
}

#booking-checkout-app .btn-apply-wallet {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-strong);
    border-color: var(--light-strong);
    background: transparent;
}

#booking-checkout-app .wallet-amount-error {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12px;
    margin: 8px 0 0;
}

#booking-checkout-app .useCoupon.is-coupon-applied,
#booking-checkout-app .useCoupon.is-wallet-applied {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

#booking-checkout-app .useCoupon.is-coupon-applied .btn-remove-coupon,
#booking-checkout-app .useCoupon.is-wallet-applied .btn-remove-wallet {
    flex-shrink: 0;
    align-self: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: var(--light-mid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#booking-checkout-app .useCoupon.is-coupon-applied .btn-remove-coupon img,
#booking-checkout-app .useCoupon.is-wallet-applied .btn-remove-wallet img {
    width: 14px;
    height: 14px;
}

#booking-checkout-app .useCoupon.is-coupon-applied button.coupon,
#booking-checkout-app .useCoupon.is-wallet-applied button.coupon {
    flex: 1;
}

#booking-checkout-app .details-price .row-details.wallet-balance-discount .row-title,
#booking-checkout-app .details-price .row-details.wallet-balance-discount .row-value {
    color: var(--purple-mid);
}

#booking-checkout-app .details-price .row-details.total-price-row .row-value {
    color: var(--purple-brand);
    background: var(--purple-pale);
}

#booking-checkout-app .details-price .row-details .row-value {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#booking-checkout-app .details-price .row-details.total-price .row-value,
#booking-checkout-app .details-price .row-details.total-price-row .row-value {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
}

#booking-checkout-app .details-price .row-details.code-discount .row-value {
    font-family: var(--IBM-Plex), 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--info-red);
}

.unit-reviews-page .rates-info {
    align-items: flex-start;
}

.unit-reviews-page .unit-reviews-header {
    margin-bottom: 24px;
}

/* Invoice unit-profile metadata (beats .unit-booking-page IBM Plex rules above) */
#booking-invoice-app .unit-booking-page .container .left-side .unit-profile .left-side .sub-info .item-info .value {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 400;
    font-size: 11.05px;
    color: var(--dark-mid);
}

#booking-invoice-app .unit-booking-page .container .left-side .unit-profile .left-side .sub-info .item-info .value>span:not(.code):not(.rate) {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 400;
    font-size: 11.05px;
    color: var(--dark-mid);
}

#booking-invoice-app .unit-booking-page .container .left-side .unit-profile .left-side .sub-info .item-info .value .code {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 400;
    font-size: 11.05px;
    color: var(--dark-strong);
}

#booking-invoice-app .unit-booking-page .container .left-side .unit-profile .left-side .sub-info .item-info .value .rate {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 600;
    font-size: 13.47px;
    color: var(--dark-strong);
}

#booking-invoice-app .unit-booking-page .container .left-side .unit-profile .left-side .sub-info .item-info .value:has(.rate)>span:not(.rate) {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11.4px;
    color: var(--dark-mid);
}

#booking-invoice-app .unit-booking-page .container .left-side .unit-profile .left-side .sub-info .item-info .value:has(.rate)>span:not(.rate)>span {
    font-family: var(--SF-PRO-DISPLAY), 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 11.4px;
    color: var(--dark-pale);
}

#unit-details-app .unit-details-favourite-toast-wrap {
    position: relative;
    z-index: 3;
    height: 0;
    overflow: visible;
}

#unit-details-app .unit-details-favourite-toast {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 345px;
    max-width: calc(100vw - 2rem);
    pointer-events: none;
}

#unit-media-app .unit-details-favourite-toast-wrap {
    position: relative;
    z-index: 3;
    height: 0;
    overflow: visible;
}

#unit-media-app .unit-details-favourite-toast {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 345px;
    max-width: calc(100vw - 2rem);
    pointer-events: none;
}

#unit-details-app .unit-details-favourite-toast .toast.toast-favourite-added,
#unit-media-app .unit-details-favourite-toast .toast.toast-favourite-added {
    pointer-events: auto;
    display: block;
    width: 100%;
    min-width: 0;
    opacity: 1;
}

#toast-container .toast.toast-favourite-added,
.toast.toast-favourite-added {
    background: var(--purple-mid, #783EA1);
    color: var(--light-pale, #FDFDFD);
    font-family: var(--Readex-Pro-Brand, 'Readex Pro'), sans-serif;
    font-weight: 400;
    font-size: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(56, 50, 65, 0.18);
    min-width: 280px;
    max-width: min(480px, calc(100vw - 2rem));
    padding: 16px 22px;
}

#toast-container .toast.toast-favourite-added .toast-favourite-added__inner,
.toast.toast-favourite-added .toast-favourite-added__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

#toast-container .toast.toast-favourite-added .toast-favourite-added__main,
.toast.toast-favourite-added .toast-favourite-added__main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

#toast-container .toast.toast-favourite-added .toast-favourite-added__message,
.toast.toast-favourite-added .toast-favourite-added__message {
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    color: var(--light-pale, #FDFDFD);
    line-height: 1.4;
}

#toast-container .toast.toast-favourite-added .toast-favourite-added__icon,
.toast.toast-favourite-added .toast-favourite-added__icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--light-pale, #FDFDFD);
}

#toast-container .toast.toast-favourite-added .toast-favourite-added__action,
.toast.toast-favourite-added .toast-favourite-added__action {
    flex-shrink: 0;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    color: var(--light-pale, #FDFDFD);
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

#toast-container .toast.toast-favourite-added .toast-favourite-added__action:hover,
#toast-container .toast.toast-favourite-added .toast-favourite-added__action:focus,
.toast.toast-favourite-added .toast-favourite-added__action:hover,
.toast.toast-favourite-added .toast-favourite-added__action:focus {
    opacity: 0.85;
    color: var(--light-pale, #FDFDFD);
}

#toast-container .toast.toast-with-action {
    min-width: 280px;
    max-width: min(420px, calc(100vw - 2rem));
}

#toast-container .toast.toast-with-action .toast-body {
    padding-inline-end: 0.5rem;
}

#toast-container .toast.toast-with-action .toast-action-btn {
    flex-shrink: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    padding: 0 0.75rem;
    text-decoration: underline;
    white-space: nowrap;
}

#toast-container .toast.toast-with-action .toast-action-btn:hover,
#toast-container .toast.toast-with-action .toast-action-btn:focus {
    color: #fff;
    opacity: 0.85;
}

/* Guest messages: own bubbles on the right in Arabic, on the left in English. */
html[dir="rtl"] .support-center.messages .container .left-side .support-chat .list-messages {
    direction: ltr !important;
}

html[dir="ltr"] .support-center.messages .container .left-side .support-chat .list-messages {
    direction: rtl !important;
}

html[dir="ltr"] .support-center.messages .container .left-side .support-chat .list-messages .group-message {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start !important;
}

html[dir="ltr"] .support-center.messages .container .left-side .support-chat .list-messages .group-message.user-message {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-end !important;
}

html[dir="ltr"] .support-center.messages .container .left-side .support-chat .list-messages .group-message .message {
    direction: ltr;
    text-align: start;
}

.support-center.messages .container .left-side .support-chat .list-messages .group-message .message {
    font-weight: 600;
}

.support-center.messages .container .left-side .support-chat .list-messages .group-message .info-message {
    direction: ltr;
}

.support-center.messages .support-chat .chat-from .input-container .send-btn.is-ready:not(:disabled) {
    opacity: 1;
}

.support-center.messages .unit-profile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 12px;
}

.support-center.messages .unit-profile .container {
    align-items: center;
    margin-bottom: 0;
}

.support-center.messages .chat-bookings-slider {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    align-items: stretch;
    align-self: stretch;
    gap: 8px;
    width: 100%;
    max-width: none;
    height: auto;
    margin-top: 10px;
    padding: 0 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgb(169 123 227 / 35%) transparent;
}

.support-center.messages .chat-bookings-slider::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.support-center.messages .chat-bookings-slider::-webkit-scrollbar-thumb {
    background: rgb(169 123 227 / 35%);
    border-radius: 3px;
}

.support-center.messages .chat-bookings-slider::-webkit-scrollbar-track {
    background: transparent;
}

.support-center.messages .chat-booking-card {
    flex: 0 0 176px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--purple-pale, #eae0f0);
    color: var(--dark-strong, #383241);
    text-decoration: none;
    border: 1px solid transparent;
}

.support-center.messages .chat-booking-card:hover {
    border-color: var(--purple-mid, #a97be3);
}

.support-center.messages .chat-booking-card__status,
.support-center.messages .chat-booking-card__ref,
.support-center.messages .chat-booking-card__dates {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-center.messages .chat-booking-card__status {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-brand, #46295a);
}

.support-center.messages .chat-booking-card__ref {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-strong, #383241);
}

.support-center.messages .chat-booking-card__dates {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-pale, #b1aeb5);
    direction: ltr;
    unicode-bidi: isolate;
}

/* Search / browsing history: dim current results while a filter refresh is in flight */
.results-refreshing {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}