/* ==========================================================================
   Sign in / Register
   ========================================================================== */
.auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { position: relative; overflow: hidden; border-right: 1px solid var(--border); background: var(--bg-sidebar); padding: var(--s-10); display: flex; flex-direction: column; justify-content: space-between; }
.auth-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.35; mask-image: radial-gradient(circle at 30% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 30% 40%, #000, transparent 70%); }
.auth-side > * { position: relative; }
.auth-quote { max-width: 440px; }
.auth-quote h2 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; }
.auth-quote p { color: var(--text-2); margin-top: 14px; font-size: var(--text-md); }
.auth-points { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.auth-points div { display: flex; gap: 10px; align-items: center; color: var(--text-2); font-size: var(--text-sm); }
.auth-points .icon { color: var(--text); }
.auth-foot { font-size: var(--text-xs); color: var(--muted); }

.auth-main { display: flex; flex-direction: column; padding: var(--s-6); }
.auth-top { display: flex; justify-content: space-between; align-items: center; }
.auth-top .mobile-logo { display: none; }
.auth-top-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.auth-form-wrap { flex: 1; display: grid; place-items: center; padding: var(--s-8) 0; }
.auth-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: var(--s-5); }
.auth-card h1 { font-size: var(--text-2xl); letter-spacing: -0.03em; }
.auth-card .lead { color: var(--text-2); margin-top: 6px; }
.auth-form { display: flex; flex-direction: column; gap: var(--s-4); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--text-sm); }
.auth-row a { color: var(--text-2); }
.auth-row a:hover { color: var(--text); }
.auth-alt { text-align: center; color: var(--text-2); font-size: var(--text-sm); }
.auth-alt a { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.auth-alt a:hover { text-decoration-color: var(--text); }
.form-alert { display: none; }
.form-alert.is-visible { display: flex; }
.avail { font-size: var(--text-xs); display: inline-flex; align-items: center; gap: 4px; }
.avail.ok { color: var(--success); }
.avail.taken { color: var(--error); }
