.auth-page{min-height:760px;padding-bottom:48px}
.auth-topbar{padding-top:20px}
.auth-shell{max-width:980px;margin:28px auto 0;display:grid;grid-template-columns:minmax(0,1fr) 430px;overflow:hidden;border:1px solid rgba(15,23,42,.1);border-radius:28px;background:#fff;box-shadow:0 22px 55px rgba(15,23,42,.1)}
.auth-intro{padding:42px;background:linear-gradient(135deg,rgba(17,24,39,.92),rgba(69,48,31,.82)),url("images/texwiki-2.jpg") center/cover;color:#fff;display:flex;flex-direction:column;justify-content:center}
.auth-kicker{margin-bottom:10px;color:rgba(255,255,255,.72);font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.auth-intro h1{margin-bottom:14px;font-size:clamp(1.8rem,3vw,2.5rem);font-weight:700}
.auth-intro p{max-width:420px;margin:0;color:rgba(255,255,255,.84)}
.auth-card{padding:34px}
.auth-card h2{margin-bottom:8px;font-size:1.55rem;font-weight:700}
.auth-subtitle{margin-bottom:24px;color:#64748b}
.auth-alert{margin-bottom:18px;padding:12px 14px;border-radius:12px;font-size:.95rem}
.auth-alert.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.auth-alert.success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}
.auth-field+.auth-field{margin-top:16px}
.auth-label{display:block;margin-bottom:7px;font-size:.9rem;font-weight:600;color:#334155}
.auth-input{width:100%;padding:12px 14px;border:1px solid rgba(15,23,42,.16);border-radius:12px;background:#fff}
.auth-input:focus{outline:none;border-color:#111827;box-shadow:0 0 0 4px rgba(17,24,39,.08)}
.auth-button{width:100%;margin-top:22px;padding:12px 16px;border:0;border-radius:12px;background:#111827;color:#fff;font-weight:700}
.auth-button:hover,.auth-button:focus{background:#000;color:#fff}
.auth-switch{margin-top:20px;color:#64748b;text-align:center}
.auth-switch a{color:#111827;font-weight:700}
@media(max-width:800px){.auth-shell{grid-template-columns:1fr}.auth-intro{padding:28px 22px}.auth-card{padding:24px 20px}}
