html {
  box-sizing: border-box;
}

button {
  border: none;
  outline: none;
  background-color: initial;
  cursor: pointer;
}

h1 {
  margin: 0;
}

p {
  margin: 0;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 0;
}

label {
  margin: 0;
}

a:hover,
a:focus {
  color: inherit;
}

.radio,
.checkbox {
  margin: 0;
}

.auth {
  display: grid;
  grid-template-columns: 50% auto;
  padding: 32px;
  width: 100%;
  min-height: 100vh;
  font-family: "Inter", "Arial", sans-serif;
  background-color: #FFFFFF;
  max-width: 1440px;
  margin: 0 auto;
}

.auth__left {
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  justify-content: center;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
}

.auth__title {
  font-size: 52px;
  font-weight: 900;
  line-height: 64px;
  color: #ffffff;
}

.auth__text {
  font-size: 22px;
  font-weight: 500;
  line-height: 26px;
  color: #ffffff;
}

.auth__right {
  padding: 90px 32px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth__inner {
  max-width: 430px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 130px;
}

.auth__inner--reg {
  gap: 30px !important;
}

.auth__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

.auth__logo {
  flex-shrink: 0;
}

.auth__tabs {
  border-radius: 8px;
  padding: 4px;
  max-width: 358px;
  display: grid;
  grid-template-columns: 50% 50%;
  background-color: #ECF0FF;
  width: 100%;
}

.auth__tab {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #9C9AA5;
  transition: 0.3s;
}

.auth__tab:not(.auth__tab--active):hover {
  color: #1657FF;
  transition: 0.3s;
}

.auth__tab--active:hover {
  color: #FFFFFF;
  transition: 0.3s;
}

.auth__tab--active {
  background-color: #1657FF;
  color: #FFFFFF;
  transition: 0.3s;
}

.form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 30px;
}

.form__column {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form__label {
  display: flex;
  gap: 2px;
}

.form__unite {
  color: #26203B;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
}

.form__star {
  color: #E45270;
  font-size: 16px;
  font-weight: 500;
  line-height: 15px;
}

.form__input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(70, 95, 241, 0.40);
  background-color: #FFFFFF;
  padding: 14px 15px;
  color: #26203B;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 18px;
  transition: 0.3s;
}

.form__input:hover {
  transition: 0.3s;
  border-color: rgba(70, 95, 241, 0.50);
}

.form__input:focus {
  transition: 0.3s;
  border-color: rgba(70, 95, 241, 0.50);
  box-shadow: 0 4px 8px 0 rgba(70, 95, 241, 0.10);
}

.form__input:focus-visible {
  transition: 0.3s;
  outline: none;
}

.form__input::-webkit-input-placeholder {
  color: #9C9AA5;
}

.form__input::-moz-placeholder {
  color: #9C9AA5;
}

.form__input:-ms-input-placeholder {
  color: #9C9AA5;
}

.form__input::placeholder {
  color: #9C9AA5;
}

.form .help-block {
  color: #E45270;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  text-transform: lowercase;
  margin: 0;
}

.form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.form__link {
  color: #9C9AA5;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.form__password {
  position: relative;
}

.form__show {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
}

.form__icon {
  flex-shrink: 0;
}

.form--icon--hide {
}

.form--icon--show {
  display: none;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.checkbox__input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.checkbox__indicator {
  border-radius: 4px;
  border: 1px solid rgba(70, 95, 241, 0.40);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: 0.3s;
}

.checkbox__input:checked ~ .checkbox__indicator {
  border-color: transparent;
  transition: 0.3s;
}

.checkbox__check {
  display: none;
  transition: 0.3s;
}

.checkbox__input:checked ~ .checkbox__indicator .checkbox__check {
  display: block;
  transition: 0.3s;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  margin: 0;
}

.checkbox__label {
  color: #9C9AA5 !important;
  font-size: 12px;
  font-weight: 400 !important;
  line-height: 15px;
  min-height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.form__button {
  width: 100%;
  border-radius: 8px;
  background-color: #1657FF;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.form__button:hover {
  background-color: #1246CC;
  transition: 0.3s;
}

.form__items {
  display: grid;
  grid-template-columns: repeat(2, calc((100% - 15px) / 2));
  gap: 15px;
}

.form__text {
  color: #26203B;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}

.select2-container--default .select2-selection--single {
  border-radius: 8px;
  border: 1px solid rgba(70, 95, 241, 0.40);
  height: auto;
  transition: 0.3s;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 14px 35px 14px 15px;
  color: #26203B;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 20px;
  height: 20px;
  background-image: url("/img/dropdown-icon.svg");
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  transition: 0.3s;
}

.select2-container--default:hover .select2-selection--single .select2-selection__arrow {
  background-image: url("/img/dropdown-icon-hover.svg");
  transition: 0.3s;
}

.select2-container--default:hover .select2-selection--single {
  border: 1px solid rgba(70, 95, 241, 0.50);
  transition: 0.3s;
}

.select2-container--open .select2-selection--single .select2-selection__arrow {
  transform: translateY(-50%) rotate(180deg);
  transition: 0.3s;
}

.select2-container--open .select2-selection--single {
  border: 1px solid rgba(70, 95, 241, 0.50);
  box-shadow: 0 4px 8px 0 rgba(70, 95, 241, 0.10);
  transition: 0.3s;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default.select2-container--open .select2-selection--single {
  border-width: 1px;
}

.select2-container--open .select2-dropdown--below {
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(70, 95, 241, 0.50);
  box-shadow: 0 4px 8px 0 rgba(70, 95, 241, 0.10);
  overflow: hidden;
}

.select2-search--dropdown {
  display: none;
}

.select2-results__option {
  padding: 8px 20px;
  transition: 0.3s;
}

.select2-dropdown {
  color: #26203B;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  font-family: "Inter", "Arial", sans-serif;
}

body .select2-container--default .select2-results__option[aria-selected="true"]:hover,
body .select2-container--default .select2-selection--multiple .select2-selection__choice,
body .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #ECF0FF;
  color: #26203B;
  transition: 0.3s;
}

.modals {
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Inter", "Arial", sans-serif;
  padding: 15px;
}

.modals__window {
  max-width: 600px;
  background-color: #FFFFFF;
  border-radius: 40px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.modals__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.modals__title {
  color: #26203B;
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
}

.modals__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #26203B;
}

@media (max-width: 1380px) {
  .auth__title {
    font-size: 50px;
    line-height: 60px;
  }

  .auth__left {
    padding: 45px;
  }
}

@media (max-width: 1280px) {
  .auth__right {
    padding: 85px 32px;
  }

  .auth__title {
    font-size: 48px;
    line-height: 58px;
  }

  .auth__left {
    gap: 25px;
    padding: 40px;
  }

  .auth__inner {
    gap: 120px;
  }

  .modals__window {
    border-radius: 30px;
  }

  .modals__title {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (max-width: 1180px) {
  .auth {
    padding: 25px;
  }

  .auth__right {
    padding: 80px 25px;
  }

  .auth__title {
    font-size: 44px;
    line-height: 52px;
  }

  .auth__left {
    gap: 20px;
    padding: 35px;
    border-radius: 15px;
  }

  .auth__text {
    font-size: 20px;
    line-height: 24px;
  }

  .auth__inner {
    gap: 110px;
  }

  .modals__window {
    border-radius: 25px;
    padding: 30px 25px;
  }

  .modals__title {
    font-size: 26px;
    line-height: 32px;
  }
}

@media (max-width: 1080px) {
  .auth__title {
    font-size: 40px;
    line-height: 46px;
  }

  .auth__left {
    gap: 15px;
    padding: 30px;
  }

  .auth__inner {
    gap: 100px;
  }
}

@media (max-width: 980px) {
  .auth {
    padding: 20px;
  }

  .auth__right {
    padding: 75px 20px;
  }

  .auth__title {
    font-size: 38px;
    line-height: 44px;
  }

  .auth__left {
    padding: 25px;
    border-radius: 10px;
  }

  .auth__text {
    font-size: 18px;
    line-height: 22px;
  }

  .auth__inner {
    gap: 90px;
  }

  .modals__window {
    border-radius: 20px;
    padding: 25px 20px;
  }

  .modals__title {
    font-size: 24px;
    line-height: 30px;
  }
}

@media (max-width: 880px) {
  .auth {
    grid-template-columns: 100%;
  }

  .auth__left {
    display: none;
  }

  .auth__right {
    padding: 70px 0;
  }

  .auth__inner {
    gap: 70px;
  }
}

@media (max-width: 780px) {
  .auth {
    padding: 15px;
  }

  .auth__right {
    padding: 65px 0;
  }

  .auth__inner {
    gap: 50px;
  }

  .modals__window {
    border-radius: 15px;
    padding: 20px 15px;
  }

  .modals__top {
    gap: 15px;
  }

  .modals__title {
    font-size: 22px;
    line-height: 26px;
  }
}

@media (max-width: 480px) {
  .auth {
    padding: 10px;
  }

  .auth__right {
    padding: 60px 0;
  }

  .auth__inner {
    gap: 30px;
  }

  .auth__top {
    gap: 30px;
  }

  .auth__tab {
    font-size: 14px;
    line-height: 18px;
  }

  .form__items {
    grid-template-columns: 100%;
  }

  .modals__window {
    border-radius: 10px;
    padding: 15px 10px;
  }

  .modals__top {
    gap: 10px;
  }

  .modals__title {
    font-size: 20px;
    line-height: 24px;
  }

  .modals__text {
    font-size: 12px;
    line-height: 16px;
  }

  .modals {
    padding: 10px;
  }
}
