/*
 * VivahLok step-by-step sign-up (resources/views/frontend/user_registration.blade.php).
 * Uses the maroon + gold tokens from vivahlok.css.
 */
.su-page {
    background:
        radial-gradient(circle at 8% 12%, rgba(252, 56, 144, .14) 0, transparent 34%),
        radial-gradient(circle at 92% 88%, rgba(200, 24, 106, .08) 0, transparent 38%),
        var(--vl-cream);
    padding: 2.5rem 0 3.5rem;
}
/* Several pieces have their own display; the hidden attribute must still win */
.su-page [hidden] { display: none !important; }
.su-shell {
    max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr;
    background: #fff; border-radius: 22px; box-shadow: var(--vl-shadow-lg); min-height: 600px;
    overflow: hidden; overflow: clip; /* clip: focusing the height ruler must not scroll the card itself */
}

/* ---------- Journey rail (desktop) ---------- */
.su-rail {
    background: linear-gradient(165deg, var(--vl-wine) 0%, var(--vl-maroon-dark) 55%, var(--vl-maroon) 100%);
    color: rgba(255, 255, 255, .78); padding: 2.2rem 1.8rem; position: relative; display: flex; flex-direction: column;
    overflow: hidden; overflow: clip;
}
.su-rail::after {
    content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
    border: 28px solid rgba(252, 56, 144, .10); pointer-events: none;
}
.su-rail-title { font-family: var(--vl-serif); color: #fff; font-size: 1.65rem; line-height: 1.25; margin: 0 0 .4rem; }
.su-rail-sub { font-size: 13.5px; margin-bottom: 2rem; }
.su-journey { list-style: none; margin: 0; padding: 0; }
.su-journey li { display: flex; align-items: center; gap: .85rem; padding: .55rem 0; font-size: 14.5px; position: relative; }
.su-journey li + li::before {
    content: ''; position: absolute; left: 13px; top: -10px; height: 20px; width: 2px; background: rgba(255, 255, 255, .18);
}
.su-journey .su-dot {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35);
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: 0 0 28px; position: relative; z-index: 1;
    background: var(--vl-maroon-dark);
}
.su-journey li.is-current { color: #fff; font-weight: 600; }
.su-journey li.is-current .su-dot { border-color: var(--vl-gold); color: var(--vl-gold); box-shadow: 0 0 0 4px rgba(252, 56, 144, .22); }
.su-journey li.is-done { color: rgba(255, 255, 255, .92); }
.su-journey li.is-done .su-dot { background: var(--vl-gold); border-color: var(--vl-gold); color: var(--vl-maroon-deep); }
.su-rail-foot { margin-top: auto; padding-top: 2rem; font-size: 13px; }
.su-rail-foot div { display: flex; gap: .55rem; align-items: center; margin-top: .45rem; }
.su-rail-foot i { color: var(--vl-gold); font-size: 18px; }

/* ---------- Main panel ---------- */
.su-main { display: flex; flex-direction: column; padding: 2rem 2.6rem 1.6rem; min-width: 0; }
.su-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.su-back {
    border: 1px solid var(--vl-line); background: #fff; color: var(--vl-ink); width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: border-color .15s;
}
.su-back:hover { border-color: var(--vl-maroon); color: var(--vl-maroon); }
.su-back[hidden] { display: none; }
.su-progress { flex: 1; min-width: 0; max-width: 360px; margin-left: auto; }
.su-progress-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: .35rem; }
/* Narrow phones: the stage name gives way ("Your det…"), the step count never wraps */
.su-progress-meta b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--vl-maroon); font-weight: 600; }
.su-progress-meta span { flex: none; white-space: nowrap; }
@media (max-width: 374.98px) { .su-progress-meta { font-size: 11px; letter-spacing: .3px; } }
.su-bar { height: 6px; background: var(--vl-sand-deep); border-radius: 99px; overflow: hidden; }
.su-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--vl-gold), var(--vl-maroon)); border-radius: 99px; transition: width .35s ease; }

.su-step { animation: su-in .3s ease; }
.su-step[hidden] { display: none !important; }
@keyframes su-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .su-step { animation: none; } .su-bar span { transition: none; } }
.su-q { font-family: var(--vl-serif); font-size: 1.85rem; color: var(--vl-ink); margin: 0 0 .35rem; line-height: 1.25; }
.su-hint { margin: 0 0 1.4rem; font-size: 14.5px; }
.su-sub { font-weight: 600; color: var(--vl-ink); font-size: 15px; margin: 1.6rem 0 .7rem; }
.su-error { display: none; color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 10px; padding: .55rem .85rem; font-size: 13.5px; margin-top: 1rem; }
.su-error.is-on { display: block; }

/* Choice tiles */
.su-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.su-opt { position: relative; margin: 0; cursor: pointer; }
.su-opt input { position: absolute; opacity: 0; pointer-events: none; }
.su-opt > span {
    display: inline-flex; align-items: center; gap: .55rem; padding: .62rem 1.05rem; border: 1.5px solid var(--vl-line);
    border-radius: 12px; background: #fff; color: var(--vl-ink); font-size: 14.5px; transition: all .15s; user-select: none;
}
.su-opt > span::before {
    content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #fad3e6; flex: 0 0 16px; transition: all .15s;
}
.su-opt:hover > span { border-color: var(--vl-rose); }
.su-opt input:checked + span { border-color: var(--vl-maroon); background: var(--vl-gold-soft); color: var(--vl-maroon-deep); font-weight: 600; }
.su-opt input:checked + span::before { border: 5px solid var(--vl-maroon); background: #fff; }
.su-opt input:focus-visible + span { outline: 2px solid var(--vl-gold); outline-offset: 2px; }
.su-options.is-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.su-options.is-grid .su-opt > span { width: 100%; }

/* Gender cards */
.su-gender { display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); gap: .9rem; }
.su-gender .su-opt > span { flex-direction: column; justify-content: center; padding: 1.1rem .8rem; border-radius: 16px; gap: .5rem; width: 100%; font-weight: 600; }
.su-gender .su-opt > span::before { display: none; }
.su-gender .su-opt i {
    font-size: 34px; width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--vl-sand); color: var(--vl-maroon);
}
.su-gender .su-opt input:checked + span i { background: var(--vl-maroon); color: var(--vl-gold); }
.su-gender-note { font-size: 13px; margin-top: .6rem; }

/* Start method cards */
.su-methods { display: grid; gap: .9rem; }
.su-methods .su-opt { display: block; }
.su-methods .su-opt > span { width: 100%; padding: 1.05rem 1.2rem; border-radius: 16px; gap: 1rem; align-items: center; }
.su-methods .su-opt > span::before { order: 3; margin-left: auto; }
.su-methods .su-ico {
    width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--vl-sand); color: var(--vl-maroon); font-size: 24px; flex: 0 0 46px;
}
.su-methods .su-opt input:checked + span .su-ico { background: var(--vl-maroon); color: var(--vl-gold); }
.su-methods b { display: block; color: var(--vl-ink); font-size: 15.5px; }
.su-methods small { display: block; color: var(--vl-muted); font-weight: 400; font-size: 13px; }
.su-badge { display: inline-block; background: var(--vl-gold); color: var(--vl-maroon-deep); font-size: 10.5px; font-weight: 700; padding: .1rem .45rem; border-radius: 99px; margin-left: .35rem; vertical-align: 2px; letter-spacing: .4px; }
.su-drop {
    display: block; border: 2px dashed #fff1f7; border-radius: 16px; padding: 1.4rem; text-align: center; margin-top: 1rem; background: var(--vl-cream);
    transition: border-color .15s, background .15s; cursor: pointer;
}
.su-drop.is-over, .su-drop:hover { border-color: var(--vl-maroon); background: var(--vl-gold-soft); }
.su-drop i { font-size: 34px; color: var(--vl-maroon); }
.su-drop .su-file { font-weight: 600; color: var(--vl-ink); margin-top: .35rem; word-break: break-all; }
.su-drop small { display: block; margin-top: .3rem; }
.su-reading { display: none; align-items: center; gap: .8rem; margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; background: var(--vl-sand); color: var(--vl-ink); font-size: 14px; }
.su-reading.is-on { display: flex; }
.su-spin { width: 22px; height: 22px; border: 3px solid rgba(200, 24, 106, .2); border-top-color: var(--vl-maroon); border-radius: 50%; animation: su-spin .8s linear infinite; flex: 0 0 22px; }
@keyframes su-spin { to { transform: rotate(360deg); } }
.su-filled { display: none; margin-bottom: 1.2rem; padding: .7rem 1rem; border-radius: 12px; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; font-size: 13.5px; }
.su-filled.is-on { display: block; }

/* Fields */
.su-field { position: relative; margin-bottom: 1rem; }
.su-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--vl-muted); margin-bottom: .3rem; letter-spacing: .2px; }
.su-input, .su-page .su-field .form-control {
    width: 100%; border: 1.5px solid var(--vl-line); border-radius: 12px; padding: .75rem .95rem; font-size: 15px; color: var(--vl-ink);
    background: #fff; height: auto; transition: border-color .15s, box-shadow .15s;
}
.su-input:focus, .su-page .su-field .form-control:focus { border-color: var(--vl-maroon); box-shadow: 0 0 0 3px rgba(200, 24, 106, .1); outline: 0; }
.su-input.is-invalid { border-color: #d92d20; }
.su-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.su-row-3 { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: .7rem; }
.su-age { font-size: 14px; color: var(--vl-maroon); font-weight: 600; min-height: 1.3em; }

/* City search */
.su-suggest {
    position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--vl-line); border-radius: 12px;
    box-shadow: var(--vl-shadow); z-index: 20; list-style: none; padding: .3rem; max-height: 280px; overflow: auto; display: none;
}
.su-suggest.is-on { display: block; }
.su-suggest li { padding: .55rem .75rem; border-radius: 8px; cursor: pointer; font-size: 14.5px; color: var(--vl-ink); display: flex; gap: .5rem; align-items: center; }
.su-suggest li i { color: var(--vl-gold-dark); }
.su-suggest li.is-active, .su-suggest li:hover { background: var(--vl-gold-soft); }
.su-suggest li.su-none { cursor: default; color: var(--vl-muted); background: none; }
.su-picked {
    display: none; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--vl-maroon);
    background: var(--vl-gold-soft); color: var(--vl-maroon-deep); font-weight: 600;
}
.su-picked.is-on { display: flex; }
.su-picked i.la-map-marker { font-size: 22px; color: var(--vl-maroon); }
.su-picked button { margin-left: auto; border: 0; background: none; color: var(--vl-maroon); font-size: 13px; text-decoration: underline; }

/* Height ruler */
.su-height { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.su-wheel-wrap { position: relative; width: 210px; height: 252px; }
.su-wheel-wrap::before {
    content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%);
    background: var(--vl-gold-soft); border-top: 1.5px solid var(--vl-gold); border-bottom: 1.5px solid var(--vl-gold); border-radius: 10px; pointer-events: none;
}
.su-wheel-wrap::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(#fff 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 68%, #fff 100%);
}
.su-wheel {
    position: relative; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; list-style: none; margin: 0; padding: 104px 0;
    scrollbar-width: none; outline: 0;
}
.su-wheel::-webkit-scrollbar { display: none; }
.su-wheel li {
    height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; scroll-snap-align: center;
    color: #5f6380; font-size: 15px; cursor: pointer; position: relative; z-index: 1;
}
.su-wheel li .su-tick { width: 14px; height: 2px; background: #fad3e6; }
.su-wheel li.is-foot .su-tick { width: 26px; background: #fad3e6; }
.su-wheel li.is-on { color: var(--vl-maroon-deep); font-weight: 700; font-size: 18px; }
.su-wheel li.is-on .su-tick { background: var(--vl-maroon); width: 30px; }
.su-height-read { font-family: var(--vl-serif); color: var(--vl-ink); }
.su-height-read b { font-size: 2.4rem; display: block; line-height: 1.1; }
.su-height-read span { font-size: 14px; color: var(--vl-muted); font-family: 'Poppins', sans-serif; }
.su-height-keys { font-size: 12.5px; margin-top: .6rem; font-family: 'Poppins', sans-serif; color: var(--vl-muted); }

/* Long lists (degrees, languages) */
.su-search { position: relative; margin-bottom: .8rem; }
.su-search i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--vl-muted); font-size: 18px; }
.su-search .su-input { padding-left: 2.5rem; }
.su-list { max-height: 300px; overflow-y: auto; border: 1.5px solid var(--vl-line); border-radius: 14px; padding: .35rem; }
.su-list-head { font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--vl-gold-dark); font-weight: 700; padding: .5rem .7rem .3rem; }
.su-list .su-opt { display: block; }
.su-list .su-opt > span { width: 100%; border: 0; border-radius: 10px; padding: .6rem .7rem; }
.su-list .su-opt:hover > span { background: var(--vl-sand); }
.su-list .su-opt input:checked + span { background: var(--vl-gold-soft); }
.su-list-empty { padding: .8rem; font-size: 14px; }

/* About */
.su-about { border: 1.5px solid var(--vl-line); border-radius: 16px; padding: 1rem 1.1rem .7rem; transition: border-color .15s, box-shadow .15s; }
.su-about:focus-within { border-color: var(--vl-maroon); box-shadow: 0 0 0 3px rgba(200, 24, 106, .1); }
.su-about textarea { border: 0; width: 100%; min-height: 170px; resize: vertical; font-size: 15px; line-height: 1.6; color: var(--vl-ink); outline: 0; background: transparent; }
.su-about-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px dashed var(--vl-line); padding-top: .6rem; flex-wrap: wrap; }
.su-ai {
    border: 0; background: none; color: var(--vl-maroon); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: .4rem; padding: 0;
}
.su-ai i { font-size: 20px; color: var(--vl-gold-dark); }
.su-ai:hover { text-decoration: underline; }
.su-ai[disabled] { opacity: .6; text-decoration: none; }
.su-count { font-size: 13px; font-weight: 600; color: #b42318; }
.su-count.is-ok { color: #067647; }

/* Account step */
.su-pass { position: relative; }
.su-pass button { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--vl-muted); font-size: 20px; }
.su-account .iti { width: 100%; }
.su-account .input-group > .form-control { border-radius: 12px !important; }
.su-terms { display: flex; gap: .6rem; align-items: flex-start; font-size: 14px; margin-top: .4rem; }
.su-terms input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--vl-maroon); flex: 0 0 18px; }
.su-social { display: flex; gap: .6rem; justify-content: center; }
.su-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--vl-line); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.su-or { display: flex; align-items: center; gap: .8rem; font-size: 12.5px; margin: 1.2rem 0 .9rem; }
.su-or::before, .su-or::after { content: ''; flex: 1; height: 1px; background: var(--vl-line); }

/* Footer */
.su-foot { margin-top: auto; padding-top: 1.8rem; display: flex; align-items: center; gap: 1rem; }
.su-next {
    margin-left: auto; min-width: 190px; border: 0; border-radius: 999px; padding: .85rem 1.8rem; font-weight: 600; font-size: 15.5px; color: #fff;
    background: linear-gradient(135deg, var(--vl-maroon) 0%, var(--vl-rose) 100%); box-shadow: 0 10px 22px rgba(200, 24, 106, .25);
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: filter .15s, transform .15s;
}
.su-next:hover { filter: brightness(1.07); transform: translateY(-1px); }
.su-next[disabled] { opacity: .55; transform: none; box-shadow: none; cursor: not-allowed; }
.su-login { font-size: 14px; }

/* ---------- Phone and tablet ---------- */
@media (max-width: 991.98px) {
    .su-page { padding: 0 0 2rem; background: #fff; }
    .su-page > .container { padding: 0; }
    .su-shell { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; min-height: 0; }
    .su-rail { display: none; }
    .su-main { padding: 1.1rem 16px 1.2rem; min-height: calc(100vh - var(--vl-hdr-m)); }
    .su-progress { max-width: none; }
    .su-q { font-size: 1.5rem; }
    .su-foot {
        position: sticky; bottom: var(--su-bnav, 0px); background: #fff; margin: 0 -16px; padding: .8rem 16px; border-top: 1px solid var(--vl-line); z-index: 5;
    }
    .su-next { flex: 1; min-width: 0; min-height: 50px; }
    .su-login { display: none; }
    /* iPhones zoom into any text box under 16px when it is tapped */
    .su-input, .su-about textarea, .su-page .su-field .form-control { font-size: 16px; }
    .su-opt > span { min-height: 44px; }
    .su-back { width: 42px; height: 42px; }
}
@media (max-width: 575.98px) {
    .su-row { grid-template-columns: 1fr; gap: 0; }
    .su-row-3 { gap: .45rem; }
    .su-gender { grid-template-columns: 1fr 1fr; }
    .su-height { gap: 1rem; justify-content: center; }
    .su-options.is-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reference sign-up pieces (docs/dating-reference): gender detail, orientation, age check, distance ---------- */
.su-gender.is-3 { grid-template-columns: repeat(3, minmax(0, 170px)); }

/* "Add more about your gender": a quiet disclosure under the three tiles */
.su-more { margin-top: 1.1rem; border: 1px dashed var(--vl-line); border-radius: 14px; padding: .2rem .9rem; max-width: 540px; }
.su-more[open] { border-style: solid; padding-bottom: .9rem; }
.su-more summary { list-style: none; cursor: pointer; padding: .65rem 0; font-weight: 600; color: var(--vl-maroon); font-size: 14.5px; display: flex; align-items: center; gap: .45rem; }
.su-more summary::-webkit-details-marker { display: none; }
.su-more summary span { color: var(--vl-muted); font-weight: 500; }
.su-more summary i { font-size: 19px; transition: transform .2s ease; }
.su-more[open] summary i { transform: rotate(45deg); }
.su-more-empty { font-size: 13px; color: var(--vl-muted); margin: 0 0 .2rem; }
.su-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.su-chip { position: relative; margin: 0; cursor: pointer; }
.su-chip input { position: absolute; opacity: 0; pointer-events: none; }
.su-chip > span {
    display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .85rem; border-radius: 999px;
    border: 1px solid var(--vl-line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--vl-ink);
}
.su-chip:hover > span { border-color: var(--vl-rose); }
.su-chip input:checked + span { background: var(--vl-maroon); border-color: var(--vl-maroon); color: #fff7fb; }
.su-chip input:focus-visible + span { outline: 2px solid var(--vl-gold); outline-offset: 2px; }

/* Show-on-profile switch */
.su-switch { display: inline-flex; align-items: center; gap: .65rem; margin: 1.2rem 0 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--vl-ink); }
.su-switch input { position: absolute; opacity: 0; pointer-events: none; }
.su-switch-ui { position: relative; flex: 0 0 42px; width: 42px; height: 24px; border-radius: 999px; background: var(--vl-line); transition: background .15s; }
.su-switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(4, 28, 64, .25); transition: transform .15s; }
.su-switch input:checked + .su-switch-ui { background: var(--vl-maroon); }
.su-switch input:checked + .su-switch-ui::after { transform: translateX(18px); }
.su-switch input:focus-visible + .su-switch-ui { outline: 2px solid var(--vl-gold); outline-offset: 2px; }
.su-switch input:disabled ~ span { opacity: .5; }
.su-switch:has(input:disabled) { cursor: default; }

/* Orientation: two-column cards with a short definition */
.su-orients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.su-orient { position: relative; margin: 0; cursor: pointer; }
.su-orient input { position: absolute; opacity: 0; pointer-events: none; }
.su-orient > span {
    display: block; position: relative; height: 100%; padding: .75rem 2.4rem .75rem .9rem; border: 1px solid var(--vl-line); border-radius: 14px; background: #fff;
    transition: border-color .15s, background .15s;
}
.su-orient b { display: block; color: var(--vl-ink); font-size: 15px; }
.su-orient small { display: block; color: var(--vl-muted); font-size: 12.5px; line-height: 1.4; margin-top: .15rem; }
.su-orient i {
    position: absolute; top: .75rem; right: .75rem; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--vl-line);
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: transparent;
}
.su-orient:hover > span { border-color: var(--vl-rose); }
.su-orient input:checked + span { border-color: var(--vl-maroon); background: var(--vl-gold-soft); }
.su-orient input:checked + span i { background: var(--vl-maroon); border-color: var(--vl-maroon); color: var(--vl-gold); }
.su-orient input:disabled + span { opacity: .5; cursor: not-allowed; }
.su-orient input:focus-visible + span { outline: 2px solid var(--vl-gold); outline-offset: 2px; }

/* Age check: a centred card over the step */
.su-confirm { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 28, 64, .45); }
.su-confirm-box { width: 100%; max-width: 360px; background: #fff; border-radius: 22px; padding: 1.6rem 1.4rem 1.3rem; text-align: center; box-shadow: var(--vl-shadow-lg); animation: su-in .2s ease; }
.su-confirm-art { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: var(--vl-gold-soft); color: var(--vl-maroon); font-size: 32px; margin-bottom: .6rem; }
.su-confirm-box h3 { font-family: var(--vl-serif); font-size: 1.7rem; margin: 0 0 .35rem; color: var(--vl-ink); }
.su-confirm-box p { font-size: 14px; margin: 0 0 1.2rem; }
.su-confirm-actions { display: flex; gap: .6rem; }
.su-confirm-actions > * { flex: 1; justify-content: center; }
.su-confirm-edit { border: 1px solid var(--vl-line); background: #fff; color: var(--vl-ink); border-radius: 999px; font-weight: 700; min-height: 46px; }
.su-confirm-edit:hover { border-color: var(--vl-maroon); }

/* Distance */
.su-distance { max-width: 520px; padding: 1.2rem 1.2rem 1rem; border: 1px solid var(--vl-line); border-radius: 18px; background: #fff; }
.su-distance-out { display: block; font-family: var(--vl-serif); font-size: 1.6rem; color: var(--vl-maroon); margin-bottom: .6rem; }
.su-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: .4rem 0; background: linear-gradient(90deg, var(--vl-maroon) var(--fill, 16%), var(--vl-line) var(--fill, 16%)); }
.su-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--vl-maroon); box-shadow: 0 3px 8px rgba(4, 28, 64, .2); cursor: pointer; }
.su-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--vl-maroon); cursor: pointer; }
.su-range:focus-visible { outline: 2px solid var(--vl-gold); outline-offset: 6px; }
.su-distance-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--vl-muted); }

@media (max-width: 575.98px) {
    .su-gender.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
    .su-gender.is-3 .su-opt > span { padding: .9rem .3rem; font-size: 13.5px; text-align: center; }
    .su-orients { grid-template-columns: 1fr; }
}

/* ---------- Multi-choice steps (who to meet, goals), notes, counter (Bumble 073-074, 070) ---------- */
/* Several answers: square boxes with a tick, as Bumble uses for multi-select */
.su-options.is-checks .su-opt > span::before { border-radius: 6px; }
.su-options.is-checks .su-opt input:checked + span::before {
    border: 0; background: var(--vl-maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.su-options.is-checks .su-opt input:disabled + span { opacity: .45; cursor: not-allowed; }
.su-switch-top { margin: 0 0 1rem; }
.su-note { display: flex; gap: .45rem; align-items: flex-start; font-size: 13px; color: var(--vl-muted); margin: 1rem 0 0; }
.su-note i { font-size: 17px; color: var(--vl-maroon); margin-top: 1px; }
.su-goal-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.su-counter { font-size: 13px; color: var(--vl-maroon); white-space: nowrap; }
.su-field-help { display: block; font-size: 12.5px; color: var(--vl-muted); margin: -.15rem 0 .4rem; }

/* ---------- Register page fixes ---------- */
/* Room under the page so the floating cookie banner never covers the last part of the form */
.su-page { padding-bottom: calc(3.5rem + var(--su-cookie, 0px)); }
/* Login link on phones (the footer line is hidden there) */
.su-login-mobile { display: none; font-size: 14px; margin: -.6rem 0 1.2rem; }
@media (max-width: 991.98px) { .su-login-mobile { display: block; } }
/* Desktop: long steps (orientation, degree) keep Continue in view */
@media (min-width: 992px) {
    .su-foot { position: sticky; bottom: var(--su-cookie, 0px); background: #fff; z-index: 5; margin: 0 -2.6rem -1.6rem; padding: 1rem 2.6rem 1.6rem; border-radius: 0 0 22px 0; }
}
/* No bottom nav on the sign-up page, so the cookie banner sits at the very bottom on phones */
@media (max-width: 1199.98px) { body:has(.su-page) .aiz-cookie-alert { bottom: 8px !important; } }

/* "How we use this" under the gender and orientation steps (Tinder 004, Bumble 064) */
.su-why { margin-top: .9rem; max-width: 540px; }
.su-why summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-size: 13.5px; font-weight: 600; color: var(--vl-maroon); text-decoration: underline; text-underline-offset: 3px; }
.su-why summary::-webkit-details-marker { display: none; }
.su-why summary i { font-size: 17px; text-decoration: none; }
.su-why ul { margin: .5rem 0 0; padding-left: 1.15rem; font-size: 13px; color: var(--vl-muted); }
.su-why li { margin-bottom: .3rem; }

/* Optional answers: a text link to skip ("Prefer not to say"), and single-choice chips that clear when tapped again */
.su-link { display: inline-block; margin-top: .9rem; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--vl-maroon); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.su-link:focus-visible { outline: 2px solid var(--vl-gold); outline-offset: 3px; border-radius: 4px; }
.su-chips.is-clearable .su-chip input:checked + span::after { content: "\00d7"; display: inline-block; margin-left: 7px; font-weight: 800; opacity: .85; }

/* ---------- Short sign-up (Oct 2026): field errors, saved answers, intentions, email code ---------- */
/* Errors sit under their field; an icon and the words carry the meaning, not the colour alone */
.su-field-error { margin: .35rem 0 0; font-size: 13.5px; color: #b42318; display: none; }
.su-field-error:not(:empty) { display: flex; gap: .4rem; align-items: flex-start; }
.su-field-error:not(:empty)::before { content: "!"; flex: 0 0 18px; height: 18px; border-radius: 50%; background: #b42318; color: #fff; font-weight: 700; font-size: 12px; line-height: 18px; text-align: center; margin-top: 1px; }
.su-input[aria-invalid="true"], .su-step select[aria-invalid="true"], .su-step .form-control[aria-invalid="true"] { border-color: #b42318 !important; box-shadow: 0 0 0 1px #b42318; }
.su-optional { color: var(--vl-muted); font-weight: 400; }
.su-q:focus { outline: none; }
.su-q:focus-visible { outline: 3px solid var(--vl-maroon); outline-offset: 4px; border-radius: 6px; }
.su-restored { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; background: var(--vl-gold-soft, #fff1f7); color: var(--vl-ink); border-radius: 12px; padding: .6rem .85rem; font-size: 13.5px; margin: 0 0 1rem; }
.su-restored i { color: var(--vl-maroon); font-size: 18px; }
.su-restored .su-link { margin: 0; padding: 0; }
.su-group { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
.su-legend { font-size: 15px; font-weight: 700; color: var(--vl-ink); margin: 0 0 .6rem; padding: 0; }
.su-modes { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.su-mode { position: relative; margin: 0; cursor: pointer; }
.su-mode input { position: absolute; opacity: 0; pointer-events: none; }
.su-mode > span { display: flex; flex-direction: column; gap: .2rem; height: 100%; border: 1.5px solid var(--vl-line); border-radius: 14px; padding: .75rem .85rem; background: #fff; }
.su-mode > span i { font-size: 22px; color: var(--vl-maroon); }
.su-mode > span b { color: var(--vl-ink); }
.su-mode > span small { color: var(--vl-muted); font-size: 12.5px; line-height: 1.35; }
.su-mode input:checked + span { border-color: var(--vl-maroon); background: var(--vl-gold-soft, #fff1f7); box-shadow: inset 0 0 0 1px var(--vl-maroon); }
.su-mode input:focus-visible + span { outline: 3px solid var(--vl-maroon); outline-offset: 2px; }
.su-code { margin: .2rem 0 1rem; }
.su-code-send { border: 1.5px solid var(--vl-maroon); color: var(--vl-maroon); background: #fff; border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; font-size: 14px; min-height: 44px; }
.su-code-send:hover { background: var(--vl-gold-soft, #fff1f7); }
.su-code-actions { display: flex; gap: 1.2rem; margin-top: .4rem; }
.su-code-actions .su-link[disabled] { opacity: .55; cursor: not-allowed; }
.su-code-msg { margin: .4rem 0 0; font-size: 13.5px; color: var(--vl-muted); min-height: 1em; }
.su-code-msg.is-bad { color: #b42318; }
#verification_code { letter-spacing: .4em; font-size: 20px; max-width: 220px; }
@media (max-width: 420px) { .su-modes { grid-template-columns: 1fr; } }
/* Links inside sentences are underlined, not told apart by colour alone (WCAG 1.4.1) */
.su-terms a, .su-hint a, .su-field-help a { text-decoration: underline; text-underline-offset: 2px; }
.su-code-wait { margin: .35rem 0 0; font-size: 13px; color: var(--vl-muted); min-height: 1em; }
/* The "!" is decoration: screen readers read the message only (alt text for generated content) */
.su-field-error:not(:empty)::before { content: "!"; content: "!" / ""; }
