.auth {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0f0f0f;
  display: table;
  width: 100%;
  height: 100%;
}
.auth__bg {
  position: absolute;
  height: 100%;
}
.auth__bg-left {
  left: 0;
  width: 71.597vw;
}
.auth__bg-right {
  width: 47.708vw;
  right: 0;
}
.auth__bg-right picture:nth-child(2) {
  display: none;
}
.auth__bg-text {
  -webkit-transform: rotate(-70deg);
  transform: rotate(-70deg);
  font-weight: 700;
  font-size: 128px;
  line-height: 100%;
  text-transform: capitalize;
  white-space: nowrap;
}
.auth .container {
  display: table-cell;
  vertical-align: middle;
}
.auth__item {
  max-width: 893px;
  margin: 30px auto;
  position: relative;
  min-height: 579px;
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.auth__item-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
}
.auth__item-bg img {
  max-height: -webkit-fill-available;
  -o-object-fit: fill;
  object-fit: fill;
}
.auth__item_is-company {
  background: var(--f5f5f5);
  border-radius: 30px;
}
.auth__item_is-company .auth__item-bg {
  display: none;
}
.auth__item_is-company .auth__form {
  max-width: 100%;
}
.auth__item_is-company .auth__inputs {
  gap: 20px 21px;
  margin: 20px 0;
}
.auth__form {
  position: relative;
  z-index: 2;
  max-width: 451px;
  margin-left: auto;
  color: #1b1b1c;
  width: 100%;
}
.auth__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 122%;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
}
.auth__subtitle {
  text-align: center;
}
.auth__subtitle a {
  color: var(--f56e0f);
}
.auth__inputs {
  margin: 39px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 32px;
}
.auth__label {
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 10px;
}
.auth__label a {
  color: var(--999999);
}
.auth__input {
  width: 100%;
}
.auth__input input {
  background: var(--f5f5f5);
  border: 1px solid var(--999999);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
.auth__input select {
  background: var(--f5f5f5);
  border: 1px solid var(--999999);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.auth__input.error input {
  border-color: #ff3939;
  color: #ff3939;
}
.auth__input_checkbox {
  margin-top: -12px;
}
.auth__input_50 {
  width: calc(50% - 10.5px);
}
.auth__btn {
  width: 100%;
  margin-top: 20px;
}
.auth__btn:hover {
  background: #f59543;
  color: var(--f5f5f5);
}
.auth__checkbox {
  display: none;
}
.auth__checkbox:checked ~ .auth__checkbox-label {
  --auth-checkbox-image: url(/static/images/auth/checkbox.svg);
}
.auth__checkbox-label {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 0;
}
.auth__checkbox-square {
  border: 1px solid var(--f56e0f);
  border-radius: 2px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: var(--auth-checkbox-image, none);
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
}
.auth__message {
  font-weight: 500;
  text-align: center;
  margin-top: 6px;
  text-align: left;
}
.auth__message.error {
  font-size: 13px;
  color: #ff3939;
  padding-left: 2px;
}
.auth__restore {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 30px;
}
.auth__restore-text {
  text-align: center;
}
.auth__step {
  display: none;
}
.auth__step.active {
  display: block;
}
@media screen and (width <= 1000px) {
  .auth__bg-left {
    display: none;
  }
  .auth__bg-right {
    width: 100%;
  }
  .auth__bg-right picture {
    display: none;
  }
  .auth__bg-right picture:nth-child(2) {
    display: block;
  }
  .auth__item {
    background: var(--f5f5f5);
    max-width: 720px;
    border-radius: 30px;
    margin: 100px auto;
    padding: 20px;
    min-height: auto;
  }
  .auth__item-bg {
    display: none;
  }
  .auth__form {
    margin-left: 0;
    max-width: 100%;
  }
  .auth__inputs {
    gap: 20px;
    margin: 20px 0;
  }
  .auth__message {
    margin-top: 6px;
  }
  .auth__restore {
    margin: 16px 0;
  }
  .auth__input_password,
  .auth__input_password-repeat {
    width: calc(50% - 10px);
  }
}
@media screen and (width <= 576px) {
  .auth__item {
    padding: 20px 10px;
    border-radius: 20px;
  }
  .auth__title {
    font-size: 28px;
    line-height: 114%;
    margin-bottom: 4px;
  }
  .auth__input_password,
  .auth__input_password-repeat,
  .auth__input_50 {
    width: 100%;
  }
}
