/* HELPi3 sign-in / MFA pages. From the "HELPi3 Initial MF Design" Figma Make file (auth-page styles),
   converted to plain CSS (no Tailwind). Used by Views/Home/*.helpi3.cshtml. */
:root {
  --navy: #242b3f;
  --red: #b52f36;
  --red-dark: #94242b;
  --red-pale: #fbefef;
  --amber: #d69a2d;
  --green: #29895c;
  --ink: #20232b;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }

.auth-page { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px 32px; background: var(--navy); overflow: hidden; }
.auth-page::before { content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -330px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 95px rgba(255,255,255,.025), 0 0 0 190px rgba(255,255,255,.018); }
.auth-page::after { content: ""; position: fixed; height: 7px; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, var(--red) 0 57%, var(--amber) 57%); }

.auth-context { position: relative; z-index: 1; width: min(450px, 100%); color: white; text-align: center; }
.auth-brand { position: relative; width: 166px; height: 62px; margin: 0 auto 26px; color: white; text-align: left; }
.auth-brand-word { display: inline-block; font-size: 43px; font-weight: 250; letter-spacing: 3px; line-height: 1; }
.auth-brand small { position: absolute; left: 71px; top: 45px; color: #f26a6f; font-size: 9px; font-weight: 850; letter-spacing: 5px; text-transform: lowercase; }
.auth-brand-orbit { position: absolute; width: 33px; height: 33px; left: 112px; top: 0; border: 2px dashed #e7ad43; border-radius: 50%; }
.auth-brand-orbit::after { content: ""; position: absolute; width: 9px; height: 9px; left: -6px; top: 8px; border-radius: 50%; background: #d94349; }
.auth-kicker { display: block; margin-bottom: 14px; color: #e9b44c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.auth-context h1 { margin: 0 0 27px; font-size: clamp(29px, 3vw, 39px); font-weight: 520; line-height: 1.08; letter-spacing: -.04em; }
.auth-context p { max-width: 490px; margin: 0 auto 24px; color: #c4cad5; font-size: 15px; line-height: 1.65; }
.auth-shield { width: 60px; height: 68px; display: grid; place-items: center; margin: 0 auto 24px; color: white; background: var(--green); clip-path: polygon(50% 0, 93% 16%, 88% 67%, 50% 100%, 12% 67%, 7% 16%); font-size: 26px; font-weight: 800; }

.auth-panel { position: relative; z-index: 1; width: min(450px, 100%); display: flex; flex-direction: column; align-items: center; }
.auth-card { width: min(450px, 100%); padding: 38px 40px; border: 1px solid #d8dce2; border-top: 5px solid var(--red); border-radius: 10px; background: white; box-shadow: 0 22px 55px rgba(32,38,52,.1); }
.auth-card-heading { margin-bottom: 29px; }
.eyebrow { display: block; margin-bottom: 9px; color: var(--red); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.auth-card-heading h2 { margin: 0 0 9px; color: #202530; font-size: 28px; line-height: 1.16; letter-spacing: -.035em; }
.auth-card-heading p { margin: 0; color: #68717e; font-size: 12px; line-height: 1.55; }
.auth-card-heading p strong { color: #313945; }
.auth-field { display: grid; gap: 8px; margin-bottom: 19px; color: #363e49; font-size: 11px; font-weight: 800; }
.auth-card input:not([type="checkbox"]):not([type="hidden"]), .auth-card select { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #adb5c0; border-radius: 6px; color: var(--ink); background: white; font-size: 14px; }
.auth-card input:focus, .auth-card select:focus { outline: 2px solid rgba(181,47,54,.35); outline-offset: 1px; border-color: var(--red); }
.auth-card input::placeholder { color: #959ca6; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -2px 0 24px; }
.auth-check { display: flex; align-items: center; gap: 8px; color: #5c6571; font-size: 11px; cursor: pointer; }
.auth-check input { accent-color: var(--red); }
.auth-captcha { display: flex; justify-content: center; margin: -4px 0 22px; }
.auth-link, .auth-resend button, .auth-back { padding: 0; border: 0; border-bottom: 1px solid currentColor; color: #343c48; background: transparent; font-size: 11px; font-weight: 750; text-decoration: none; cursor: pointer; }
.auth-submit { width: 100%; min-height: 51px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 6px; color: white; background: var(--red); font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 15px rgba(181,47,54,.18); }
.auth-submit:hover { background: var(--red-dark); }
.auth-error, .field-validation-error { display: block; margin: -8px 0 16px; padding: 10px 12px; border-left: 3px solid var(--red); color: #8f252b; background: var(--red-pale); font-size: 11px; line-height: 1.45; }
.auth-error a { color: #8f252b; font-weight: 800; }
.field-validation-valid, .validation-summary-valid { display: none; }
.auth-success { margin: -8px 0 16px; padding: 10px 12px; border-left: 3px solid var(--green); color: #1d6643; background: #eef8f2; font-size: 11px; }
.auth-notice { margin: -8px 0 16px; padding: 10px 12px; border-left: 3px solid var(--amber); color: #6b4c12; background: #fff6e5; font-size: 11px; font-weight: 700; }
.auth-help { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e5e9; color: #69727e; font-size: 10px; line-height: 1.5; }
.auth-help-icon { color: var(--amber); font-weight: 900; }
.auth-legal { margin: 18px 0 0; color: #aeb5c1; font-size: 9px; text-align: center; }
.auth-back { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 26px; color: #66707c; }
.verification-input { text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 23px !important; font-weight: 750; letter-spacing: .36em; padding-left: calc(14px + .36em) !important; }
.code-help { display: block; margin: -11px 0 22px; color: #7c8490; font-size: 9px; }
.auth-resend { display: grid; justify-items: center; gap: 6px; margin-top: 22px; color: #747d88; font-size: 10px; }

@media (max-width: 640px) {
  .auth-page { justify-content: flex-start; padding: 30px 15px 28px; overflow-y: auto; }
  .auth-brand { height: 50px; margin: 0 auto 20px; transform: scale(.82); transform-origin: center top; }
  .auth-context h1 { margin-bottom: 20px; font-size: 30px; }
  .auth-context p { font-size: 13px; }
  .auth-shield { display: none; }
  .auth-card { padding: 28px 22px; }
  .auth-card-heading h2 { font-size: 24px; }
}
