/* Login template "smettly": the nexopt page set (login.css + auth.css) in the look of www.smettly.com.
 * Loaded after login.css and auth.css; only custom properties and a few rules change.
 * Brand values (www.smettly.com, static/site.css, 11/2026): Lato 400/700/900, red #DE2229 (hover #BD1C22),
 * navy #1A2B4C (ink and footer), muted #5B6B85, pill buttons in weight 900.
 * Lato: SIL Open Font License 1.1 (files as served by www.smettly.com, Google's latin / latin-ext split). */

@font-face { font-family: 'Lato sm'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/lato-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato sm'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/lato-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato sm'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/lato-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato sm'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/lato-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato sm'; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/lato-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato sm'; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/lato-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nx-navy-900: #111d35;
  --nx-navy-800: #16243f;
  --nx-navy-700: #1a2b4c;

  --nx-orange:     #de2229;
  --nx-orange-600: #bd1c22;
  --nx-orange-ink: #ffffff;

  --nx-surface-2: #f2f4f7;
  --nx-ink:   #1a2b4c;
  --nx-ink-2: #5b6b85;
  --nx-ink-3: #8592a8;
  --nx-line:        #dfe3ea;
  --nx-line-strong: #c6cdd9;

  --nx-ring: 0 0 0 3px rgba(222, 34, 41, 0.28);
  --nx-radius:    14px;
  --nx-radius-sm: 10px;

  --nx-font: 'Lato sm', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* dark: navy surfaces, a lighter red for text on them (#de2229 reads too dark there) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --nx-surface:   #0f1a2e;
    --nx-surface-2: #16243f;
    --nx-line:        #24365a;
    --nx-line-strong: #33496f;
    --nx-ink:   #eef1f6;
    --nx-ink-2: #a9b4c7;
    --nx-ink-3: #7e8ba2;
    --nx-orange-600: #ff5c62;
  }
}
:root[data-theme="dark"] {
  --nx-surface:   #0f1a2e;
  --nx-surface-2: #16243f;
  --nx-line:        #24365a;
  --nx-line-strong: #33496f;
  --nx-ink:   #eef1f6;
  --nx-ink-2: #a9b4c7;
  --nx-ink-3: #7e8ba2;
  --nx-orange-600: #ff5c62;
}

/* brand panel: Smettly navy with a red glow instead of the nexopt orange/blue light */
.nx-brand__inner {
  background:
    radial-gradient(115% 85% at 6% 106%, rgba(222, 34, 41, 0.22), transparent 58%),
    radial-gradient(85% 65% at 92% -10%, rgba(91, 107, 133, 0.22), transparent 60%),
    linear-gradient(163deg, var(--nx-navy-700) 0%, var(--nx-navy-800) 52%, var(--nx-navy-900) 100%);
}
.nx-brand__inner::before { background: none; }
.nx-brand__logo { width: min(190px, 58%); }
.nx-brand__headline { font-weight: 900; letter-spacing: -0.01em; }
.nx-brand__headline em { color: #ff4d53; }
.nx-brand__foot { font-family: var(--nx-font); letter-spacing: 0; }
.nx-brand__foot .nx-i { color: rgba(255, 92, 98, 0.85); }
.nx-panel__logo { width: 132px; }

#kc-page-title { font-weight: 900; letter-spacing: -0.01em; }

/* pill buttons in weight 900 as on www.smettly.com; the primary hovers to the darker red */
.nx-btn { border-radius: 99px; font-weight: 900; }
.nx-btn--primary:hover { background: #bd1c22; color: #fff; }
.nx-passkey { border-radius: 99px; font-weight: 700; }

@media (max-width: 900px) {
  .nx-brand__logo { width: 124px; }
}
