.main {
  width: 350px;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 5px 20px 50px #000;
  background: #ffffff;
}
.signup form,
.login form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.signup form input,
.login form input {
  width: 80%;
  padding: 7px;
  font-size: 1em;
  border: 1px solid;
  border-radius: 5px;
  outline: none;
}
.signup form button,
.login form button {
  width: 30%;
  padding: 5px;
  font-size: 1em;
  background-color: #088178;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
#chk {
  display: none;
}

.login {
  position: relative;
  width: 100%;
  height: 100%;
}

.login label {
  font-size: 2em;
  justify-content: center;
  display: flex;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.5s ease-in-out;
  font-weight: 400;
}
.signup {
  height: 455px;
  background: #549c98;
  transform: translateY(-50px);
  transition: 0.8s ease-in-out;
}
.signup Label {
  font-size: 2em;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transform: scale(0.6);
  transition: 0.8s ease-in-out;
}
#chk:checked ~ .login {
  background: #549c98;
}
#chk:checked ~ .signup {
  transform: translateY(-450px);
  color: #fff;
  background: #ffffff;
}
#chk:checked ~ .signup label {
  color: #000;
  transform: scale(0.6);
}
#chk:checked ~ .login label {
  color: #fff;
  transform: scale(0.6);
}

.popup-btn {
  padding: 10px 20px;
  font-size: 2em;
  background: #088178;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-btn:hover {
  background: #088178;
}

.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.password-container {
  position: relative;
  width: 80%;
}

.password-container input {
  width: 100%;
  padding-right: 40px;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.5em;
  color: #555;
}

.eye-open::after {
  content: "🐵";
}

.eye-closed::after {
  content: "🙈";
}

#loginPopup .icon {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  font-size: 2vh;
  text-decoration: none;
}

#loginPopup .icon i {
  color: #465b52;
  cursor: pointer;
}

#loginPopup .icon i:hover {
  color: #088178;
}

.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #ccc;
}

.divider-text {
  margin: 0 10px;
  font-size: 16px;
  color: #666;
}

.login-logo {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: auto;
}
