/* ============================================================
   VoiceScribe — Auth pages (split-screen)
   ============================================================ */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* Left decorative panel */
.auth__aside {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #1A1A1A 0%, #0A0A0A 60%);
  padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth__aside::before {
  content: ''; position: absolute; top: -10%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,.22), transparent 60%);
  pointer-events: none;
}
.auth__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; position: relative; }
.auth__brand svg { color: var(--accent); }
.auth__quote { position: relative; max-width: 420px; }
.auth__quote h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 20px; }
.auth__quote h2 .accent-text { color: var(--accent); }
.auth__quote p { color: var(--text-secondary); }
.auth__wave { display: flex; align-items: center; gap: 5px; height: 80px; margin-bottom: 28px; position: relative; }
.auth__wave i {
  width: 6px; height: 100%; border-radius: 3px;
  background: linear-gradient(to top, var(--accent), rgba(245,158,11,.45));
  transform: scaleY(.18); transform-origin: center;
  animation: wave 1.3s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes wave {
  0%, 100% { transform: scaleY(.18); opacity: .45; }
  50%      { transform: scaleY(1);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .auth__wave i { animation: none; transform: scaleY(.5); opacity: .6; }
}

/* Right form panel */
.auth__main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth__card { width: 100%; max-width: 400px; }
.auth__card h1 { font-size: 2rem; margin-bottom: 8px; }
.auth__card > p.muted { margin-bottom: 32px; }
.auth__alt { text-align: center; margin-top: 24px; color: var(--text-secondary); font-size: .92rem; }
.auth__alt a { color: var(--accent); font-weight: 600; }
.auth__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .9rem; }
.auth__row label { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.auth__row a { color: var(--accent); }

/* Password strength meter */
.pw-meter { display: flex; gap: 6px; margin-top: 8px; }
.pw-meter span { flex: 1; height: 4px; border-radius: 2px; background: var(--bg-border); transition: background .25s ease; }
.pw-meter.s1 span:nth-child(1) { background: var(--error); }
.pw-meter.s2 span:nth-child(-n+2) { background: var(--warning); }
.pw-meter.s3 span:nth-child(-n+3) { background: var(--info); }
.pw-meter.s4 span { background: var(--success); }
.pw-hint { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }

.auth__notice { padding: 16px; border-radius: var(--radius); background: var(--accent-dim); border: 1px solid rgba(245,158,11,.3); margin-bottom: 24px; font-size: .9rem; }
.auth__success { text-align: center; }
.auth__success .icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(16,185,129,.15); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }

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