.avrora-auth-page {
  position: relative;
  min-height: 100vh;
  background: #f4f4f4;
  padding: 32px 24px 40px;
  overflow: hidden;
  font-family: Montserrat, sans-serif;
  isolation: isolate;
}

.avrora-auth-page::before {
  content: "AVRORA AVRORA\a RORA AVRORA\a AVRORA RORA\a AVRORA";
  position: absolute;
  left: -8px;
  top: -12px;
  white-space: pre;
  font-size: 308px;
  font-style: normal;
  font-weight: 600;
  line-height: 215px;
  letter-spacing: -24.64px;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 0;
}

.avrora-auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("./images/bg-diagonal.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: rotate(180deg);
  transform-origin: center center;
  opacity: 0.82;
}

.avrora-auth-page__back {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 20px;
  background: #fff;
  color: #292a2d;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.avrora-auth-page__back-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fb6157;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.avrora-auth-card {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 64px auto 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
  padding: 28px 48px 30px;
}

.avrora-auth-card--small {
  text-align: center;
  max-width: 420px;
}

.avrora-auth-card__brand {
  position: absolute;
  left: 24px;
  top: 12px;
  width: 187px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.avrora-auth-card__brand img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.avrora-auth-card__avatar {
  width: 72px;
  height: 72px;
  margin: 28px auto 0;
  position: relative;
}

.avrora-auth-card__avatar-bg {
  width: 72px;
  height: 72px;
  display: block;
}

.avrora-auth-card__avatar-user {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 24px;
  transform: translate(-50%, -50%);
}

.avrora-auth-card__title {
  margin-top: 24px;
  margin-bottom: 48px;
  text-align: center;
  color: #292a2d;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.avrora-auth-card__errors {
  margin-bottom: 14px;
}

.avrora-auth-card__errors .alert {
  margin: 0;
  border-radius: 10px;
  font-size: 13px;
}

.avrora-auth-form__input {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 28px;
  background: rgba(196, 196, 196, 0.2);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
  color: #292a2d;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 0 20px;
  outline: none;
}

.avrora-auth-form__input::placeholder {
  color: rgba(41, 42, 45, 0.5);
}

.avrora-auth-form__password-wrap,
.avrora-auth-form__captcha {
  margin-top: 24px;
}

.avrora-auth-form__options {
  margin: 20px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.avrora-auth-form__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #292a2d;
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
}

.avrora-auth-form__remember input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #c5cee0;
  border-radius: 3px;
  background: #f3f3f3;
  position: relative;
  cursor: pointer;
}

.avrora-auth-form__remember input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #292a2d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.avrora-auth-form__forgot {
  color: rgba(41, 42, 45, 0.45);
  font-size: 12px;
  text-decoration: none;
}

.avrora-auth-form__forgot:hover {
  color: rgba(41, 42, 45, 0.75);
}

.avrora-auth-form__submit {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 28px;
  background: #fb6157;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 2px rgba(251, 97, 87, 0.33);
}

.avrora-auth-form__submit:hover {
  background: #f45349;
}

.avrora-auth-form__register {
  margin-top: 48px;
  margin-bottom: 24px;
  text-align: center;
  color: #292a2d;
  font-size: 14px;
  line-height: 20px;
}

.avrora-auth-form__register a,
.avrora-auth-form__register-muted {
  margin-left: 4px;
  color: #878787;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .avrora-auth-page {
    padding: 16px 10px 24px;
  }

  .avrora-auth-page::before {
    left: -2px;
    top: 52px;
    font-size: 118px;
    line-height: 84px;
    letter-spacing: -8px;
    opacity: 0.75;
  }

  .avrora-auth-card {
    margin-top: 34px;
    padding: 20px 16px 22px;
  }

  .avrora-auth-card__title {
    font-size: 28px;
    margin: 16px 0 20px;
  }

  .avrora-auth-form__options {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .avrora-auth-form__register {
    margin-top: 22px;
    font-size: 13px;
  }
}
