/* n0ri theme for the Authelia sign-in pages (injected by Caddy). Only colours/type/shape — no behaviour changes. */
@import url("/n0ri/fonts.css");
html[data-theme] {
  --radius: 14px;
  --primary: #1d6bff; --primary-foreground: #ffffff; --ring: #1d6bff;
  --secondary: #7a5cff; --secondary-foreground: #ffffff;
  --info: #1d6bff; --success: #12935f; --warning: #c07a12; --destructive: #d8432c;
}
html[data-theme="light"] {
  --background: #f6f7fb; --foreground: #0b1636; --card: #ffffff; --card-foreground: #0b1636; --popover: #ffffff; --popover-foreground: #0b1636;
  --muted: #eef1f8; --muted-foreground: #6b7593; --accent: #eef1f8; --accent-foreground: #0b1636; --border: rgba(11,22,54,.10); --input: rgba(11,22,54,.12);
}
html[data-theme="dark"], html[data-theme="grey"], html[data-theme="oled"] {
  --background: #070b1c; --foreground: #eef2ff; --card: #0f1631; --card-foreground: #eef2ff; --popover: #0f1631; --popover-foreground: #eef2ff;
  --muted: #141d3d; --muted-foreground: #8f9bc2; --accent: #141d3d; --accent-foreground: #eef2ff; --border: rgba(255,255,255,.09); --input: rgba(255,255,255,.12);
  --primary: #4d8dff; --ring: #4d8dff; --secondary: #9b84ff;
}
body, button, input, label { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important; -webkit-font-smoothing: antialiased; }
body { background: var(--background) !important; }

/* hide vendor footer + language switcher */
a[href*="authelia.com"], #language-button { display: none !important; }

/* logo with the n0ri glow */
img.mx-auto.my-2.w-16 { width: 92px !important; position: relative; filter: drop-shadow(0 10px 30px color-mix(in srgb, #12c8e6 35%, transparent)); }

/* headings */
h5, h4, h3 { font-family: "Sora", "Inter", system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: -.02em; }
#first-factor-stage h5, [id$="-stage"] h5 { font-size: 30px !important; margin-top: 6px; }

/* inputs */
input.peer.h-14 { border-radius: 16px !important; background: var(--card) !important; border-color: var(--input) !important; font-size: 16px !important; }
input.peer.h-14:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent) !important; }

/* buttons: pill shaped, no shouting caps */
button.inline-flex.items-center.justify-center { border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; font-size: 16px !important; min-height: 50px; }
#sign-in-button { background: #0b1636 !important; color: #ffffff !important; }
html[data-theme="dark"] #sign-in-button { background: #eef2ff !important; color: #070b1c !important; }
#passkey-sign-in-button { background: linear-gradient(135deg, #1d6bff, #7a5cff) !important; color: #fff !important; }

/* cards/dialogs in settings */
[role="dialog"], .rounded-lg, .rounded-xl { border-radius: 22px !important; }
