/* Shared presentation only: customer and manager authentication keep their existing handlers. */
.fm-auth-page{min-height:100svh;display:grid;align-content:center;padding:40px 18px;background:radial-gradient(ellipse at 12% 5%,#19334380,transparent 55%),radial-gradient(ellipse at 90% 95%,#163b3760,transparent 48%),#0b0e12;color:#f2f5f7}
.auth-redesign,.fa-page .auth-redesign{box-sizing:border-box;width:min(100% - 32px,540px);max-width:540px;margin:48px auto;padding:clamp(24px,5vw,44px);border:1px solid #34414e;border-radius:24px;background:linear-gradient(145deg,#202832ed,#12191ff5);box-shadow:0 24px 80px #0005;color:#f2f5f7;font-family:Arial,Helvetica,sans-serif;animation:auth-enter .24s ease-out both}
.fm-auth-page .auth-redesign{width:min(100%,540px);margin:0 auto}
.auth-redesign *{box-sizing:border-box;min-width:0}
.auth-redesign .brand{display:block;margin-bottom:32px}.auth-redesign .brand img{width:240px;max-width:100%;height:auto;display:block}
.auth-redesign h1,.fa-page .auth-redesign h1{font-size:clamp(27px,4vw,36px);line-height:1.16;letter-spacing:-.04em;margin:0 0 16px;color:#f7f9fb;text-align:left;font-weight:700}
.auth-redesign p,.auth-redesign .auth-intro{font-size:15px;line-height:1.65;color:#b4c1cf;margin:0 0 24px}
.auth-redesign .eyebrow,.auth-redesign .auth-eyebrow,.auth-redesign .f-recovery__eyebrow{font-size:11px;letter-spacing:.12em;color:#71d8e5;margin-bottom:14px}
.auth-redesign form,.auth-redesign .auth-form__form{display:grid;gap:20px;margin-top:24px}
.auth-redesign label,.auth-redesign .form-group{display:flex;flex-direction:column;gap:9px;font-size:14px;line-height:1.5;color:#e1e8ef;margin:0;text-align:left}
.auth-redesign input:not([type=hidden]):not([type=submit]):not([type=checkbox]):not([type=radio]),.auth-redesign select{width:100%;max-width:100%;height:50px;min-height:50px;border:1px solid #465462;border-radius:12px;background:#0d141a;color:#f7fafc;padding:12px 14px;font-size:16px;box-shadow:none;transition:border-color .16s ease-out,box-shadow .16s ease-out}
.auth-redesign input:focus-visible,.auth-redesign button:focus-visible,.auth-redesign a:focus-visible{outline:2px solid #75dcf0;outline-offset:3px}
.auth-redesign input::placeholder{color:#8092a4}.auth-redesign input.code{letter-spacing:.3em;font-size:22px;font-variant-numeric:tabular-nums}
.auth-redesign .button,.auth-redesign .btn,.auth-redesign button[type=submit],.auth-redesign input[type=submit]{min-height:50px;width:100%;display:flex;align-items:center;justify-content:center;white-space:normal;border:1px solid #72d9ed;border-radius:12px;background:#74d9ec;color:#07151b;font-size:15px;font-weight:700;line-height:1.4;text-decoration:none;padding:12px 18px;cursor:pointer;transition:background-color .16s ease-out,transform .16s ease-out}
.auth-redesign .button:hover,.auth-redesign .btn:hover{background:#a1e9f5}.auth-redesign .button:active,.auth-redesign .btn:active{transform:scale(.985)}
.auth-redesign .btn.ghost{border-color:#425462;color:#cedbe5;background:transparent}
.auth-redesign .auth-form__links,.auth-redesign .f-recovery__links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:24px;border-top:1px solid #34414e;padding-top:22px}
.auth-redesign a{color:#88def0;text-underline-offset:4px;font-size:14px}.auth-redesign .auth-back{display:block;text-align:center;margin-top:26px}
.auth-redesign .error,.auth-redesign .errortext,.auth-redesign .f-recovery__error{color:#ffd3d3;background:#632b342e;border:1px solid #954755;border-radius:12px;padding:14px;line-height:1.6;overflow-wrap:anywhere}
.auth-redesign .setup,.auth-redesign .f-recovery__notice{background:#142b3459;border:1px solid #395766;border-radius:12px;padding:16px;line-height:1.6;overflow-wrap:anywhere;color:#c4d3df}
.auth-redesign .secret{display:block;overflow-wrap:anywhere}.auth-redesign .f-recovery__captcha{max-width:100%;object-fit:contain}
.auth-redesign .auth-password{position:relative;width:100%}.auth-redesign .auth-password input{padding-right:86px!important}
.auth-redesign .auth-toggle{position:absolute;right:8px;top:8px;width:72px;height:34px;border:0;background:#22323d;color:#bedde7;border-radius:7px;font-size:12px;cursor:pointer}
.auth-redesign input[type=checkbox]{accent-color:#74d9ec;width:18px;height:18px}.auth-redesign label:has(input[type=checkbox]){display:block}
@keyframes auth-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:560px){.auth-redesign,.fa-page .auth-redesign{width:calc(100% - 24px);margin:24px auto;border-radius:18px}.fm-auth-page{padding:24px 12px}.auth-redesign .auth-form__links{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.auth-redesign,.auth-redesign *{animation:none!important;transition:none!important}}
