.login-and-register {
  min-height: 100vh;
}

.toggle-login-and-register {
  max-width: 312px;
  height: 56px;
  background-color: #14286266;
  padding: 8px;
  margin-bottom: 32px;
  border-radius: 30px;
}

.toggle-login-and-register button {
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.login-and-register-btn {
  font-size: 16px;
  line-height: 29.98px;
  font-weight: 500;
}
.login-and-register-btn.active {
  background-color: #142862;
  cursor: auto;
}

.login-content,
.register-content {
  display: none;
}

.login-and-register-title {
  animation: authTitle 0.3s ease-in;
}

.login-content.active,
.register-content.active {
  display: block;
  animation: authContentActive 300ms ease-in-out forwards;
}

.register-btn.active {
  animation: btnRegisterActive 300ms ease-in-out forwards;
}
.login-btn.active {
  animation: btnLoginActive 300ms ease-in-out forwards;
}

.code-inputs{
  margin-bottom: 24px;
  direction: ltr;
}
.input-code {
  max-width: 60px;
  max-height: 60px;
  padding: 11px 23px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 37.48px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #0d0c2226;
  outline: none;
}
.input-code:focus{
  background-color: var(--primary-light-color);
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

@keyframes authContentActive {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes btnLoginActive {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes btnRegisterActive {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
