.sign-in-inner {
  display: flex;
  justify-content: center;
  padding-bottom: 10rem;

  .input-block {
    span {
      font-size: 1.2rem;
    }
  }
}

.sign-form {
  max-width: 52rem;
  // max-height: 72.2rem;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  border: 0.1rem solid #e5e5e5;
  border-radius: 0.5rem;
  padding: 5rem;
  position: relative;
  .loader {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    z-index: 300;
    width: 100%;
    height: 100%;
  }

  .spinner {
    height: 6rem;
    width: 6rem;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
}

.sign-top {
  padding-bottom: 2rem;
  h2 {
    font-size: 2.2rem;
  }
}

.sign-mid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.input-block {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;

  label {
    font-size: 1.2rem;
    display: inline-block;
    cursor: pointer;
  }

  input {
    font-size: 1.6rem;
    padding: 2rem !important;
    border: 0.1rem solid #e5e5e5;
    padding: 1.4rem 2rem;
    border-radius: 0.5rem;
    cursor: pointer;

    &:focus {
      background: #ffffff;
    }
  }
}

.forget {
  h3 {
    font-size: 1.6rem;
    text-decoration: underline;
    color: $base-green;
    cursor: pointer;
    transition: 0.4s all ease;
    &:hover {
      color: rgb(3, 102, 76);
      transition: 0.4s all ease;
    }
  }
}

.sign-btn {
  font-size: 1.6rem;
  background: $base-green;
  border-radius: 1rem;
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 1.8rem 0;
  gap: 0.8rem;
  border: none;
  width: 100%;
  cursor: pointer;

  transition: 0.4s all ease;
  &:hover {
    background: rgb(3, 102, 76);
    transition: 0.4s all ease;
  }

  h3 {
    font-weight: normal;
    font-size: 1.6rem;
  }
  div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
}

.reg-btn {
  background: #fff;
  border: 0.1rem solid $base-green;

  transition: 0.4s all ease;
  &:hover {
    background: rgb(223, 223, 223);
    transition: 0.4s all ease;
  }

  h3 {
    color: $base-green;
  }
}

.sign-bottom {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

// MODAL WINDOWS

.recovery {
  z-index: 50;
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  background: rgba(58, 58, 58, 0.6);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s all ease;

  &.active {
    pointer-events: all;
    opacity: 1;
    transition: 0.4s all ease;
  }
}

.recovery-inner {
  position: relative;
  .loader {
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
  }
}

.recovery-container {
  width: 100%;
  max-width: 58rem;
  padding: 0 3rem;
  margin: 0 auto;
}

.recovery-block {
  padding: 5rem;
  background: #fff;
  border-radius: 0.5rem;

  form {
    display: flex;
    flex-direction: column;
  }
}

.rec-input {
  margin-bottom: 0;
}

.form-title {
  font-size: 2.2rem;
}

.recovery-1 {
  position: relative;
  overflow: hidden;
}

.recovery-1,
.recovery-2 {
  form {
    gap: 3rem;
  }
}

.pass-check {
  display: none;
  color: red;
  font-size: 1.2rem;
  font-weight: bold;

  &.active {
    display: block;
  }
}

// MEDIA

@media screen and (max-width: 1100px) {
  .forget h3 {
    font-size: 1.2rem;
  }
  .recovery-1 form,
  .recovery-2 form {
    gap: 2rem;
  }
  .input-block input,
  .sign-btn h3 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 600px) {
  .input-block input {
    font-size: 1.2rem;
  }
  .sign-form {
    padding: 3rem;
  }
  .forget h3 {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 450px) {
  .sign-btn {
    h3 {
      font-size: 1.4rem;
    }
  }
  .sign-form form {
    gap: 2rem;
  }
  .sign-in-inner {
    padding-bottom: 7rem;
  }
}
