.container1 {
  width: 90%;
  max-width: 1200px;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff11;
  backdrop-filter: blur(10px);
}

.left-panel {
  flex: 1;
  margin-top: 6%;
  color: #000;
  padding: 20px;
  position: relative;
}

.illustration {
  margin-top: 50px;
  position: relative;
  height: 300px;
  background: #eef0f4;
  border-radius: 30px;
}

.tree {
  width: 100px;
  height: 140px;
  background: green;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
}

.figure {
  width: 30px;
  height: 50px;
  background: purple;
  position: absolute;
  bottom: 20px;
}

.one { left: 45%; }
.two { left: 55%; }

.gift-box {
  width: 40px;
  height: 40px;
  background: black;
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 8px;
}

.right-panel {
  flex: 1;
  padding: 60px 30px;
  background: #091E4D;
}

.login-box {
  display: flex;
  flex-direction: column;
}

.login-box h2 {
  margin-bottom: 10px;
}

.login-text {
    font-size: 30px;
    font-weight: bold;
}

.login-box label {
  margin-top: 10px;
  margin-bottom: 5px;
}

.login-box input {
  padding: 10px;
  color: #091E4D;
  border: none;
  border-radius: 6px;
  margin-bottom: 10px;
}

.login-box .forgot {
  color: #a0d9b5;
  font-size: 0.9em;
  margin-bottom: 20px;
  display: inline-block;
}

.login-box button {
  padding: 12px;
  background: #ffc400;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.login-box .register {
  margin-top: 15px;
  font-size: 0.9em;
}

.login-box .register a {
  color: #ffc400;
}

.login-box .terms {
  margin-top: 20px;
  font-size: 0.8em;
  color: #c6f6d5;
  display: block;
}

.login-options {
  margin-top: 20px;
  text-align: center;
}

.icon-group {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  font-size: 1.4rem;
  color: #ccc;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  border: 1px solid #ffc400;
  color: #fff;
}


.strength-meter {
  height: 8px;
  width: 100%;
  background: #eee;
  border-radius: 4px;
  margin-top: 5px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease-in-out;
  background: red;
  border-radius: 4px;
}

.strength-text {
  margin-top: 5px;
  font-size: 0.85rem;
  color: #fff;
}

#strengthLabel.weak {
  color: #ff4d4d;
}

#strengthLabel.medium {
  color: #ffc107;
}

#strengthLabel.strong {
  color: #28a745;
}

.info-icon {
  cursor: pointer;
  font-size: 16px;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.password-info {
  background: #ffffff;
  color: #091E4D;
  padding: 10px 15px;
  border-radius: 6px;
  margin-top: 5px;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.password-info.hidden {
  display: none;
}

.password-info ul {
  padding-left: 20px;
  margin: 5px 0 0 0;
}

.password-info li {
  margin-bottom: 5px;
}

.signup-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.signup-popup .popup-content {
  background: #fff;
  color: #091E4D;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.signup-popup button {
  margin-top: 15px;
  background: #ffc400;
  border: none;
  padding: 10px 20px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.signup-popup.hidden {
  display: none;
}

/* Message styling for password reset */
.message {
  padding: 12px;
  border-radius: 6px;
  margin: 15px 0;
  font-size: 14px;
  text-align: center;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.bluey-gif {
  width: 120px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


@media (max-width: 768px) {
  .container1 {
    flex-direction: column;
  background: #091E4D;
  width: 100%;
  }

  .left-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}


  .left-panel img {
    width: 150px;
    height: auto;
  }

  .right-panel {
    padding: 30px 20px;
  }
}
