/* Геометрія файлу (локальні токени) */
:root {
    --tt-au-xw-460: 460px;
    --tt-au-w-17: 17px;
    --tt-au-h-17: 17px;
    --tt-au-w-40: 40px;
    --tt-au-h-40: 40px;
    --tt-au-h-50: 50px;
    --tt-au-sp-52: 52px;
    --tt-au-t-5: 5px;
}

/* Тілі-Тісто — вхід / реєстрація / скидання пароля: одна центрована картка (макет auth-login.html, варіант Б).
   Шапку й підвал тут дає фокус-лейаут (tt-focus.css). Вью: views/shop/{login,register,forgot-password,reset-password}.php.
   Повідомлення малює shop-account.js (.account-form__msg[--error|--success|--info]). */
.au-b { display: flex; align-items: flex-start; justify-content: center; padding: var(--tt-s-48) var(--tt-s-20) var(--tt-s-56); background: var(--shop-bg); }
.au-b .au-card { width: 100%; max-width: var(--tt-au-xw-460); padding: var(--tt-s-32) var(--tt-s-32) var(--tt-s-28); background: var(--shop-bg-elevated); border: 1px solid var(--c-line); border-radius: var(--shop-radius-lg); box-shadow: var(--shop-shadow-pop); }
.au-b .au-tabs { display: flex; gap: var(--tt-s-6); background: var(--c-dark-3); border-radius: var(--tt-radius-pill); padding: var(--tt-s-6); margin-bottom: var(--tt-s-26); }
.au-b .au-tabs a { flex: 1; text-align: center; padding: var(--tt-s-10) var(--tt-s-12); border-radius: var(--tt-radius-pill); font-family: var(--shop-font-ui); font-weight: 700; font-size: var(--shop-text-sm); color: var(--tt-color-dim); }
.au-b .au-tabs a.is-on { background: var(--shop-accent); color: var(--shop-on-accent); }
.au-b .au-h { font-family: var(--shop-font-display); font-size: var(--shop-text-3xl); line-height: 1.1; margin: 0 0 var(--tt-s-8); }
.au-b .au-sub { margin: 0 0 var(--tt-s-24); color: var(--tt-color-dim); font-size: var(--shop-text-sm); line-height: 1.5; }
.au-b .au-notice { margin: calc(-1 * var(--tt-s-12)) 0 var(--tt-s-20); padding: var(--tt-s-10) var(--tt-s-14); border-radius: var(--tt-radius-s); background: var(--tt-orange-a2); color: var(--shop-text); font-size: var(--shop-text-sm); line-height: 1.5; }

.au-b .au-fld { margin-bottom: var(--tt-s-16); }
.au-b .au-fld .tt-input { height: var(--tt-au-h-50); }
.au-b .au-pass { position: relative; }
.au-b .au-pass .tt-input { padding-right: var(--tt-au-sp-52); }
.au-b .au-pass button { position: absolute; right: var(--tt-s-6); top: var(--tt-au-t-5); width: var(--tt-au-w-40); height: var(--tt-au-h-40); border: 0; background: none; color: var(--tt-color-dim); cursor: pointer; font-size: var(--tt-text-15); }
.au-b .au-pass button:hover { color: var(--shop-accent); }
.au-b .au-formel .account-form__msg { margin: 0 0 var(--tt-s-16); padding: var(--tt-s-12) var(--tt-s-14); border-radius: var(--tt-radius-s); font-size: var(--shop-text-sm); line-height: 1.45; }
.au-b .au-formel .account-form__msg[hidden] { display: none; }
.au-b .au-formel .account-form__msg--error { background: var(--tt-error-a2); border: 1px solid var(--tt-error-a6); color: var(--c-error-soft); }
.au-b .au-formel .account-form__msg--success, .au-b .au-formel .account-form__msg--info { background: var(--tt-orange-a2); border: 1px solid var(--tt-orange-a6); color: var(--c-cream); }
.au-b .au-formel .account-form__msg a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: var(--tt-s-2); }
.au-b .au-formel .account-form__msg-extra { display: inline-block; margin-top: var(--tt-s-6); }
.au-b a.au-submit { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.au-b .au-submit { width: 100%; margin-top: var(--tt-s-4); }
.au-b .au-links { display: flex; justify-content: space-between; gap: var(--tt-s-12); flex-wrap: wrap; margin-top: var(--tt-s-18); font-size: var(--shop-text-sm); color: var(--tt-color-dim); }
.au-b .au-consent { display: flex; gap: var(--tt-s-10); align-items: flex-start; font-size: var(--tt-text-13); line-height: 1.5; color: var(--tt-color-dim); margin: var(--tt-s-2) 0 var(--tt-s-16); cursor: pointer; }
.au-b .au-consent input { accent-color: var(--shop-accent); width: var(--tt-au-w-17); height: var(--tt-au-h-17); margin-top: var(--tt-s-2); flex: none; }
.au-b .au-guest { display: flex; align-items: center; gap: var(--tt-s-12); margin-top: var(--tt-s-22); padding-top: var(--tt-s-20); border-top: 1px solid var(--c-line); font-size: var(--shop-text-sm); color: var(--tt-color-dim); }
.au-b .au-guest i { color: var(--shop-accent); font-size: var(--shop-text-lg); }

@media (max-width: 600px) {
    .au-b { padding: var(--tt-s-20) var(--tt-s-14) var(--tt-s-40); }
    .au-b .au-card { padding: var(--tt-s-24) var(--tt-s-18) var(--tt-s-22); }
    .au-b .au-h { font-size: var(--tt-text-28); }
}
