/* Auth pages: login, register */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

/* ── Left panel: visual ─────────────────────────────────── */
.auth-visual {
  position: relative;
  overflow: hidden;
  background: #08081600;
}
.auth-visual__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 30% 40%, rgba(109,40,217,.5) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 70% 70%, rgba(139,92,246,.25) 0%, transparent 60%),
    linear-gradient(180deg, #0A0A18 0%, #120A24 100%);
}
.auth-visual__content {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
}
.auth-visual__logo {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: #fff; letter-spacing: -.02em;
}
.auth-visual__logo span { color: var(--violet-400); }

.auth-visual__quote {
  max-width: 380px;
}
.auth-visual__quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}
.auth-visual__quote cite {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--violet-300);
  font-style: normal;
}

.auth-visual__features { display: flex; flex-direction: column; gap: .75rem; }
.auth-visual__feature {
  display: flex; align-items: center; gap: .75rem;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.auth-visual__feature-icon {
  width: 32px; height: 32px; border-radius: var(--radius);
  background: rgba(139,92,246,.18);
  border: 1px solid rgba(139,92,246,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-300); flex-shrink: 0;
}
.auth-visual__feature-icon svg { width: 15px; height: 15px; }

/* Floating orbs */
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: drift 8s ease-in-out infinite alternate;
}
.auth-orb--1 {
  width: 300px; height: 300px;
  top: -80px; right: -60px;
  background: rgba(109,40,217,.35);
  animation-delay: 0s;
}
.auth-orb--2 {
  width: 200px; height: 200px;
  bottom: 10%; left: -40px;
  background: rgba(139,92,246,.2);
  animation-delay: -3s;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(12px, -16px) scale(1.06); }
}

/* ── Right panel: form ──────────────────────────────────── */
.auth-form-panel {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--bg-surface);
}

.auth-box {
  width: 100%;
  max-width: 440px;
  animation: fadeUp .5s ease forwards;
}

.auth-box__header { margin-bottom: 2rem; }
.auth-box__eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet-400);
  margin-bottom: .6rem; display: flex; align-items: center; gap: .4rem;
}
.auth-box__title { margin-bottom: .35rem; }
.auth-box__subtitle { color: var(--text-muted); font-size: .875rem; }

.auth-box__form { display: flex; flex-direction: column; gap: 1rem; }

.auth-box__footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .845rem;
  color: var(--text-muted);
}

/* Password toggle */
.input-password { position: relative; }
.input-password input { padding-right: 3rem; }
.input-password__toggle {
  position: absolute; right: .75rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  display: flex; padding: .25rem;
  transition: color var(--transition);
}
.input-password__toggle:hover { color: var(--text-primary); }
.input-password__toggle svg { width: 17px; height: 17px; }

/* Password strength */
.password-strength { margin-top: .5rem; }
.password-strength__bars { display: flex; gap: .25rem; margin-bottom: .3rem; }
.password-strength__bar {
  flex: 1; height: 3px; border-radius: var(--radius-full);
  background: var(--border); transition: background .3s ease;
}
.password-strength__bar.active-weak   { background: var(--red-400); }
.password-strength__bar.active-medium { background: var(--amber-400); }
.password-strength__bar.active-strong { background: var(--green-400); }
.password-strength__label { font-size: .72rem; color: var(--text-muted); }

/* Mobile logo on form side */
.auth-mobile-logo {
  display: none;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.auth-mobile-logo span { color: var(--violet-400); }
@media (max-width: 900px) { .auth-mobile-logo { display: block; } }
