/* Auth pages — complements landing.css */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--pad-x);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.auth-card .lead {
  margin: 0 0 24px;
  color: var(--ink-muted);
  font-size: 15px;
}

.auth-form .field {
  margin-bottom: 16px;
}

.auth-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--ink);
}

.auth-form input:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: var(--cyan);
}

.auth-form .errorlist {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--rose);
  font-size: 13px;
}

.auth-form .non-field-errors {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: var(--rose);
  font-size: 14px;
}

.auth-form .helptext {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-fade);
}

.auth-actions {
  margin-top: 24px;
}

.auth-actions .btn {
  width: 100%;
  justify-content: center;
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-fade);
}

.auth-footer a {
  color: var(--cyan-soft);
}

.auth-footer a:hover {
  text-decoration: underline;
}
