/* Sign-in / sign-up / password recovery (Themes/Daman/Views/Identity/*).
   Follows the owner's reference mockups (2026-09-29): soft lavender stage with blurred colour blobs,
   3D illustrations from the owner's sprite sheets (wwwroot/marketplace/img/auth), a white rounded card
   with login/register tabs, icon fields, gradient primary button, round benefit icons.
   Mobile-first, one column, logical properties only (he/ar are RTL). */

.da-auth {
    --da-a-primary: var(--primary, #4f46e5);
    --da-a-primary-2: #2563eb;
    --da-a-grad: linear-gradient(90deg, #5b5bf0 0%, #3b2fe0 100%);
    --da-a-ink: #1b1f3b;
    --da-a-muted: #6b7190;
    --da-a-border: #e4e6f2;
    --da-a-surface: #fff;
    --da-a-soft: #f3f4ff;
    --da-a-danger: #b42318;
    --da-a-ok: #067647;
    position: relative;
    isolation: isolate;
    max-width: 560px;
    margin-inline: auto;
    padding: 0.5rem 0 2rem;
    color: var(--da-a-ink);
}

/* ---------- stage: lavender wash + blurred blobs behind everything ---------- */

.da-auth::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: -1.5rem 0;
    inset-inline: -40vw;
    background:
        radial-gradient(38rem 22rem at 85% 8%, rgba(124, 92, 255, 0.16), transparent 70%),
        radial-gradient(30rem 20rem at 10% 30%, rgba(56, 189, 248, 0.14), transparent 70%),
        radial-gradient(26rem 18rem at 90% 70%, rgba(251, 191, 36, 0.12), transparent 70%),
        linear-gradient(180deg, #f5f5ff 0%, #fbfbff 60%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* The theme caps .registration-page at 640px (_custom.scss) — right for the old one-column form, but it
   squeezes the desktop split layout into a sliver. This sheet only loads on the new auth pages. */
.page.registration-page {
    max-width: none;
}

.page.login-page,
.page.registration-page,
.page.registration-result-page,
.page.password-recovery-page {
    overflow-x: clip;
}

/* ---------- head: illustration + title ---------- */

.da-auth-head {
    text-align: center;
    margin-block-end: 1.1rem;
}

.da-auth-hero {
    display: block;
    width: min(62%, 260px);
    height: auto;
    margin: 0 auto 0.5rem;
    filter: drop-shadow(0 18px 24px rgba(79, 70, 229, 0.18));
}

.da-auth-head h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.95rem, 8.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--da-a-ink);
}

.da-auth-head h1 .da-brand {
    background: linear-gradient(90deg, #1e3a8a, #4f46e5 55%, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.da-auth-head p {
    margin: 0 auto;
    max-width: 30rem;
    color: var(--da-a-muted);
    font-size: 1.05rem;
}

/* ---------- card + tabs ---------- */

.da-auth-card {
    background: var(--da-a-surface);
    border: 1px solid rgba(228, 230, 242, 0.9);
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(27, 31, 59, 0.03), 0 24px 48px -28px rgba(47, 40, 140, 0.35);
}

.da-auth-card + .da-auth-card,
.da-auth-card + .da-note {
    margin-block-start: 1rem;
}

@media (min-width: 576px) {
    .da-auth-card {
        padding: 1.75rem;
    }
}

.da-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: -0.25rem 0 1.25rem;
    border-block-end: 1px solid var(--da-a-border);
}

.da-tabs a {
    position: relative;
    padding: 0.35rem 0.5rem 0.8rem;
    text-align: center;
    font-weight: 600;
    color: var(--da-a-muted);
    text-decoration: none;
}

.da-tabs a:hover {
    color: var(--da-a-ink);
    text-decoration: none;
}

.da-tabs a[aria-current="page"] {
    color: var(--da-a-ink);
    font-weight: 800;
}

.da-tabs a[aria-current="page"]::after {
    content: "";
    position: absolute;
    inset-inline: 12%;
    inset-block-end: -1px;
    height: 3px;
    border-radius: 3px;
    background: var(--da-a-grad);
}

/* ---------- fields ---------- */

.da-field {
    margin-block-end: 1rem;
}

.da-field > label:not(.form-check-label),
.da-field > .da-label {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-block-end: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--da-a-ink);
}

.da-field .da-optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--da-a-muted);
}

.da-field label.required::after {
    content: "*";
    color: #ef4444;
    margin-inline-start: 0.1rem;
}

.da-input {
    position: relative;
}

.da-input > .da-input-icon {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0.95rem;
    display: grid;
    place-items: center;
    color: #8a90ad;
    pointer-events: none;
    z-index: 2;
}

.da-auth .form-control,
.da-auth .form-select {
    min-height: 52px;
    border: 1.5px solid var(--da-a-border);
    border-radius: 14px;
    background-color: #fff;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.da-auth .form-control::placeholder {
    color: #a3a8c3;
}

.da-auth .form-control:focus,
.da-auth .form-select:focus {
    border-color: var(--da-a-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.da-auth .da-input > .form-control {
    padding-inline-start: 2.75rem;
}

/* room for the show-password eye (stock .btn-toggle-pwd, absolutely placed at inline-end) */
.da-auth .da-input > input[type="password"],
.da-auth .da-input > input.password {
    padding-inline-end: 2.75rem;
}

/* A field typed left-to-right (email, phone) inside an RTL page: the text stays LTR, the icon sits at
   the page's inline-start (the right in he/ar) — padding-inline-* follows the INPUT's direction, so on
   an RTL page the room is set physically. */
.da-auth input[dir="ltr"] {
    text-align: end;
}

[dir="ltr"] .da-auth input[dir="ltr"] {
    text-align: start;
}

[dir="rtl"] .da-auth .da-input > input[dir="ltr"].form-control {
    padding-right: 2.75rem;
    padding-left: 0.95rem;
}

/* Phone: country prefix pill, like the mockup ("🇮🇱 +972 ▾"). */
.da-input-phone {
    display: flex;
    gap: 0.5rem;
}

.da-input-phone .da-prefix {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.75rem;
    min-height: 52px;
    border: 1.5px solid var(--da-a-border);
    border-radius: 14px;
    background: #fafaff;
    font-weight: 600;
    direction: ltr;
    color: var(--da-a-ink);
}

.da-flag {
    display: block;
    border-radius: 2px;
}

.da-input-phone .da-input {
    flex: 1 1 auto;
    min-width: 0;
}

[dir="rtl"] .da-input-phone {
    flex-direction: row-reverse;
}

.da-field .da-hint {
    display: flex;
    gap: 0.35rem;
    align-items: baseline;
    margin-block-start: 0.35rem;
    font-size: 0.8rem;
    color: var(--da-a-muted);
}

.da-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 359.98px) {
    .da-row-2 {
        grid-template-columns: 1fr;
    }
}

.da-auth .field-validation-error {
    display: block;
    margin-block-start: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--da-a-danger);
}

.da-auth .input-validation-error {
    border-color: var(--da-a-danger) !important;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12) !important;
}

/* The stock password rules box folds away when the field loses focus — the moment the button is
   tapped — so a rejection left nothing on screen. Here it stays open, styled as the mockup's list. */
.da-auth .pwd-policy-wrap,
.da-auth .pwd-policy-wrap.collapse:not(.show) {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}

.da-auth .pwd-policy {
    margin-block-start: 0.6rem;
    border: 0;
    border-radius: 14px;
    background: var(--da-a-soft);
}

.da-auth .pwd-rules li {
    margin-block: 0.15rem;
}

/* ---------- checkboxes (remember me, consent, newsletter) ---------- */

.da-auth .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding-inline-start: 0;
    min-height: 0;
}

.da-auth .form-check .form-check-input {
    flex: 0 0 auto;
    float: none;
    margin: 0.2rem 0 0;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 6px;
}

.da-auth .form-check-input:checked {
    background-color: var(--da-a-primary);
    border-color: var(--da-a-primary);
}

.da-auth .form-check .form-check-label {
    flex: 1 1 0;
    min-width: 0;
    line-height: 1.55;
}

.da-auth .form-check.da-check-error {
    padding: 0.5rem 0.6rem;
    border: 1.5px solid var(--da-a-danger);
    border-radius: 12px;
    background: #fff5f4;
}

.da-auth .da-check-error .form-check-input {
    border-color: var(--da-a-danger);
}

/* The owner's consent boxes (RegisterConsent) come in their own framed fieldset — no box in a box —
   and their legal paragraph is long: shown as three lines with "read more". The text is unchanged. */
.da-auth .daman-consent {
    margin: 0 0 1rem !important;
    padding: 0;
    border: 0;
    background: none;
}

.da-auth .da-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.da-more {
    display: block;
    flex-basis: 100%;
    text-align: start;
    margin-block-start: 0.2rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--da-a-primary);
    cursor: pointer;
}

/* ---------- alert ---------- */

.da-auth-alert {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-block-end: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #f3c5c0;
    border-inline-start: 4px solid var(--da-a-danger);
    border-radius: 14px;
    background: #fff5f4;
    color: var(--da-a-danger);
    font-weight: 600;
}

.da-auth-alert[hidden] {
    display: none;
}

.da-auth .validation-summary-errors {
    margin-block-end: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid #f3c5c0;
    background: #fff5f4;
    color: var(--da-a-danger);
}

.da-auth .validation-summary-errors ul {
    margin: 0.25rem 0 0;
    padding-inline-start: 1.1rem;
}

.da-auth .da-success {
    margin-block-end: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid #b7e4c7;
    background: #f0fbf4;
    color: var(--da-a-ok);
    font-weight: 600;
}

/* ---------- buttons ---------- */

.da-auth .btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    font-weight: 800;
}

.da-auth .btn-primary {
    border: 0;
    background: var(--da-a-grad);
    box-shadow: 0 14px 26px -14px rgba(59, 47, 224, 0.75);
}

.da-auth .btn-primary:hover,
.da-auth .btn-primary:focus-visible {
    filter: brightness(1.06);
}

.da-auth .btn-outline-primary {
    border: 1.5px solid var(--da-a-primary);
    border-radius: 999px;
    color: var(--da-a-primary);
    background: #fff;
}

.da-auth .btn-outline-primary:hover {
    background: var(--da-a-soft);
    color: var(--da-a-primary);
}

.da-actions {
    display: flex;
    gap: 0.6rem;
    margin-block-start: 1.25rem;
}

.da-actions .btn-back {
    flex: 0 0 auto;
    width: 54px;
    padding: 0;
    border: 1.5px solid var(--da-a-border);
    background: #fff;
    color: var(--da-a-ink);
}

.da-actions .btn-primary {
    flex: 1 1 auto;
}

.da-or {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-block: 1.1rem;
    color: var(--da-a-muted);
    font-size: 0.85rem;
}

.da-or::before,
.da-or::after {
    content: "";
    flex: 1 1 0;
    height: 1px;
    background: var(--da-a-border);
}

.da-social .vstack > * {
    width: 100%;
}

.da-social .btn {
    min-height: 52px;
    border-radius: 14px;
    font-weight: 700;
}

.da-auth-switch {
    margin: 1rem 0 0;
    text-align: center;
    color: var(--da-a-muted);
}

.da-auth-switch a {
    font-weight: 800;
    color: var(--da-a-primary);
}

.da-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-block: 0.25rem 1.1rem;
}

.da-remember-row .form-check {
    margin: 0;
}

.da-remember-row .forgot-password a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- stepper (1 details · 2 password · 3 finish) ---------- */

.da-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    counter-reset: da-step;
}

.da-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--da-a-muted);
    text-align: center;
}

.da-steps li::before {
    counter-increment: da-step;
    content: counter(da-step);
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #d7daea;
    background: #fff;
    font-weight: 700;
    color: var(--da-a-muted);
}

.da-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-block-start: 19px;
    inset-inline-start: calc(50% + 19px);
    inset-inline-end: calc(-50% + 19px);
    height: 2px;
    background: #e3e5f1;
}

.da-steps li.is-current {
    color: var(--da-a-primary);
    font-weight: 800;
}

.da-steps li.is-current::before {
    border: 0;
    background: var(--da-a-grad);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.14), 0 10px 18px -8px rgba(59, 47, 224, 0.7);
}

.da-steps li.is-done::before {
    content: "\2713";
    border: 0;
    background: var(--da-a-grad);
    color: #fff;
}

.da-steps li.is-done:not(:last-child)::after {
    background: var(--da-a-primary);
}

.da-step[hidden],
.da-steps[hidden] {
    display: none !important;
}

.da-step-head {
    text-align: center;
    margin-block-end: 1.1rem;
}

.da-step-head img {
    display: block;
    width: min(56%, 230px);
    height: auto;
    margin: 0 auto 0.35rem;
    filter: drop-shadow(0 16px 22px rgba(79, 70, 229, 0.16));
}

.da-step-title {
    margin: 0 0 0.25rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.da-step-lead {
    margin: 0;
    color: var(--da-a-muted);
    font-size: 0.92rem;
}

.da-step-lead strong {
    color: var(--da-a-ink);
    direction: ltr;
    unicode-bidi: isolate;
}

/* section heading inside a step, the mockup's "(👤) פרטים אישיים" row */
.da-section-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-block-end: 1rem;
}

.da-section-head .da-bubble {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--da-a-soft);
    color: var(--da-a-primary);
    font-size: 1.05rem;
}

.da-section-head strong {
    display: block;
    font-size: 1.05rem;
}

.da-section-head span {
    display: block;
    font-size: 0.82rem;
    color: var(--da-a-muted);
}

/* ---------- account type (register, first screen) ---------- */

.da-choice {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.da-choice-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 96px;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--da-a-border);
    border-radius: 18px;
    background: #fff;
    color: var(--da-a-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.da-choice-card:hover {
    border-color: #c7c9f5;
}

.da-choice-card:has(input:checked) {
    border-color: var(--da-a-primary);
    background: linear-gradient(180deg, #f7f7ff, #fff);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 16px 28px -22px rgba(59, 47, 224, 0.6);
}

.da-choice-card input {
    position: absolute;
    inset-block-start: 0.85rem;
    inset-inline-start: 0.85rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--da-a-primary);
}

.da-choice-card .da-choice-copy {
    padding-inline-start: 1.8rem;
}

.da-choice-title {
    display: block;
    font-weight: 800;
    font-size: 1.12rem;
    margin-block-end: 0.15rem;
}

.da-choice-text {
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--da-a-muted);
}

.da-choice-card img {
    width: 96px;
    height: 72px;
    object-fit: contain;
}

/* ---------- notes / benefits / trust ---------- */

.da-note {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #f3f4ff, #eef0ff);
    border: 1px solid #e3e5fb;
}

.da-note img {
    flex: 0 0 auto;
    width: 46px;
    height: auto;
}

.da-note strong {
    display: block;
    font-size: 0.98rem;
}

.da-note span {
    display: block;
    font-size: 0.82rem;
    color: var(--da-a-muted);
}

.da-auth-cta {
    margin-block-start: 1.1rem;
    padding: 1.1rem;
    border-radius: 18px;
    background: #f3f4ff;
    text-align: center;
}

.da-auth-cta h2 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.da-auth-cta p {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    color: var(--da-a-muted);
}

.da-auth-cta .btn-lg {
    min-height: 48px;
    max-width: 320px;
}

.da-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.da-benefits li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--da-a-muted);
}

.da-benefits img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.da-benefits strong {
    color: var(--da-a-ink);
    font-size: 0.86rem;
}

/* ---------- success screen ---------- */

.da-success-card {
    text-align: center;
}

.da-success-card img {
    width: min(70%, 260px);
    height: auto;
    margin: 0 auto 0.5rem;
    filter: drop-shadow(0 18px 26px rgba(79, 70, 229, 0.2));
}

.da-success-card .vstack {
    margin-block-start: 1.25rem;
}

/* The JoinPromo widget's small "join us" box repeats the business choices shown at the top of the
   register page — once is enough. */
.da-auth-register-page .jn-promo {
    display: none;
}

/* ======================================================================
   Desktop showcase panel (the <aside>) — hidden on phones and tablets.
   ====================================================================== */

.da-aside {
    display: none;
}

/* ======================================================================
   Tablet (768–991px): a wider single column, the account types as a
   2 × 2 grid of illustrated tiles instead of a stacked list.
   ====================================================================== */

@media (min-width: 768px) {
    .da-auth {
        max-width: 680px;
        padding-block: 1.5rem 3rem;
    }

    .da-auth-card {
        padding: 2rem 2.25rem;
    }

    .da-choice {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .da-choice-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 1.25rem 1rem 1.1rem;
    }

    .da-choice-card img {
        order: -1;
        width: 132px;
        height: 100px;
    }

    .da-choice-card .da-choice-copy {
        padding-inline-start: 0;
    }

    .da-benefits {
        max-width: 560px;
        margin-inline: auto;
    }

    .da-benefits img {
        width: 60px;
        height: 60px;
    }
}

/* ======================================================================
   Desktop (≥ 992px): split screen — the form on the reading side, a
   branded showcase with the large illustration and benefits beside it.
   ====================================================================== */

@media (min-width: 992px) {
    .da-auth--split {
        display: grid;
        grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
        max-width: 1180px;
        padding-block: 2rem 4rem;
    }

    .da-auth--split .da-main {
        min-width: 0;
    }

    /* the phone-only pieces the showcase now carries */
    .da-auth--split .da-auth-hero,
    .da-auth--split .da-main > .da-benefits,
    .da-auth--split .da-stage-choice > .da-benefits,
    .da-auth--split .da-step-head img {
        display: none;
    }

    .da-auth--split .da-auth-head {
        text-align: start;
    }

    .da-auth--split .da-auth-head p {
        margin-inline: 0;
    }

    .da-auth--split .da-step-head {
        text-align: start;
    }

    .da-auth--split .da-auth-card {
        padding: 2.25rem 2.5rem;
    }

    .da-aside {
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 640px;
        margin-block-start: 0.5rem;
        padding: 2.75rem 2.5rem 2.5rem;
        border-radius: 32px;
        background:
            radial-gradient(22rem 16rem at 88% 8%, rgba(255, 255, 255, 0.22), transparent 70%),
            radial-gradient(20rem 16rem at 5% 95%, rgba(56, 189, 248, 0.35), transparent 70%),
            linear-gradient(145deg, #4f46e5 0%, #3b2fe0 45%, #2563eb 100%);
        color: #fff;
        text-align: center;
        box-shadow: 0 40px 80px -40px rgba(47, 40, 180, 0.6);
    }

    /* soft floating rings, as in the mockups' backdrop */
    .da-aside::before,
    .da-aside::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        border: 1.5px solid rgba(255, 255, 255, 0.18);
        pointer-events: none;
    }

    .da-aside::before {
        width: 420px;
        height: 420px;
        inset-block-start: -140px;
        inset-inline-end: -120px;
    }

    .da-aside::after {
        width: 260px;
        height: 260px;
        inset-block-end: -90px;
        inset-inline-start: -70px;
    }

    .da-aside-art {
        position: relative;
        width: min(78%, 380px);
        height: auto;
        margin-block-end: 1.25rem;
        filter: drop-shadow(0 30px 40px rgba(10, 8, 60, 0.35));
    }

    .da-aside-title {
        position: relative;
        margin: 0 0 0.6rem;
        font-size: 2rem;
        font-weight: 800;
        line-height: 1.2;
        color: #fff;
    }

    .da-aside-text {
        position: relative;
        max-width: 28rem;
        margin: 0 0 1.75rem;
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .da-aside-list {
        position: relative;
        display: grid;
        gap: 0.75rem;
        width: 100%;
        max-width: 420px;
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: start;
    }

    .da-aside-list li {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        padding: 0.7rem 0.9rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(4px);
    }

    .da-aside-list img {
        flex: 0 0 auto;
        width: 48px;
        height: 48px;
        object-fit: contain;
        border-radius: 50%;
        background: #fff;
    }

    .da-aside-list strong {
        display: block;
        font-size: 1rem;
        color: #fff;
    }

    .da-aside-list span {
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.8);
    }
}

@media (min-width: 1200px) {
    .da-auth--split {
        grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
        gap: 4rem;
    }
}

/* The character illustrations are cut from a sprite sheet, so their bottom edge is a straight crop line.
   Fade it out instead of ending on a hard edge. */
.da-auth-hero,
.da-step-head img,
.da-aside-art {
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

/* ======================================================================
   "Join us" — the role forms (/join/{role}), the thanks page and the
   owner's landing (/join) with the forms embedded in it.
   ====================================================================== */

/* The form panel carries .da-auth so its fields/steps look like sign-up, but inside a page that already
   has a card and a stage it must not paint a second background or cap its own width. */
.da-auth--embedded {
    max-width: none;
    margin: 0;
    padding: 0;
}

.da-auth--embedded::before {
    display: none;
}

.da-auth .jn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-block-end: 0.75rem;
    font-weight: 600;
    color: var(--da-a-muted);
    text-decoration: none;
}

.da-auth .jn-back:hover {
    color: var(--da-a-primary);
}

.da-auth-hero--role {
    width: min(48%, 210px);
}

.da-auth .jn-note {
    border-radius: 16px;
}

.da-auth .jn-signedin {
    margin: 0;
}

/* numbered chips — the desktop showcase's "what happens next" and the thanks page */
.da-num {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 800;
    background: var(--da-a-soft);
    color: var(--da-a-primary);
}

.da-next {
    display: grid;
    gap: 0.6rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    text-align: start;
}

.da-next li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--da-a-border);
    border-radius: 16px;
    background: #fff;
}

.da-next li strong {
    display: block;
}

.da-next li > span:last-child {
    font-size: 0.86rem;
    color: var(--da-a-muted);
}

.da-next li.is-done .da-num {
    background: var(--da-a-grad);
    color: #fff;
}

/* ---- the owner's landing: his markup, our illustrations on the three lane cards ---- */

.da-join-landing .jl-lane {
    position: relative;
}

.da-join-landing .jl-lane::before {
    content: "";
    display: block;
    width: 100%;
    height: 118px;
    margin-block-end: 0.5rem;
    background: center / contain no-repeat;
    filter: drop-shadow(0 14px 18px rgba(79, 70, 229, 0.16));
}

.da-join-landing .jl-lane:has(a[href*="/join/vendor"])::before {
    background-image: url("../img/auth/choice-vendor.webp");
}

.da-join-landing .jl-lane:has(a[href*="/join/courier"])::before {
    background-image: url("../img/auth/choice-courier.webp");
}

.da-join-landing .jl-lane:has(a[href*="/join/professional"])::before {
    background-image: url("../img/auth/choice-pro.webp");
}

/* A lane without one of those links (owner-edited) simply has no picture. */
.da-join-landing .jl-lane:not(:has(a[href*="/join/"]))::before {
    display: none;
}

.da-join-landing .jl-lane .jl-lane-ic {
    display: none;
}

@media (min-width: 992px) {
    .da-auth--join .da-auth-hero--role {
        display: none;
    }

    .da-aside-art--role {
        width: min(58%, 250px);
    }

    .da-aside-list--steps .da-num {
        background: #fff;
        color: var(--da-a-primary);
    }

    .da-aside-list--steps li {
        align-items: center;
    }
}

/* Caps Lock / email-typo hints */
.da-auth .da-caps {
    color: #b45309;
    font-weight: 600;
}

.da-auth .da-typo {
    color: var(--da-a-ink);
}

.da-auth .da-caps[hidden],
.da-auth .da-typo[hidden] {
    display: none;
}

.da-auth .btn.is-busy {
    pointer-events: none;
    opacity: 0.85;
}
