html, body {
  height: 100%;
}
.nav-auth-column {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-catch-phraze {
  color: var(--gray-text);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.nav-auth-column__question {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--gray-text);
}

.main {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
  position: relative;
}

.auth {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.auth .container {
  position: relative;
  z-index: 5;
}

.auth-form {
  max-width: 446px;
}

.auth-form__title {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  margin-bottom: 10px;
  text-align: center;
}

.auth-form__subtitle {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; 
  text-align: center;
}

.auth-form__icon {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.auth-form__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


#loginform {
  position: relative;
}

#loginform label {
  position: relative;
  display: block;
  height: fit-content;
}


.auth-form__input-wrapper label span{
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  position: relative;
}

#loginform input,
#red_registration_form input {
  padding: 10px 14px;
  height: 50px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  border: 1px solid rgba(49, 63, 254, 0.08);
  border-radius: var(--button-border-radius);
  background-color: var(--white-color);
  width: 100%;
  margin-top: 6px;
}

.login-username,
#red_user_login,
#red_user_email {
  margin-bottom: 10px;
}

.login-submit,
input.auth-form__submit {
  cursor: pointer;
  border-radius: var(--button-border-radius);
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  
  
}

#loginform .login-submit input.button,
#red_registration_form input.auth-form__submit{
  padding: 16px 28px;
  cursor: pointer;
  background-color: var(--blue-color);
  margin-top: 0;
  height: 100%;
  color: var(--white-color);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  margin-top: 30px;
  transition: all .5s;
}

#loginform .login-submit input.button {
  margin-top: 0;
}

#loginform .login-submit input.button:hover,
#red_registration_form input.auth-form__submit:hover{
  background-color: var(--hover-color);
  transition: all .5s;
}

#loginform .login-submit input.button:active,
#red_registration_form input.auth-form__submit:active{
  background-color: var(--active-color);
  transition: all .5s;
}


.auth-form__forgot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.auth-form__forgot span {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--gray-text);
}

.auth-form__forgot a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--blue-color);
}

.auth-body {
  position: relative;
}

.decor-figure {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 59%;
  z-index: -1;
  max-height: 100vh;
}

.decor-figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.decor-ellipce-top {
  position: absolute;
  left: -50%;
  max-width: 639px;
}

.decor-ellipce-top img{
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.decor-ellipce-bottom {
  position: absolute;
  right: -27%;
  bottom: -30px;
  height: 350px;
}

.decor-ellipce-bottom img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}


.auth-form__input-wrapper {
  position: relative;
  display: block;
}

.auth-form__input-wrapper .eye {
  position: absolute;
  right: 15px;
  bottom: 23%;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.auth-form__input-wrapper .eye  img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.logo {
  padding-left: 15px;
  max-width: 106px;
  height: 50px;
}

.logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

@media(max-width: 768px) {
  .nav-auth-column__question {
    display: none;
  }

  .nav-catch-phraze {
    display: none;
  }

  .main {
    padding-top: 120px;
  }
}
