/* Страницы входа и регистрации. Токены, поля и кнопки — из ui.css; здесь только раскладка:
   на широком экране слева бренд-панель и справа форма, на узком — одна форма по центру. */

.auth{display:grid;grid-template-columns:minmax(0,1fr);min-height:100dvh}
.auth-brand{display:none;flex-direction:column;padding:48px;color:#fff;background:linear-gradient(135deg,#2f6fe0,#1d4ed8)}
.auth-brand .name{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700}
.auth-brand .name svg{width:18px;height:18px}
.auth-brand .pitch{max-width:400px;margin:auto 0;font-size:clamp(22px,2.3vw,30px);font-weight:650;line-height:1.25;letter-spacing:-.01em}
.auth-brand ul{display:flex;flex-direction:column;gap:12px;margin:32px 0 0;padding:0;list-style:none;font-size:14.5px}
.auth-brand li{display:flex;align-items:center;gap:10px}
.auth-brand .tick{display:grid;place-items:center;flex:none;width:22px;height:22px;border:1px solid rgba(255,255,255,.45);border-radius:50%;font-size:12px}

.auth-form{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px}
.auth-card{width:100%;max-width:380px}
.auth-logo{display:grid;place-items:center;width:44px;height:44px;margin-bottom:18px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent-hover));color:var(--accent-contrast)}
.auth-logo svg{width:24px;height:24px}
.auth-card h1{font-size:22px;font-weight:700;letter-spacing:-.01em}
.auth-card .muted{margin:4px 0 22px}
.auth-card input{height:40px;font-size:15px}
.auth-card button[type=submit]{width:100%;height:40px;margin-top:6px;font-size:14px}
.auth-card .err{min-height:18px;margin-top:10px;font-size:12.5px;color:var(--danger)}
.auth-alt{margin-top:18px;font-size:13px;color:var(--text-3);text-align:center}
.auth-alt a{font-weight:600}
.auth-alt .admin{display:block;margin-top:8px;font-size:12.5px;font-weight:500}
.auth-foot{margin-top:28px;font-size:12px;color:var(--text-4);text-align:center}
.auth-foot a{color:var(--text-3)}

@media (min-width:900px){
  .auth{grid-template-columns:minmax(0,44%) minmax(0,1fr)}
  .auth-brand{display:flex}
}
