/* ============================================
   Auth-Seiten (Login, Registrierung, Passwort)
   An die Website-Farben (Landing/Style) angepasst
   ============================================ */

.auth-page {
  --auth-primary: #6d28d9;
  --auth-primary-light: #8b5cf6;
  --auth-primary-bg: #f5f3ff;
  --auth-text: #1f2937;
  --auth-text-muted: #6b7280;
  --auth-border: #e5e7eb;
  --auth-surface: #ffffff;
  --auth-radius: 16px;
  --auth-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --auth-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  min-height: 60vh;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--auth-primary-bg) 0%, #ede9fe 50%, #faf5ff 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  box-shadow: var(--auth-shadow-lg);
}

.auth-card h1,
.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--auth-text);
  margin: 0 0 0.5rem;
  text-align: center;
}

.auth-card .auth-subtitle {
  font-size: 0.9375rem;
  color: var(--auth-text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-card .form-label {
  font-weight: 500;
  color: var(--auth-text);
}

.auth-card .form-control {
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
}

.auth-card .form-control:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2);
}

.auth-card .btn-auth-primary {
  width: 100%;
  font-weight: 600;
  color: #fff;
  background: var(--auth-primary);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.auth-card .btn-auth-primary:hover {
  background: var(--auth-primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
}

.auth-card .auth-link {
  color: var(--auth-primary);
  font-weight: 500;
  text-decoration: none;
}

.auth-card .auth-link:hover {
  color: var(--auth-primary-light);
  text-decoration: underline;
}

.auth-card .auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--auth-border);
  font-size: 0.9375rem;
  color: var(--auth-text-muted);
}

.auth-card .alert {
  border-radius: 10px;
}

.auth-card .alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #166534;
}

.auth-card .alert-danger,
.auth-card .alert-info {
  background: rgba(109, 40, 217, 0.08);
  border-color: rgba(109, 40, 217, 0.2);
  color: var(--auth-text);
}

/* Konto-Bereich (Passwort ändern) */
.auth-section {
  max-width: 480px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  box-shadow: var(--auth-shadow);
}

.auth-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--auth-text);
  margin: 0 0 1rem;
}

.auth-section .form-control:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2);
}

.auth-section .btn-auth-primary {
  width: auto;
  min-width: 140px;
  font-weight: 600;
  color: #fff;
  background: var(--auth-primary);
  border: none;
  border-radius: 12px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.auth-section .btn-auth-primary:hover {
  background: var(--auth-primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
}
