/* Modern SMS login modal */
#regsmsModal {
  padding-right: 0 !important;
  color: #242832;
}

#regsmsModal .regsms-modern-dialog {
  width: auto;
  max-width: 60rem;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
}

#regsmsModal .regsms-modern {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 3rem);
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e4e7ee;
  border-radius: 2rem;
  box-shadow: 0 2.8rem 8rem rgba(9, 18, 36, .28);
}

#regsmsModal .regsms-modern__close {
  position: absolute;
  z-index: 5;
  top: 2.2rem;
  right: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;
  opacity: 1;
  color: #7e879a;
  background: #f3f5f8;
  border: 0;
  border-radius: 1.3rem;
  text-shadow: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

#regsmsModal .regsms-modern__close:hover {
  opacity: 1;
  color: var(--theme-primary-color);
  background: color-mix(in srgb, var(--theme-primary-color) 9%, white);
  transform: rotate(4deg);
}

#regsmsModal .regsms-modern__close svg {
  width: 2.5rem;
  height: 2.5rem;
}

#regsmsModal .regsms-modern__header {
  display: block;
  padding: 3.4rem 8rem .8rem 3.6rem;
  border: 0;
}

#regsmsModal .regsms-modern .modal-title {
  margin: 0;
  color: #10182b;
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 750;
  text-align: left;
}

#regsmsModal .regsms-modern__body {
  padding: 0 3.6rem 3.4rem;
}

#regsmsModal .regsms-modern__lead {
  max-width: 49rem;
  margin: 0 0 2.8rem;
  color: #778096;
  font-size: 1.6rem;
  line-height: 1.45;
}

#regsmsModal .regsms-modern__lead b {
  color: #242832;
  font-weight: 600;
}

#regsmsModal .regsms-modern__form-group {
  margin: 0 0 1.8rem;
}

#regsmsModal .regsms-modern__form-group label {
  display: block;
  margin: 0 0 .9rem;
  color: #151d30;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
}

#regsmsModal .regsms-modern__field {
  display: flex;
  align-items: center;
  min-height: 5.8rem;
  color: #929bad;
  background: #fbfcfe;
  border: 1px solid #d8dde7;
  border-radius: 1.2rem;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#regsmsModal .regsms-modern__field:focus-within {
  color: var(--theme-primary-color);
  background: #fff;
  border-color: var(--theme-primary-color);
  box-shadow: 0 0 0 .3rem color-mix(in srgb, var(--theme-primary-color) 10%, transparent);
}

#regsmsModal .regsms-modern__field > span:not(.regsms-modern__country) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  flex: 0 0 5.2rem;
}

#regsmsModal .regsms-modern__field > span:not(.regsms-modern__country) svg {
  width: 2.1rem;
  height: 2.1rem;
}

/* User agreement modal */
#regsmsOfferModal {
  padding-right: 0 !important;
  color: #242832;
}

#regsmsOfferModal .regsms-offer-dialog {
  width: auto;
  max-width: 72rem;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

#regsmsOfferModal .regsms-offer-modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 4rem);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e7ee;
  border-radius: 2rem;
  box-shadow: 0 2.8rem 8rem rgba(9, 18, 36, .3);
}

#regsmsOfferModal .regsms-offer-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  min-height: 0;
  padding: 2.6rem 2.8rem 2.2rem;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eceef3;
  flex: 0 0 auto;
}

#regsmsOfferModal .regsms-offer-modal__eyebrow {
  display: block;
  margin: 0 0 .5rem;
  color: var(--theme-primary-color);
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#regsmsOfferModal .regsms-offer-modal__header .modal-title {
  margin: 0;
  color: #10182b;
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 750;
  text-align: left;
}

#regsmsOfferModal .regsms-offer-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0;
  padding: 0;
  flex: 0 0 4.4rem;
  opacity: 1;
  color: #7e879a;
  background: #f3f5f8;
  border: 0;
  border-radius: 1.2rem;
  text-shadow: none;
  transition: color .2s ease, background .2s ease;
}

#regsmsOfferModal .regsms-offer-modal__header .regsms-offer-modal__close {
  margin: 0;
  outline: 0;
}

#regsmsOfferModal .regsms-offer-modal__close:hover {
  opacity: 1;
  color: var(--theme-primary-color);
  background: color-mix(in srgb, var(--theme-primary-color) 9%, white);
}

#regsmsOfferModal .regsms-offer-modal__close svg {
  width: 2.3rem;
  height: 2.3rem;
}

#regsmsOfferModal .regsms-offer-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c7ccd6 transparent;
  scrollbar-width: thin;
}

#regsmsOfferModal .regsms-offer-modal__content {
  padding: 2.6rem 3rem 2.8rem;
  color: #626b7c;
  font-size: 1.5rem;
  line-height: 1.65;
}

#regsmsOfferModal .regsms-offer-modal__content p {
  margin: 0 0 1rem;
}

#regsmsOfferModal .regsms-offer-modal__content strong {
  color: #151d30;
  font-weight: 700;
}

#regsmsOfferModal .regsms-offer-modal__content .regsms-offer-modal__section-title {
  margin: 2.8rem 0 1.2rem;
  color: #151d30;
  font-size: 1.75rem;
  line-height: 1.35;
  font-weight: 700;
}

#regsmsOfferModal .regsms-offer-modal__content .regsms-offer-modal__section-title:first-child {
  margin-top: 0;
}

#regsmsOfferModal .regsms-offer-modal__content .regsms-offer-modal__list-item {
  position: relative;
  margin: .7rem 0;
  padding-left: 1.8rem;
}

#regsmsOfferModal .regsms-offer-modal__content .regsms-offer-modal__list-item::before {
  position: absolute;
  top: .78em;
  left: .2rem;
  width: .5rem;
  height: .5rem;
  content: '';
  background: var(--theme-primary-color);
  border-radius: 50%;
}

#regsmsOfferModal .regsms-offer-modal__content .regsms-offer-modal__spacer {
  display: none;
}

#regsmsOfferModal .regsms-offer-modal__footer {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  margin: 0;
  padding: 1.6rem 2.8rem;
  background: #fff;
  border: 0;
  border-top: 1px solid #eceef3;
  flex: 0 0 auto;
}

#regsmsOfferModal .regsms-offer-modal__button {
  min-width: 13rem;
  min-height: 4.4rem;
  padding: 0 2.4rem;
  color: #fff;
  background: var(--theme-primary-color);
  border: 0;
  border-radius: 1.1rem;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

#regsmsOfferModal .regsms-offer-modal__button:hover {
  background: var(--theme-primary-color);
}

#regsmsOfferModal .regsms-offer-modal__button:active {
  transform: translateY(1px);
}

@media (max-width: 575px) {
  #regsmsOfferModal .regsms-offer-dialog {
    margin: 1rem auto;
    padding: 0 1rem;
  }

  #regsmsOfferModal .regsms-offer-modal {
    max-height: calc(100vh - 2rem);
    border-radius: 1.6rem;
  }

  #regsmsOfferModal .regsms-offer-modal__header {
    padding: 2rem 1.8rem 1.6rem;
  }

  #regsmsOfferModal .regsms-offer-modal__header .modal-title {
    font-size: 2rem;
  }

  #regsmsOfferModal .regsms-offer-modal__close {
    width: 4rem;
    height: 4rem;
    flex-basis: 4rem;
  }

  #regsmsOfferModal .regsms-offer-modal__content {
    padding: 2rem 1.8rem 2.2rem;
    font-size: 1.4rem;
  }

  #regsmsOfferModal .regsms-offer-modal__footer {
    padding: 1.3rem 1.8rem;
  }

  #regsmsOfferModal .regsms-offer-modal__button {
    width: 100%;
  }
}

#regsmsModal .regsms-modern__field .form-control {
  width: 100%;
  height: 5.6rem;
  min-height: 5.6rem;
  margin: 0 !important;
  padding: 0 1.6rem 0 1.3rem !important;
  line-height: 5.6rem;
  color: #242832;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font-size: 1.75rem;
}

#regsmsModal .regsms-modern__field #regsms-input-telephone {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transform: none !important;
}

#regsmsModal .regsms-modern__field .form-control::placeholder {
  color: #aeb6c5;
}

#regsmsModal .regsms-modern__field .form-control.error {
  color: #dc3545;
}

#regsmsModal .regsms-modern__country {
  display: flex;
  align-items: center;
  gap: .9rem;
  height: 5.6rem;
  padding: 0 1.4rem;
  flex: 0 0 auto;
  color: #111a2d;
  border-right: 1px solid #e5e8ef;
}

#regsmsModal .regsms-modern__country strong {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 500;
}

#regsmsModal .regsms-modern__country > svg {
  width: 1.6rem;
  height: 1.6rem;
}

#regsmsModal .regsms-modern__flag {
  display: grid;
  width: 2.5rem;
  height: 1.8rem;
  overflow: hidden;
  border: 1px solid #d6dae2;
  border-radius: .3rem;
  box-shadow: 0 .1rem .3rem rgba(15, 23, 42, .08);
}

#regsmsModal .regsms-modern__flag b:nth-child(1) { background: #fff; }
#regsmsModal .regsms-modern__flag b:nth-child(2) { background: #1857b7; }
#regsmsModal .regsms-modern__flag b:nth-child(3) { background: #e12535; }

#regsmsModal .regsms-modern__field--code .form-control {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .18em;
}

#regsmsModal .regsms-modern__error {
  display: none;
  margin-top: .7rem;
  color: #dc3545;
  font-size: 1.2rem;
  line-height: 1.35;
}

#regsmsModal .regsms-modern__notice {
  margin: 0 0 1.8rem;
  padding: 1.2rem 1.4rem;
  color: color-mix(in srgb, var(--theme-primary-color) 65%, #202a3a);
  background: color-mix(in srgb, var(--theme-primary-color) 10%, white);
  border: 1px solid color-mix(in srgb, var(--theme-primary-color) 36%, white);
  border-radius: 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

#regsmsModal .regsms-modern__captcha {
  margin: 0 0 1.6rem;
}

#regsmsModal .regsms-modern__captcha .ui-field,
#regsmsModal .regsms-modern__captcha .js-yandex-smartcaptcha {
  width: 100%;
  min-width: 0;
}

#regsmsModal .regsms-modern__captcha iframe {
  max-width: 100%;
}

#regsmsModal .regsms-modern__actions {
  display: grid;
  gap: 1rem;
  margin: 0;
}

#regsmsModal .regsms-modern__primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 5.8rem;
  margin: 0;
  padding: 1rem 2.4rem;
  border: 0;
  border-radius: 1.2rem;
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#regsmsModal .regsms-modern__primary {
  color: #fff;
  background: linear-gradient(135deg, var(--theme-primary-color), var(--theme-primary-color));
  box-shadow: none;
}

#regsmsModal .regsms-modern__primary:hover,
#regsmsModal .regsms-modern__primary:focus {
  color: #fff;
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: none;
}

#regsmsModal .regsms-modern__primary.is-loading {
  cursor: wait;
  opacity: .82;
  transform: none;
  box-shadow: none;
}

#regsmsModal .regsms-modern__primary.is-loading::after {
  content: "";
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 1.7rem;
  border: 2px solid rgba(255, 255, 255, .42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: regsms-modern-spin .7s linear infinite;
}

@keyframes regsms-modern-spin {
  to { transform: rotate(360deg); }
}

#regsmsModal .regsms-modern__primary > span {
  display: flex;
}

#regsmsModal .regsms-modern__primary svg {
  width: 2.2rem;
  height: 2.2rem;
}

#regsmsModal .regsms-modern__primary-label {
  margin-left: auto;
}

#regsmsModal .regsms-modern__arrow {
  margin-left: 1.2rem;
  margin-right: auto;
}

#regsmsModal .regsms-modern__separator {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2.5rem 0 1.8rem;
  color: #7f899f;
  font-size: 1.35rem;
  line-height: 1.2;
  white-space: nowrap;
}

#regsmsModal .regsms-modern__separator::before,
#regsmsModal .regsms-modern__separator::after {
  content: "";
  width: 100%;
  height: 1px;
  margin: 0;
  background: #e6e9ef;
  border: 0;
}

#regsmsModal .regsms-modern__socials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

#regsmsModal .regsms-modern__socials > :only-child {
  grid-column: 1 / -1;
}

#regsmsModal .regsms-modern__social-item {
  width: 100%;
  min-width: 0;
  min-height: 5.2rem;
  overflow: hidden;
  border-radius: 1.1rem;
}

#regsmsModal .regsms-modern__social-item > div,
#regsmsModal .regsms-modern__social-item > a,
#regsmsModal .regsms-modern__social-item iframe,
#regsmsModal #yandex-auth-container,
#regsmsModal .vkid-login-container {
  width: 100% !important;
  max-width: 100% !important;
}

#regsmsModal #yandex-auth-container,
#regsmsModal .vkid-login-container {
  min-height: 5.2rem;
}

#regsmsModal #yandex-auth-container > div,
#regsmsModal .vkid-login-container > div,
#regsmsModal .vkid-login-container button,
#regsmsModal .vkid-login-container [role="button"] {
  width: 100% !important;
  max-width: none !important;
}

#regsmsModal .regsms-modern__provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  width: 100%;
  height: 5.2rem;
  min-height: 5.2rem;
  margin: 0;
  padding: .7rem 1.6rem;
  color: #121a2c;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-color: #dfe4ec;
  border-radius: 1.1rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

#regsmsModal .regsms-modern__provider:hover,
#regsmsModal .regsms-modern__provider:focus {
  color: #121a2c;
  background: #f9fafc;
  border-color: #c9cfda;
  text-decoration: none;
  transform: translateY(-1px);
}

#regsmsModal .regsms-modern__provider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 3.6rem;
  color: #fff;
  background: #748095;
  border-radius: 50%;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
}

#regsmsModal .regsms-modern__provider--sms .regsms-modern__provider-icon {
  color: var(--theme-primary-color);
  background: color-mix(in srgb, var(--theme-primary-color) 9%, white);
}

#regsmsModal .regsms-modern__provider--telegram .regsms-modern__provider-icon {
  background: #229ed9;
}

#regsmsModal .regsms-modern__offer {
  margin: 2.4rem 0 0;
  max-width: 52rem;
  color: #858fa5;
  font-size: 1.25rem;
  line-height: 1.45;
  text-align: left;
}

#regsmsModal .regsms-modern__offer a,
#regsmsModal .regsms-modern__offer a:hover {
  color: #1685f8;
  text-decoration: none;
}

#regsmsModal .regsms-modern__resend {
  display: block;
  margin: 1.8rem auto 0;
  padding: .5rem;
  color: var(--theme-primary-color);
  background: transparent;
  border: 0;
  font-size: 1.3rem;
  line-height: 1.3;
  text-align: center;
}

#regsmsModal .regsms-modern__resend:hover {
  color: color-mix(in srgb, var(--theme-primary-color) 85%, black);
}

/* Keep the SMS confirmation step compact after the entry screen is replaced. */
#regsmsModal .regsms-modern--code .regsms-modern__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 8rem 2.2rem 3rem;
  border-bottom: 1px solid #eceff4;
}

#regsmsModal .regsms-modern--code .regsms-modern__header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  flex: 0 0 5.2rem;
  color: var(--theme-primary-color);
  background: color-mix(in srgb, var(--theme-primary-color) 9%, white);
  border-radius: 1.5rem;
}

#regsmsModal .regsms-modern--code .regsms-modern__header-icon svg {
  width: 2.7rem;
  height: 2.7rem;
}

#regsmsModal .regsms-modern--code .regsms-modern__eyebrow {
  margin: 0 0 .5rem;
  color: var(--theme-primary-color);
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#regsmsModal .regsms-modern--code .modal-title {
  font-size: 2.4rem;
}

#regsmsModal .regsms-modern--code .regsms-modern__body {
  padding: 2.8rem 3rem 3rem;
}

#regsmsModal .regsms-modern--code .regsms-modern__lead {
  margin-bottom: 2.2rem;
  font-size: 1.4rem;
}

#regsmsModal .regsms-modern--code .regsms-modern__field {
  min-height: 5.6rem;
}

#regsmsModal .regsms-modern--code .regsms-modern__field .form-control {
  height: 5.4rem;
  min-height: 5.4rem;
}

@media (max-width: 575px) {
  #regsmsModal .regsms-modern-dialog {
    margin: 1.5rem auto;
    padding: 0 1rem;
  }

  #regsmsModal .regsms-modern {
    border-radius: 1.6rem;
  }

  #regsmsModal .regsms-modern__header {
    padding: 2.6rem 6rem .8rem 2.2rem;
  }

  #regsmsModal .regsms-modern .modal-title {
    font-size: 2.35rem;
  }

  #regsmsModal .regsms-modern__close {
    top: 2rem;
    right: 2rem;
    width: 4.6rem;
    height: 4.6rem;
  }

  #regsmsModal .regsms-modern__body {
    padding: 0 2.2rem 2.4rem;
  }

  #regsmsModal .regsms-modern__lead {
    margin-bottom: 2.2rem;
    font-size: 1.45rem;
  }

  #regsmsModal .regsms-modern__country {
    gap: .7rem;
    padding: 0 1.2rem;
  }

  #regsmsModal .regsms-modern__country strong,
  #regsmsModal .regsms-modern__field .form-control {
    font-size: 1.7rem;
  }

  #regsmsModal .regsms-modern__field .form-control {
    min-width: 0;
    padding-left: 1rem;
  }

  #regsmsModal .regsms-modern__flag {
    width: 2.4rem;
    height: 1.7rem;
  }

  #regsmsModal .regsms-modern__primary {
    min-height: 5.6rem;
    padding: .9rem 1.8rem;
    font-size: 1.55rem;
  }

  #regsmsModal .regsms-modern__separator {
    margin: 2.2rem 0 1.7rem;
    font-size: 1.3rem;
  }

  #regsmsModal .regsms-modern__provider {
    height: 5.2rem;
    min-height: 5.2rem;
    font-size: 1.45rem;
  }

  #regsmsModal .regsms-modern__provider-icon {
    width: 3.6rem;
    height: 3.6rem;
    flex-basis: 3.6rem;
  }

  #regsmsModal .regsms-modern__offer {
    margin-top: 2.2rem;
    font-size: 1.25rem;
  }

  #regsmsModal .regsms-modern--code .regsms-modern__header {
    gap: 1.2rem;
    padding: 2.2rem 6.2rem 1.8rem 2rem;
  }

  #regsmsModal .regsms-modern--code .regsms-modern__header-icon {
    display: flex;
    width: 4.6rem;
    height: 4.6rem;
    flex-basis: 4.6rem;
    border-radius: 1.2rem;
  }

  #regsmsModal .regsms-modern--code .regsms-modern__header-icon svg {
    width: 2.3rem;
    height: 2.3rem;
  }

  #regsmsModal .regsms-modern--code .modal-title {
    font-size: 2rem;
  }

  #regsmsModal .regsms-modern--code .regsms-modern__body {
    padding: 2.2rem 2rem 2.4rem;
  }

  #regsmsModal .regsms-modern__socials {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  #regsmsModal *,
  #regsmsModal *::before,
  #regsmsModal *::after {
    transition: none !important;
  }
}

/* The confirmation partial is also rendered inside the standalone login page. */
.account-auth__phone #regsms-code-body,
.account-auth__phone .regsms-modern-dialog,
.account-auth__phone .regsms-modern {
  width: 100%;
  max-width: none;
}

.account-auth__phone .regsms-modern-dialog {
  margin: 0;
  padding: 0;
}

.account-auth__phone .regsms-modern {
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.account-auth__phone .regsms-modern__close,
.account-auth__phone .regsms-modern__header {
  display: none;
}

.account-auth__phone .regsms-modern__body {
  padding: 0;
}

.account-auth__phone .regsms-modern__lead {
  margin: 0 0 1.8rem;
  color: #6f7890;
  font-size: 1.5rem;
  line-height: 1.55;
}

.account-auth__phone .regsms-modern__lead b {
  color: #171c2b;
  font-weight: 700;
}

.account-auth__phone .regsms-modern__form-group {
  margin: 0 0 1.8rem;
}

.account-auth__phone .regsms-modern__form-group label {
  display: block;
  margin: 0 0 .8rem;
  color: #171c2b;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.35;
}

.account-auth__phone .regsms-modern__field {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 5.6rem;
  overflow: hidden;
  background: #f7f8fb;
  border: 1px solid #dfe4ec;
  border-radius: 1.2rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.account-auth__phone .regsms-modern__field:focus-within {
  background: #fff;
  border-color: var(--theme-primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-primary-color) 10%, transparent);
}

.account-auth__phone .regsms-modern__field > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  min-width: 5.2rem;
  height: 5.4rem;
  color: var(--theme-primary-color);
}

.account-auth__phone .regsms-modern__field > span svg {
  display: block;
  width: 2.1rem !important;
  min-width: 2.1rem !important;
  max-width: 2.1rem !important;
  height: 2.1rem !important;
  min-height: 2.1rem !important;
  max-height: 2.1rem !important;
}

.account-auth__phone .regsms-modern__field .form-control {
  width: 100%;
  height: 5.4rem;
  min-height: 5.4rem;
  margin: 0;
  padding: 0 1.6rem 0 0;
  color: #171c2b;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.6rem;
  line-height: normal;
}

.account-auth__phone .regsms-modern__field--code .form-control {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.account-auth__phone .regsms-modern__field .form-control:focus {
  box-shadow: none;
}

.account-auth__phone .regsms-modern__error {
  margin-top: .7rem;
  color: #e84646;
  font-size: 1.3rem;
  line-height: 1.4;
}

.account-auth__phone .regsms-modern__primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 5.4rem;
  padding: 1.3rem 2rem;
  color: #fff;
  background: var(--theme-primary-color);
  border: 1px solid var(--theme-primary-color);
  border-radius: 1.2rem;
  box-shadow: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.account-auth__phone .regsms-modern__primary:hover,
.account-auth__phone .regsms-modern__primary:focus {
  color: #fff;
  background: color-mix(in srgb, var(--theme-primary-color) 85%, black);
  border-color: color-mix(in srgb, var(--theme-primary-color) 85%, black);
}

.account-auth__phone .regsms-modern__primary > span,
.account-auth__phone .regsms-modern__primary svg {
  display: block;
  width: 2rem !important;
  min-width: 2rem !important;
  max-width: 2rem !important;
  height: 2rem !important;
  min-height: 2rem !important;
  max-height: 2rem !important;
}

.account-auth__phone .regsms-modern__resend {
  display: block;
  margin: 1.5rem auto 0;
  padding: .4rem;
  color: var(--theme-primary-color);
  background: transparent;
  border: 0;
  font-size: 1.3rem;
  line-height: 1.4;
  text-align: center;
}

.account-auth__phone .regsms-modern__resend:hover,
.account-auth__phone .regsms-modern__resend:focus {
  color: color-mix(in srgb, var(--theme-primary-color) 85%, black);
  text-decoration: none;
}
