/* Neova Online: the sign-in and invitation pages, in the app's own colors (Neova violet on the dark night of the window) */
:root { --bg: #0e0b1f; --card: #181433; --ink: #f2f0ff; --mute: #a8a3c7; --line: #2c2652; --accent: #7c6cf2; --bad: #ef5b5b; color-scheme: dark; }
@media (prefers-color-scheme: light) { :root { --bg: #f4f3fb; --card: #ffffff; --ink: #17142b; --mute: #5d587a; --line: #e2dff2; --accent: #5b4ae0; --bad: #c62828; color-scheme: light; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 600px at 20% -10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent), var(--bg); color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
.card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 32px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
header img { width: 44px; height: 44px; border-radius: 10px; }
header div { display: grid; line-height: 1.15; } header b { font-size: 20px; letter-spacing: -.01em; } header span { font-size: 15px; font-weight: 700; color: var(--mute); }
header em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 999px; padding: 3px 10px; }
h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.02em; }
.sub { color: var(--mute); margin: 0 0 18px; }
.err { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; } label small { font-weight: 400; color: var(--mute); }
input { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button { font: inherit; font-weight: 700; color: #fff; background: var(--accent); border: 0; border-radius: 10px; padding: 12px; cursor: pointer; margin-top: 4px; }
button:hover { filter: brightness(1.08); }
a { color: var(--accent); }
