/* ============================================================
   planregister.de — Auth Styles (Login / Register)
   ============================================================ */

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-brand {
  background: var(--earth);
  color: var(--white);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: var(--space-3xl);
  position: relative; overflow: hidden;
}
.auth-brand::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(124,154,110,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,168,67,0.1) 0%, transparent 50%);
}
.auth-brand-content { position: relative; z-index: 1; max-width: 400px; text-align: center; }
.auth-brand-logo {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  margin-bottom: var(--space-md);
}
.auth-brand-logo span { color: var(--sage-light); }
.auth-brand-tagline {
  font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.5;
  font-family: var(--font-display); font-style: italic;
}
.auth-brand-stats {
  display: flex; gap: var(--space-xl); margin-top: var(--space-2xl);
  justify-content: center;
}
.auth-brand-stat { text-align: center; }
.auth-brand-stat-value {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--amber-light);
}
.auth-brand-stat-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 4px;
}

.auth-form-wrap {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: var(--space-3xl);
  background: var(--bg);
}
.auth-form {
  width: 100%; max-width: 380px;
}
.auth-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 500;
  margin-bottom: var(--space-xs);
}
.auth-form-subtitle {
  color: var(--earth-50); margin-bottom: var(--space-xl);
  font-size: 0.9rem;
}
.auth-error {
  background: #FFEBEE; color: #C62828;
  padding: 10px 14px; border-radius: var(--radius-md);
  font-size: 0.85rem; margin-bottom: var(--space-md);
  display: none;
}
.auth-error.visible { display: block; }
.auth-divider {
  display: flex; align-items: center; gap: var(--space-md);
  margin: var(--space-lg) 0; color: var(--earth-30); font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer {
  text-align: center; margin-top: var(--space-lg);
  font-size: 0.85rem; color: var(--earth-50);
}
.auth-footer a { color: var(--sage-dark); font-weight: 500; }

@media (max-width: 768px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-form-wrap { padding: var(--space-xl); }
}
