/* Страницы входа, регистрации и восстановления пароля (отдельные документы
   движка, мимо main.tpl) — 27.09.2026. Палитра — переменные темы
   (светлая / .dt тёмная). */
body.auth-page { margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 18px; padding: 40px 16px; box-sizing: border-box; background: var(--bg-darker); color: var(--tt); font-family: 'Circe', sans-serif; }
.auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-logo { font-size: 28px; }
.auth { width: 100%; max-width: 440px; background: var(--bg); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.auth--wide { max-width: 620px; }
.auth__head { padding: 26px 28px 22px; background: var(--bgsm1); color: #fff; }
.auth__step { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.auth__title { margin: 0; font-size: 24px; font-weight: 700; }
.auth__subtitle { margin: 6px 0 0; font-size: 14px; font-weight: 400; line-height: 1.45; opacity: .9; }
.auth__body { padding: 24px 28px 26px; }
.auth__label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 7px 2px; font-size: 13px; font-weight: 700; color: var(--tt-fade); }
.auth__label a { font-weight: 400; color: var(--accent); text-decoration: none; }
.auth__hint { font-weight: 400; font-size: 12px; }
.auth__hint.ok { color: #27ae60; }
.auth__hint.bad { color: #e74c3c; }
.auth__field { position: relative; margin-bottom: 16px; }
.auth__field > .fal { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tt-fade); pointer-events: none; }
.auth__input, .auth-page select, .auth-page textarea { width: 100%; height: 46px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--bg-darker);
	color: var(--tt); box-shadow: inset 0 0 0 1px var(--bdc); font: inherit; font-size: 15px; font-weight: 400; }
.auth__field > .fal + .auth__input { padding-left: 44px; }
.auth-page textarea { height: auto; min-height: 100px; padding: 12px 16px; resize: vertical; line-height: 1.45; }
.auth__input:focus, .auth-page select:focus, .auth-page textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--accent); }
.auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.auth__grid .auth__field { margin: 0; display: grid; gap: 7px; }
.auth__grid label { font-size: 13px; font-weight: 700; color: var(--tt-fade); }
.auth__field--wide { grid-column: 1 / -1; }
.auth__captcha { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.auth__captcha img { border-radius: 10px; cursor: pointer; background: #fff; flex-shrink: 0; }
.auth__captcha .auth__input { margin: 0; }
.auth__captcha-refresh { width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 10px; background: var(--bg-darker); color: var(--tt); font-size: 20px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--bdc); }
.auth__remember { display: flex; align-items: center; gap: 8px; margin: 2px 0 20px; font-size: 14px; font-weight: 400; cursor: pointer; }
.auth__remember input { width: 16px; height: 16px; accent-color: var(--accent); }
.auth__btn, .auth__submit { width: 100%; height: 48px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: inherit; font-size: 16px;
	font-weight: 700; cursor: pointer; transition: filter .2s; }
.auth__btn:hover, .auth__submit:hover { filter: brightness(1.1); }
.auth__actions { display: flex; align-items: center; gap: 14px; }
.auth__actions .auth__submit { flex: 1; }
.auth__skip { color: var(--tt-fade); text-decoration: none; font-weight: 700; white-space: nowrap; }
.auth__skip:hover { color: var(--accent); }
.auth__error { margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(231,76,60,.12); color: #e74c3c; font-size: 14px; font-weight: 700; }
.auth__done { margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(46,204,113,.14); color: #27ae60; font-size: 14px; font-weight: 700; }
.auth__foot { margin-top: 18px; text-align: center; font-size: 14px; font-weight: 400; color: var(--tt-fade); }
.auth__foot a { color: var(--accent); font-weight: 700; text-decoration: none; }
.auth__note { max-width: 440px; text-align: center; font-size: 12px; font-weight: 400; color: var(--tt-fade); line-height: 1.5; }
.auth-home { font-size: 14px; color: var(--tt-fade); text-decoration: none; }
.auth-home:hover { color: var(--accent); }
@media (max-width: 520px) { .auth__grid { grid-template-columns: 1fr; } .auth__head, .auth__body { padding-left: 20px; padding-right: 20px; } }

/* jam-club.tv (28.09.2026): шапка окна — фирменный градиент темы (светлая / тёмная .dt) */
.auth__head { background: linear-gradient(135deg, #6e2a0b 0%, #c34c14 100%); }
.dt .auth__head { background: linear-gradient(135deg, #3d3440 0%, #99796d 100%); }
.auth-logo img { display: block; margin: 0 auto; }
