/* ── Login page ──────────────────────────────────────────────────────────── */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}
.auth-bg { position: fixed; inset: 0; pointer-events: none; }
.auth-bg .hero-orb { filter: blur(160px); opacity: .08; }

/* Blur the cherry background image on the login page */
body::before { filter: blur(6px) brightness(1.05); transform: scale(1.04); }
.auth-logo {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  z-index: 10;
}
.auth-logo span { color: var(--accent); }

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: .5rem; }
.auth-header p  { color: var(--text-muted); font-size: .92rem; }

.auth-form { display: flex; flex-direction: column; gap: 1.25rem; }

/* Password toggle */
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 3rem; width: 100%; }
.toggle-pw {
  position: absolute;
  right: .4rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: color var(--transition);
}
.toggle-pw:hover { color: var(--text); }
.toggle-pw svg { width: 18px; height: 18px; }

.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
}
.auth-back {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.auth-back:hover { color: var(--text); }
