/* ─── AUTH PAGE SPECIFIC STYLES ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  z-index: 1;
}

.auth-brand {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo {
  height: 100px;
  width: auto;
  margin-bottom: 12px;
  animation: float-pulse 3s ease-in-out infinite;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@keyframes float-pulse {
  0%, 100% { transform: scale(2.6) translateY(0); filter: drop-shadow(0 5px 15px rgba(139,92,246,0.4)); }
  50%       { transform: scale(2.6) translateY(-4px); filter: drop-shadow(0 15px 25px rgba(139,92,246,0.8)); }
}
.auth-brand-name {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.auth-brand-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 32px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--border-active);
  animation: card-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.auth-tab.active {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 2px 12px rgba(139,92,246,0.4);
}
.auth-tab:not(.active):hover { color: var(--text-primary); }

/* Forms */
.auth-form { display: flex; flex-direction: column; gap: 20px; }

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Password Strength */
.pwd-strength-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.pwd-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0%;
}
.pwd-label {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
}

.auth-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: -4px;
}
.auth-switch a {
  color: var(--accent-1);
  text-decoration: none;
  font-weight: 600;
}
.auth-switch a:hover { text-decoration: underline; }

.auth-footer {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
