.auth__modal {
  display: block;
  padding: 0 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.auth__modal.active {
  opacity: 1;
  pointer-events: auto;
}

.auth__container {
  position: relative;
  background-color: #fff;
  margin: 12vh auto 3vh auto;
  max-width: 1175px;
  position: relative;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.auth__modal.active .auth__container {
  transform: translateY(0);
  opacity: 1;
}

.auth__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* max-width: 600px; */
  padding: 32px 0;
  width: 100%;
}

.auth__close {
  position: absolute;
  left: 40px;
  top: 30px;
}

.auth__header {
  margin-bottom: clamp(15px, 3vw, 48px);
}

.auth__title {
  color: var(--gray-soft);
  font-size: 26px;
  text-align: center;
  margin-bottom: clamp(30px, 3vw, 80px);
}

.auth__close {
  background-color: inherit;
}

.auth__body {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 0 15px;
}

.auth__step {
  flex-direction: column;
  max-width: 600px;
  width: 100%;
  padding: 0 15px;
}

.auth__body input {
  background-color: #EBEBEB;
  padding: 18px 23px;
  font-size: 18px;
  width: 100%;
  margin-bottom: 14px;
  color: #757575; /* Sets the color for the input text and the iMask placeholder */
}

.auth__subtitle {
  font-size: clamp(20px, 4vw, 36px);
  /* margin-bottom: clamp(15px, 3vw, 48px); */
  text-align: center;
}

.auth__button-getcode {
  font-size: clamp(16px, 1.5rem, 26px);
  color: #fff;
  background-color: #982BF7;
  max-width: 240px;
  align-self: center;
  padding: 8px 30px;
  margin-bottom: 14px;
}

.auth__reset {
  font-size: 15px;
  color: var(--gray-soft);
  text-align: center;
  margin-bottom: clamp(50px, 4vw, 90px);
}

.auth__button-login {
  padding: 12px;
  font-size: clamp(16px, 1.5rem, 26px);
  margin-bottom: 15px;
  color: var(--gray-soft);
}

.auth__button-register {
  padding: 12px;
  font-size: clamp(16px, 1.5rem, 26px);
  color: var(--gray-soft);
}

.auth__button--active {
  color: #fff;
  background-color: #982BF7;
}

.auth__footer {

  max-width: 600px;
  padding: 0 15px;
  width: 100%;
}

.auth__footer p {
  font-size: 22px;
  margin: 24px 0;
  padding-top: 24px;
  text-align: center;
  border-top: 1px solid #C0C0C0;
}

.auth__socials {
  display: flex;
  justify-content: center;
  gap: 38px;
}

.auth__socials-item {
  border: 1px solid #C0C0C0;
}

.auth__socials-link {
  max-width: 46px;
  max-height: 46px;
}

.auth__socials-link svg {
  width: 100%;
  height: 100%;
  padding: 8px;
  background-color: #FFF;
}

.auth__decor-cube {
  position: absolute;
  width: clamp(100px, 10vw, 400px);
  z-index: 1001;
}

.auth__decor-cube--1 {
  top: 0;
  right: 0;
  z-index: 1001;
}

.auth__decor-cube--2 {
  bottom: 0;
  left: 0;
}

.auth__decor-cube--3 {
  bottom: 0;
  right: 0;
}

.auth__decor-cube--4 {
  top: 10%;
  left: 0;
}

.auth__header,
.auth__body,
.auth__footer {
  z-index: 10000;
}


.auth__step {
  display: none;
}

.auth__step--code {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth__code-info {
  text-align: center;
  margin-bottom: 29px;
}

.auth__code-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.auth__code-digit {
  max-width: 72px;
  height: 72px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.auth__code-digit::-webkit-inner-spin-button,
.auth__code-digit::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.auth__code-label {
  text-align: center;
  font-size: 20px;
  margin-bottom: 56px;
}

.auth__resend {
  padding: 10px 20px;
  color: var(--gray-soft);
  background-color: #EBEBEB;
  align-self: center;
  font-size: 20px;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth__resend.active {
  opacity: 1;
  pointer-events: auto;
  color: #FFF;
  background-color: #982BF7;
}

.auth__timer {
  text-align: center;
  font-size: 10px;
  color: var(--gray-soft);
  margin-bottom: 4px;
}

.auth__step--active {
  display: flex;
}