:root {
  --bg-app: #09090b;
  --bg-surface: #121216;
  --bg-elevated: #1a1a20;
  --border: #2a2a33;
  --accent: #e11d2e;
  --accent-hover: #f42537;
  --text: #f5f5f7;
  --muted: #9898a6;
  --ok: #16a34a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  background: var(--bg-app);
  color: var(--text);
  min-height: 100vh;
}

.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 11px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: #23232b;
}

.auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.brand {
  text-align: center;
  margin-bottom: 28px;
}

.brand h1 {
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand span {
  color: var(--accent);
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-app);
  color: var(--text);
  font-size: 0.95rem;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.error-text {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 10px;
  min-height: 18px;
}
