.popup-page-scroll {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  outline: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  z-index: 8;
  width: 100vw;
  height: 100vh;
}

.content-popup-page {
  z-index: 2;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.content-popup-page .main-popup-page {
  width: 540px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  margin: 1.75rem auto;
  -webkit-transform: translate(0, -65%);
  -ms-transform: translate(0, -65%);
  transform: translate(0, -65%);
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

.bg-popup-page {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  z-index: 1;
}

.popup-page-scroll.open-popup .bg-popup-page {
  opacity: .5;
  visibility: visible;
}

.popup-page-scroll.open-popup {
  opacity: 1;
  visibility: visible;
  z-index: 13;
}

.popup-page-scroll.open-popup .content-popup-page .main-popup-page {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.block-form-login-page {
  padding: 48px;
}

.content-popup-page .main-popup-page .icon-close {
  background: rgba(245, 245, 245, 1);
  width: var(--space-10);
  height: var(--space-10);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  right: -20px;
  cursor: pointer;
  transition: all .3s;
}

.content-popup-page .main-popup-page .icon-close svg {
    width: 18px;
    height: 18px;
}
.content-popup-page .main-popup-page .icon-close svg path {
    transition: all .3s;
}
.content-popup-page .main-popup-page .icon-close:hover {
    background: var(--text-title);
}
.content-popup-page .main-popup-page .icon-close:hover svg path {
    fill: #fff;
}
.auth-modal__header {
  text-align: center;
  margin-bottom: 16px;
}

.auth-modal__logo {
  margin-bottom: 16px;
}

.auth-modal__tabs {
  display: flex;
  border-bottom: 1px solid var(--border-1);
  margin-bottom: 24px;
}

.auth-modal__tab {
  flex: 1;
  padding: 8px 12px;
  font-size: 18px;
  line-height: 1.3;
  background: none;
  border: none;
  cursor: pointer;
  color: rgb(0 0 0 / 20%);
     position: relative;
  font-family: 'VNBDisplay';
    font-weight: 700;
    transition: all .3s;
      display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal__tab--active {
  color: #000;
}

.auth-modal__tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--text-title);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

/* ===== Form ===== */
.auth-form__group {
  margin-bottom: 16px;
}

.auth-form__label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #000;
  font-weight: 700;
}

.auth-form__input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-1);
  font-size: 16px;
  transition: all .3s;
  background: #fff;
  outline: none;
}

.auth-form__password {
  position: relative;
}

.auth-form__toggle {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  transition: all .3s;
  opacity: 1;
  visibility: visible;
}

.auth-form__actions {
  text-align: right;
  margin-bottom: 20px;
}

.auth-form__forgot {
  font-size: 14px;
  color: rgba(0, 125, 196, 1);
  line-height: 1.4;
  text-decoration: underline;
  transition: all .3s;
}

.auth-form__submit {
  width: 100%;
  height: 48px;
  background: rgba(227, 27, 33, 1);
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
  font-family: 'VNBDisplay';
  display:flex;
  align-items: center;
  justify-content: center;
}


.auth-social {
  margin-top: 24px;
  text-align: center;
}

.auth-social__title {
  margin-bottom: 16px;
  position: relative;
}

.auth-social__list {
  display: flex;
  gap: 12px;
}

.auth-social__item {
  flex: 1;
  height: 48px;
  border-radius: 4px;
  border: 1px solid var(--border-1);
  background: #fff;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal__tab.auth-modal__tab--active:after {
  opacity: 1;
  visibility: visible;
}
.auth-modal__line {
    height: 12px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.auth-modal__tab:hover:after {
  opacity: 1;
  visibility: visible;
}

.auth-form__input::placeholder {
  color: rgba(204, 204, 204, 1);
  font-size:14px;
}

.auth-form__password .auth-form__input {
  font-size: 16px;
  padding-right: 45px;
}

.auth-form__options-view-pass {
  width: 38px;
  height: 40px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.auth-form__toggle.icon-hidden-pass {
  opacity: 0;
  visibility: hidden;
}

.auth-form__options-view-pass.is-show-password .auth-form__toggle.icon-hidden-pass {
  opacity: 1;
  visibility: visible;
}

.auth-form__options-view-pass.is-show-password .auth-form__toggle.icon-show-pass {
  opacity: 0;
  visibility: hidden;
}

.auth-form__options-view-pass:hover {
  background: var(--border-1);
}

.auth-form__forgot:hover {
  color: var(--text-title);
  text-decoration: underline;
}

.auth-form__submit:hover {
  background: rgb(209 14 20);
  color: #fff;
}

.auth-social__title:before {
  content: '';
  position: absolute;
  top: calc(50% + 2px);
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  background: var(--border-1);
  left: 0;
}

.auth-social__title .text {
  background: #fff;
  position: relative;
  padding: 0 8px;
  font-size: 14px;
  color: rgba(128, 128, 128, 1);
}

.auth-social__item:hover {
  background: #fff8f9;
  border-color: var(--text-title);
}
.captcha__row {
    display: flex;
    align-items: center;
    gap: 0 4px;
}

.captcha__row .captcha__image {
    width: 80px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
}
.auth-clause {
    padding-top: 16px;
}
.captcha__row .auth-form__input {
    flex: 1;
}
.auth-clause p {font-size: 14px;color: #808080;font-weight: 400;line-height: 1.4;}

.auth-clause p .link {
    color: rgba(0, 125, 196, 1);
    transition: all .3s;
     text-decoration: underline;
}
.auth-clause p .link:hover {
    color: rgba(227, 27, 33, 1);
    text-decoration: underline;
}
.captcha__row  .captcha__reload {
    border-radius: 8px;
    background: rgba(245, 245, 245, 1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    transition: all .3s;
    cursor: pointer;
}
.auth-form__title {
    font-family: 'VNBDisplay';
    text-align: center;
    color: #000;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 24px;
}
.auth-form__group .note {
    color: #808080;
    font-size: 14px;
    line-height: 1.4;
    margin: 8px 0;
    padding-bottom: 8px;
}
.auth-form__submit-back {
    margin-top: 16px;
    text-align: center;
    font-size: 15px;
    color: #000;
    line-height: 1.4;
    transition: all .3s;
    outline: none;
    box-shadow: none;
    border: none;
    background: #fff;
    cursor: pointer;
    display: inline-flex;
}
.auth-form__group-back {
    text-align: center;
}
.auth-form__submit-back:hover {
    text-decoration: underline;
    color: var(--text-title);
}
.captcha__row .captcha__reload:hover {
    background: var(--border-1);
}
@media (max-width: 575px) {
    .popup-login .main-popup-page {
        width: calc(100% - 48px);
    }
    .content-popup-page .main-popup-page .icon-close {
        width: var(--space-8);
        height: var(--space-8);
        top: -16px;
        right: -16px;
    }
    .content-popup-page .main-popup-page .icon-close svg {
        width: 14px;
        height: 14px;
    }
    .block-form-login-page {
        padding: 24px;
    }
}
@media (min-width: 576px) and (max-width:767px)  { 
    .popup-login .main-popup-page {
        width: 500px;
    }
}
@media (max-width: 1399px) {
    .popup-page-scroll {
        overflow-x: hidden;
        overflow-y: auto;
    }
    .popup-page-scroll .content-popup-page {
        height: auto;
    }
}