/* Login/sign-up pages and modal; scoped under .auth so the site's bare element rules don't leak in */
.auth {
    --a-orange: #ff5000;
    --a-orange-2: #ff611a;
    --a-orange-text: #c23c00;   /* orange for text on white (contrast) */
    --a-tint: #fff4ee;
    --a-ink: #1f2329;
    --a-text: #4a4f57;
    --a-muted: #6b7280;
    --a-line: #dcdfe4;
    --a-bg: #f7f3f0;
    --a-nav: 64px;              /* height of the fixed site header */
    background: var(--a-bg);
    padding: calc(var(--a-nav) + 36px) 0 64px;
    /* Full-bleed background: the page sits in .page-wrapper (max 1440px, 16px paddings) */
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    /* Fill the window: the footer is hidden here, so no white band below */
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: center;
    color: var(--a-text);
    font-size: 15px;
    line-height: 1.5;
}
/* Fill below the header instead of 100vh, which would add a needless scrollbar */
@supports selector(:has(*)) {
    .page-wrapper:has(> .auth) { display: flex; flex-direction: column; }
    .page-wrapper > .auth { flex: 1 0 auto; min-height: 0; }
}
.auth *, .auth *::before, .auth *::after { box-sizing: border-box; }
.auth :where(p, h1, h2, ul) { margin: 0; padding: 0; }
.auth svg { padding: 0; }
/* Override the site's bare span rule (grey, 14px on phones) */
.auth :where(span, strong) { color: inherit; font-size: inherit; }
.auth__wrap {
    width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 48px; align-items: center;
}
.auth__card {
    background: #fff; border-radius: 24px; padding: 36px 32px 28px;
    box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 22px 48px -20px rgba(17, 17, 17, .18);
    animation: auth-rise .55s cubic-bezier(.2, .8, .2, 1) both;
}
.auth__card.is-in { animation: none; }   /* auth.js, after the rise: a shake mustn't replay it */
.auth__card.is-shake { animation: auth-shake .42s cubic-bezier(.36, .07, .19, .97); }   /* a field missing or the server said no */
@keyframes auth-shake {
    10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); }
    30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); }
}
/* Entrance */
@keyframes auth-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes auth-float-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
/* Cap the banner height so a portrait image doesn't run below the form */
.auth__banner { display: flex; justify-content: center; animation: auth-float-in .7s .12s cubic-bezier(.2, .8, .2, 1) both; }
.auth__banner img {
    display: block; width: auto; max-width: 100%; height: auto; max-height: min(620px, calc(100vh - var(--a-nav) - 104px));   /* 104 = the section's 36 + 64 paddings and a few px */
    border-radius: 24px; box-shadow: 0 22px 48px -24px rgba(120, 30, 0, .35);
}
.auth__title { font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--a-ink); }
/* Logo in place of the brand name in titles (AuthText.AroundBrand) */
.auth__brand { display: inline-block; width: auto; height: 1.2em; margin: 0 .04em; vertical-align: -.3em; }
.auth__sub { margin-top: 6px !important; font-size: 15px; color: var(--a-muted); }

/* Password / SMS code tabs */
.auth-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 24px 0 22px; padding: 4px; border-radius: 14px; background: #f2eeeb; }
/* Sliding pill under the chosen tab */
.auth-seg__pill {
    position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: 10px; background: #fff;
    box-shadow: 0 1px 3px rgba(17, 17, 17, .08), 0 4px 12px rgba(17, 17, 17, .06);
    transition: transform .34s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.auth-seg[data-mode="otp"] .auth-seg__pill { transform: translateX(calc(100% + 4px)); }
.auth-seg__btn {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 10px;
    border: 0; border-radius: 10px; background: transparent; color: var(--a-text); font: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.auth-seg__btn svg { width: 18px; height: 18px; flex: none; }
.auth-seg__btn:hover { color: var(--a-ink); }
.auth-seg__btn.is-active { color: var(--a-orange-text); }
.auth-seg__btn svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.auth-seg__btn.is-active svg { transform: scale(1.12); }
.auth-seg__btn:focus-visible { outline: 2px solid var(--a-orange-2); outline-offset: 2px; }
/* Both panes share one grid cell so switching never moves anything below */
.auth-panes { display: grid; }
.auth-pane { grid-area: 1 / 1; min-width: 0; transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s; }
.auth-pane.is-off { opacity: 0; transform: translateY(6px); visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.auth:not(.is-ready) .auth-pane, .auth:not(.is-ready) .auth-seg__pill { transition: none; }   /* no animation for the first paint */
.auth-pane .auth-hint[data-auth-otp-hint] { min-height: 3em; }   /* room for two lines: hint and "code sent" differ in length */

/* Fields */
.auth-field { margin-bottom: 18px; }
.auth-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--a-ink); }
.auth-input {
    display: flex; align-items: center; min-height: 50px; border: 1px solid var(--a-line); border-radius: 12px; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-input:focus-within { border-color: var(--a-orange-2); box-shadow: 0 0 0 4px rgba(255, 97, 26, .12); }
.auth-input.is-invalid { border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .10); }
.auth .auth-input input {
    flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 16px; color: var(--a-ink);   /* 16px: phones don't zoom in on focus */
}
.auth .auth-input input::placeholder { color: #9aa0a9; }
.auth-input__prefix { flex: none; padding: 0 12px 0 14px; border-right: 1px solid var(--a-line); font-weight: 600; color: var(--a-ink); line-height: 26px; }
.auth-input__eye {
    flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 0; background: transparent;
    color: var(--a-muted); cursor: pointer; border-radius: 10px;
}
.auth-input__eye svg { width: 20px; height: 20px; }
.auth-input__eye:hover, .auth-input__eye[aria-pressed="true"] { color: var(--a-ink); }
/* Only the slash animates; a white line under it cuts the eye so it reads clearly */
.auth-eye { overflow: visible; }
.auth-eye__slash, .auth-eye__gap {
    stroke-dasharray: 100 110; stroke-dashoffset: 105;   /* hidden: the dash sits wholly before the line, so no round-cap dot shows */
    transition: stroke-dashoffset .3s cubic-bezier(.2, .8, .2, 1) .08s;
}
.auth-eye__gap { stroke: #fff; stroke-width: 5; }
.auth-input__eye[aria-pressed="true"] .auth-eye__slash, .auth-input__eye[aria-pressed="true"] .auth-eye__gap { stroke-dashoffset: 0; }
.auth-input__eye:focus-visible { outline: 2px solid var(--a-orange-2); outline-offset: -4px; }
.auth-input__action {
    position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; margin-right: 5px; padding: 9px 12px;
    border: 0; border-radius: 9px; background: var(--a-tint);
    color: var(--a-orange-text); font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer;
    font-variant-numeric: tabular-nums;   /* the countdown doesn't wobble */
    transition: background-color .2s ease, color .2s ease;
}
.auth-input__action:hover { background: #ffe8db; }
.auth-input__action:disabled { background: #f2f2f3; color: var(--a-muted); cursor: default; }
.auth-input__action:focus-visible { outline: 2px solid var(--a-orange-2); outline-offset: 2px; }
/* Busy: spinner over the hidden label, so the width stays */
.auth-input__action[aria-busy="true"] { color: transparent; }
.auth-input__action[aria-busy="true"]::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border: 2px solid rgba(194, 60, 0, .25); border-top-color: var(--a-orange-text); border-radius: 50%; animation: auth-spin .7s linear infinite;
}
/* Countdown ring; its duration is OTP_WAIT in auth.js */
.auth-input__action.is-wait { background: #f6f3f1; color: var(--a-text); }
.auth-ring { width: 16px; height: 16px; flex: none; transform: rotate(-90deg); }
.auth-ring circle { fill: none; stroke: #e6e1dd; stroke-width: 2.5; }
.auth-ring .auth-ring__left { stroke: var(--a-orange-2); stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.auth-input__action.is-again { animation: auth-bump .45s cubic-bezier(.2, .8, .2, 1); }   /* ready to send again */
@keyframes auth-bump { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }
/* Code boxes glow in turn */
.auth-code__box.is-glow { animation: auth-glow 1.1s ease-out calc(var(--i, 0) * 70ms) backwards; }
@keyframes auth-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 97, 26, .45); }
    70% { box-shadow: 0 0 0 10px rgba(255, 97, 26, 0); }
    100% { box-shadow: 0 0 0 10px rgba(255, 97, 26, 0); }
}
/* auth.js draws the boxes over one hidden real input so SMS autofill and paste keep working */
.auth-code-row { display: flex; align-items: stretch; gap: 12px; }
.auth-code { position: relative; flex: none; display: grid; grid-template-columns: repeat(var(--code-len, 4), 46px); gap: 8px; }
.auth .auth-code__input {
    position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; outline: 0;
    background: transparent; color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent;
    font-size: 16px; letter-spacing: -.5em; cursor: text;
}
.auth .auth-code__input::selection { background: transparent; }
.auth .auth-code__input:-webkit-autofill { transition: background-color 600000s 0s, color 600000s 0s; }   /* no autofill tint over the boxes */
.auth-code__box {
    height: 50px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 12px; background: #f4f1ee;
    font-size: 20px; font-weight: 700; line-height: 1; color: var(--a-ink); font-variant-numeric: tabular-nums;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.auth-code__box.is-filled { border-color: var(--a-line); background: #fff; }
.auth-code__box.is-active { border-color: var(--a-orange-2); background: #fff; box-shadow: 0 0 0 3px rgba(255, 97, 26, .14); }
.auth-code__box.is-active:empty::after { content: ""; width: 2px; height: 20px; border-radius: 1px; background: var(--a-orange); animation: auth-caret 1s steps(1) infinite; }
@keyframes auth-caret { 50% { opacity: 0; } }
.auth-code__box.is-pop { animation: auth-digit .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes auth-digit { from { transform: scale(.84); } to { transform: none; } }
.auth-code.is-invalid .auth-code__box { border-color: #f04438; background: #fffbfa; }
.auth-code.is-invalid .auth-code__box.is-active { box-shadow: 0 0 0 3px rgba(217, 45, 32, .10); }
/* "Get code" button */
.auth-code-row .auth-input__action {
    flex: 1 1 auto; min-width: 0; justify-content: center; margin: 0; padding: 0 12px; border-radius: 12px;
    white-space: normal; text-align: center; line-height: 1.2;   /* a long label may take two lines rather than overflow */
}
.auth-code-row .auth-input__action.is-wait { white-space: nowrap; }
.auth-wait__short { display: none; }
.auth-hint { margin-top: 6px !important; font-size: 13px; color: var(--a-muted); }
.auth-hint.is-ok { display: flex; gap: 6px; align-items: flex-start; color: #067647; }
.auth-hint svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.auth-hint.is-new { animation: auth-pop .3s cubic-bezier(.2, .8, .2, 1); }
/* Tick draw-in */
.auth-hint.is-ok path, .auth-submit.is-done path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: auth-draw .4s .12s ease-out forwards; }
@keyframes auth-draw { to { stroke-dashoffset: 0; } }
.auth-error { margin-top: 6px !important; font-size: 13px; color: #b42318; }
.auth-error:empty { display: none; }
.auth-row { display: flex; justify-content: flex-end; margin: -6px 0 18px; }
.auth .auth-link { color: var(--a-orange-text); font-weight: 600; text-decoration: none; font-size: 14px; }
.auth .auth-link:hover { color: var(--a-orange-text); text-decoration: underline; text-underline-offset: 3px; }

/* Server message toasts; auth.js appends them to <body>, outside .auth */
.auth-toasts {
    position: fixed; z-index: 1100;   /* over the navbar's dropdowns (1000), under the chat button (9999) */
    top: 76px; left: 50%; transform: translateX(-50%); width: min(440px, calc(100vw - 32px));
    display: grid; pointer-events: none; font-size: 14px; line-height: 1.45;
}
.auth-toasts :where(span, a, strong, p) { color: inherit; font-size: inherit; }
.auth-toasts *, .auth-toasts *::before, .auth-toasts *::after { box-sizing: border-box; }
.auth-toasts svg { padding: 0; }
.auth-toast {
    position: relative; overflow: hidden; pointer-events: auto;
    display: flex; align-items: flex-start; gap: 10px; padding: 12px 10px 14px 12px;
    border-radius: 14px; background: #fff; color: #1f2329;
    box-shadow: 0 0 0 1px rgba(17, 17, 17, .06), 0 18px 40px -14px rgba(17, 17, 17, .32);
    animation: auth-toast-in .4s cubic-bezier(.2, .9, .25, 1.15) both;
}
/* The old toast fades out in place so nothing jumps */
.auth-toast.is-out { position: absolute; top: 0; left: 0; right: 0; z-index: -1; animation: auth-toast-out .22s ease-in forwards; }
.auth-toast__icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.auth-toast__icon svg { width: 16px; height: 16px; }
.auth-toast.is-error .auth-toast__icon { background: #fee4e2; color: #d92d20; }
.auth-toast.is-ok .auth-toast__icon { background: #dcfae6; color: #079455; }
.auth-toast__body { flex: 1; min-width: 0; padding-top: 4px; font-weight: 500; overflow-wrap: anywhere; }
.auth-toast__extra a { color: #c23c00; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-toast__extra a:hover { color: #c23c00; }
.auth-toast__close {
    flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px;
    background: transparent; color: #6b7280; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.auth-toast__close:hover { background: #f3f4f6; color: #1f2329; }
.auth-toast__close:focus-visible { outline: 2px solid #ff611a; outline-offset: 1px; }
.auth-toast__close svg { width: 16px; height: 16px; }
.auth-toast__bar {
    position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; transform-origin: left;
    animation: auth-toast-bar var(--toast-ms, 6s) linear forwards;
}
.auth-toast.is-error .auth-toast__bar { background: #f04438; }
.auth-toast.is-ok .auth-toast__bar { background: #17b26a; }
.auth-toast.is-held .auth-toast__bar { animation-play-state: paused; }
@keyframes auth-toast-in { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes auth-toast-out { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes auth-toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.auth-submit {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
    width: 100%; height: 52px; border: 0; border-radius: 12px; cursor: pointer;
    background: linear-gradient(135deg, #ff6c1f 0%, var(--a-orange) 100%); color: #fff;
    font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .01em;
    box-shadow: 0 12px 24px -12px rgba(255, 80, 0, .7);
    isolation: isolate;   /* the white layer below sits over the orange but under the label */
    transition: color .2s ease, box-shadow .2s ease, opacity .2s ease;
}
/* Hover: a white layer fades in under the label; the arrow gains its shaft */
.auth-submit::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
    background: #fff; box-shadow: inset 0 0 0 1.5px var(--a-orange);
    opacity: 0; transition: opacity .2s ease, background-color .1s ease;
}
.auth-submit:hover:not(:disabled) { color: var(--a-orange); box-shadow: 0 10px 22px -14px rgba(255, 80, 0, .55); }
.auth-submit:hover:not(:disabled)::after { opacity: 1; }
.auth-submit:active:not(:disabled)::after { background-color: #fff1e8; }
.auth-submit .auth-submit__arrow {
    position: relative; top: .125em;   /* the font sits low in its line box */
    width: 10px; height: 10px; margin-left: -2px; overflow: visible;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.auth-submit__arrow-line { opacity: 0; transition: opacity .2s ease; }
.auth-submit__arrow-head { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.auth-submit:hover:not(:disabled) .auth-submit__arrow-line, .auth-submit:focus-visible .auth-submit__arrow-line { opacity: 1; }
.auth-submit:hover:not(:disabled) .auth-submit__arrow-head, .auth-submit:focus-visible .auth-submit__arrow-head { transform: translateX(3px); }
.auth-submit:focus-visible { outline: 2px solid var(--a-orange-2); outline-offset: 3px; }
.auth-submit:disabled { cursor: default; }
/* Busy state */
.auth-submit[aria-busy="true"] { cursor: progress; }
.auth-submit[aria-busy="true"]::before {
    content: ""; position: absolute; inset: 0; transform: translateX(-100%);
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .3) 50%, transparent 80%);
    animation: auth-sheen 1.1s ease-in-out infinite;
}
@keyframes auth-sheen { to { transform: translateX(100%); } }
.auth-submit__spin {
    flex: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
    border-radius: 50%; animation: auth-spin .7s linear infinite;
}
.auth-submit svg { flex: none; width: 20px; height: 20px; }
/* Done state */
.auth-submit.is-done {
    background: linear-gradient(135deg, #20ad69 0%, #12804a 100%); box-shadow: 0 12px 24px -12px rgba(18, 128, 74, .7);
    animation: auth-bump .45s cubic-bezier(.2, .8, .2, 1);
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
@keyframes auth-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.auth-terms { margin: 2px 0 18px !important; font-size: 13px; color: var(--a-muted); }
.auth-foot { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid #efeae6; text-align: center; font-size: 14px; color: var(--a-text); }

/* Login modal (#modalLogin, _ViewStart.cshtml), overriding the site's .modal rules */
.auth.auth--modal {
    position: relative; display: block; min-height: 0; margin: 0; padding: 0; min-width: 0;
    background: transparent; border: 0; border-radius: 24px; box-shadow: none; font-family: inherit;
}
#modalLogin.show { display: flex !important; align-items: flex-start; padding: 16px 0 !important; }
#modalLogin .modal-dialog {
    top: auto; width: calc(100% - 32px); max-width: 440px; margin: auto;
    transform: translateY(20px) scale(.98); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}
#modalLogin.show .modal-dialog { transform: none; }
.auth--modal .auth__card { animation: none; padding: 32px 28px 24px; box-shadow: 0 30px 80px -24px rgba(17, 17, 17, .45); }
.auth--modal .auth__title { padding-right: 40px; }   /* clear of the close button */
.auth-modal__close {
    position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center;
    padding: 0; border: 0; border-radius: 50%; background: #f4f1ee; color: var(--a-muted); cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.auth-modal__close:hover { background: #ebe5e0; color: var(--a-ink); }
.auth-modal__close:focus-visible { outline: 2px solid var(--a-orange-2); outline-offset: 2px; }
.auth-modal__close svg { width: 18px; height: 18px; }
body:has(#modalLogin.show) .modal-backdrop.show { opacity: 1; background: rgba(23, 18, 15, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@media (max-width: 575.98px) {
    .auth--modal .auth__card { padding: 26px 20px 22px; border-radius: 20px; }
    .auth.auth--modal { border-radius: 20px; }
    .auth-modal__close { top: 12px; right: 12px; width: 32px; height: 32px; }
    .auth--modal .auth__title { padding-right: 26px; font-size: 21px; }   /* "Welcome back to [logo]" stays on one line on a 375px phone */
}

/* Short windows (720px laptops): fit the form without a scrollbar */
@media (max-height: 760px) {
    .auth { padding-top: calc(var(--a-nav) + 20px); padding-bottom: 32px; }
}
@media (max-width: 991.98px) {
    .auth__wrap { grid-template-columns: minmax(0, 480px); justify-content: center; }
    .auth__banner { display: none; }
}
@media (max-width: 575.98px) {
    .auth { padding: calc(var(--a-nav) + 16px) 0 28px; }   /* the login form fits a 375×667 phone without scrolling */
    .auth-toasts { top: 80px; }
    .auth-seg { margin: 20px 0 18px; }
    /* Phone: slimmer code boxes, short countdown label */
    .auth-code-row { gap: 8px; }
    .auth-code { grid-template-columns: repeat(var(--code-len, 4), 42px); gap: 6px; }
    .auth-code-row .auth-input__action { padding: 0 8px; }
    .auth-input__action.is-wait .auth-wait__long { display: none; }
    .auth-input__action.is-wait .auth-wait__short { display: inline; }
    .auth__wrap { padding: 0 16px; }   /* the section is full-bleed, so this is the only side margin */
    .auth__card { padding: 26px 20px 22px; border-radius: 20px; }
    .auth__title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-submit, .auth-seg__btn, .auth-input, .auth-seg__pill, .auth-pane, .auth-seg__btn svg { transition: none; }
    .auth__card, .auth__banner, .auth-toast, .auth-toast.is-out, .auth__card.is-shake, .auth-code__box.is-glow,
    .auth-code__box.is-pop, .auth-hint.is-new,
    .auth-input__action.is-again, .auth-submit.is-done, .auth-submit[aria-busy="true"]::before { animation: none; }
    .auth-hint.is-ok path, .auth-submit.is-done path { animation: none; stroke-dashoffset: 0; }
    .auth-ring .auth-ring__left, .auth-eye__slash, .auth-eye__gap { transition: none; }
    .auth-toast__bar { display: none; }
    #modalLogin .modal-dialog { transition: none; transform: none; }
    .auth-submit__spin, .auth-input__action[aria-busy="true"]::after { animation-duration: 2s; }
}
