.host-signup-page {
    --hsu-primary: #7080ff;
    --hsu-text: #111214;
    --hsu-muted: #6d7380;
    --hsu-border: #e6e8ea;
    --hsu-input: #f7f7f8;
    --hsu-success: #00a651;
    --hsu-page: #f4f6f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--hsu-page);
    color: var(--hsu-text);
    font-family: 'Montserrat', sans-serif;
}

.format-rtl .host-signup-page,
.format-rtl .hsu-modal {
    font-family: 'Alexandria', sans-serif;
}

.hsu-step-hidden {
    display: none !important;
}

.hsu-header {
    background: #fff;
    padding: 18px 16px;
}

.hsu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}

.hsu-logo {
    height: 36px;
}

.hsu-language {
    position: relative;
}

.hsu-language-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: 0;
    border-radius: 18px;
    background: var(--hsu-page);
    color: var(--hsu-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.hsu-language-toggle:focus-visible,
.host-signup-page .hsu-radio:focus-visible,
.hsu-switch input:focus-visible + span {
    outline: 2px solid var(--hsu-primary);
    outline-offset: 2px;
}

.hsu-language-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    z-index: 20;
    width: 216px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(17, 18, 20, 0.15);
}

.hsu-language-toggle > .fa-globe {
    font-size: 22px;
}

.hsu-language-toggle > .fa-caret-down {
    color: #9a9fa8;
}

.hsu-language.is-open .hsu-language-menu {
    display: block;
}

.hsu-language-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    color: var(--hsu-text);
    font-size: 15px;
    font-weight: 500;
}

.hsu-language-menu a:hover {
    background: var(--hsu-page);
    color: var(--hsu-text);
}

.hsu-language-menu a[lang='ar'] {
    font-family: 'Alexandria', sans-serif;
    font-weight: 400;
}

.hsu-language-menu img {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.hsu-language-menu i {
    display: none;
    margin-inline-start: auto;
    color: var(--hsu-muted);
    font-size: 18px;
}

.hsu-language-menu a.is-active i {
    display: block;
}

.host-signup-page .hsu-body {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 32px 16px 64px;
}

.hsu-panel {
    width: 100%;
    max-width: 1024px;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
}

.hsu-panel-small {
    max-width: 800px;
}

.hsu-title {
    margin: 24px 0 8px;
    color: var(--hsu-text);
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.hsu-step-0 .hsu-title {
    margin-top: 16px;
}

.hsu-step-1 .hsu-title {
    margin-bottom: 24px;
}

.hsu-subtitle {
    margin: 0 0 24px;
    color: var(--hsu-text);
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.hsu-stepper {
    display: flex;
    justify-content: space-between;
    padding: 0 7%;
}

.hsu-stepper-item {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    color: var(--hsu-muted);
    font-size: 16px;
    font-weight: 500;
}

.hsu-stepper-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    inset-inline-start: 50%;
    width: 100%;
    height: 2px;
    background: var(--hsu-border);
}

.hsu-stepper-item.is-done:not(:last-child)::after {
    background: var(--hsu-primary);
}

.hsu-stepper-circle {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: #d8dadd;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hsu-stepper-circle i,
.hsu-stepper-item.is-done .hsu-stepper-circle span {
    display: none;
}

.hsu-stepper-item.is-done .hsu-stepper-circle i {
    display: block;
}

.hsu-stepper-item.is-active,
.hsu-stepper-item.is-done {
    color: var(--hsu-primary);
}

.hsu-stepper-item.is-active .hsu-stepper-circle,
.hsu-stepper-item.is-done .hsu-stepper-circle {
    background: var(--hsu-primary);
}

.hsu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.hsu-field {
    margin-bottom: 16px;
}

.hsu-field > label {
    display: block;
    margin-bottom: 8px;
    color: var(--hsu-text);
    font-size: 14px;
    font-weight: 500;
}

.hsu-required {
    margin-inline-start: 2px;
    color: #e5202b;
}

.host-signup-page .hsu-field input[type='text'],
.host-signup-page .hsu-field input[type='number'] {
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--hsu-input);
    box-shadow: none;
    color: var(--hsu-text);
    font-size: 16px;
    font-weight: 400;
}

/* style.css paints focused and autofilled inputs white with grey text; keep the field look */
.host-signup-page .hsu-field input[type='text']:focus,
.host-signup-page .hsu-field input[type='number']:focus {
    outline: 2px solid var(--hsu-primary);
    outline-offset: 2px;
    background: var(--hsu-input);
    color: var(--hsu-text);
}

.host-signup-page .hsu-field input:-webkit-autofill,
.host-signup-page .hsu-field input:-webkit-autofill:hover,
.host-signup-page .hsu-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px var(--hsu-input) inset !important;
    -webkit-text-fill-color: var(--hsu-text) !important;
    caret-color: var(--hsu-text);
}

.host-signup-page .hsu-field .bootstrap-select {
    width: 100% !important;
    margin-bottom: 0;
}

.host-signup-page .hsu-field .bootstrap-select:not(.open) > .dropdown-menu {
    display: none;
}

.host-signup-page .hsu-field .bootstrap-select > .dropdown-toggle {
    height: 52px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--hsu-input);
    box-shadow: none;
    color: var(--hsu-text);
    font-size: 16px;
}

.host-signup-page .hsu-field .intl-tel-input {
    display: block;
    width: 100%;
}

.host-signup-page .hsu-field .intl-tel-input .flag-dropdown {
    z-index: 5;
}

.host-signup-page .hsu-field .intl-tel-input input#phone {
    height: 52px;
    padding-left: 48px;
    text-align: left;
}

/* RTL: the flag sits on the right, so keep the number next to it */
.format-rtl .host-signup-page .hsu-field .intl-tel-input input#phone {
    padding-right: 48px;
    padding-left: 16px;
    text-align: right;
}

.host-signup-page .hsu-field input.hsu-other-input {
    display: none;
    margin-top: 10px;
}

.hsu-agreement {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--hsu-muted);
    font-size: 15px;
}

.host-signup-page .hsu-agreement input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--hsu-text);
}

.hsu-agreement label {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
}

.hsu-agreement a {
    color: #0a9fd8;
    font-weight: 600;
}

.hsu-sign-in {
    margin: 18px 0;
    color: var(--hsu-text);
    font-size: 15px;
    text-align: center;
}

.hsu-sign-in a {
    margin-inline-start: 8px;
    color: var(--hsu-primary);
    font-weight: 600;
}

.hsu-note {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 2px dashed var(--hsu-border);
    color: var(--hsu-muted);
    font-size: 13px;
    line-height: 22px;
}

.hsu-note i {
    line-height: 22px;
}

.hsu-note p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.hsu-note b {
    color: var(--hsu-text);
}

.hsu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 52px;
    padding: 0 24px;
    border: 2px solid var(--hsu-border);
    border-radius: 10px;
    background: #fff;
    color: var(--hsu-text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.hsu-btn-primary {
    border-color: #7080ff;
    background: #7080ff;
    color: #fff;
}

.hsu-btn-primary:hover,
.hsu-btn-primary:focus {
    color: #fff;
}

.hsu-btn:disabled {
    border-color: #e6e8ea;
    background: #e6e8ea;
    color: #9a9fa8;
    cursor: not-allowed;
}

.hsu-btn-full {
    width: 100%;
}

.hsu-footer-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 24px -24px 0;
    padding: 24px 24px 0;
    border-top: 1px solid var(--hsu-border);
}

.hsu-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hsu-photo-add {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0;
    border: 1px dashed #c8ccd2;
    border-radius: 8px;
    background: var(--hsu-input);
    color: #9a9fa8;
    font-size: 24px;
    cursor: pointer;
}

.hsu-photo-plus {
    position: absolute;
    right: -8px;
    bottom: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hsu-primary);
    color: #fff;
    font-size: 12px;
}

.hsu-photo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hsu-photo {
    position: relative;
    width: 78px;
    height: 78px;
}

.hsu-photo img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.hsu-photo-remove {
    position: absolute;
    right: -8px;
    bottom: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--hsu-border);
    border-radius: 50%;
    background: #fff;
    color: var(--hsu-text);
    font-size: 12px;
    cursor: pointer;
}

#upload-img-host-signup {
    display: none;
}

.hsu-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.hsu-card {
    display: flex;
    flex-direction: column;
    padding: 8px;
    border: 1px solid var(--hsu-border);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
}

.hsu-card.is-selected {
    border: 2px solid var(--hsu-primary);
    padding: 7px;
}

.hsu-card.is-unavailable {
    cursor: not-allowed;
}

.hsu-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 124px;
    border-radius: 14px;
    background: #fff2f2;
}

.hsu-card-image.is-grey {
    background: #f4f5f6;
}

.hsu-card-image img {
    height: 90px;
}

.host-signup-page .hsu-radio {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--hsu-border);
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    pointer-events: none;
}

.host-signup-page .hsu-radio:checked {
    border: 7px solid var(--hsu-primary);
    box-shadow: inset 0 0 0 1px #fff;
}

.hsu-card-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 12px 8px 8px;
}

.hsu-card-title h4 {
    margin: 0;
    color: var(--hsu-text);
    font-family: inherit;
    font-size: 19px;
    font-weight: 600;
}

.hsu-badge {
    flex: none;
    padding: 2px 8px;
    border-radius: 12px;
    background: #e9f8ef;
    color: var(--hsu-success);
    font-size: 12px;
    font-weight: 600;
}

.hsu-badge.is-unavailable {
    background: #f4f5f6;
    color: #9a9fa8;
}

.hsu-badge i {
    margin-inline-start: 4px;
}

.hsu-tooltip {
    display: none;
    position: absolute;
    top: 50%;
    left: calc(100% + 16px);
    z-index: 10;
    width: 352px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #111214;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    transform: translateY(-20px);
}

.hsu-tooltip::before {
    content: '';
    position: absolute;
    top: 14px;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #111214;
    transform: rotate(45deg);
}

.format-rtl .hsu-tooltip {
    right: calc(100% + 16px);
    left: auto;
}

.format-rtl .hsu-tooltip::before {
    right: -6px;
    left: auto;
}

.hsu-badge.is-unavailable:hover + .hsu-tooltip,
.hsu-tooltip.is-visible {
    display: block;
}

.host-signup-page .hsu-card-description {
    min-height: 66px;
    margin: 0 8px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--hsu-border);
    color: var(--hsu-text);
    font-size: 14px;
    line-height: 22px;
}

.hsu-card-benefits {
    flex: 1;
    margin: 12px 8px 0;
}

.host-signup-page .hsu-benefits-title {
    margin: 0 0 12px;
    color: var(--hsu-text);
    font-size: 14px;
    font-weight: 500;
}

.host-signup-page .hsu-benefit {
    display: flex;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--hsu-text);
    font-size: 14px;
    line-height: 22px;
}

.hsu-benefit i {
    color: var(--hsu-success);
    font-size: 16px;
    line-height: 22px;
}

.hsu-card-link {
    margin: 12px 8px;
    color: var(--hsu-muted);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: underline;
}

.hsu-card.is-selected .hsu-card-link {
    color: var(--hsu-primary);
}

.hsu-card.is-unavailable h4,
.hsu-card.is-unavailable .hsu-card-description,
.hsu-card.is-unavailable .hsu-benefits-title,
.hsu-card.is-unavailable .hsu-benefit {
    opacity: 0.6;
}

.host-signup-page .hsu-section-title,
.hsu-modal .hsu-section-title {
    margin: 16px 0 12px;
    color: #6d7380;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.hsu-box {
    padding: 12px 16px;
    border: 1px solid var(--hsu-border);
    border-radius: 12px;
}

.hsu-box-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 48px;
}

.hsu-day {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hsu-day-name {
    flex: none;
    width: 44px;
    font-size: 15px;
}

.hsu-day.is-closed .hsu-day-name {
    color: #9a9fa8;
}

.hsu-switch {
    position: relative;
    flex: none;
    display: inline-block;
    width: 40px;
    height: 24px;
    margin: 0;
    margin-inline-end: 8px;
    cursor: pointer;
}

.host-signup-page .hsu-switch input {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
}

.hsu-switch span {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: var(--hsu-border);
    transition: background 0.2s;
}

.hsu-switch span::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
}

.hsu-switch input:checked + span {
    background: #1f9d5b;
}

.hsu-switch input:checked + span::before {
    transform: translateX(16px);
}

.hsu-time {
    position: relative;
    flex: 1;
    min-width: 0;
}

.host-signup-page .hsu-time input {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 32px 0 12px;
    border: 0;
    border-radius: 10px;
    background: var(--hsu-input);
    box-shadow: none;
    color: var(--hsu-text);
    font-size: 15px;
}

.host-signup-page .hsu-time input:disabled {
    color: #b7bbc2;
}

.hsu-time i {
    position: absolute;
    top: 14px;
    right: 12px;
    color: var(--hsu-muted);
    pointer-events: none;
}

.hsu-time-separator {
    flex: none;
    color: var(--hsu-muted);
}

.hsu-facility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
}

.hsu-facility .hsu-switch {
    margin: 0;
}

.hsu-finish {
    max-width: 600px;
    text-align: center;
}

.hsu-finish img {
    width: 83px;
}

.hsu-finish h3 {
    margin: 24px 0 12px;
    color: var(--hsu-text);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
}

.hsu-finish p {
    margin: 0 0 24px;
    color: var(--hsu-muted);
    font-size: 16px;
    line-height: 24px;
}

.hsu-finish-action {
    margin: 0 -24px;
    padding: 24px 24px 0;
    border-top: 1px solid var(--hsu-border);
}

.hsu-page-footer {
    position: relative;
    padding: 10px 16px;
    background: #fff;
    color: var(--hsu-text);
    font-size: 14px;
    text-align: center;
}

.hsu-copyright {
    color: #e5202b;
}

.hsu-modal {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 16px;
    background: #fff;
    color: #111214;
    font-family: 'Montserrat', sans-serif;
    text-align: start;
}

.hsu-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 20px;
    border-bottom: 1px solid #e6e8ea;
}

.hsu-modal-header h4 {
    margin: 0;
    color: #111214;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
}

.hsu-modal-close {
    flex: none;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: #f4f5f6;
    color: #111214;
    cursor: pointer;
}

.hsu-modal-body {
    padding: 4px 20px 16px;
    font-size: 15px;
}

.hsu-requirement {
    position: relative;
    padding-inline-start: 18px;
    margin-bottom: 16px;
}

.hsu-requirement::before {
    content: '';
    position: absolute;
    top: 8px;
    inset-inline-start: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d8dadd;
}

.hsu-requirement b,
.hsu-modal-body > b {
    color: #111214;
    font-weight: 500;
}

.hsu-requirement p {
    margin: 8px 0 0;
    color: #111214;
    font-size: inherit;
}

.hsu-partners {
    display: block;
    width: 100%;
    margin-top: 12px;
}

.hsu-modal-footer {
    padding: 16px 20px 24px;
    border-top: 1px solid #e6e8ea;
}

.hsu-confirm {
    max-width: 560px;
}

.hsu-confirm-body {
    padding: 24px 20px;
    text-align: center;
}

.hsu-confirm-body h4 {
    margin: 0 0 16px;
    color: #111214;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
}

.hsu-confirm-body p {
    margin: 0;
    color: #111214;
    font-size: 16px;
    line-height: 24px;
}

.hsu-confirm-actions {
    display: flex;
    gap: 12px;
}

.hsu-confirm-actions .hsu-btn {
    flex: 1;
}

@media (max-width: 1400px) {
    .hsu-tooltip {
        top: calc(100% + 12px);
        right: 0;
        left: auto;
        width: min(352px, calc(100vw - 64px));
        transform: none;
    }

    .hsu-tooltip::before {
        top: -6px;
        right: 28px;
        left: auto;
    }

    .format-rtl .hsu-tooltip {
        right: auto;
        left: 0;
    }

    .format-rtl .hsu-tooltip::before {
        right: auto;
        left: 28px;
    }
}

@media (max-width: 991px) {
    .hsu-cards,
    .hsu-box-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .host-signup-page .hsu-card-description {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .host-signup-page .hsu-body {
        align-items: flex-start;
        padding: 16px 12px 72px;
    }

    .hsu-panel {
        padding: 16px;
    }

    .hsu-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hsu-title {
        font-size: 22px;
    }

    .hsu-stepper {
        padding: 0;
    }

    .hsu-stepper-item {
        font-size: 14px;
        text-align: center;
    }

    .hsu-footer-actions {
        margin: 16px -16px 0;
        padding: 16px 16px 0;
    }

    .hsu-finish-action {
        margin: 0 -16px;
        padding: 16px 16px 0;
    }

    .hsu-day {
        gap: 6px;
    }

    .hsu-day-name {
        width: 36px;
    }

    .host-signup-page .hsu-time input {
        padding: 0 26px 0 8px;
        font-size: 14px;
    }

    .hsu-time i {
        right: 8px;
    }
}
