/* ==========================================================================
   Auth / landing pages (login, password reminder, request access)
   ========================================================================== */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.auth-hero {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6);
    padding: clamp(28px, 5vw, 64px); color: #eef2ff;
    background: radial-gradient(1200px 600px at 10% -10%, #4f46e5 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #0ea5e9 0%, transparent 55%), #14123a;
}
.auth-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px; }
.auth-hero > * { position: relative; z-index: 1; }
.auth-hero .brand img { height: 44px; filter: brightness(0) invert(1); }
.auth-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; max-width: 18ch; margin: 0 0 var(--space-4); }
.auth-hero p { color: #c7d2fe; max-width: 52ch; font-size: 1.02rem; margin: 0 0 var(--space-3); }
.auth-hero a { color: #fff; text-decoration: underline; }
.auth-points { display: grid; gap: var(--space-3); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.auth-points li { display: flex; gap: var(--space-3); align-items: flex-start; color: #e0e7ff; }
.auth-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #a5b4fc; }
.auth-foot { display: flex; align-items: center; gap: var(--space-4); color: #a5b4fc; font-size: .8rem; }
.auth-foot img { height: 30px; opacity: .9; }

.auth-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: var(--space-5); position: relative; background: var(--bg); }
.auth-panel .theme-toggle { position: absolute; top: var(--space-4); right: var(--space-4); }
.auth-card { width: min(420px, 100%); padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); }
.auth-card h2 { font-size: 1.45rem; margin-bottom: 4px; }
.auth-card .sub { color: var(--text-muted); margin: 0 0 var(--space-5); }
.auth-links { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); font-size: .85rem; }
.auth-links a { cursor: pointer; }
.auth-note { margin-top: var(--space-5); color: var(--text-muted); font-size: .74rem; text-align: center; }
.auth-view[hidden] { display: none; }
@media (max-width: 880px) {
    .auth { grid-template-columns: 1fr; }
    .auth-hero { padding: 28px 22px; gap: var(--space-5); }
    .auth-hero h1 { font-size: 1.7rem; }
    .auth-points, .auth-hero .auth-foot { display: none; }
    .auth-panel { padding: var(--space-4); margin-top: -24px; z-index: 2; }
}
