/* =========================================================
   AUTH ENTRY POLISH — АвтоДок
   Только визуальная доводка точки входа.
========================================================= */

.av-auth{
  background:
    radial-gradient(760px 520px at 18% 0%, rgba(56,189,248,.16), transparent 62%),
    radial-gradient(680px 520px at 88% 88%, rgba(37,99,235,.10), transparent 58%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 52%, #ffffff 100%);
  color:#111827;
}

.av-auth-side{
  background:
    radial-gradient(760px 520px at 12% 8%, rgba(56,189,248,.18), transparent 58%),
    radial-gradient(700px 560px at 78% 86%, rgba(37,99,235,.12), transparent 64%),
    linear-gradient(180deg, #f6fbff 0%, #edf6ff 55%, #ffffff 100%);
  border-right:1px solid rgba(15,23,42,.06);
  box-shadow: inset 0 0 120px rgba(15,23,42,.035);
}

.av-auth-side::before{
  opacity:.36;
}

.av-auth-side::after{
  background:
    radial-gradient(440px 340px at 20% 22%, rgba(14,165,233,.13), transparent 70%),
    radial-gradient(520px 420px at 74% 82%, rgba(59,130,246,.11), transparent 72%);
}

.av-auth-side__inner{
  padding:34px 78px 48px;
  max-width:760px;
}

.av-auth-brand img,
.av-auth-mobile-brand img{
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 8px 22px rgba(15,23,42,.06));
}

.av-auth-hero{
  margin-top:110px;
  max-width:520px;
}

.av-auth-hero__eyebrow{
  margin-bottom:14px;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#2563eb;
}

.av-auth-hero__title{
  max-width:520px;
  font-size:34px;
  line-height:1.06;
  font-weight:760;
  letter-spacing:-.04em;
  color:#0f172a;
}

.av-auth-hero__text{
  margin-top:18px;
  max-width:430px;
  font-size:16px;
  line-height:1.7;
  color:#64748b;
}

.av-auth-hero::after{
  width:88px;
  margin-top:24px;
  background:linear-gradient(90deg, rgba(37,99,235,.42), rgba(37,99,235,.08));
}

.av-auth-visual{
  position:absolute;
  left:70px;
  bottom:82px;
  width:min(48vw, 430px);
  max-width:430px;
  opacity:.96;
  filter: drop-shadow(0 34px 72px rgba(37,99,235,.14));
  pointer-events:none;
}

.av-auth-visual img{
  width:100%;
  height:auto;
  display:block;
}

.av-auth-preview{
  top:auto;
  right:74px;
  bottom:86px;
  width:324px;
  padding:18px 20px;
  border-radius:24px;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:
    0 24px 70px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.8);
}

.av-auth-preview-row{
  padding:12px 0;
}

.av-auth-preview-label{
  font-size:14px;
  font-weight:700;
  color:#0f172a;
}

.av-auth-preview-value{
  font-size:13px;
  font-weight:600;
  color:#64748b;
}

.av-auth-main{
  padding:36px 24px;
}

.av-auth-wrap{
  max-width:458px;
}

.av-auth-card--right{
  border-radius:28px;
  padding:42px 44px 38px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(15,23,42,.075);
  box-shadow:
    0 22px 64px rgba(15,23,42,.075),
    0 1px 0 rgba(255,255,255,.85) inset;
}

.av-login__eyebrow{
  margin-bottom:9px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#2563eb;
}

.av-login__title{
  font-size:27px;
  line-height:1.08;
  font-weight:760;
  letter-spacing:-.025em;
  color:#172033;
}

.av-login__subtitle{
  margin-top:8px;
  margin-bottom:30px;
  max-width:320px;
  font-size:14.5px;
  line-height:1.5;
  color:#72829a;
}

.av-field{
  margin-bottom:17px;
}

.av-field__head{
  margin-bottom:9px;
}

.av-field__label{
  font-size:14px;
  font-weight:650;
  color:#263244;
}

.av-login__forgot{
  font-size:12.5px;
  font-weight:600;
  color:#64748b;
}

.av-field__input{
  min-height:56px;
  border-radius:16px;
  border-color:rgba(37,99,235,.15);
  background:#edf5ff;
  color:#111827;
  font-size:15px;
}

.av-field__input:focus{
  border-color:rgba(37,99,235,.35);
  background:#f7fbff;
  box-shadow:0 0 0 4px rgba(37,99,235,.09);
}

.av-field__icon{
  color:#75869d;
}

.av-field__toggle{
  color:#7f8da3;
}

.av-login__row{
  margin-top:4px;
  margin-bottom:24px;
}

.av-login__check .form-check-label{
  font-size:14px;
  color:#334155;
}

.av-login__check .form-check-input{
  border-radius:6px;
}

.av-login__check .form-check-input:checked{
  background-color:#2563eb;
  border-color:#2563eb;
}

.av-login__submit{
  min-height:56px;
  border-radius:16px;
  background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border:0;
  color:#fff;
  font-size:15.5px;
  font-weight:760;
  box-shadow:0 14px 28px rgba(37,99,235,.20);
}

.av-login__submit:hover:not(:disabled){
  filter:brightness(1.02);
  transform:translateY(-1px);
}

.av-login__submit:disabled{
  opacity:.78;
  color:#fff;
  background:linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  box-shadow:none;
}

.av-login__bottom{
  margin-top:20px;
  font-size:14px;
  color:#64748b;
}

.av-login__bottom-text{
  color:#64748b;
}

.av-login__link{
  font-size:14px;
  font-weight:700;
  color:#2563eb;
}

.av-login__link:hover{
  color:#1d4ed8;
}

.av-auth-consent--compact{
  margin-top:16px !important;
  font-size:12.5px !important;
  color:#72829a !important;
}

.av-auth-consent--compact a{
  font-weight:600;
  color:#2563eb !important;
}

@media (min-width: 1400px){
  .av-auth-side__inner{
    padding-left:88px;
  }
  .av-auth-preview{
    right:92px;
  }
}

@media (max-width: 1199.98px) and (min-width: 992px){
  .av-auth-side__inner{
    padding-left:52px;
    padding-right:48px;
  }
  .av-auth-hero__title{
    font-size:30px;
  }
  .av-auth-preview{
    right:42px;
    width:306px;
  }
  .av-auth-visual{
    left:42px;
    width:390px;
  }
}

@media (max-width: 991.98px){
  .av-auth{
    background:
      radial-gradient(560px 320px at 50% -4%, rgba(14,165,233,.20), transparent 68%),
      linear-gradient(180deg, #eaf7ff 0%, #f8fbff 44%, #ffffff 100%);
  }

  .av-auth-main{
    min-height:100svh;
    align-items:flex-start;
    padding:20px 14px 28px;
  }

  .av-auth-mobile-brand{
    margin-bottom:18px;
  }

  .av-auth-mobile-brand img{
    height:30px;
  }

  .av-auth-wrap{
    max-width:392px;
  }

  .av-auth-card--right{
    padding:24px 20px 22px;
    border-radius:24px;
    background:rgba(255,255,255,.88);
    box-shadow:
      0 18px 44px rgba(15,23,42,.075),
      0 1px 0 rgba(255,255,255,.88) inset;
  }

  .av-login__eyebrow{
    margin-bottom:8px;
    font-size:11px;
  }

  .av-login__title{
    font-size:24px;
  }

  .av-login__subtitle{
    margin-bottom:24px;
    font-size:14px;
  }

  .av-field{
    margin-bottom:15px;
  }

  .av-field__label,
  .av-login__check .form-check-label{
    font-size:13.5px;
  }

  .av-field__input{
    min-height:52px;
    font-size:16px;
  }

  .av-login__row{
    margin-bottom:22px;
  }

  .av-login__submit{
    min-height:52px;
    border-radius:15px;
  }

  .av-login__bottom{
    margin-top:18px;
  }
}

@media (max-width: 575.98px){
  .av-auth-main{
    padding:18px 14px 24px;
  }

  .av-auth-mobile-brand{
    margin-bottom:16px;
  }

  .av-auth-card--right{
    padding:22px 18px 20px;
    border-radius:22px;
  }

  .av-login__title{
    font-size:23px;
  }

  .av-login__subtitle{
    margin-bottom:22px;
  }

  .av-auth-consent--compact{
    padding:0 16px;
    font-size:12px !important;
  }
}

/* Forgot password — step 1/2/3 polish */
.av-auth-flow--forgot .av-auth-steps{
  margin-bottom:22px;
  display:flex;
  align-items:center;
  gap:10px;
}

.av-auth-flow--forgot .av-auth-steps__item{
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:50%;
  background:#fff;
  border:1px solid rgba(148,163,184,.42);
  color:#64748b;
  font-size:12px;
  font-weight:700;
  box-shadow:none;
}

.av-auth-flow--forgot .av-auth-steps__item.is-active{
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
  box-shadow:0 10px 22px rgba(37,99,235,.20);
}

.av-auth-flow--forgot .av-auth-steps__item.is-done{
  background:#eef5ff;
  border-color:rgba(37,99,235,.18);
  color:#2563eb;
}

.av-auth-flow--forgot .av-auth-steps__line{
  height:1px;
  flex:1 1 auto;
  background:rgba(148,163,184,.28);
}

.av-auth-flow--forgot .av-auth-steps__line.is-active{
  background:linear-gradient(90deg, rgba(37,99,235,.45), rgba(37,99,235,.16));
}

.av-auth-flow--forgot .av-auth-flow__eyebrow{
  margin-bottom:9px;
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#64748b;
}

.av-auth-flow--forgot .av-login__subtitle{
  max-width:360px;
  margin-bottom:28px;
}

.av-auth-flow--forgot .av-field__error:not(.is-visible){
  min-height:0;
  height:0;
  margin-top:0;
  overflow:hidden;
}

.av-auth-flow--forgot .av-field__hint{
  margin-top:7px;
  font-size:13px;
  line-height:1.38;
  color:#64748b;
}

.av-auth-flow--forgot .av-login__bottom--stack{
  margin-top:20px;
  text-align:center;
}

.av-auth-flow--forgot .av-login__bottom--stack .av-login__link{
  font-weight:750;
}

@media (max-width: 991.98px){
  .av-auth-flow--forgot .av-auth-steps{
    margin-bottom:20px;
    gap:9px;
  }

  .av-auth-flow--forgot .av-auth-steps__item{
    width:27px;
    height:27px;
    flex-basis:27px;
  }

  .av-auth-flow--forgot .av-login__subtitle{
    margin-bottom:24px;
  }
}

@media (max-width: 575.98px){
  .av-auth-flow--forgot .av-auth-steps{
    margin-bottom:18px;
  }

  .av-auth-flow--forgot .av-field__hint{
    margin-top:7px;
    font-size:12.5px;
  }
}


/* Forgot password — step 2 compact verify */
.av-auth-flow--forgot-verify .av-login__subtitle{
  max-width:354px;
  margin-bottom:24px;
}

.av-auth-flow--forgot-verify .av-code{
  gap:10px;
}

.av-auth-flow--forgot-verify .av-code__input{
  min-height:56px;
  border-radius:16px;
  background:#edf5ff;
  border-color:rgba(37,99,235,.16);
  font-size:21px;
  font-weight:740;
}

.av-auth-flow--forgot-verify .av-field__hint--inline{
  margin-top:8px;
  max-width:340px;
}

.av-auth-flow--forgot-verify .av-field__hint--inline a{
  color:#2563eb;
  font-weight:700;
  text-decoration:none;
}

.av-auth-flow--forgot-verify .av-field__hint--inline a:hover{
  color:#1d4ed8;
  text-decoration:underline;
}

.av-auth-flow--forgot-verify .av-resend{
  margin:16px 0 18px;
  padding:13px 16px 14px;
  border-radius:16px;
  background:rgba(248,250,252,.82);
  border-color:rgba(15,23,42,.07);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}

.av-auth-flow--forgot-verify .av-resend__text{
  gap:3px;
  margin-bottom:10px;
  font-size:13.5px;
  line-height:1.42;
  color:#526174;
}

.av-auth-flow--forgot-verify .av-resend__timer{
  font-weight:800;
  color:#172033;
}

.av-auth-flow--forgot-verify .av-resend__meta{
  font-size:12.5px;
  color:#75869d;
}

.av-auth-flow--forgot-verify .av-resend__btn{
  min-height:42px;
  border-radius:13px;
  font-size:14px;
  font-weight:650;
}

.av-auth-flow--forgot-verify .av-resend__btn:disabled{
  opacity:.58;
}

.av-auth-flow--forgot-verify .av-login__bottom--stack{
  margin-top:18px;
  gap:7px;
}

.av-auth-flow--forgot-verify .av-login__link--muted{
  font-size:13px;
  font-weight:650;
  color:#64748b;
}

@media (max-width: 575.98px){
  .av-auth-flow--forgot-verify .av-login__subtitle{
    margin-bottom:22px;
  }

  .av-auth-flow--forgot-verify .av-code{
    gap:8px;
  }

  .av-auth-flow--forgot-verify .av-code__input{
    min-height:50px;
    border-radius:14px;
    font-size:19px;
  }

  .av-auth-flow--forgot-verify .av-resend{
    margin:14px 0 16px;
    padding:12px 14px 13px;
  }

  .av-auth-flow--forgot-verify .av-resend__text{
    margin-bottom:9px;
    font-size:13px;
  }
}

/* Forgot password — step 3 compact reset */
.av-auth-flow--forgot-reset .av-login__subtitle{
  max-width:360px;
  margin-bottom:24px;
}

.av-auth-flow--forgot-reset .av-field{
  margin-bottom:18px;
}

.av-auth-flow--forgot-reset .av-field__head--between{
  gap:12px;
  align-items:center;
}

.av-auth-flow--forgot-reset .av-generate-pass{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#2563eb;
  font-size:13px;
  line-height:1.2;
  font-weight:650;
  white-space:nowrap;
}

.av-auth-flow--forgot-reset .av-generate-pass:hover{
  color:#1d4ed8;
  text-decoration:underline;
}

.av-auth-flow--forgot-reset .av-generate-pass i{
  margin-right:4px;
  font-size:12px;
}

.av-auth-flow--forgot-reset .av-field__hint{
  max-width:350px;
}

.av-auth-flow--forgot-reset .av-field__hint.is-weak{
  color:#b45309;
}

.av-auth-flow--forgot-reset .av-field__hint.is-medium{
  color:#2563eb;
}

.av-auth-flow--forgot-reset .av-field__hint.is-strong{
  color:#15803d;
}

.av-auth-flow--forgot-reset .av-login__bottom--stack{
  margin-top:20px;
  gap:7px;
}

.av-auth-flow--forgot-reset .av-login__link--muted{
  font-size:13px;
  font-weight:650;
  color:#64748b;
}

@media (max-width: 575.98px){
  .av-auth-flow--forgot-reset .av-login__subtitle{
    margin-bottom:22px;
  }

  .av-auth-flow--forgot-reset .av-generate-pass{
    font-size:12.5px;
  }

  .av-auth-flow--forgot-reset .av-generate-pass i{
    display:none;
  }
}

/* Login PIN — app-like keypad for desktop and mobile */
.av-auth-page-login-pin .av-auth-card--right{
  max-width:456px;
  width:100%;
  padding:42px 44px 40px;
}

.av-auth-page-login-pin .av-pin2fa{
  margin:0;
  background:transparent;
}

.av-pin2fa--app .av-pinpad{
  min-height:0;
  height:auto;
  padding:0;
  justify-content:flex-start;
}

.av-pin2fa--app .av-pinpad__top{
  padding-top:0;
  margin-bottom:28px;
  text-align:center;
}

.av-pin2fa--app .av-pinpad__name{
  margin-bottom:8px;
  color:#111827;
  font-size:28px;
  line-height:1.12;
  font-weight:820;
  letter-spacing:-.035em;
}

.av-pin2fa--app .av-pinpad__caption{
  margin-bottom:18px;
  color:#64748b;
  font-size:14.5px;
  line-height:1.35;
  font-weight:600;
}

.av-pin2fa--app .av-pinpad__dots{
  gap:12px;
  margin-bottom:0;
}

.av-pin2fa--app .av-pinpad__dot{
  width:12px;
  height:12px;
  background:#d4deeb;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.02);
}

.av-pin2fa--app .av-pinpad__dot.is-filled{
  background:#2563eb;
  transform:scale(1.06);
  box-shadow:0 7px 16px rgba(37,99,235,.18);
}

.av-pin2fa--app .av-pinpad__error{
  max-width:320px;
  margin:14px auto 0;
  padding:9px 12px;
  border-radius:14px;
  background:#fff1f2;
  color:#b91c1c;
  font-size:13px;
  line-height:1.35;
  font-weight:650;
}

.av-pin2fa--app .av-pinpad__error.is-hidden{
  display:none;
}

.av-pin2fa--app .av-pinpad__keys{
  max-width:292px;
  gap:8px 14px;
  padding:0;
}

.av-pin2fa--app .av-pinpad__key{
  height:58px;
  border-radius:18px;
  color:#0f172a;
  font-size:32px;
  font-weight:430;
  transition:transform .14s ease, background-color .14s ease, color .14s ease, opacity .14s ease;
}

.av-pin2fa--app .av-pinpad__key:hover{
  background:rgba(37,99,235,.055);
}

.av-pin2fa--app .av-pinpad__key:disabled{
  opacity:.42;
  pointer-events:none;
}

.av-pin2fa--app .av-pinpad__key--back{
  gap:4px;
  color:#64748b;
  font-size:16px;
  font-weight:650;
  letter-spacing:-.01em;
  white-space:nowrap;
}

.av-pin2fa--app .av-pinpad__key--back:hover{
  color:#2563eb;
  text-decoration:none;
}

.av-pin2fa--app .av-pinpad__key--back i{
  font-size:23px;
  line-height:1;
}

.av-pin2fa--app .av-pinpad__key--icon,
.av-pin2fa--app .av-pinpad__key--icon i{
  color:#64748b;
  font-size:24px;
}

.av-pin2fa--app .av-pinpad__key--icon:hover,
.av-pin2fa--app .av-pinpad__key--icon:hover i{
  color:#2563eb;
}

.av-pin2fa--app .av-pinpad.is-submitting .av-pinpad__dots{
  opacity:.72;
  transform:scale(.99);
}

@media (max-width: 991.98px){
  .av-auth-page-login-pin .av-auth-card--right{
    max-width:390px;
    padding:30px 24px 28px;
  }
}

@media (max-width: 575.98px){
  .av-auth-page-login-pin .av-auth-main{
    align-items:flex-start;
  }

  .av-auth-page-login-pin .av-auth-card--right{
    padding:28px 18px 26px;
  }

  .av-pin2fa--app .av-pinpad__top{
    margin-bottom:24px;
  }

  .av-pin2fa--app .av-pinpad__name{
    font-size:25px;
  }

  .av-pin2fa--app .av-pinpad__caption{
    margin-bottom:16px;
    font-size:13.5px;
  }

  .av-pin2fa--app .av-pinpad__keys{
    max-width:286px;
    gap:7px 10px;
  }

  .av-pin2fa--app .av-pinpad__key{
    height:56px;
    font-size:30px;
  }

  .av-pin2fa--app .av-pinpad__key--back{
    font-size:15px;
  }
}

/* Register flow — compact polish */
.av-auth-flow--register .av-auth-steps{
  margin-bottom:22px;
  display:flex;
  align-items:center;
  gap:10px;
}

.av-auth-flow--register .av-auth-steps__item{
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:50%;
  background:#fff;
  border:1px solid rgba(148,163,184,.42);
  color:#64748b;
  font-size:12px;
  font-weight:700;
  box-shadow:none;
}

.av-auth-flow--register .av-auth-steps__item.is-active{
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
  box-shadow:0 10px 22px rgba(37,99,235,.20);
}

.av-auth-flow--register .av-auth-steps__item.is-done{
  background:#eef5ff;
  border-color:rgba(37,99,235,.18);
  color:#2563eb;
}

.av-auth-flow--register .av-auth-steps__line{
  height:1px;
  flex:1 1 auto;
  background:rgba(148,163,184,.28);
}

.av-auth-flow--register .av-auth-steps__line.is-active{
  background:linear-gradient(90deg, rgba(37,99,235,.45), rgba(37,99,235,.16));
}

.av-auth-flow--register .av-auth-flow__eyebrow{
  margin-bottom:9px;
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#64748b;
}

.av-auth-flow--register .av-login__subtitle{
  max-width:360px;
  margin-bottom:24px;
}

.av-auth-flow--register .av-field__error:not(.is-visible){
  min-height:0;
  height:0;
  margin-top:0;
  overflow:hidden;
}

.av-auth-flow--register .av-field__hint{
  margin-top:7px;
  font-size:13px;
  line-height:1.38;
  color:#64748b;
}

.av-auth-flow--register .av-login__bottom--stack{
  margin-top:20px;
  text-align:center;
  gap:7px;
}

.av-auth-flow--register .av-login__bottom--stack .av-login__link{
  font-weight:750;
}

.av-auth-flow--register .av-login__link--muted{
  font-size:13px;
  font-weight:650;
  color:#64748b;
}

.av-auth-flow--register-verify .av-code{
  gap:10px;
}

.av-auth-flow--register-verify .av-code__input{
  min-height:56px;
  border-radius:16px;
  background:#edf5ff;
  border-color:rgba(37,99,235,.16);
  font-size:21px;
  font-weight:740;
}

.av-auth-flow--register-verify .av-field__hint--inline{
  margin-top:8px;
  max-width:340px;
}

.av-auth-flow--register-verify .av-field__hint--inline a{
  color:#2563eb;
  font-weight:700;
  text-decoration:none;
}

.av-auth-flow--register-verify .av-field__hint--inline a:hover{
  color:#1d4ed8;
  text-decoration:underline;
}

.av-auth-flow--register-verify .av-resend{
  margin:16px 0 18px;
  padding:13px 16px 14px;
  border-radius:16px;
  background:rgba(248,250,252,.82);
  border-color:rgba(15,23,42,.07);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}

.av-auth-flow--register-verify .av-resend__text{
  gap:3px;
  margin-bottom:10px;
  font-size:13.5px;
  line-height:1.42;
  color:#526174;
}

.av-auth-flow--register-verify .av-resend__timer,
.av-auth-flow--register-verify [data-resend-timer]{
  font-weight:800;
  color:#172033;
}

.av-auth-flow--register-verify .av-resend__meta{
  font-size:12.5px;
  color:#75869d;
}

.av-auth-flow--register-verify .av-resend__btn{
  min-height:42px;
  border-radius:13px;
  font-size:14px;
  font-weight:650;
}

.av-auth-flow--register-verify .av-resend__btn:disabled{
  opacity:.58;
}

.av-auth-flow--register-profile .av-field{
  margin-bottom:16px;
}

.av-auth-flow--register-profile .av-field__head--between{
  gap:12px;
  align-items:center;
}

.av-auth-flow--register-profile .av-generate-pass{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#2563eb;
  font-size:13px;
  line-height:1.2;
  font-weight:650;
  white-space:nowrap;
}

.av-auth-flow--register-profile .av-generate-pass:hover{
  color:#1d4ed8;
  text-decoration:underline;
}

.av-auth-flow--register-profile .av-generate-pass i{
  margin-right:4px;
  font-size:12px;
}

.av-auth-flow--register-profile .av-field__hint.is-weak{
  color:#b45309;
}

.av-auth-flow--register-profile .av-field__hint.is-medium{
  color:#2563eb;
}

.av-auth-flow--register-profile .av-field__hint.is-strong{
  color:#15803d;
}

@media (max-width: 991.98px){
  .av-auth-flow--register .av-auth-steps{
    margin-bottom:20px;
    gap:9px;
  }

  .av-auth-flow--register .av-auth-steps__item{
    width:27px;
    height:27px;
    flex-basis:27px;
  }
}

@media (max-width: 575.98px){
  .av-auth-flow--register .av-auth-steps{
    margin-bottom:18px;
  }

  .av-auth-flow--register .av-login__subtitle{
    margin-bottom:22px;
  }

  .av-auth-flow--register .av-field__hint{
    margin-top:7px;
    font-size:12.5px;
  }

  .av-auth-flow--register-verify .av-code{
    gap:8px;
  }

  .av-auth-flow--register-verify .av-code__input{
    min-height:50px;
    border-radius:14px;
    font-size:19px;
  }

  .av-auth-flow--register-verify .av-resend{
    margin:14px 0 16px;
    padding:12px 14px 13px;
  }

  .av-auth-flow--register-verify .av-resend__text{
    margin-bottom:9px;
    font-size:13px;
  }

  .av-auth-flow--register-profile .av-generate-pass{
    font-size:12.5px;
  }

  .av-auth-flow--register-profile .av-generate-pass i{
    display:none;
  }
}


/* HF26.2 — пояснение голосового кода только на шаге регистрации. */
.av-auth-flow--register-verify .av-login__subtitle{
  margin-bottom:12px;
}
.av-registerCallTip{
  margin:0 0 20px;
  padding:13px 15px;
  border:1px solid rgba(37,99,235,.17);
  border-radius:16px;
  background:#f2f7ff;
  color:#23354f;
  font-size:13.5px;
  line-height:1.45;
}
.av-registerCallTip__lead i{
  margin-right:6px;
  color:#2563eb;
}
.av-registerCallTip__lead strong{
  font-weight:750;
}
.av-registerCallTip__warning{
  margin:9px 0 0;
  color:#1e40af;
  font-size:12.5px;
  font-weight:650;
}
.av-registerCallTip__warning i{
  margin-right:5px;
}
.av-registerCallTip__fallback{
  margin:5px 0 0;
  color:#64748b;
  font-size:12px;
}
@media(max-width:575.98px){
  .av-registerCallTip{
    margin-bottom:17px;
    padding:11px 12px;
    font-size:13px;
  }
}


/* HF mail/register polish 1.1 — compact registration verification step. */
.av-auth-flow--register-verify .av-registerCallTip{
  margin-bottom:14px;
  padding:10px 12px;
  border-radius:14px;
  line-height:1.38;
}
.av-auth-flow--register-verify .av-registerCallTip__fallback{
  margin-top:3px;
}
.av-auth-flow--register-verify .av-field__hint--inline{
  margin-top:5px;
}
.av-auth-flow--register-verify .av-resend{
  margin:10px 0 14px;
  padding:10px 12px;
  border-radius:14px;
}
.av-auth-flow--register-verify .av-resend__text{
  margin-bottom:7px;
  line-height:1.35;
}
.av-auth-flow--register-verify .av-resend__btn{
  min-height:38px;
}
@media (max-width:575.98px){
  .av-auth-flow--register-verify .av-login__subtitle{ margin-bottom:10px; }
  .av-auth-flow--register-verify .av-registerCallTip{ margin-bottom:12px; padding:9px 11px; }
  .av-auth-flow--register-verify .av-code__input{ min-height:48px; }
  .av-auth-flow--register-verify .av-resend{ margin:9px 0 12px; padding:9px 11px; }
  .av-auth-flow--register-verify .av-resend__text{ margin-bottom:6px; }
  .av-auth-flow--register-verify .av-resend__btn{ min-height:36px; }
}


/* HF register flow 1.2 — compact verification + balanced profile step. */
.av-auth-flow--register-verify .av-auth-flow__eyebrow{
  margin-bottom:8px;
}
.av-auth-flow--register-verify .av-login__title{
  margin-bottom:14px;
}

.av-auth-flow--register-profile .av-login__subtitle{
  margin-bottom:18px;
}
.av-auth-flow--register-profile .av-field{
  margin-bottom:12px;
}
.av-auth-flow--register-profile .av-field__head{
  margin-bottom:6px;
}
.av-auth-flow--register-profile .av-field__hint{
  margin-top:5px;
  font-size:12px;
  line-height:1.3;
}
.av-auth-flow--register-profile .av-login__submit{
  margin-top:2px;
}
.av-auth-flow--register-profile .av-login__bottom--stack{
  margin-top:15px;
  gap:5px;
}

@media (min-width: 992px){
  .av-auth-page-register-profile .av-auth-side{
    position:sticky;
    top:0;
    align-self:flex-start;
    height:100vh;
    min-height:100vh;
  }
  .av-auth-page-register-profile .av-auth-main{
    padding-top:24px;
    padding-bottom:24px;
    align-items:flex-start;
  }
  .av-auth-page-register-profile .av-auth-wrap{
    max-width:500px;
  }
  .av-auth-page-register-profile .av-auth-card--right{
    padding:28px 38px 26px;
  }
  .av-auth-page-register-profile .av-auth-flow--register .av-auth-steps{
    margin-bottom:16px;
  }
  .av-auth-page-register-profile .av-auth-flow--register-profile .av-field__input{
    min-height:48px;
  }
  .av-auth-page-register-profile .av-auth-consent--compact{
    margin-top:14px;
  }
}

@media (max-width: 575.98px){
  .av-auth-flow--register-verify .av-auth-steps{
    margin-bottom:14px;
  }
  .av-auth-flow--register-verify .av-login__title{
    margin-bottom:10px;
  }
  .av-auth-flow--register-verify .av-registerCallTip{
    margin-bottom:10px;
  }
  .av-auth-flow--register-verify .av-field__hint--inline{
    margin-top:4px;
  }
  .av-auth-flow--register-verify .av-resend{
    margin:8px 0 10px;
  }

  .av-auth-flow--register-profile .av-auth-steps{
    margin-bottom:13px;
  }
  .av-auth-flow--register-profile .av-auth-flow__eyebrow{
    margin-bottom:7px;
  }
  .av-auth-flow--register-profile .av-login__title{
    margin-bottom:0;
  }
  .av-auth-flow--register-profile .av-login__subtitle{
    margin-top:5px;
    margin-bottom:14px;
  }
  .av-auth-flow--register-profile .av-field{
    margin-bottom:10px;
  }
  .av-auth-flow--register-profile .av-field__head{
    margin-bottom:5px;
  }
  .av-auth-flow--register-profile .av-field__input{
    min-height:48px;
  }
  .av-auth-flow--register-profile .av-field__hint--optional{
    display:none;
  }
  .av-auth-flow--register-profile .av-field__hint{
    margin-top:4px;
    font-size:11.5px;
  }
  .av-auth-flow--register-profile .av-login__submit{
    min-height:48px;
    margin-top:0;
  }
  .av-auth-flow--register-profile .av-login__bottom--stack{
    margin-top:13px;
    gap:4px;
  }
  .av-auth-page-register-profile .av-auth-consent--compact{
    margin-top:14px;
    line-height:1.45;
  }
}


/* HF register flow 1.3 — final profile-step micro polish. */
@media (min-width: 992px){
  .av-auth-page-register-profile .av-auth-main{
    padding-top:18px;
    padding-bottom:18px;
  }
  .av-auth-page-register-profile .av-auth-card--right{
    padding-top:22px;
    padding-bottom:22px;
  }
  .av-auth-page-register-profile .av-auth-flow--register .av-auth-steps{
    margin-bottom:13px;
  }
  .av-auth-page-register-profile .av-auth-flow--register-profile .av-login__subtitle{
    margin-bottom:14px;
  }
  .av-auth-page-register-profile .av-auth-flow--register-profile .av-field{
    margin-bottom:10px;
  }
  .av-auth-page-register-profile .av-auth-flow--register-profile .av-field__head{
    margin-bottom:5px;
  }
  .av-auth-page-register-profile .av-auth-flow--register-profile .av-field__input{
    min-height:46px;
  }
  .av-auth-page-register-profile .av-auth-flow--register-profile .av-field__hint{
    margin-top:4px;
  }
  .av-auth-page-register-profile .av-auth-flow--register-profile .av-login__bottom--stack{
    margin-top:12px;
  }
}

@media (max-width: 575.98px){
  .av-auth-flow--register-profile .av-login__subtitle{
    margin-bottom:12px;
  }
  .av-auth-flow--register-profile .av-field{
    margin-bottom:9px;
  }
  .av-auth-flow--register-profile .av-field__input{
    min-height:46px;
  }
  .av-auth-flow--register-profile .av-login__submit{
    min-height:46px;
  }
}
