/* NORTRONIX auth surface: quiet, high-contrast and deliberately spacious. */
:root {
  --auth-ink: #0a0f16;
  --auth-ink-soft: #111b24;
  --auth-signal: #00aeef;
  --auth-mint: #34d399;
  --auth-paper: #f4f7f6;
  --auth-line: #d8e2de;
  --auth-muted: #708078;
}

html { min-height: 100%; }
body.auth-page {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--auth-paper);
  color: var(--auth-ink);
}

.auth-layout {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
}

.auth-aside {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(32px, 5vw, 70px) clamp(28px, 6vw, 86px) 36px;
  background: var(--auth-ink);
  color: #fff;
}
.auth-aside::before,
.auth-aside::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(0,174,239,.19);
  border-radius: 50%;
  pointer-events: none;
}
.auth-aside::before { width: 560px; height: 560px; right: -300px; bottom: -230px; }
.auth-aside::after { width: 360px; height: 360px; right: -190px; bottom: -130px; border-color: rgba(52,211,153,.14); }

.auth-brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; text-decoration: none; font-size: 15px; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
.auth-brand-panel { color: #fff; }
.auth-brand-mark { display: inline-flex; align-items: flex-end; gap: 4px; height: 25px; }
.auth-brand-mark i { display: block; width: 9px; height: 19px; border-radius: 2px; background: var(--auth-mint); transform: skew(-24deg); }
.auth-brand-mark i + i { height: 25px; background: #fff; }
.auth-aside-copy { max-width: 390px; margin: auto 0; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #7e96a8; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.auth-eyebrow i { display: block; width: 20px; height: 2px; background: var(--auth-signal); }
.auth-aside-copy h2 { margin: 25px 0 18px; font-size: clamp(40px, 4.2vw, 66px); line-height: .98; letter-spacing: -.065em; font-weight: 700; text-wrap: balance; }
.auth-aside-copy h2 em { color: var(--auth-signal); font-style: normal; }
.auth-aside-copy p { max-width: 330px; margin: 0; color: #9aabb6; font-size: 13px; line-height: 1.75; text-wrap: pretty; }
.auth-aside-modules { display: flex; flex-wrap: wrap; gap: 8px; max-width: 380px; margin-top: 48px; }
.auth-aside-modules span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 4px; color: #bfccd2; font-size: 10px; letter-spacing: .03em; }
.auth-aside-foot { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 7px 9px; margin-top: 36px; color: #cbd7dc; font-size: 10px; }
.auth-aside-foot small { grid-column: 2; color: #718490; font-size: 9px; }
.auth-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--auth-mint); box-shadow: 0 0 0 4px rgba(52,211,153,.13); }

.auth-pane { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 44px 36px; }
.auth-brand-mobile { display: none; color: var(--auth-ink); }
.auth-card { width: min(100%, 526px); padding: clamp(32px, 5vw, 52px); border: 1px solid var(--auth-line); border-radius: 12px; background: #fff; box-shadow: 0 22px 70px rgba(10,15,22,.08); }
.auth-intro h1 { margin: 16px 0 10px; font-size: clamp(34px, 4vw, 50px); line-height: 1; letter-spacing: -.065em; font-weight: 700; }
.auth-eyebrow-light { color: #7a8b87; }
.auth-intro p { max-width: 360px; margin: 0 0 36px; color: var(--auth-muted); font-size: 14px; line-height: 1.6; }
.auth-form { display: grid; gap: 20px; }
.auth-form label { display: grid; gap: 8px; color: var(--auth-ink); font-size: 11px; font-weight: 800; }
.auth-form input[type=text], .auth-form input[type=password] { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--auth-line); border-radius: 6px; background: #fbfdfc; color: var(--auth-ink); font: inherit; font-size: 13px; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.auth-form input::placeholder { color: #a0ada8; }
.auth-form input:focus { border-color: var(--auth-signal); background: #fff; box-shadow: 0 0 0 3px rgba(0,174,239,.12); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 84px !important; }
.password-wrap button { position: absolute; top: 0; right: 10px; height: 50px; padding: 0 5px; border: 0; background: transparent; color: #72818a; font: inherit; font-size: 10px; cursor: pointer; }
.password-wrap button:hover { color: var(--auth-ink); }
.auth-options { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: center; gap: 14px; font-weight: 500 !important; }
.check-label { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px !important; color: #718078 !important; font-size: 11px !important; font-weight: 500 !important; cursor: pointer; }
.check-label input { width: 15px; height: 15px; margin: 0; accent-color: var(--auth-mint); }
.auth-options a { color: #718078; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.auth-options a:hover { color: var(--auth-ink); }
.auth-form .button { min-height: 52px; border-radius: 6px; font-size: 14px; background: var(--auth-ink); }
.auth-form .button:hover { background: #17232d; transform: translateY(-1px); }
.form-error { min-height: 17px; margin: 0; color: #bd5f64; font-size: 11px; }
.auth-footer { width: min(100%, 526px); margin: 18px 0 0; color: #8b9995; font-size: 10px; line-height: 1.6; text-align: center; }
.auth-footer a { color: #687974; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .auth-layout { display: block; }
  .auth-aside { display: none; }
  .auth-pane { min-height: 100vh; min-height: 100svh; justify-content: flex-start; padding: 28px 20px 24px; }
  .auth-brand-mobile { display: inline-flex; align-self: flex-start; margin: 0 auto 42px 0; }
  .auth-card { padding: 32px 24px; }
}
@media (max-width: 460px) {
  .auth-pane { padding-inline: 14px; }
  .auth-brand-mobile { margin-bottom: 30px; }
  .auth-card { padding: 28px 19px; border-radius: 10px; }
  .auth-intro h1 { font-size: 35px; }
  .auth-intro p { margin-bottom: 28px; }
  .auth-options { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-form input, .auth-form .button { transition: none; }
}
