/* Auth Pages — Login, Signup, Forgot Password, Reset Password */

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
  background: #f3f4f6;
}

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

.auth-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 24px;
}
.auth-brand a { color: inherit; text-decoration: none; }

.auth-card h1 {
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.auth-card .auth-subtitle {
  color: #6b7280;
  margin: 0 0 24px;
  font-size: 0.9rem;
}

.auth-field { margin-bottom: 14px; }

.auth-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.auth-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}
.auth-field input:focus { outline: none; border-color: var(--color-primary); }

.auth-submit {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
}

.auth-msg {
  font-size: 0.875rem;
  margin-top: 12px;
  display: none;
  text-align: center;
}
.auth-msg-success { color: #16a34a; }
.auth-msg-error { color: #dc2626; }

.auth-links {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}
.auth-links a {
  color: var(--color-primary);
  text-decoration: none;
}
.auth-links a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
}
