.re-wizard {
    --re-bg: #0b1220;
    --re-card: rgba(255, 255, 255, 0.92);
    --re-text: #0f172a;
    --re-muted: rgba(15, 23, 42, 0.62);
    --re-border: rgba(15, 23, 42, 0.10);
    --re-shadow: 0 18px 60px rgba(2, 8, 23, 0.18);
    --re-accent: #2563eb;
    --re-accent-2: #22c55e;
    --re-danger: #ef4444;
    --re-warn: #f59e0b;
    position: relative;
    padding: 0 0 40px;
}

.re-hero {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--re-shadow);
    background: radial-gradient(1200px 500px at 12% 0%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(900px 500px at 88% 10%, rgba(34, 197, 94, 0.22), transparent 55%),
    linear-gradient(135deg, #0b1220, #111a2e);
    color: #fff;
    padding: 22px 22px 18px;
    margin-bottom: 16px;
}

.re-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.re-badge {
    display: inline-flex;
    gap: 14px;
    font-size: 14px;
    letter-spacing: .04em;
    color: rgba(255,255,255,.85);
}

.re-badge .text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.re-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 0 6px rgba(255,255,255,.10);
}

.re-hero__title {
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
    font-weight: 800;
}

.re-hero__subtitle {
    margin: 6px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.re-progress {
    margin-top: 22px;
    display: grid;
    gap: 8px;
}

.re-progress__bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    overflow: hidden;
}

.re-progress__bar > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37,99,235,1), rgba(34,197,94,1));
    width: 0%;
    transition: width .28s ease;
}

.re-progress__meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

.re-card {
    border-radius: 18px;
    background: var(--re-card);
    box-shadow: var(--re-shadow);
    border: 1px solid rgba(255,255,255,.35);
    overflow: hidden;
}

.re-card__body {
    padding: 18px 18px 16px;
}

.re-section-title {
    font-size: 14px;
    color: var(--re-muted);
    margin: 0 0 20px;
}

.re-field {
    margin-bottom: 20px;
}

.re-label {
    display: flex;
    gap: 5px;
    font-weight: 800;
    color: var(--re-text);
    margin-bottom: 12px;
    font-size: 14px;
}

.re-hint {
    font-weight: 600;
    font-size: 14px;
    color: rgba(239,68,68,1);
}

.re-input {
    width: 100%;
    height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--re-border);
    outline: none;
    background: rgba(255,255,255,.78);
    transition: box-shadow .15s ease, border-color .15s ease, transform .06s ease;
    color: var(--re-text);
}

.re-input:focus {
    border-color: rgba(37,99,235,.55);
    box-shadow: 0 0 0 5px rgba(37,99,235,.16);
}

.re-input.re-invalid {
    border-color: rgba(239,68,68,.75);
    box-shadow: 0 0 0 5px rgba(239,68,68,.12);
}

.re-error {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(239,68,68,1);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-error::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(239,68,68,.12);
    color: rgba(239,68,68,1);
    font-weight: 900;
}

.re-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Fancy option cards (radio/checkbox) */
.re-option {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.8);
    padding: 12px 12px 12px 44px;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
    user-select: none;
}

.re-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(2,8,23,.10);
    border-color: rgba(37,99,235,.22);
}

.re-option__title {
    font-weight: 800;
    color: var(--re-text);
    font-size: 14px;
    line-height: 1.2;
}

.re-option__desc {
    margin-top: 3px;
    font-size: 12px;
    color: rgba(15,23,42,.60);
}

.re-option__icon {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(15,23,42,.25);
    background: rgba(255,255,255,.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

/* Radio dot */
.re-option--radio .re-option__icon::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: transparent;
    transition: background .16s ease, transform .16s ease;
    transform: scale(.85);
}

/* Checkbox tick */
.re-option--check .re-option__icon {
    border-radius: 8px;
}
.re-option--check .re-option__icon::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(-45deg) translateY(-1px);
    transition: border-color .16s ease;
}

/* Checked states */
.re-option.is-checked {
    border-color: rgba(37,99,235,.45);
    background: rgba(37,99,235,.06);
    box-shadow: 0 10px 30px rgba(37,99,235,.12);
}

.re-option.is-checked .re-option__icon {
    border-color: rgba(37,99,235,.75);
    background: rgba(37,99,235,.10);
    box-shadow: 0 0 0 5px rgba(37,99,235,.10);
}

.re-option--radio.is-checked .re-option__icon::after {
    background: rgba(37,99,235,1);
    transform: scale(1);
}

.re-option--check.is-checked .re-option__icon::after {
    border-color: rgba(37,99,235,1);
}

/* Hide native inputs */
.re-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.re-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px 16px;
    border-top: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.75);
}

.re-btn {
    height: 44px;
    border-radius: 14px;
    padding: 0 14px;
    border: 1px solid rgba(15,23,42,.12);
    background: #fff;
    font-weight: 800;
    color: rgba(15,23,42,.90);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .16s ease, border-color .16s ease;
}

.re-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(2,8,23,.10);
}

.re-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.re-btn--primary {
    border-color: rgba(37,99,235,.25);
    background: linear-gradient(135deg, rgba(37,99,235,1), rgba(59,130,246,1));
    color: #fff;
}

.re-btn--success {
    border-color: rgba(34,197,94,.25);
    background: linear-gradient(135deg, rgba(34,197,94,1), rgba(16,185,129,1));
    color: #fff;
}

.re-btn__arrow {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.re-layout {
    display: grid;
    gap: 18px;
}

@media (min-width: 992px) {
    .re-layout {
        /*grid-template-columns: 1.1fr .9fr;*/
        align-items: stretch;
    }
}

.re-layout__image {
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 60px rgba(2,8,23,.18);
    min-height: 320px;
}

.re-property-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 2px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(15, 23, 42, .08);
}

.re-property-card img {
    width: 200px;
    height: 112px;
    object-fit: cover;
    border-radius: 10px;
}

.re-field {
    max-width: 500px;
    width: 100%;
}

.re-field.re-field-option {
    margin-top: 10px;
    max-width: 100%;
}

.re-option-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: default;
    user-select: text;
}

.re-option-consent:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.re-option-consent .re-option__icon-hit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.re-option-consent .re-option__icon {
    position: static;
    width: 28px;
    height: 28px;
}

.re-option-consent .re-option__text {
    line-height: 1.45;
}

.re-option-consent .re-option__text a {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .re-grid {
        /*grid-template-columns: 1fr 1fr;*/
    }

    .re-property-card img {
        width: 100px;
        height: 86px;
    }

    .re-hero__title {
        font-size: 18px;
    }

    .re-hero__subtitle {
        font-size: 11px;
    }
}

@media (max-width: 384px) {
    .re-grid {
        /*grid-template-columns: 1fr 1fr;*/
    }

    .re-property-card img {
        width: 80px;
        height: 70px;
    }

    .re-hero__title {
        font-size: 18px;
    }

    .re-hero__subtitle {
        font-size: 11px;
    }
}
