body.no-scroll {
  overflow: hidden;
}

html,
body {
  overflow-x: clip;
}

.page-holder > .wrapper > #header,
.page-holder > #footer {
  display: none;
}

.page-holder {
  display: block;
  min-height: 100dvh;
  justify-content: flex-start;
}

.page-holder > .wrapper {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.page-holder > .wrapper > main.margin-top {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.page-holder > .wrapper > .header,
.page-holder > .wrapper > .footer {
  flex: 0 0 auto;
}

.header {
  padding: 4px 16px;
  position: relative;
  width: auto;
  z-index: 20;
  background: #fff;
  box-shadow: 0 4px 18.9px 0 rgba(0, 0, 0, 0.03);
  font-family: Onest, Montserrat, Arial, sans-serif;
}

.header .container {
  width: 100%;
  margin: 0 auto;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.header__logo {
  width: 119px;
  height: 35px;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.5px;
  width: 64px;
  height: 64px;
  border-radius: 19px;
  padding: 20px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.header__burger.active {
  background: #fbf2ff;
}

.header__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: #1c274c;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header__nav,
.header__actions {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 72px;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: calc(100% - 72px);
  border-radius: 0 0 20px 20px;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: Onest, Montserrat, Arial, sans-serif;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__inner {
  max-width: 393px;
  width: 100%;
  margin: 0 auto;
  padding: 44px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-menu__link {
  padding: 12px;
  color: #919191;
  text-align: center;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
}

.mobile-menu__link--active {
  color: #783999;
  font-weight: 600;
  border-bottom: 1px solid #783999;
}

.mobile-menu__nav {
  margin-bottom: 44px;
}

.mobile-menu__submenu-item {
  display: flex;
}

.mobile-menu__submenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-menu__submenu-link {
  padding: 12px;
  color: #919191;
  text-align: center;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  background: transparent;
  border: none;
}

.mobile-menu__item--has-submenu.open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

.mobile-menu__item--has-submenu.open .mobile-menu__submenu {
  max-height: 500px;
}

.mobile-menu__item--has-submenu svg {
  transition: all 0.3s ease;
}

.mobile-menu__item--has-submenu.open svg {
  transform: rotate(180deg);
}

.mobile-menu__language {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}

.mobile-menu__lang-btn {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  border: 1.5px solid #fbf2ff;
  background: transparent;
  color: #783999;
  text-align: center;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu__lang-btn--active,
.mobile-menu__lang-btn:hover {
  color: #fff;
  background: #783999;
}

.mobile-menu__buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.mobile-menu__btn {
  display: flex;
  min-height: 56px;
  padding: 16px 36px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 16px;
  background: #783999;
  color: #fff;
  text-align: center;
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border: none;
  transition: background 0.3s ease;
  text-decoration: none;
}

.mobile-menu__btn-icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.mobile-menu__btn--login {
  background: #fbf2ff;
  color: #783999;
}

main.margin-top {
  margin-top: 44px;
  font-family: Onest, Montserrat, Arial, sans-serif;
  color: #1d1d1b;
}

main.margin-top *,
main.margin-top *::before,
main.margin-top *::after {
  box-sizing: border-box;
}

main.margin-top .breadcrumbs {
  flex: 0 0 auto;
  width: 100%;
  padding: 0 16px;
}

main.margin-top .breadcrumbs .container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

main.margin-top .breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

main.margin-top .breadcrumbs__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1d1d1b;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

main.margin-top .breadcrumbs__link::after {
  content: "";
  width: 20px;
  height: 20px;
  display: flex;
  background: url("../img/vibe/breadcrumbs.svg") no-repeat center / contain;
}

main.margin-top .breadcrumbs__item {
  color: #c1c1c1;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

main.margin-top .global-section {
  padding: 44px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

main.margin-top .global-section .container {
  display: flex;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 16px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
  border-radius: 28px;
  background: #f9f9f9;
}

main.margin-top .global-section__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

main.margin-top .global-section__content h1 {
  margin: 0;
  color: #212121;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

main.margin-top .global-section__content .h2 {
  margin: 0;
  color: #212121;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.18px;
}

main.margin-top .global-section__content-text {
  color: #212121;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.12px;
}

main.margin-top .global-section__content-text p {
  margin: 0;
}

main.margin-top .global-section__info {
  width: 100%;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #eee;
  background: #fff;
}

main.margin-top .global-section__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  margin: 0;
}

main.margin-top .global-section__form-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

main.margin-top .global-section__form-title .h3 {
  color: #1d1d1b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.18px;
  margin: 0;
}

main.margin-top .global-section__form-step {
  color: #4b4b49;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

main.margin-top .global-section__form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

main.margin-top .global-section__form-label {
  color: #1d1d1b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

main.margin-top .vibe-select {
  position: relative;
  width: 100%;
}

main.margin-top .vibe-select::before {
  content: "";
  position: absolute;
  inset: 0;
  min-height: 60px;
  border-radius: 16px;
  border: 1px solid #eee;
  background: #fff;
  z-index: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

main.margin-top .vibe-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 14px;
  height: 8px;
  transform: translateY(-50%);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='7' viewBox='0 0 14 7' fill='none'%3E%3Cpath d='M12.4167 0.75L6.58333 5.75L0.75 0.75' stroke='%23919191' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px 8px;
  z-index: 3;
}

main.margin-top .vibe-select__value {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 52px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #919191;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

main.margin-top .vibe-select--has-value .vibe-select__value {
  color: #1d1d1b;
}

main.margin-top .vibe-select:focus-within::before {
  border-color: #783999;
}

main.margin-top .vibe-select--has-value::before {
  border-color: #d7c0e8;
}

main.margin-top .vibe-select .global-section__form-input {
  position: relative;
  z-index: 4;
  opacity: 0;
  cursor: pointer;
  min-height: 60px;
}

main.margin-top .global-section__form--third-contacts .global-section__form-input {
  min-height: 60px;
}

main.margin-top .global-section__form--third-contacts .vibe-select::before,
main.margin-top .global-section__form--third-contacts .vibe-select .global-section__form-input {
  min-height: 60px;
}

main.margin-top #f_cr6 #phone.global-section__form-input {
  min-height: 60px;
}

main.margin-top .global-section__form-input {
  width: 100%;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #eee;
  background: #fff;
  color: #1d1d1b;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  outline: none;
}

main.margin-top .global-section__form-input::placeholder {
  color: #919191;
}

main.margin-top .global-section__form-input:focus {
  border-color: #783999;
}

main.register-entry-page,
main.register-code-page,
main.register-entry-page input,
main.register-code-page input,
main.register-entry-page button,
main.register-code-page button,
main.register-entry-page a,
main.register-code-page a {
  font-family: Onest, sans-serif;
}

main.margin-top .register-entry-form .global-section__form-input,
main.margin-top .register-code-form .global-section__form-input {
  box-sizing: border-box;
  min-height: 61px;
  padding: 20px;
  color: #919191;
  -webkit-text-fill-color: #919191;
  font-family: Onest, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

main.margin-top select.global-section__form-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='7' viewBox='0 0 14 7' fill='none'%3E%3Cpath d='M12.4167 0.75L6.58333 5.75L0.75 0.75' stroke='%23919191' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 14px 8px;
  color: #919191 !important;
  -webkit-text-fill-color: #919191;
}

main.margin-top select.global-section__form-input:invalid {
  color: #919191 !important;
  -webkit-text-fill-color: #919191;
}

main.margin-top select.global-section__form-input:not(:invalid) {
  color: #1d1d1b !important;
  -webkit-text-fill-color: #1d1d1b;
}

main.margin-top select.global-section__form-input option {
  color: #1d1d1b !important;
  -webkit-text-fill-color: #1d1d1b;
  background: #fff !important;
}

main.margin-top input[type="number"].global-section__form-input::-webkit-inner-spin-button,
main.margin-top input[type="number"].global-section__form-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

main.margin-top input[type="number"].global-section__form-input {
  -moz-appearance: textfield;
  appearance: textfield;
}

main.margin-top .global-section__form-visible {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

main.margin-top .global-section__form-flex {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

main.margin-top .global-section__form-flex input {
  height: 49px;
  flex: 1 1 16.66%;
  min-width: 0;
  border-radius: 12px;
  background: #f9f9f9;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  color: #1d1d1b;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  outline: none;
}

main.margin-top .global-section__form-visible span {
  color: #9b9b99;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.12px;
}

main.margin-top .global-section__form-visible-btn {
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #783999;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  letter-spacing: 0.12px;
  text-align: left;
  transition: color 0.2s ease, opacity 0.2s ease;
}

main.margin-top .global-section__form-visible-btn:hover {
  color: #663080;
}

main.margin-top .global-section__form-visible-btn:disabled {
  cursor: wait;
  opacity: 0.82;
}

main.margin-top .global-section__form-visible-btn.is-loading::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 2px solid rgba(120, 57, 153, 0.22);
  border-top-color: #783999;
  border-radius: 50%;
  animation: vibe-resend-spin 0.75s linear infinite;
}

@keyframes vibe-resend-spin {
  to {
    transform: rotate(360deg);
  }
}

main.margin-top .global-section__document {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

main.margin-top .global-section__document.active {
  display: flex;
}

main.margin-top .global-section__form-radio {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

main.margin-top .global-section__form-radio .global-section__form-group,
main.margin-top .global-section__form-chexbox .global-section__form-group {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

main.margin-top .global-section__form-radio-input,
main.margin-top .global-section__form-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border: 2px solid #eadef0;
  background: #fff;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

main.margin-top .global-section__form-radio-input {
  border-radius: 50%;
}

main.margin-top .global-section__form-checkbox {
  border-radius: 8px;
}

main.margin-top .global-section__form-radio-input:checked,
main.margin-top .global-section__form-checkbox:checked {
  border-color: #783999;
  background: #783999;
}

main.margin-top .global-section__form-radio-input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

main.margin-top .global-section__form-radio-label {
  color: #212121;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

main.margin-top .global-section__form-radio-input:disabled {
  border-color: #d9d9d9;
  background: #f3f3f3;
  cursor: not-allowed;
}

main.margin-top .global-section__form-radio-input:disabled + .global-section__form-radio-label {
  color: #919191;
  cursor: not-allowed;
}

main.margin-top .global-section__form-checkbox-label {
  color: #919191;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.12px;
}

main.margin-top .global-section__form-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

main.margin-top .global-section__form-row .global-section__form-group {
  flex: 1 0 0;
}

main.margin-top .global-section__form-group-chaked {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}

main.margin-top .global-section__form-label-chaked {
  color: #1d1d1b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12px;
}

main.register-details-page .register-details-form .global-section__form-label-chaked {
  color: #1d1d1b;
  font-family: Onest, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0;
}

main.register-third-contacts-page .global-section__content h1 {
  color: #212121;
  font-family: Onest, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: 0;
}

main.margin-top .global-section__form-group-chaked-address {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

main.margin-top .global-section__form-group-chaked-address .h3 {
  color: #1d1d1b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.18px;
  margin: 0;
}

main.margin-top .global-section__form-btns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

main.margin-top .global-section__form-btn {
  min-height: 50px;
  width: 100%;
  border-radius: 16px;
  padding: 16px 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

main.margin-top .global-section__form-btn--login {
  color: #fff;
  background: #783999;
}

main.margin-top .global-section__form-btn--login:hover {
  color: #fff;
  background: #663080;
}

main.margin-top .identity-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

main.margin-top .identity-option {
  width: 100%;
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #eadef0;
  border-radius: 16px;
  background: #fff;
  font-family: Onest, Montserrat, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

main.margin-top .identity-option--active {
  border-color: #783999;
  background: #fcf5ff;
  box-shadow: 0 8px 24px rgba(120, 57, 153, 0.08);
}

main.margin-top .identity-option__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

main.margin-top .identity-option__title {
  color: #1d1d1b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

main.margin-top .identity-option__text {
  color: #4b4b49;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

main.credit-rkom-page .credit-rkom-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

main.credit-rkom-page .credit-rkom-card__text {
  color: #212121;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

main.credit-rkom-page .credit-rkom-card__text h1,
main.credit-rkom-page .credit-rkom-card__text h2,
main.credit-rkom-page .credit-rkom-card__text h3,
main.credit-rkom-page .credit-rkom-card__text p {
  margin-top: 0;
}

main.credit-rkom-page .credit-rkom-card__text > :last-child {
  margin-bottom: 0;
}

main.credit-rkom-page .credit-rkom-card__warning > div {
  color: #e30613 !important;
  border-color: #e30613 !important;
  font-family: Onest, Montserrat, Arial, sans-serif;
}

main.credit-rkom-page .credit-rkom-form {
  gap: 14px;
}

main.credit-rkom-page #aj_res {
  width: 100%;
  color: #e30613;
  font-size: 14px;
  line-height: 1.35;
}

main.credit-pay-rkom-page .form__submit.btn {
  color: #fff;
  background: #783999;
  border-color: #783999;
}

main.credit-pay-rkom-page .form__submit.btn:hover {
  color: #fff;
  background: #663080;
  border-color: #663080;
}

main.diia-identification-page .diia-identification {
  padding: 24px 0 64px;
}

main.diia-identification-page .diia-identification__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

main.diia-identification-page .diia-identification__head h1 {
  margin: 0;
  color: #212121;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

main.diia-identification-page .diia-identification__frame-wrap {
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid #eadef0;
  border-radius: 16px;
  background: #fff;
}

main.diia-identification-page .diia-identification__frame {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
}

main.diia-identification-page .diia-identification__restart {
  width: auto;
  min-width: 280px;
}

main.diia-identification-page #diia_identification_result {
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  main.diia-identification-page .diia-identification {
    padding: 16px 0 40px;
  }

  main.diia-identification-page .diia-identification__head h1 {
    font-size: 28px;
  }

  main.diia-identification-page .diia-identification__head {
    flex-direction: column;
    align-items: stretch;
  }

  main.diia-identification-page .diia-identification__restart {
    width: 100%;
    min-width: 0;
  }

  main.diia-identification-page .diia-identification__frame-wrap,
  main.diia-identification-page .diia-identification__frame {
    min-height: 680px;
  }
}

.footer {
  padding: 16px 16px 32px;
  background: #fcf5ff;
  font-family: Onest, Montserrat, Arial, sans-serif;
}

.footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  align-self: stretch;
}

.footer-card {
  display: flex;
  max-width: 730px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 20px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 32px;
  background: #783999;
}

.footer-card__img {
  width: 150px;
  height: 43px;
  margin-bottom: 46px;
}

.footer-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-card__info {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid #fff;
  margin-bottom: 32px;
}

.footer-card__info p,
.footer-card__tov p {
  margin: 0;
}

.footer-card__tov {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.12px;
  opacity: 0.7;
}

.footer-right {
  display: flex;
  max-width: 730px;
  width: 100%;
  margin: 0 auto;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 64px;
  align-self: stretch;
}

.footer-right__contact {
  display: flex;
  max-width: 262px;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
}

.footer-right__contact-address {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  font-style: normal;
}

.footer-right__contact-phone {
  color: #1d1d1b;
  text-align: right;
  font-family: Onest, Montserrat, Arial, sans-serif;
  font-size: 37px;
  white-space: nowrap;
  font-weight: 600;
  text-decoration: none;
}

.footer-right__contact-email {
  color: #4b4b49;
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.footer-right__contact-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.footer-right__contact-social-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 17px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-right__contact-social-link {
  width: 33.571px;
  height: 33.571px;
  flex-shrink: 0;
}

.footer-right__contact-list {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-right__contact-list-link {
  display: flex;
  width: 83px;
  height: 58px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 999px;
  background: #fff;
}

.footer-right__contact-list-link img {
  width: 100%;
  height: 100%;
  object-fit: none;
}

.footer-right-nav {
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  gap: 48px;
  align-self: stretch;
  flex-wrap: wrap;
}

.footer-right-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  align-self: stretch;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-right-nav-list .h3 {
  display: flex;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.footer-right-nav-link {
  color: #1d1d1b;
  padding: 6px 12px;
  max-width: 220px;
  display: flex;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
  text-decoration: none;
}

.footer-right__contact-social .h3 {
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

@media (min-width: 1280px) {
  .header__burger {
    display: none;
  }

  .header__nav,
  .header__actions {
    display: flex;
  }

  .header {
    padding: 12px 20px;
  }

  .header .container {
    max-width: 1880px;
    padding: 8px 16px 8px 24px;
    border-radius: 32px;
    width: 100%;
    margin: 0 auto;
  }

  .header__logo {
    width: 150px;
    height: 44px;
  }

  .header__menu {
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .header__menu-link {
    padding: 12px;
    color: #919191;
    text-align: center;
    font-family: Onest, Montserrat, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .header__menu-item--has-submenu {
    position: relative;
  }

  .header__menu-link--active,
  .header__menu-link:hover {
    color: #783999;
    border-bottom: 1px solid #783999;
  }

  .header__menu-link--active {
    font-weight: 600;
  }

  .header__submenu {
    position: absolute;
    top: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: max-content;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .header__menu-item--has-submenu:hover .header__submenu {
    max-height: 500px;
  }

  .header__submenu-item {
    padding: 8px;
  }

  .header__submenu-link {
    padding: 12px;
    color: #919191;
    font-family: Onest, Montserrat, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .header__submenu-link:hover {
    color: #783999;
  }

  .header__actions {
    align-items: center;
    gap: 24px;
    align-self: stretch;
  }

  .header__language-select {
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 99px;
    background: transparent;
    border: none;
    color: #783999;
    text-align: center;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
  }

  .header__language-select:focus {
    outline: none;
  }

  .header__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header__btn {
    min-height: 56px;
    padding: 16px 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    border-radius: 16px;
    background: #fbf2ff;
    color: #783999;
    text-align: center;
    font-family: Onest, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .header__btn-icon {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
  }

  .header__btn--offer {
    background: #783999;
    color: #fff;
  }

  .header__btn:hover {
    opacity: 0.8;
  }

  main.margin-top {
    margin-top: 64px;
  }

  main.margin-top .breadcrumbs {
    padding-bottom: 0;
  }

  main.margin-top .breadcrumbs .container {
    max-width: 1200px;
  }

  main.margin-top .breadcrumbs__link,
  main.margin-top .breadcrumbs__item {
    font-size: 16px;
  }

  main.margin-top .global-section {
    padding: clamp(32px, 5vh, 64px) 16px;
  }

  main.margin-top .global-section .container {
    max-width: 1200px;
    padding: 24px;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 28px;
  }

  main.margin-top .global-section__content {
    max-width: 590px;
    width: 100%;
    flex-shrink: 0;
  }

  main.margin-top .global-section__content h1 {
    font-size: 44px;
  }

  main.margin-top .global-section__content .h2 {
    font-size: 20px;
    letter-spacing: -0.2px;
  }

  main.margin-top .global-section__content-text {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  main.margin-top .global-section__info {
    max-width: 515px;
    padding: 24px;
  }

  main.margin-top .global-section__info--tabs {
    max-width: 560px;
  }

  main.margin-top .global-section__form-title .h3 {
    font-size: 20px;
    letter-spacing: -0.2px;
  }

  main.margin-top .global-section__form-step {
    font-size: 16px;
  }

  main.margin-top .global-section__form-label {
    font-size: 16px;
  }

  main.margin-top .global-section__form-btn {
    font-size: 16px;
  }

  main.margin-top .global-section__form-flex input {
    height: 80px;
  }

  main.margin-top .global-section__form-visible span,
  main.margin-top .global-section__form-visible-btn {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  main.margin-top .global-section__form-checkbox-label {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  main.margin-top .global-section__form-label-chaked {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .footer {
    padding: 32px 64px;
  }

  .footer .container {
    max-width: 1792px;
    width: 100%;
    margin: 0 auto;
    gap: clamp(32px, 4vw, 80px);
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    align-self: auto;
  }

  .footer-card {
    width: min(494px, 34vw);
    padding: 32px 20px;
    flex-shrink: 0;
    max-width: 494px;
    margin: 0;
  }

  .footer-card__info {
    font-size: 16px;
  }

  .footer-right {
    gap: clamp(32px, 6vw, 155px);
    flex: 1 0 0;
    flex-direction: row;
    margin: 0;
    max-width: none;
    min-width: 0;
  }

  .footer-right-nav {
    flex-direction: row;
    gap: clamp(24px, 3vw, 48px);
    min-width: 0;
  }

  .footer-right-nav-list .h3 {
    font-size: 18px;
  }

  .footer-right-nav-item {
    display: flex;
  }

  .footer-right-nav-link {
    font-size: 16px;
    max-width: 245px;
    width: 100%;
    padding: 6px 12px;
    border-radius: 99px;
  }

  .footer-right__contact-email {
    font-size: 16px;
  }

  .footer-right__contact-social .h3 {
    font-size: 18px;
    font-weight: 500;
  }
}

@media (min-width: 1280px) and (max-width: 1500px) {
  .header__actions {
    gap: 12px;
  }

  .header__btn {
    min-height: 48px;
    padding: 12px 20px;
  }

  .footer {
    padding: 18px 32px;
  }

  .footer .container {
    gap: 24px;
  }

  .footer-card {
    width: 390px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-card__img {
    margin-bottom: 20px;
  }

  .footer-card__info {
    font-size: 14px;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .footer-right {
    flex-wrap: nowrap;
    gap: 24px;
  }

  .footer-right__contact {
    max-width: 240px;
    gap: 28px;
  }

  .footer-right__contact-phone {
    font-size: 28px;
  }

  .footer-right-nav {
    gap: 16px;
  }

  .footer-right-nav-link {
    max-width: 190px;
    font-size: 14px;
  }
}

@media (min-width: 1280px) and (max-width: 1500px) and (max-height: 860px) {
  main.margin-top {
    margin-top: 28px;
  }

  main.margin-top .breadcrumbs {
    padding-bottom: 0;
  }

  main.margin-top .global-section {
    flex: 0 0 auto;
    padding-top: 12px;
    padding-bottom: 18px;
  }

  main.margin-top .global-section .container {
    gap: 24px;
    padding: 18px;
  }

  main.margin-top .global-section__content {
    gap: 12px;
  }

  main.margin-top .global-section__content h1 {
    font-size: 34px;
  }

  main.margin-top .global-section__content .h2 {
    font-size: 18px;
  }

  main.margin-top .global-section__content-text {
    font-size: 13px;
  }

  main.margin-top .global-section__info {
    padding: 18px;
  }

  main.margin-top .global-section__form {
    gap: 14px;
  }

  main.margin-top .global-section__form-input {
    padding: 14px 16px;
  }

  main.margin-top .register-entry-form .global-section__form-input,
  main.margin-top .register-code-form .global-section__form-input {
    min-height: 61px;
    padding: 20px;
  }

  main.margin-top .global-section__form-btn {
    min-height: 46px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .footer {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer-card {
    width: 360px;
    padding: 16px;
    border-radius: 22px;
  }

  .footer-card__img {
    width: 128px;
    height: 37px;
    margin-bottom: 14px;
  }

  .footer-card__info {
    font-size: 12px;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .footer-card__tov {
    font-size: 11px;
  }

  .footer-right {
    gap: 18px;
  }

  .footer-right-nav {
    gap: 12px;
  }

  .footer-right-nav-list {
    gap: 5px;
  }

  .footer-right-nav-list .h3 {
    padding: 8px 10px;
    font-size: 14px;
  }

  .footer-right-nav-link {
    max-width: 175px;
    padding: 4px 10px;
    font-size: 12px;
  }

  .footer-right__contact {
    max-width: 210px;
    gap: 18px;
  }

  .footer-right__contact-address {
    gap: 5px;
  }

  .footer-right__contact-phone {
    font-size: 24px;
  }

  .footer-right__contact-email,
  .footer-right__contact-social .h3 {
    font-size: 13px;
  }

  .footer-right__contact-social {
    gap: 10px;
  }

  .footer-right__contact-social-list {
    gap: 10px;
  }

  .footer-right__contact-social-link {
    width: 28px;
    height: 28px;
  }

  .footer-right__contact-list {
    height: 44px;
  }

  .footer-right__contact-list-link {
    width: 68px;
    height: 44px;
  }
}

/* Countdown timer */
.countdown-timer {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.countdown-timer__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.countdown-timer__track {
  fill: none;
  stroke: #EADEF0;
  stroke-width: 16;
  stroke-linecap: round;
}

.countdown-timer__progress {
  fill: none;
  stroke: #B07CC9;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 534.07;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.countdown-timer__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Onest, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #1D1D1B;
}

main.register-third-contacts-page .global-section__content.global-section__content--register > h1 {
  color: #212121;
  font-family: Onest, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: 0;
}

main.check2-wait-page .global-section__content.global-section__content--register > h1 {
  color: #212121;
  font-family: Onest, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: 0;
}

main.register-8-page .global-section__content.global-section__content--register > h1 {
  color: #212121;
  font-family: Onest, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: 0;
}

main.register-8-1-page .global-section__content.global-section__content--register > h1 {
  color: #212121;
  font-family: Onest, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: 0;
}

main.margin-top .register-8-form .global-section__form-input,
main.margin-top .register-8-1-form .global-section__form-input,
main.margin-top .register-8-form .vibe-select::before,
main.margin-top .register-8-1-form .vibe-select::before,
main.margin-top .register-8-form .vibe-select .global-section__form-input,
main.margin-top .register-8-1-form .vibe-select .global-section__form-input {
  min-height: 64px;
}

main.register-8-1-page .register-8-1-form .global-section__form-label-chaked {
  color: #1d1d1b;
  font-family: Onest, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0;
}

main.margin-top .bankid-confirm__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

main.margin-top .bankid-confirm__logo {
  display: flex;
  align-items: center;
  max-width: 180px;
}

main.margin-top .bankid-confirm__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

main.margin-top .bankid-confirm__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

main.margin-top .bankid-confirm__head .h3 {
  color: #212121;
  font-family: Onest, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
  letter-spacing: 0;
  margin: 0;
}

main.margin-top .bankid-confirm__head span {
  color: #919191;
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0;
}

main.margin-top .bankid-confirm__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

main.margin-top .bankid-confirm__item {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 16px;
  align-items: start;
}

main.margin-top .bankid-confirm__label {
  color: #919191;
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0;
}

main.margin-top .bankid-confirm__value {
  color: #1D1D1B;
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

main.margin-top .bankid-confirm__divider {
  width: 100%;
  height: 1px;
  background: #E9D6F3;
  margin: 4px 0;
}

main.margin-top .bankid-confirm__actions {
  justify-content: flex-start;
}

main.margin-top .bankid-confirm__status {
  color: #783999;
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
}

main.margin-top .bankid-confirm__actions .is-loading {
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 767px) {
  main.register-third-contacts-page .global-section__content.global-section__content--register > h1 {
    font-size: 28px;
    line-height: 34px;
  }

  main.check2-wait-page .global-section__content.global-section__content--register > h1 {
    font-size: 28px;
    line-height: 34px;
  }

  main.check2-wait-page .global-section__content-img {
    display: none;
  }

  main.margin-top .bankid-confirm__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  main.margin-top .bankid-confirm__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
