@font-face {
  font-family: Inter;
  src: url("/static/assets/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Figma NOX: Desktop 2:3 (1440×1024), Mobile 2:2 (402×874). */
.nox-auth {
  --nox-blue: #0663f5; --nox-navy: #091629; --nox-ink: #131f30;
  --nox-border: #d6dee8; --nox-placeholder: #96a3b2;
  margin: 0; background: #fff; color: var(--nox-ink); font-family: Inter, sans-serif;
}
.nox-auth *, .nox-auth *::before, .nox-auth *::after { box-sizing: border-box; }
.nox-auth h1, .nox-auth h2, .nox-auth h3, .nox-auth p { margin: 0; }
.nox-auth button, .nox-auth input { font: inherit; }
.nox-auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: max(1024px, 100svh); }
.nox-brand-panel { position: relative; overflow: hidden; background: var(--nox-navy); border-top: 8px solid var(--nox-blue); }
.nox-halo { position: absolute; display: block; pointer-events: none; }
.nox-halo-blue { left: 40%; top: 112px; }
.nox-halo-cyan { left: 64.1667%; top: 564px; }
.nox-brand-content { position: relative; margin: 202px 10% 80px; }
.nox-brand-content h2 { max-width: 570px; font-size: 54px; line-height: normal; font-weight: 700; color: #fff; }
.nox-brand-intro { max-width: 520px; margin-top: 52px !important; font-size: 22px; line-height: normal; color: #bacfe5; }
.nox-brand-accent { width: 88px; height: 5px; margin-top: 68px; background: #05adfa; border-radius: 2px; }
.nox-brand-benefits { display: grid; gap: 60px; margin-top: 47px; }
.nox-brand-benefits h3 { font-size: 18px; line-height: 22px; font-weight: 600; color: #fff; }
.nox-brand-benefits p { margin-top: 10px; font-size: 16px; line-height: 19px; color: #abc2d9; }
.nox-login-panel { display: flex; min-width: 0; flex-direction: column; align-items: center; padding: 104px 32px 34px; }
.nox-login-logo { display: block; width: 192px; height: 192px; object-fit: contain; }
.nox-login-panel h1 { margin-top: 61px; font-size: 34px; font-weight: 700; line-height: 41px; text-align: center; }
.nox-login-form { position: relative; display: grid; width: min(440px, 100%); margin-top: 60px; transform: translateX(10px); }
.nox-field + .nox-field { margin-top: 26px; }
.nox-field label { display: block; margin-bottom: 11px; font-size: 14px; line-height: 17px; font-weight: 600; }
.nox-field input { width: 100%; height: 56px; padding: 0 19px; border: 1px solid var(--nox-border); border-radius: 12px; background: #fff; color: var(--nox-ink); font-size: 16px; outline-offset: 3px; }
.nox-field input::placeholder { color: var(--nox-placeholder); opacity: 1; }
.nox-password-field { position: relative; }
.nox-password-field input { padding-right: 100px; }
.nox-password-toggle { position: absolute; right: 10px; top: 6px; min-height: 44px; min-width: 74px; padding: 0 8px; border: 0; background: transparent; color: var(--nox-blue); font-size: 13px !important; font-weight: 600 !important; cursor: pointer; }
.nox-password-toggle[hidden] { display: none; }
.nox-submit { width: 100%; height: 54px; margin-top: 80px; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--nox-blue); color: #fff; font-size: 16px; font-weight: 600 !important; cursor: pointer; }
.nox-auth button:focus-visible, .nox-auth input:focus-visible { outline: 2px solid var(--nox-blue); outline-offset: 3px; }
.nox-login-panel footer { width: min(440px, 100%); margin-top: auto; padding-top: 40px; transform: translateX(10px); text-align: center; color: var(--nox-placeholder); font-size: 12px; line-height: 14px; }
.nox-form-alert { margin-bottom: 24px; padding: 12px 16px; border: 1px solid #efb5b5; border-radius: 12px; background: #fff5f5; color: #a62020; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .nox-auth-shell { display: block; min-height: max(874px, 100svh); border-top: 6px solid var(--nox-blue); }
  .nox-brand-panel { display: none; }
  .nox-login-panel { min-height: max(868px, calc(100svh - 6px)); padding: 58px 32px 18px; }
  .nox-login-logo { width: 162px; height: 162px; }
  .nox-login-panel h1 { margin-top: 59px; font-size: 30px; line-height: 38px; }
  .nox-login-form { width: 100%; max-width: 440px; margin-top: 59px; transform: none; }
  .nox-field input { height: 54px; padding-left: 17px; }
  .nox-field + .nox-field { margin-top: 23px; }
  .nox-password-toggle { top: 5px; }
  .nox-submit { margin-top: 77px; }
  .nox-login-panel footer { transform: none; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .nox-brand-content h2 { font-size: 44px; }
  .nox-brand-intro { font-size: 20px; }
}
@media (max-width: 360px) {
  .nox-login-panel { padding-left: 20px; padding-right: 20px; }
  .nox-login-panel h1 { font-size: 27px; }
}
