/* Login, recuperación y páginas de error */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--surface); }
.auth__panel { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 48px clamp(24px, 6vw, 88px); }
.auth__brand { display: flex; align-items: center; gap: 12px; }
.auth__brand img { border-radius: 50%; }
.auth__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.auth__name span { color: var(--brand); }
.auth__tag { font-size: 0.8rem; color: var(--muted); }
.auth__card { width: 100%; max-width: 420px; }
.auth__title { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth__subtitle { color: var(--muted); margin-bottom: 22px; }
.auth__foot { font-size: 0.78rem; color: var(--faint); max-width: 420px; }
.auth .btn .icon { width: 16px; height: 16px; }
.auth a .icon { display: inline-block; vertical-align: -3px; }

.auth__showcase { position: relative; overflow: hidden; display: flex; align-items: center; padding: 56px; background: radial-gradient(1200px 600px at 110% -10%, #2b4cff 0%, transparent 55%), radial-gradient(900px 500px at -10% 110%, #7515ff 0%, transparent 55%), linear-gradient(160deg, #0b1122 0%, #10183a 100%); color: #e8ecff; }
.auth__glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 125, 255, 0.35), transparent 65%); filter: blur(10px); animation: float 9s ease-in-out infinite; }
.auth__showcase-inner { position: relative; max-width: 520px; }
.auth__eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #9fb6ff; }
.auth__showcase h2 { margin: 14px 0 22px; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; font-weight: 750; letter-spacing: -0.03em; color: #fff; }
.auth__points { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.auth__points li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: #cbd5ff; }
.auth__points .icon { width: 20px; height: 20px; padding: 7px; box-sizing: content-box; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.auth__mock { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); animation: rise-in 600ms var(--ease) both; }
.auth__mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.auth__mock-line { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.22); }
.w-45 { width: 45%; } .w-60 { width: 60%; } .w-70 { width: 70%; }
.auth__mock-pill { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; background: rgba(60, 207, 145, 0.18); color: #6ee7b7; }
.auth__mock-pill--amber { background: rgba(245, 165, 36, 0.18); color: #fcd34d; }
.auth__mock-pill--blue { background: rgba(79, 125, 255, 0.22); color: #a5b8ff; }
.dot--blue { background: #4f7dff; } .dot--violet { background: #a78bfa; } .dot--green { background: #34d399; }
.auth__mock-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; padding-top: 16px; }
.auth__mock-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #4f7dff, rgba(79, 125, 255, 0.35)); transform-origin: bottom; animation: grow 900ms var(--ease) both; }
.auth__mock-bars .b1 { height: 35%; } .auth__mock-bars .b2 { height: 55%; animation-delay: 80ms; } .auth__mock-bars .b3 { height: 45%; animation-delay: 160ms; }
.auth__mock-bars .b4 { height: 70%; animation-delay: 240ms; } .auth__mock-bars .b5 { height: 62%; animation-delay: 320ms; } .auth__mock-bars .b6 { height: 88%; animation-delay: 400ms; background: linear-gradient(180deg, #a78bfa, rgba(167, 139, 250, 0.35)); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, 24px); } }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(800px 400px at 50% -10%, var(--brand-50), transparent 70%), var(--bg); }
.error-page__card { max-width: 520px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.error-page__card img { border-radius: 50%; }
.error-page__code { font-size: 4rem; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.error-page h1 { font-size: 1.2rem; font-weight: 650; color: var(--text-2); }

@media (max-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__showcase { display: none; }
  .auth__panel { padding: 32px 20px; }
}
