:root {
  color-scheme: dark;
  --bg: #060b13;
  --panel: rgba(14, 22, 34, 0.84);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f7ff;
  --muted: #92a2b9;
  --accent: #29d96f;
  --accent-2: #6657ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(102, 87, 255, 0.24), transparent 26%),
    linear-gradient(135deg, #101827 0%, var(--bg) 100%);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 27, 41, 0.96), rgba(10, 16, 27, 0.88));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  line-height: 1.15;
}

.subtitle,
.hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.login-form {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.field-label {
  font-weight: 700;
}

input[type="email"],
input[type="password"],
input[type="number"],
input[type="text"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  color: #07110b;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent), #7ef0a2);
}

button:hover {
  transform: translateY(-1px);
}

.ghost-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.message {
  min-height: 1.25rem;
  margin: 0;
  color: #ff8f9d;
  font-weight: 600;
}

.message.success {
  color: var(--accent);
}
