.nro-auth-page {
  --nro-brand: #1d31a2;
  --nro-brand-hover: #16267e;
  --nro-navy: #04162d;
  --nro-heading: #242424;
  --nro-text: #4a4a4a;
  --nro-muted: #667085;
  --nro-surface: #f4f6f8;
  --nro-info: #e1f0ff;
  --nro-gold: #d8a21b;
  --nro-border: #d9dee7;
  align-items: center;
  background: radial-gradient(circle at 18% 12%, rgba(29,49,162,.18), transparent 30%), var(--nro-surface);
  color: var(--nro-text);
  display: flex;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  margin: 0 calc(50% - 50vw);
  min-height: min(860px, 100vh);
  padding: 48px 24px;
  width: 100vw;
}

.nro-auth-page *,
.nro-auth-page *::before,
.nro-auth-page *::after { box-sizing: border-box; }
.nro-auth-layout { background: #fff; border: 1px solid var(--nro-border); border-radius: 20px; box-shadow: 0 18px 48px rgba(4,22,45,.14); display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, .75fr); margin: 0 auto; max-width: 1050px; min-height: 650px; overflow: hidden; width: 100%; }
.nro-auth-side { background: radial-gradient(circle at 80% 10%, rgba(29,49,162,.75), transparent 32%), linear-gradient(145deg, #04162d, #08355f); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 64px; position: relative; }
.nro-auth-side::after { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; content: ""; inset: 0; mask-image: linear-gradient(to left, #000, transparent); pointer-events: none; position: absolute; }
.nro-auth-side > * { position: relative; z-index: 1; }
.nro-auth-brand { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .12em; margin-bottom: 72px; }
.nro-auth-brand span { background: var(--nro-gold); border-radius: 999px; color: var(--nro-navy); margin-left: 7px; padding: 5px 9px; }
.nro-auth-kicker { color: #8cc8ff; font-size: 12px; font-weight: 800; letter-spacing: .13em; margin: 0 0 15px; text-transform: uppercase; }
.nro-auth-side h1,
.nro-auth-panel h1 { color: #fff; font-family: inherit; font-size: clamp(36px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.nro-auth-side > p:not(.nro-auth-kicker) { color: #dce4ee; font-size: 17px; line-height: 1.65; margin: 22px 0 0; }
.nro-auth-side ul { display: grid; gap: 10px; list-style: none; margin: 30px 0 0; padding: 0; }
.nro-auth-side li { align-items: center; color: #fff; display: flex; font-size: 14px; gap: 10px; }
.nro-auth-side li::before { background: var(--nro-gold); border-radius: 999px; content: ""; height: 7px; width: 7px; }
.nro-auth-card { align-self: center; padding: 50px 46px; }
.nro-auth-card .nro-auth-kicker { color: var(--nro-brand); }
.nro-auth-card h2 { color: var(--nro-heading); font-family: inherit; font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 28px; }
.nro-auth-form label,
.nro-auth-magic label { color: var(--nro-heading); display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.nro-auth-form input[type="text"],
.nro-auth-form input[type="email"],
.nro-auth-form input[type="password"],
.nro-auth-magic input[type="text"],
.nro-auth-magic input[type="email"] { background: #fff; border: 1px solid #b8c1ce; border-radius: 10px; color: var(--nro-heading); font-family: inherit; font-size: 16px; min-height: 50px; padding: 12px 14px; width: 100%; }
.nro-auth-form input:focus,
.nro-auth-magic input:focus { border-color: var(--nro-brand); box-shadow: 0 0 0 3px rgba(29,49,162,.28); outline: 0; }
.nro-auth-form p { margin: 0 0 18px; }
.nro-auth-form input[type="submit"],
.nro-auth-form button[type="submit"],
.nro-auth-magic button,
.nro-auth-magic input[type="submit"],
.nro-auth-primary { align-items: center; background: var(--nro-brand) !important; border: 0 !important; border-radius: 10px !important; color: #fff !important; cursor: pointer; display: inline-flex; font-family: inherit !important; font-size: 16px !important; font-weight: 700 !important; justify-content: center; min-height: 50px; padding: 13px 22px !important; text-decoration: none !important; transition: background .16s ease, transform .16s ease; width: 100%; }
.nro-auth-form input[type="submit"]:hover,
.nro-auth-form button[type="submit"]:hover,
.nro-auth-magic button:hover,
.nro-auth-magic input[type="submit"]:hover,
.nro-auth-primary:hover { background: var(--nro-brand-hover) !important; transform: translateY(-1px); }
.nro-auth-form .login-remember label { align-items: center; color: var(--nro-muted); display: flex; font-size: 13px; font-weight: 400; gap: 8px; }
.nro-auth-divider { align-items: center; display: flex; gap: 10px; margin: 24px 0; }
.nro-auth-divider::before,
.nro-auth-divider::after { background: var(--nro-border); content: ""; flex: 1; height: 1px; }
.nro-auth-divider span { color: var(--nro-muted); font-size: 11px; white-space: nowrap; }
.nro-auth-magic h3 { color: var(--nro-heading); font-family: inherit; font-size: 17px; margin: 0 0 4px; }
.nro-auth-magic > p { color: var(--nro-muted); font-size: 12px; margin: 0 0 14px; }
.nro-auth-help { color: var(--nro-brand); display: inline-block; font-size: 13px; font-weight: 700; margin-top: 22px; text-decoration: underline; text-underline-offset: 3px; }
.nro-auth-note { border-top: 1px solid var(--nro-border); color: var(--nro-muted); font-size: 11px; line-height: 1.5; margin: 23px 0 0; padding-top: 17px; }
.nro-auth-panel { background: linear-gradient(145deg, #04162d, #08355f); border-radius: 20px; box-shadow: 0 18px 48px rgba(4,22,45,.18); color: #dce4ee; margin: 0 auto; max-width: 650px; padding: 58px; text-align: center; width: 100%; }
.nro-auth-panel .nro-auth-brand { margin-bottom: 42px; }
.nro-auth-panel h1 { font-size: 42px; }
.nro-auth-panel p { line-height: 1.6; margin: 18px 0 28px; }
.nro-auth-secondary { color: #fff; display: inline-block; font-size: 13px; font-weight: 700; margin-top: 18px; text-decoration: underline; text-underline-offset: 3px; }
.nro-auth-page a:focus-visible,
.nro-auth-page button:focus-visible,
.nro-auth-page input:focus-visible { outline: 3px solid rgba(29,49,162,.28); outline-offset: 2px; }

@media (max-width: 850px) {
  .nro-auth-page { padding: 28px 18px; }
  .nro-auth-layout { grid-template-columns: 1fr; }
  .nro-auth-side { padding: 46px 38px; }
  .nro-auth-brand { margin-bottom: 45px; }
  .nro-auth-card { padding: 42px 38px; }
}

@media (max-width: 520px) {
  .nro-auth-page { align-items: flex-start; padding: 0; }
  .nro-auth-layout { border: 0; border-radius: 0; min-height: 100vh; }
  .nro-auth-side { padding: 38px 22px 42px; }
  .nro-auth-side h1 { font-size: 36px; }
  .nro-auth-card { padding: 38px 22px 48px; }
  .nro-auth-card h2 { font-size: 29px; }
  .nro-auth-panel { border-radius: 0; min-height: 100vh; padding: 46px 22px; }
  .nro-auth-panel h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .nro-auth-page *,
  .nro-auth-page *::before,
  .nro-auth-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
