#houzez-user-btn,
a.btn-icon-login-register.dropdown-toggle {
    position: relative;
    overflow: visible;
}

#houzez-user-btn .aqarads-account-chevron,
a.btn-icon-login-register.dropdown-toggle .aqarads-account-chevron {
    position: absolute;
    inset-inline-start: 2px;
    bottom: 2px;
    z-index: 5;
    display: inline-flex !important;
    width: 13px;
    height: 13px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0E5966;
    box-shadow: 0 0 0 1px rgba(14, 89, 102, 0.10);
    line-height: 1;
    pointer-events: none;
}

#houzez-user-btn .aqarads-account-chevron svg,
a.btn-icon-login-register.dropdown-toggle .aqarads-account-chevron svg {
    display: block !important;
    width: 10px;
    height: 10px;
}

/* Mobile login/register layout. */
@media (max-width: 767.98px) {
    .login-register-form .modal-header {
        display: flex;
        flex-wrap: nowrap;
    }
    .login-register-form .modal-header .login-register-tabs {
        flex: 1 1 auto;
        min-width: 0;
    }
    .login-register-form .modal-header .login-register-tabs .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }
    .login-register-form .modal-header .login-register-tabs .nav-item {
        flex: 1 1 50%;
        min-width: 0;
    }
    .login-register-form .modal-header .login-register-tabs .nav-link {
        width: 100%;
        padding: 15px 8px;
        text-align: center;
        white-space: nowrap;
    }
    .login-register-form .modal-header .close {
        flex: 0 0 54px;
        padding: 6px 12px;
    }

    .login-register-form .social-login-wrap .hz-google-login {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        padding: 10px 12px !important;
        font-size: 15px !important;
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-align: center;
    }
    .login-register-form .social-login-wrap .hz-google-login .google-icon {
        position: static !important;
        float: none !important;
        flex: 0 0 28px;
        width: 28px !important;
        height: 28px !important;
        max-width: 28px;
        margin: 0 !important;
        padding: 4px !important;
        object-fit: contain;
        background: #fff;
        border-radius: 2px;
    }
}

/* RTL spacing for location helper text inside Bootstrap Select. */
html[dir="rtl"] #houzez-search-form .bootstrap-select.houzezCountryFilter .dropdown-menu li small,
html[dir="rtl"] #houzez-search-form .bootstrap-select.houzezStateFilter .dropdown-menu li small,
html[dir="rtl"] #houzez-search-form .bootstrap-select.houzezCityFilter .dropdown-menu li small,
html[dir="rtl"] #houzez-search-form .bootstrap-select.houzezThirdList .dropdown-menu li small,
html[dir="rtl"] #houzez-search-form .bootstrap-select.houzezFourthList .dropdown-menu li small,
html[dir="rtl"] .houzez-search-form-js .bootstrap-select.houzezCountryFilter .dropdown-menu li small,
html[dir="rtl"] .houzez-search-form-js .bootstrap-select.houzezStateFilter .dropdown-menu li small,
html[dir="rtl"] .houzez-search-form-js .bootstrap-select.houzezCityFilter .dropdown-menu li small,
html[dir="rtl"] .houzez-search-form-js .bootstrap-select.houzezThirdList .dropdown-menu li small,
html[dir="rtl"] .houzez-search-form-js .bootstrap-select.houzezFourthList .dropdown-menu li small {
    display: inline-block !important;
    margin-right: .6em !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    unicode-bidi: isolate;
}

.houzez-dashboard-body .dashboard-sidebar .sidebar-logo img {
    filter: brightness(0) invert(1);
}


/* Full-width CTA above the main header. */
.aqarads-before-header-cta,
.aqarads-before-header-cta .elementor-widget-html,
.aqarads-before-header-cta .elementor-widget-container {
    width: 100%;
}
.aqarads-before-header-cta .aqarads-top-request-link {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 20px;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
    font-family: "Alexandria", sans-serif;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    word-spacing: normal;
    letter-spacing: 0;
    transition: background-color .2s ease;
}
.aqarads-before-header-cta .aqarads-top-request-link:hover,
.aqarads-before-header-cta .aqarads-top-request-link:focus {
    background-color: #0B3A53;
    color: #fff !important;
}

@media (min-width: 768px) and (max-width: 1024.98px) {
    .aqarads-before-header-cta .aqarads-top-request-link {
        min-height: 46px;
        padding: 9px 14px;
        font-size: 15px;
        line-height: 1.45;
        word-spacing: normal;
    }
}

/* Mobile off-canvas Add Property CTA. */
#header-hz-elementor .aqarads-mobile-add-property {
    display: none !important;
}

@media (max-width: 767.98px) {
    .aqarads-before-header-cta .aqarads-top-request-link {
        min-height: 40px;
        padding: 7px 4px;
        font-size: clamp(8.5px, 2.55vw, 10px);
        line-height: 1.35;
        word-spacing: normal;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: visible;
    }

    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu {
        overflow: hidden !important;
    }
    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu > .offcanvas-header {
        flex: 0 0 auto;
        position: relative;
        z-index: 3;
        background: #fff;
    }
    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu > .offcanvas-mobile-menu-body {
        flex: 1 1 auto;
        min-height: 0;
        position: static !important;
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 92px !important;
        -webkit-overflow-scrolling: touch;
    }
    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu-body .aqarads-mobile-add-property {
        display: block !important;
        position: absolute !important;
        left: 18px !important;
        right: 18px !important;
        bottom: max(18px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        z-index: 4;
        background: transparent !important;
    }
    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu-body .aqarads-mobile-add-property .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 18px !important;
        margin: 0 !important;
        border: 1px solid #0E8F8C !important;
        border-radius: 7px !important;
        background: #0E8F8C !important;
        color: #fff !important;
        font-family: "Alexandria", sans-serif !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(14, 143, 140, .18) !important;
    }
    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu-body .aqarads-mobile-add-property .nav-link:hover,
    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu-body .aqarads-mobile-add-property .nav-link:focus,
    #header-hz-elementor .houzez-elementor-mobile-menu .offcanvas-mobile-menu-body .aqarads-mobile-add-property .nav-link:active {
        background: #0B3A53 !important;
        border-color: #0B3A53 !important;
        color: #fff !important;
    }
}
