/* auth.css — блок авторизации одним файлом: вход, регистрация, восстановление
   пароля, личный кабинет и страница 404 (у неё такая же карточка). */

.auth { max-width: 460px; } /*форма не растягивается на всю ширину колонки: длинные поля неудобно читать*/

/* Страница входа и 404 вне каркаса сайта (login.tb, password.tb, errors/404.tb):
   тёмный экран, карточка по центру */
.auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: var(--pad-x);
    background: var(--graphite);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: clamp(24px, 4vw, 36px);
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
}

.auth-card h1 { font-size: 1.5rem; text-align: center; }

/* Личный кабинет: пары «подпись — значение» карточкой вместо <pre>.
   --prose держит строки той же ширины, что и текст статьи: 1192px на пару слов не нужно */
.info-list {
    max-width: var(--prose);
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-card);
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--hairline);
}

.info-list li:last-child { border-bottom: 0; }
.info-list li span:first-child { color: var(--muted); }
