/**
 * Unified auth pages design - login, signup, forgot-password
 */
.auth-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.5rem;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}
[data-theme="dark"] .auth-navbar {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: rgba(148, 163, 184, 0.1);
}
.auth-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.1rem;
}
.auth-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--auth-focus), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.auth-nav-actions { display: flex; align-items: center; gap: 12px; }
.auth-nav-link {
  color: var(--auth-focus);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.auth-nav-link:hover { text-decoration: underline; }

:root {
  --auth-focus: #a256f7;
  --auth-focus-glow: rgba(162, 86, 247, 0.25);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

[data-theme="dark"] .auth-card {
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.auth-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--auth-focus), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.auth-brand span {
  font-size: 1.25rem;
  font-weight: 700;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.auth-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auth-form .btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

.auth-form .btn-primary {
  background: linear-gradient(135deg, var(--auth-focus), #8b5cf6);
  color: #fff;
  transition: opacity 0.3s ease;
}

.auth-form .btn-primary:hover {
  opacity: 0.95;
}

.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--auth-focus);
}

.auth-message {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.auth-message.error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.auth-message.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.auth-step {
  display: none;
}

.auth-step.active {
  display: block;
}

.trial-badge {
  display: inline-block;
  background: rgba(162, 86, 247, 0.15);
  color: var(--auth-focus);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.recaptcha-wrap {
  margin: 1rem 0;
  min-height: 78px;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem;
  }
}
