/* Auth Pages - Login/Register */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 860px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: modalPopIn 280ms var(--ease-out);
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  transform: translateX(-50%);
  opacity: 0.7;
  pointer-events: none;
}

.auth-card > * {
  position: relative;
}

.auth-card-narrow {
  max-width: 440px;
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-card .subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.auth-card .logo {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* Icon-Header fuer alle Auth-Seiten */
.auth-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
}
.auth-icon svg { width: 26px; height: 26px; }
.auth-header { text-align: center; margin-bottom: 1.75rem; }
.auth-header h1 { font-size: 1.7rem; letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.auth-header p { font-size: 0.9rem; color: var(--text-muted); }

.auth-inline-notice {
  margin-bottom: 1rem;
  padding: 12px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.password-strength {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin-top: 0.5rem;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
}
