:root {
  --bg: #0d0d0f;
  --card: #1a1a1f;
  --border: #2a2a32;
  --text: #ececf1;
  --muted: #8e8ea0;
  --accent: #10a37f;
  --accent-hover: #0d8c6d;
  --error: #ef4444;
  --radius: 12px;
}

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

body.auth-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(16, 163, 127, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 40%);
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

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

.logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #10a37f, #6366f1);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

form label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  margin-top: 14px;
}

form input {
  width: 100%;
  padding: 12px 14px;
  background: #111114;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

form input:focus {
  border-color: var(--accent);
}

form button {
  width: 100%;
  margin-top: 22px;
  padding: 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 560;
  cursor: pointer;
  transition: background 0.15s;
}

form button:hover {
  background: var(--accent-hover);
}

.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.switch {
  text-align: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.switch a {
  color: var(--accent);
  text-decoration: none;
}

.switch a:hover {
  text-decoration: underline;
}
