/* Six native-input positions fold into one server-confirmed MedHoje check. */
#doctor-mfa-access h2{font-size:26px;font-weight:500;letter-spacing:-.025em}
.auth-mfa-description{margin:8px 0 28px;color:var(--muted);font-size:13px;line-height:1.7}
.auth-mfa-footer{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:20px}
.auth-mfa-footer .link-button,.auth-mfa-alternative{min-height:44px;font-size:12px}
.auth-mfa-alternative{margin-top:10px}
.auth-otp{position:relative;height:58px;isolation:isolate;perspective:500px;margin:7px 0 9px}
.auth-otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;height:100%}
.auth-otp-box{display:flex;align-items:center;justify-content:center;border:1px solid var(--control);border-radius:8px;background:var(--surface);font-size:24px;font-weight:500;font-variant-numeric:tabular-nums;transform-origin:center;transition:transform 260ms cubic-bezier(.16,1,.3,1),opacity 160ms ease-out}
.auth-otp:focus-within .auth-otp-box.active{outline:2px solid var(--action);outline-offset:2px}
.auth-access-form .auth-otp input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0!important;background:transparent;color:transparent;caret-color:transparent;box-shadow:none;outline:0;font-size:16px;z-index:2}
.auth-otp:has(input[aria-invalid=true]) .auth-otp-box{border-color:var(--danger)}
.auth-otp-check{position:absolute;left:calc(50% - 29px);top:0;width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:var(--action);color:var(--on-action,#fff);border-radius:10px;opacity:0;transform:scale(.9);transition:opacity 140ms ease-out 220ms,transform 180ms ease-out 220ms}
.auth-otp-check svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.auth-otp.confirmed .auth-otp-box{transform:translateX(calc((2.5 - var(--otp-i)) * (100% + 8px))) rotateY(80deg) scale(.85);opacity:0}
.auth-otp.confirmed .auth-otp-check{opacity:1;transform:scale(1)}
.auth-mfa-status{min-height:20px;margin:0 0 14px;font-size:12px;color:var(--action)}
.auth-mfa-codes{font-size:13px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap;user-select:all}
.auth-mfa-footer button:active,.auth-mfa-alternative:active{transform:scale(.98)}
@media(max-width:420px){.auth-otp-boxes{gap:5px}.auth-otp-box{font-size:21px}.auth-otp.confirmed .auth-otp-box{transform:translateX(calc((2.5 - var(--otp-i)) * (100% + 5px))) rotateY(80deg) scale(.85)}}
@media(prefers-reduced-motion:reduce){.auth-otp-box,.auth-otp-check{transition:opacity 80ms ease-out;transform:none!important}.auth-mfa-footer button:active,.auth-mfa-alternative:active{transform:none}}
