body {
  height: 100vh;
  width: 100vw;
  display: flex;
  overflow: hidden;
  margin: 0;
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

.welcome-text {
  margin-bottom: 45px;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.welcome-text h1 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
  color: var(--text-main);
}

.welcome-text p {
  color: var(--text-main);
  font-size: 1rem;
}

.container .forms {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.container .form {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px;
  background-color: #fff;
}

.form-img {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(241, 245, 249, 1);
}

.form-img img {
  object-fit: contain;
  width: 80%;
  height: 80%;
  border-radius: 0;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.logo .logo-form {
  height: 70px;
  width: auto;
  object-fit: cover;
}

.logo .title-form {
  font-size: 0.9rem;
  margin-bottom: 60px;
  font-weight: bold;
}

.container.active .login {
  margin-left: -50%;
  opacity: 0;
  transition:
    margin-left 0.18s ease,
    opacity 0.15s ease;
}

.container .signup {
  opacity: 0;
  transition: opacity 0.09s ease;
}

.container.active .signup {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.container.active .forms {
  height: 600px;
}

.form .input-field {
  position: relative;
  height: 50px;
  width: 100%;
  margin-top: 30px;
}

.input-field input {
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 0 35px;
  border: none;
  outline: none;
  font-size: 16px;
  border-bottom: 2px solid #ccc;
  border-top: 2px solid transparent;
  transition: all 0.2s ease;
}

.input-field input:is(:focus, :valid) {
  border-bottom-color: var(--bg-primary-dark);
}

.input-field i {
  position: absolute;
  top: 54%;
  transform: translateY(-50%);
  color: #999;
  transition: all 0.2s ease;
}

.input-field input:is(:focus, :valid) ~ i {
  color: var(--bg-primary-dark);
}

.input-field i.icon-svg {
  left: 0;
}

.input-field i.showHidePw {
  right: 0;
  cursor: pointer;
  padding: 10px;
}

.form .checkbox-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.checkbox-text .checkbox-content {
  display: flex;
  align-items: center;
}

.checkbox-content input {
  margin-right: 10px;
  accent-color: var(--bg-primary-dark);
}

.form .text {
  color: var(--text-main);
  font-size: 14px;
}

.form a.text {
  color: var(--text-main);
  text-decoration: none;
}

.form a:hover {
  text-decoration: underline;
}

.form .button {
  margin-top: 35px;
}

.form .button input {
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 10px;
  background-color: var(--bg-primary-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.button input:hover {
  opacity: 0.9;
}

.form .login-signup {
  margin-top: 30px;
  text-align: center;
}

.input-field i svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: all 0.2s ease;
}

.showHidePw span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  body {
    min-height: 100dvh;
    overflow: hidden;
  }

  .container {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    padding-top: 10px;
    box-shadow: none;
  }

  .welcome-text {
    margin-bottom: 20px;
  }

  .welcome-text h1 {
    font-size: 1.4rem;
  }

  .welcome-text p {
    font-size: 0.9rem;
  }

  .container .form {
    width: 100%;
    height: 100%;
    padding: 30px;
  }

  .form-img {
    display: none;
  }
}
