/* Эварус — вход в кабинет и восстановление пароля (templates/core/frontend/auth/*.twig). 2026 */

.au { font-family: 'Roboto', 'RobotoRegular', Arial, sans-serif; color: #3a4148; padding: 34px 16px 70px; }
.au *, .au *:before, .au *:after { box-sizing: border-box; }
.au p { margin: 0; }
.au a:link, .au a:visited { color: #1a8fc4; }
.au-box { max-width: 440px; margin: 0 auto; }
/* старые стили формы (.auth__form со сдвигом влево) не должны действовать */
.au form { display: block; width: auto; max-width: none; margin: 0; padding: 0; float: none; }
.au-card { background: #fff; border-radius: 16px; padding: 30px 28px 26px; box-shadow: 0 10px 34px rgba(0, 0, 0, .08); }
.au-icon { width: 52px; height: 52px; border-radius: 14px; background: #eaf7fd; color: #1da8e1; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.au-title { margin: 0 0 6px; font-size: 26px; line-height: 1.25; font-weight: 900; color: #2f363d; }
.au-sub { font-size: 15px; line-height: 1.5; color: #6b747c; margin-bottom: 22px !important; }

.au-steps { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; color: #9aa3ab; }
.au-steps li { display: flex; align-items: center; gap: 6px; }
.au-steps li + li:before { content: ''; width: 18px; height: 1px; background: #d5dce1; margin-right: 2px; }
.au-steps b { width: 22px; height: 22px; border-radius: 50%; background: #eef2f5; color: #8a939b; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.au-steps .au-steps__on { color: #2f363d; font-weight: 700; }
.au-steps .au-steps__on b { background: #1da8e1; color: #fff; }
.au-steps .au-steps__done b { background: #2bb673; color: #fff; }

.au-field { margin-bottom: 16px; }
.au-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 7px; font-size: 15px; font-weight: 700; color: #3a4148; }
.au-label a { font-size: 14px; font-weight: 400; }
.au .au-input { display: block; width: 100%; height: 52px; margin: 0; padding: 0 14px; border: 1px solid #d5dce1; border-radius: 10px; background: #fff; font-size: 18px; color: #2f363d; outline: none; font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.au .au-input:focus { border-color: #1da8e1; box-shadow: 0 0 0 3px rgba(29, 168, 225, .15); }
.au .au-input::placeholder { color: #b0b8be; }
.au-pass { position: relative; }
.au-pass .au-input { padding-right: 52px; }
.au-eye { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: #8a939b; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.au-eye:hover { color: #3a4148; background: #f3f5f7; }
.au .au-code { text-align: center; font-size: 28px; letter-spacing: 10px; font-weight: 700; padding: 0 8px; }
.au-hint { margin-top: 7px !important; font-size: 13px; line-height: 1.45; color: #8a939b; }
.au-err { display: none; margin-top: 7px !important; font-size: 14px; font-weight: 700; color: #c9302c; }
.au-field_err .au-input { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, .12); }
.au-field_err .au-err { display: block; }

.au-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; margin-top: 6px; border: 0; border-radius: 12px; background: #1da8e1; color: #fff; font-size: 18px; font-weight: 700; font-family: inherit; cursor: pointer; box-shadow: 0 6px 18px rgba(29, 168, 225, .3); transition: background .15s, transform .1s; }
.au-btn:hover { background: #1497cd; }
.au-btn:active { transform: translateY(1px); }
.au-btn[disabled] { opacity: .7; cursor: wait; }

.au-alert { margin: 0 0 16px !important; padding: 12px 14px; border-radius: 10px; background: #fdecea; border: 1px solid #f5c2bf; color: #9b2c26; font-size: 14px; line-height: 1.5; }
.au-alert[hidden] { display: none; }
.au-alert a:link, .au-alert a:visited { color: #9b2c26; font-weight: 700; }
.au-note { margin: 0 0 16px !important; padding: 12px 14px; border-radius: 10px; background: #e9f8ef; border: 1px solid #b9e6c9; color: #1e6b3a; font-size: 14px; line-height: 1.5; }
.au-note b { color: #155a2f; }

.au-alt { margin-top: 18px !important; text-align: center; font-size: 14px; color: #8a939b; }
.au-resend { margin-top: 14px !important; text-align: center; font-size: 14px; color: #8a939b; }
.au-link { background: none; border: 0; padding: 0; color: #1a8fc4; font: inherit; cursor: pointer; text-decoration: underline; }

.au-new { margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: #2f363d; color: #c9d1d6; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.au-new p { font-size: 14px; line-height: 1.5; color: #c9d1d6; }
.au-new b { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.au-new a:link, .au-new a:visited { display: inline-block; padding: 10px 16px; border-radius: 10px; background: #2bb673; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }

.au .form-success, .au .form-fail { display: none !important; }

@media (max-width: 480px) {
  .au { padding: 18px 10px 50px; }
  .au-card { padding: 24px 18px 22px; border-radius: 14px; }
  .au-title { font-size: 23px; }
}

/* вход по коду из SMS */
.au form[hidden], .au [hidden] { display: none !important; }
.au-legal { margin-top: 12px !important; font-size: 12px; line-height: 1.45; color: #a3abb2; text-align: center; }
.au-legal a:link, .au-legal a:visited { color: #8a939b; }
#au-captcha { margin: 0; }
#au-captcha .grecaptcha-badge { display: none !important; }
.au-note .au-link { font-size: 14px; color: #1e6b3a; }
