/* Standalone styles for the login wall — deliberately not importing the app's
   stylesheet, since that file is only served to authenticated visitors. */
:root {
  --bg: #0d0f16;
  --surface: #161a26;
  --surface-2: #1e2333;
  --border: #2a3045;
  --ink: #eef0f7;
  --ink-2: #b3bacd;
  --ink-3: #8891ab;
  --bad: #f87171;
  --grad: linear-gradient(120deg, #8b5cf6, #06b6d4);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb; --surface: #ffffff; --surface-2: #eceff7; --border: #d5dae8;
    --ink: #161a27; --ink-2: #4a5266; --ink-3: #5d6680;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, #8b5cf6 22%, transparent) 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: 'Rubik', 'Segoe UI', system-ui, sans-serif;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 28px;
  width: 100%; max-width: 380px;
  text-align: center;
}

.logo { font-size: 3rem; line-height: 1; margin-bottom: 10px; }
h1 {
  font-size: 1.6rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--ink-3); font-size: .9rem; margin-bottom: 22px; }

form { display: flex; flex-direction: column; gap: 6px; text-align: start; }
label { font-size: .82rem; color: var(--ink-2); margin-top: 8px; }

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: inherit; font-size: 1rem;
}
input:focus { outline: 2px solid #8b5cf6; outline-offset: 1px; }

button {
  margin-top: 18px;
  padding: 13px 20px;
  border: none; border-radius: 12px;
  background: var(--grad); color: #fff;
  font-family: inherit; font-size: 1.05rem; font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: default; }

.err { color: var(--bad); font-size: .88rem; min-height: 1.3em; margin-top: 10px; text-align: center; }
.foot { color: var(--ink-3); font-size: .78rem; margin-top: 20px; }
