.buy-rent-intent-page {
    background: #fff;
    padding: 24px 0 64px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.buy-rent-intent-page__container {
    max-width: 1280px;
}

.buy-rent-intent-step {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.buy-rent-intent-page__title {
    margin: 0;
    padding-bottom: 15px;
    color: #1849a9;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.buy-rent-intent-stepper {
    --bri-stepper-active-bg: #e1ecff;
    --bri-stepper-inactive-bg: #e3e8ef;
    --bri-stepper-brand: #1849a9;
    --bri-stepper-muted: #697586;
    --bri-stepper-badge-idle-bg: #f8fafc;

    display: flex;
    align-items: stretch;
    width: 100%;
    overflow: visible;
}

.buy-rent-intent-stepper__step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    z-index: 1;
}

.buy-rent-intent-stepper__step--first {
    z-index: 2;
    flex: 0 0 calc(50% + 18px);
    max-width: calc(640px + 18px);
}

.buy-rent-intent-stepper__step--last {
    margin-left: -18px;
}

.buy-rent-intent-stepper__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 40px 0 10px;
    border-radius: 10px;
    background: var(--bri-stepper-inactive-bg);
    color: var(--bri-stepper-muted);
    box-sizing: border-box;
}

.buy-rent-intent-stepper__step--last .buy-rent-intent-stepper__content {
    padding-left: 50px;
}

.buy-rent-intent-stepper__step.is-active .buy-rent-intent-stepper__content,
.buy-rent-intent-stepper__step.is-complete .buy-rent-intent-stepper__content {
    background: var(--bri-stepper-active-bg);
    color: var(--bri-stepper-brand);
}

.buy-rent-intent-stepper__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background: var(--bri-stepper-badge-idle-bg);
    color: var(--bri-stepper-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.buy-rent-intent-stepper__step.is-active .buy-rent-intent-stepper__badge,
.buy-rent-intent-stepper__step.is-complete .buy-rent-intent-stepper__badge {
    background: var(--bri-stepper-brand);
    color: #fff;
}

.buy-rent-intent-stepper__label {
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

.buy-rent-intent-stepper__arrow {
    position: absolute;
    right: -11px;
    bottom: 0;
    z-index: 3;
    display: block;
    width: 24px;
    height: 48px;
    pointer-events: none;
}

.buy-rent-intent-stepper__arrow-fill {
    fill: var(--bri-stepper-inactive-bg);
}

.buy-rent-intent-stepper__step--first.is-active .buy-rent-intent-stepper__arrow-fill,
.buy-rent-intent-stepper__step--first.is-complete .buy-rent-intent-stepper__arrow-fill {
    fill: var(--bri-stepper-active-bg);
}

.buy-rent-intent-section-head {
    padding-bottom: 15px;
    border-bottom: 1px solid #e3e8ef;
}

.buy-rent-intent-section-head__title {
    margin: 0;
    color: #101828;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.16px;
    line-height: normal;
}

.buy-rent-intent-columns {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 4px;
}

.buy-rent-intent-column {
    flex: 0 0 250px;
    width: 250px;
    height: 296px;
    padding: 10px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

.buy-rent-intent-column--root {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: 320px;
}

.buy-rent-intent-column__item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -0.14px;
    line-height: normal;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
}

.buy-rent-intent-column__item-label {
    flex: 1 1 auto;
    min-width: 0;
}

.buy-rent-intent-column--root .buy-rent-intent-column__item.is-selected {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
}

.buy-rent-intent-column--root .buy-rent-intent-column__item.is-selected .buy-rent-intent-column__item-label {
    flex: 0 1 auto;
}

.buy-rent-intent-column__item.is-selected--full {
    width: 100%;
    align-self: stretch;
}

.buy-rent-intent-column__item:hover:not(.is-selected) {
    color: #4b5563;
}

.buy-rent-intent-column__item.is-selected {
    background: #eff1f5;
    color: #101828;
}

.buy-rent-intent-column__chevron {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 6px;
    transform: rotate(-90deg);
}

.buy-rent-intent-column__chevron img {
    display: block;
    width: 10px;
    height: 6px;
}

.buy-rent-intent-complete {
    flex: 0 0 250px;
    width: 250px;
    height: 296px;
    padding: 20px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #f3fdf4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    box-sizing: border-box;
}

.buy-rent-intent-complete__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.buy-rent-intent-complete__icon-img {
    display: block;
    width: 58px;
    height: 58px;
}

.buy-rent-intent-complete__text {
    margin: 0;
    color: #101828;
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.12px;
    line-height: normal;
}

.buy-rent-intent-complete__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 15px;
    border: 0;
    border-radius: 6px;
    background: #16a34a;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0;
    cursor: pointer;
}

.buy-rent-intent-complete__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.buy-rent-intent-complete--pending .buy-rent-intent-complete__btn {
    display: none;
}

.buy-rent-intent-summary {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #f8fafc;
    color: #364152;
    font-size: 13px;
    line-height: 1.5;
}

.buy-rent-intent-form__label {
    display: block;
    margin-bottom: 6px;
    color: #364152;
    font-size: 13px;
    font-weight: 600;
}

.buy-rent-intent-form__input {
    min-height: 44px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    font-size: 14px;
    color: #101828;
    box-shadow: none;
}

.buy-rent-intent-form__input:focus {
    border-color: #1849a9;
    box-shadow: 0 0 0 3px rgba(24, 73, 169, 0.12);
}

.buy-rent-intent-form {
    max-width: none;
}

.buy-rent-intent-form-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 24px;
    padding-bottom: 15px;
}

.buy-rent-intent-page__title--form {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding-bottom: 0;
    white-space: nowrap;
}

.buy-rent-intent-form-head__breadcrumb {
    margin: 0;
    flex: 1 1 320px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    text-align: right;
}

.buy-rent-intent-form-head__breadcrumb:empty {
    display: none;
}

.buy-rent-intent-form-head__breadcrumb-root {
    color: #1849a9;
}

.buy-rent-intent-form-head__breadcrumb-dot,
.buy-rent-intent-form-head__breadcrumb-sep {
    color: #6b7280;
}

.buy-rent-intent-form-section {
    margin-bottom: 21px;
}

.buy-rent-intent-form-section__title {
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e3e8ef;
    color: #101828;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.16px;
    line-height: normal;
}

.buy-rent-intent-form-section__grid {
    --bs-gutter-x: 15px;
    --bs-gutter-y: 15px;
    margin-top: 15px;
}

.buy-rent-intent-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.buy-rent-intent-field__label {
    display: block;
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    line-height: normal;
}

.buy-rent-intent-field__required {
    color: #c00;
}

.buy-rent-intent-field__control {
    display: block;
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    background: #fff;
    color: #101828;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    line-height: 19.317px;
    box-shadow: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.buy-rent-intent-field__control--select {
    padding-right: 44px;
    cursor: pointer;
}

.buy-rent-intent-field__control:focus {
    border-color: #1849a9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 73, 169, 0.12);
}

.buy-rent-intent-field__control.is-invalid {
    border-color: #d92d20;
}

.buy-rent-intent-field__control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.buy-rent-intent-field__control:invalid {
    box-shadow: none;
}

.buy-rent-intent-field__select-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.buy-rent-intent-field__select-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    pointer-events: none;
}

.buy-rent-intent-field__select-icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.buy-rent-intent-field__error {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #d92d20;
}

.buy-rent-intent-field__control option {
    color: #101828;
}

.buy-rent-intent-field__control::placeholder,
textarea.buy-rent-intent-field__control::placeholder {
    color: #98a2b3;
    opacity: 1;
}

textarea.buy-rent-intent-field__control {
    height: 48px;
    min-height: 48px;
    resize: vertical;
}

.buy-rent-intent-radio {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.buy-rent-intent-radio__option {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: #98a2b3;
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
}

.buy-rent-intent-radio__option + .buy-rent-intent-radio__option {
    border-left: 1px solid #e3e8ef;
}

.buy-rent-intent-radio__option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #1849a9;
}

.buy-rent-intent-radio__option:has(input:checked) {
    color: #101828;
}

.buy-rent-intent-budget {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.buy-rent-intent-budget__input {
    flex: 1 1 50%;
    min-width: 0;
    border: 0;
    padding: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 19.317px;
    color: #101828;
    background: transparent;
}

.buy-rent-intent-budget__input::placeholder {
    color: #98a2b3;
    opacity: 1;
}

.buy-rent-intent-budget__input:focus {
    outline: none;
}

.buy-rent-intent-budget:has(.buy-rent-intent-budget__input.is-invalid) {
    border-color: #f04438;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12);
}

.buy-rent-intent-budget__divider {
    width: 1px;
    align-self: stretch;
    margin: 0 12px;
    background: #e3e8ef;
    flex-shrink: 0;
}

.buy-rent-intent-consents {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 8px 0 16px;
}

.buy-rent-intent-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #364152;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.buy-rent-intent-consent input {
    margin-top: 3px;
    accent-color: #1849a9;
}

.buy-rent-intent-form-notes {
    margin-bottom: 20px;
    color: #697586;
    font-size: 12px;
}

.buy-rent-intent-field__control--select:has(option[value=""]:checked) {
    color: #98a2b3;
}

.buy-rent-intent-form-notes__required {
    color: #c00;
}

.buy-rent-intent-form-loading {
    padding: 24px 12px;
    text-align: center;
    color: #697586;
    font-size: 14px;
}

.buy-rent-intent-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.buy-rent-intent-form__back,
.buy-rent-intent-form__submit {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.buy-rent-intent-form__back {
    border: 1px solid #e3e8ef;
    background: #fff;
    color: #364152;
}

.buy-rent-intent-form__submit {
    border: 0;
    background: #1849a9;
    color: #fff;
}

.buy-rent-intent-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.buy-rent-intent-success {
    max-width: 420px;
    margin: 48px auto 0;
    text-align: center;
}

.buy-rent-intent-success__icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.buy-rent-intent-success__title {
    margin: 16px 0 8px;
    color: #101828;
    font-size: 20px;
    font-weight: 600;
}

.buy-rent-intent-success__text {
    margin: 0 0 20px;
    color: #697586;
    font-size: 14px;
}

.buy-rent-intent-success__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    background: #1849a9;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

body.page-buy-rent-intent #customModal {
    z-index: 2147483640 !important;
}

@media (max-width: 991.98px) {
    .buy-rent-intent-page {
        padding-top: 8px;
    }

    .buy-rent-intent-page__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .buy-rent-intent-step.d-none {
        display: none !important;
    }

    .buy-rent-intent-step--form .buy-rent-intent-form-page-head {
        display: none;
    }

    .buy-rent-intent-step--form {
        gap: 12px;
    }

    .buy-rent-intent-columns {
        flex-wrap: wrap;
        overflow-x: visible;
        align-items: stretch;
    }

    .buy-rent-intent-column,
    .buy-rent-intent-column--root,
    .buy-rent-intent-complete {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .buy-rent-intent-column--root .buy-rent-intent-column__item.is-selected,
    .buy-rent-intent-column__item.is-selected--full {
        width: 100%;
        align-self: stretch;
    }

    .buy-rent-intent-form-page-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .buy-rent-intent-page__title--form {
        white-space: normal;
    }

    .buy-rent-intent-form-head__breadcrumb {
        text-align: left;
    }

    .buy-rent-intent-stepper {
        overflow: visible;
        margin-bottom: 4px;
    }

    .buy-rent-intent-stepper__step--first {
        flex: 1 1 0;
        max-width: none;
    }

    .buy-rent-intent-stepper__step--last {
        margin-left: -14px;
    }

    .buy-rent-intent-stepper__content {
        height: 44px;
        gap: 6px;
        padding: 0 26px 0 8px;
    }

    .buy-rent-intent-stepper__step--last .buy-rent-intent-stepper__content {
        padding-left: 30px;
        padding-right: 8px;
    }

    .buy-rent-intent-stepper__badge {
        width: 24px;
        height: 24px;
        border-radius: 12px;
    }

    .buy-rent-intent-stepper__label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .buy-rent-intent-stepper__arrow {
        right: -13px;
        height: 44px;
    }
}

@media (max-width: 380px) {
    .buy-rent-intent-stepper__label {
        font-size: 9px;
    }

    .buy-rent-intent-stepper__content {
        padding-right: 22px;
    }

    .buy-rent-intent-stepper__step--last .buy-rent-intent-stepper__content {
        padding-left: 26px;
    }
}
