/* ==========================================================================
   Sign in / Create account / Verify (Views/Account/Login.cshtml) and Forgot
   password (Views/Account/ForgotPassword.cshtml, .au--single) - Blush & Berry.
   Loaded after the shared base (_BrandPageHead: landing.css, landing-pink.css,
   brand-page.css), which keeps the page light. Rules are `.au .x` so they outrank
   Bootstrap's .form-control/.btn and site.css. The page script resets some
   className values (phone icon, OTP icon), so those are styled through their
   original auth-* classes.
   ========================================================================== */

html:has(body.au-body) { background: var(--lp-paper); }
body.au-body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--lp-paper); color: var(--lp-ink); font-family: var(--lp-sans); }

.au {
    --au-field-h: 52px;
    --au-radius: 14px;
    --au-line: rgba(var(--lp-madder-rgb), .2);
    --au-line-strong: rgba(var(--lp-madder-rgb), .4);
    --au-error: #B42318;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    min-height: 100vh;
    min-height: 100dvh;
}

/* ==========================================================================
   BRAND PANEL
   ========================================================================== */
.au .au-brand {
    /* Stays in view while a long form (register) scrolls. */
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 60%),
        linear-gradient(160deg, var(--lp-paper-deep) 0%, #F9E2EE 55%, var(--lp-paper) 100%);
    border-right: 1px solid rgba(var(--lp-madder-rgb), .1);
}
/* Soft colour glows instead of outlined circles (the thin rings cut across the copy). */
.au .au-brand__art { display: none; }
.au .au-brand::before,
.au .au-brand::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(8px); }
.au .au-brand::before { width: 520px; height: 520px; top: -180px; right: -160px; background: radial-gradient(circle, rgba(var(--lp-madder-rgb), .16) 0%, rgba(var(--lp-madder-rgb), 0) 70%); }
.au .au-brand::after { width: 460px; height: 460px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(150, 110, 210, .16) 0%, rgba(150, 110, 210, 0) 70%); }
.au .au-brand__inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    width: 100%; max-width: 560px; margin: 0 auto;
    padding: clamp(28px, 4vw, 48px) clamp(28px, 4.5vw, 64px) clamp(32px, 5vw, 56px);
}
/* Logo and a way back to the site, same treatment as the public site header (no white box). */
.au .au-brand__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.au .au-logo { display: inline-flex; align-self: flex-start; line-height: 0; }
.au .au-brand__top .au-logo { align-self: center; }
.au .au-logo img { display: block; width: auto; height: 46px; mix-blend-mode: multiply; }
.au .au-home {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
    border: 1px solid rgba(var(--lp-madder-rgb), .18); border-radius: 999px; background: rgba(255, 255, 255, .55);
    font-size: 13.5px; font-weight: 600; color: var(--lp-ink-soft); text-decoration: none; white-space: nowrap;
    transition: color .2s var(--lp-ease), border-color .2s var(--lp-ease), background-color .2s var(--lp-ease);
}
.au .au-home i { transition: transform .2s var(--lp-ease); }
.au .au-home:hover { color: var(--lp-madder); border-color: rgba(var(--lp-madder-rgb), .4); background: #fff; }
.au .au-home:hover i { transform: translateX(-3px); }
.au .au-home:focus-visible { outline: 2px solid var(--lp-madder); outline-offset: 2px; }
.au .au-brand__copy { margin: auto 0; padding-block: 24px; }
.au .au-brand__tag { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-madder); }
.au .au-brand__title { margin-top: 16px; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.03em; color: var(--lp-ink); }
.au .au-brand__title em { color: var(--lp-madder); font-weight: 400; }
.au .au-brand__lede { margin-top: 18px; max-width: 42ch; font-size: 17px; line-height: 1.6; color: var(--lp-ink-soft); }

/* Benefits: one grouped card with dividers and tinted icon tiles. */
.au .au-benefits {
    display: grid; gap: 0; margin-top: 32px; padding: 6px 20px;
    border-radius: 20px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(var(--lp-madder-rgb), .1);
    box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), .03), 0 24px 48px -36px rgba(var(--lp-ink-rgb), .45);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.au .au-benefit { display: flex; gap: 14px; align-items: center; padding: 16px 0; border: 0; border-radius: 0; background: none; }
.au .au-benefit + .au-benefit { border-top: 1px solid rgba(var(--lp-madder-rgb), .1); }
.au .au-benefit__icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; background: rgba(var(--lp-madder-rgb), .1); border: 0; color: var(--lp-madder); font-size: 19px; }
.au .au-benefit:nth-child(2) .au-benefit__icon { background: rgba(150, 110, 210, .14); color: #6A4FB0; }
.au .au-benefit:nth-child(3) .au-benefit__icon { background: rgba(28, 158, 144, .12); color: #1C7A70; }
.au .au-benefit__title { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--lp-ink); }
.au .au-benefit__text { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--lp-ink-soft); }

/* ==========================================================================
   FORM COLUMN
   ========================================================================== */
.au .au-main { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 48px); }
.au .au-card {
    width: 100%; max-width: 468px;
    padding: clamp(24px, 3.4vw, 36px);
    border-radius: 24px;
    background: var(--lp-surface);
    border: 1px solid rgba(var(--lp-madder-rgb), .12);
    box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), .04), 0 30px 60px -40px rgba(var(--lp-ink-rgb), .38);
}

/* Segmented control */
.au .au-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--lp-paper-deep); border: 1px solid rgba(var(--lp-madder-rgb), .1); }
.au .au-switch.d-none { display: none; }
.au .au-switch__tab {
    position: relative; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
    font-family: var(--lp-sans); font-size: 14.5px; font-weight: 600; color: var(--lp-ink-soft); cursor: pointer;
    transition: background-color .25s var(--lp-ease), color .25s var(--lp-ease), box-shadow .25s var(--lp-ease);
}
.au .au-switch__tab:hover { color: var(--lp-ink); }
.au .au-switch__tab.active { background: #fff; color: var(--lp-madder); box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), .08), 0 6px 14px -10px rgba(var(--lp-madder-rgb), .6); }
.au .au-switch__tab.active::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 16px; height: 2px; border-radius: 2px; background: var(--lp-madder); transform: translateX(-50%); }
.au .au-switch__tab:focus-visible { outline: 2px solid var(--lp-madder); outline-offset: 2px; }

/* Panes */
.au .au-pane { margin-top: 26px; }
.au .au-pane.d-none { display: none !important; }
.au .au-head { margin-bottom: 22px; }
.au .au-head--center { text-align: center; }
.au .au-title { font-size: clamp(28px, 3vw, 34px); line-height: 1.12; letter-spacing: -.02em; color: var(--lp-ink); }
.au .au-sub { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--lp-ink-soft); }
.au .au-sub strong { color: var(--lp-ink); font-weight: 600; overflow-wrap: anywhere; }

/* Groups (register) */
.au .au-group { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.au .au-group + .au-group { margin-top: 24px; }
.au .au-group__title { float: none; width: auto; margin: 0 0 12px; padding: 0; font-family: var(--lp-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-madder); }

/* Fields */
.au .au-field { margin: 0 0 16px; min-width: 0; }
.au .au-group .au-field:last-child { margin-bottom: 0; }
.au .au-label { display: block; margin: 0 0 7px; font-family: var(--lp-sans); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--lp-ink); }
.au .au-label--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.au .au-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.au .au-label-row .au-label { margin: 0; }
.au .au-forgot { font-size: 13.5px; font-weight: 600; color: var(--lp-madder); text-decoration: underline; text-decoration-color: rgba(var(--lp-madder-rgb), .35); text-underline-offset: 3px; }
.au .au-forgot:hover { color: var(--lp-madder-deep); text-decoration-color: currentColor; }
.au .au-help { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--lp-ink-soft); }

.au .au-input-wrap { position: relative; display: flex; align-items: center; min-width: 0; }
.au .au-input,
.au .form-control.au-input {
    display: block; width: 100%; height: var(--au-field-h); margin: 0;
    padding: 0 16px 0 46px;
    border: 1px solid var(--au-line); border-radius: var(--au-radius);
    background-color: #FFFDFE; color: var(--lp-ink);
    font-family: var(--lp-sans); font-size: 15.5px; line-height: 1.4;
    box-shadow: inset 0 1px 2px rgba(var(--lp-ink-rgb), .04);
    transition: border-color .2s var(--lp-ease), box-shadow .2s var(--lp-ease), background-color .2s var(--lp-ease);
}
.au .au-input::placeholder { color: rgba(var(--lp-ink-rgb), .42); opacity: 1; }
.au .au-input:hover { border-color: var(--au-line-strong); }
.au .au-input:focus, .au .form-control.au-input:focus { outline: none; background-color: #fff; border-color: var(--lp-madder); box-shadow: 0 0 0 4px rgba(var(--lp-madder-rgb), .14); color: var(--lp-ink); }
.au .au-input--toggle { padding-right: 52px; }
.au .au-input.is-invalid { border-color: var(--au-error); background-image: none; padding-right: 16px; }
.au .au-input--toggle.is-invalid { padding-right: 52px; }
.au .au-input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.au .au-input:-webkit-autofill { -webkit-text-fill-color: var(--lp-ink); -webkit-box-shadow: 0 0 0 1000px #FFFDFE inset; }

/* Icons and prefixes inside fields (the script swaps some class lists, so target the original classes) */
.au .auth-input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 17px; line-height: 1; color: var(--lp-ink-soft); pointer-events: none; }
.au .auth-input-icon.d-none { display: none; }
.au .au-input-wrap:focus-within .auth-input-icon { color: var(--lp-madder); }
.au .au-flag-prefix {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px;
    border-right: 1px solid var(--au-line); pointer-events: none;
    transition: opacity .2s var(--lp-ease);
}
.au .au-flag-prefix .auth-flag-svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(var(--lp-ink-rgb), .12); }
.au .au-flag-prefix .auth-flag-code { font-size: 14.5px; font-weight: 600; color: var(--lp-ink); }
.au .au-flag-prefix.auth-prefix-hide { display: none; }
.au .au-input.auth-input-with-flag { padding-left: 98px; }
.au .au-phone-prefix { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 15px; font-weight: 600; color: var(--lp-ink); pointer-events: none; }
.au .au-phone-prefix.d-none { display: none; }
.au .au-input.auth-input-with-prefix { padding-left: 82px; }
.au .au-wa-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgba(37, 211, 102, .1); color: #12733A; font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.au .au-wa-badge.d-none { display: none; }

.au .au-toggle {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%); z-index: 2;
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 12px; background: transparent; color: var(--lp-ink-soft); font-size: 17px; cursor: pointer;
    transition: background-color .2s var(--lp-ease), color .2s var(--lp-ease);
}
.au .au-toggle:hover { background: var(--lp-paper-deep); color: var(--lp-ink); }
.au .au-toggle:focus-visible { outline: 2px solid var(--lp-madder); outline-offset: 0; }
.au .au-toggle[aria-pressed="true"] { color: var(--lp-madder); }

/* site.js field errors (.invalid-feedback.ajax-field-error) */
.au .invalid-feedback, .au .ajax-field-error { margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--au-error); animation: auFade .25s var(--lp-ease) both; }
.au .ajax-field-error::before { content: "!"; display: inline-grid; place-items: center; vertical-align: -3px; width: 16px; height: 16px; margin-right: 7px; border-radius: 50%; background: var(--au-error); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }

/* Alerts: server-rendered (TempData / validation summary) and the inline form error */
.au .au-alert, .au .au-form-error {
    display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px;
    border-radius: 14px; border: 1px solid; font-size: 14px; line-height: 1.45;
}
.au .au-alert i, .au .au-form-error i { flex: 0 0 auto; margin-top: 1px; }
.au .alert-success.au-alert { background: #EEF7F2; border-color: rgba(47, 107, 79, .25); color: #24533D; }
.au .alert-danger.au-alert, .au .au-form-error { background: #FFF4F2; border-color: rgba(180, 35, 24, .22); color: #7A1D14; }
.au .au-form-error i { color: var(--au-error); }
.au .au-form-error[hidden] { display: none; }
.au .au-form-error:not([hidden]) { animation: auFade .25s var(--lp-ease) both; }
.au .au-alert--summary ul { margin: 0; padding-left: 18px; }
.au .au-alert--summary.validation-summary-valid { display: none; }
.au .au-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--lp-paper-deep); color: var(--lp-madder-deep); font-size: 14px; font-weight: 600; line-height: 1.45; }
.au .au-note.d-none { display: none; }

/* Primary action */
.au .au-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 52px; margin-top: 8px; padding: 0 22px;
    border: 1px solid var(--lp-madder); border-radius: 999px;
    background: var(--lp-madder); color: #fff;
    font-family: var(--lp-sans); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: 0;
    box-shadow: 0 12px 24px -14px rgba(var(--lp-madder-rgb), .85);
    cursor: pointer;
    transition: background-color .2s var(--lp-ease), border-color .2s var(--lp-ease), box-shadow .2s var(--lp-ease), transform .2s var(--lp-ease);
}
.au .au-btn i { transition: transform .25s var(--lp-ease); }
.au .au-btn:hover { background: var(--lp-madder-deep); border-color: var(--lp-madder-deep); box-shadow: 0 14px 28px -14px rgba(var(--lp-madder-rgb), .95); }
.au .au-btn:hover i { transform: translateX(3px); }
.au .au-btn:active { transform: scale(.985); }
.au .au-btn:focus-visible { outline: 3px solid rgba(var(--lp-madder-rgb), .4); outline-offset: 3px; }
.au .au-btn:disabled { opacity: .85; cursor: progress; }
.au .au-btn .spinner-border { width: 16px; height: 16px; border-width: 2px; }

/* Legal + small print */
.au .au-terms, .au .au-legal { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--lp-ink-soft); text-align: center; }
.au .au-legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(var(--lp-madder-rgb), .1); }
.au .au-legal.d-none { display: none; }
/* The register form carries its own terms line; avoid saying it twice. */
.au .au-card:has([data-auth-pane="register"]:not(.d-none)) .au-legal { display: none; }
.au .au-terms a, .au .au-legal a { color: var(--lp-madder); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--lp-madder-rgb), .35); text-underline-offset: 2px; }
.au .au-terms a:hover, .au .au-legal a:hover { color: var(--lp-madder-deep); }
.au .au-terms span:not(.d-none) { display: block; margin-top: 6px; }

/* OTP step */
.au .auth-otp-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--lp-paper-deep); color: var(--lp-madder); font-size: 28px; box-shadow: 0 0 0 8px var(--lp-paper); }
.au .auth-otp-icon.whatsapp-mode { background: rgba(37, 211, 102, .12); color: #12733A; }
.au .au-input.auth-otp-input { padding: 0 16px; height: 60px; text-align: center; font-size: 26px !important; font-weight: 600; letter-spacing: .5em; font-variant-numeric: tabular-nums; }
.au .au-otp-meta { display: flex; justify-content: space-between; gap: 12px; margin: -6px 0 6px; font-size: 13px; color: var(--lp-ink-soft); }
.au .au-otp-meta .d-none { display: none; }
.au .au-resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 16px; }
.au .au-resend__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--au-line); border-radius: 999px; background: #fff; font-family: var(--lp-sans); font-size: 14px; font-weight: 600; color: var(--lp-ink); cursor: pointer; transition: border-color .2s var(--lp-ease), color .2s var(--lp-ease); }
.au .au-resend__btn:hover:not(:disabled) { border-color: var(--lp-madder); color: var(--lp-madder); }
.au .au-resend__btn:disabled { opacity: .55; cursor: not-allowed; }
.au .au-resend__note { font-size: 13px; color: var(--lp-ink-soft); }
.au .au-switch-line { margin-top: 20px; text-align: center; font-size: 14px; color: var(--lp-ink-soft); }
.au .au-text-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--lp-madder); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Create account: a wider card with each group's two fields side by side, so the form is about
   half as tall. Phones (below 640px) keep one column. */
@media (min-width: 640px) {
    .au .au-card:has([data-auth-pane="register"]:not(.d-none)) { max-width: 620px; }
    .au [data-auth-pane="register"] .au-head { margin-bottom: 18px; }
    .au [data-auth-pane="register"] .au-title { font-size: clamp(26px, 2.6vw, 30px); }
    .au [data-auth-pane="register"] .au-sub { margin-top: 6px; font-size: 15px; }
    .au [data-auth-pane="register"] .au-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; margin-bottom: 0; }
    .au [data-auth-pane="register"] .au-group + .au-group { margin-top: 18px; }
    .au [data-auth-pane="register"] .au-group__title { margin-bottom: 10px; }
    .au [data-auth-pane="register"] .au-field { margin-bottom: 0; }
    /* Same label height in both columns (the phone label carries the WhatsApp badge), so the boxes line up. */
    .au [data-auth-pane="register"] .au-field > .au-label, .au [data-auth-pane="register"] .au-field > .au-label-row { display: flex; align-items: center; min-height: 28px; margin-bottom: 6px; }
    .au [data-auth-pane="register"] .au-btn { margin-top: 22px; }
    .au [data-auth-pane="register"] .au-terms { margin-top: 12px; }
}

/* Errors are shown inside the form on this page; site.js still raises its error toasts for other pages. */
.au-body .mp-toast-error, .au-body .mp-toast-warning { display: none !important; }

/* ==========================================================================
   MOTION
   ========================================================================== */
@keyframes auFade { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@keyframes auRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.au .au-card { animation: auRise .55s var(--lp-ease) both; }
.au .au-benefit { animation: auRise .55s var(--lp-ease) both; }
.au .au-benefit:nth-child(1) { animation-delay: .12s; }
.au .au-benefit:nth-child(2) { animation-delay: .2s; }
.au .au-benefit:nth-child(3) { animation-delay: .28s; }
.au .au-pane:not(.d-none) { animation: auFade .3s var(--lp-ease) both; }

@media (prefers-reduced-motion: reduce) {
    .au *, .au *::before, .au *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .au { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
    .au .au-benefit__text { font-size: 13.5px; }
}

/* Tablet and below: a slim header bar (logo + Back to home), like the public site header,
   with the form centred under it. */
@media (max-width: 991.98px) {
    .au { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .au .au-brand {
        position: sticky; top: 0; z-index: 10; height: auto; overflow: visible;
        background: rgba(var(--lp-paper-rgb), .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
        border-right: 0; border-bottom: 1px solid rgba(var(--lp-madder-rgb), .12);
    }
    .au .au-brand__art, .au .au-brand__copy, .au .au-brand::before, .au .au-brand::after { display: none; }
    .au .au-brand__inner { display: block; max-width: none; padding: 0 clamp(16px, 4vw, 32px); }
    .au .au-brand__top { height: 68px; }
    .au .au-logo img { height: 40px; }
    .au .au-main { align-items: center; padding: 32px 16px 48px; }
    .au .au-card { max-width: 520px; }
}

@media (max-width: 560px) {
    .au .au-brand__top { height: 64px; gap: 10px; }
    .au .au-logo img { width: clamp(104px, 32vw, 132px); height: auto; }
    .au .au-home { min-height: 38px; padding: 0 12px; font-size: 13px; }
    .au .au-main { align-items: flex-start; padding: 20px 12px 32px; }
    .au .au-card { padding: 22px 18px 24px; border-radius: 20px; box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), .04), 0 20px 40px -32px rgba(var(--lp-ink-rgb), .4); }
    .au .au-pane { margin-top: 20px; }
    .au .au-head { margin-bottom: 18px; }
    .au .au-title { font-size: 27px; }
    .au .au-sub { font-size: 15px; }
    .au .au-label-row { flex-wrap: wrap; }
    .au .au-otp-meta { flex-direction: column; align-items: center; gap: 2px; }
}
@media (max-width: 360px) {
    .au .au-switch__tab { padding: 0 6px; font-size: 13.5px; white-space: nowrap; }
}

/* ==========================================================================
   SINGLE-CARD PAGES (Views/Account/ForgotPassword.cshtml): one centred card
   that reuses the fields, buttons and alerts above.
   ========================================================================== */
.au.au--single {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(24px, 5vh, 56px) 16px;
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%),
        linear-gradient(170deg, var(--lp-paper-deep) 0%, var(--lp-paper) 55%, var(--lp-paper) 100%);
}
.au .au-single__art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.au .au-single__art circle { fill: none; stroke: rgba(var(--lp-madder-rgb), .1); stroke-width: 1.2; }
.au .au-single__art circle:first-child { fill: rgba(255, 255, 255, .4); }
.au .au-single { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; max-width: 480px; }
.au .au-logo--center { align-self: center; }
.au .au-card--recover { max-width: 480px; }

.au .au-recover-head { margin-bottom: 22px; }
.au .au-recover-icon {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
    border-radius: 50%; background: var(--lp-paper-deep); border: 1px solid rgba(var(--lp-madder-rgb), .14);
    color: var(--lp-madder); font-size: 20px;
}
.au .au-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-madder); }
.au .au-eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .6; }
.au .au-recover-head .au-title { margin-top: 10px; }

.au .au-done { padding: 6px 0 4px; text-align: center; }
.au .au-done[hidden], .au [data-recover-form][hidden] { display: none; }
.au .au-done:focus { outline: none; }
.au .au-done__icon {
    display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: #EEF7F2; color: #2F6B4F; font-size: 26px; box-shadow: 0 0 0 8px rgba(238, 247, 242, .6);
}
.au .au-done__title { margin-top: 16px; font-size: 26px; line-height: 1.15; color: var(--lp-ink); }
.au .au-done__text { margin: 10px auto 0; max-width: 38ch; font-size: 15px; line-height: 1.6; color: var(--lp-ink-soft); }
.au .au-done__text strong { color: var(--lp-ink); font-weight: 600; overflow-wrap: anywhere; }
.au .au-done .au-text-btn { margin-top: 16px; font-size: 14.5px; }
.au .au-done:not([hidden]) { animation: auFade .3s var(--lp-ease) both; }

.au .au-back { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(var(--lp-madder-rgb), .1); text-align: center; }
.au .au-back a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px;
    border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--lp-ink-soft);
    transition: color .2s var(--lp-ease), background-color .2s var(--lp-ease);
}
.au .au-back a i { transition: transform .2s var(--lp-ease); }
.au .au-back a:hover { color: var(--lp-madder); background: rgba(var(--lp-madder-rgb), .05); }
.au .au-back a:hover i { transform: translateX(-3px); }
.au .au-back a:focus-visible { outline: 2px solid var(--lp-madder); outline-offset: 2px; }

/* The confirmation is shown on the page, so the matching toast would only repeat it. */
.au-body--recover .mp-toast-success { display: none !important; }

@media (max-width: 560px) {
    .au.au--single { align-items: flex-start; padding: 20px 12px 32px; }
    .au .au-single { gap: 16px; }
    .au .au-recover-icon { width: 44px; height: 44px; margin-bottom: 12px; }
}
