* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  background: #f5f5f5;
  color: #404041;
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.auth-brand {
  text-align: center;
  margin-bottom: 32px;
}
.auth-brand img { height: 32px; width: auto; }
.auth-brand-sub {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888889;
  margin-top: 8px;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.06);
  padding: 40px;
  max-width: 420px;
  width: calc(100% - 32px);
}

.auth-card h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.auth-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}

.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.auth-card input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  margin-bottom: 16px;
}

.auth-card input[type="email"]:focus {
  border-color: #1a1a1a;
}

.btn, .auth-card button {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 120ms ease;
}

.btn:hover, .auth-card button:hover { background: #404041; }

.auth-card .msg-ok { color: #1d4427; font-size: 14px; }
.auth-card .msg-err { color: #b91c1c; font-size: 14px; }

.auth-card a:not(.btn) { color: #1a1a1a; font-weight: 600; }
