/* Same as before with a few additions */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(
    circle,
    rgba(108, 92, 231, 1) 0%,
    rgba(0, 210, 255, 1) 100%
  );
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.login-box {
  width: 400px;
  height: 350px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.login-box:hover {
  transform: translateY(-10px);
}

.login-content {
  padding: 40px;
  text-align: center;
}

.login-content h2 {
  margin-bottom: 30px;
  font-size: 26px;
  color: #6c5ce7;
}

.input-group {
  margin-bottom: 20px;
  position: relative; /* Allows for absolute positioning of the eye icon */
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 30px;
  background-color: #f1f1f1;
  font-size: 16px;
  color: #333;
  outline: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.input-group input:focus {
  background-color: #ffffff;
  border-color: #6c5ce7;
}

/* Style for the password input with eye icon */
.password-group {
  display: flex;
  align-items: center;
  position: relative;
}

.password-group input {
  padding-right: 40px; /* Space for the eye icon */
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 12px;
  cursor: pointer;
  color: #6c5ce7;
}

.toggle-password:hover {
  color: #7f8ff4;
}

.input-group button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background-color: #6c5ce7;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.input-group button:hover {
  background-color: #7f8ff4;
  transform: translateY(-2px);
}

.forgot {
  margin-top: 15px;
}

.forgot a {
  text-decoration: none;
  color: #6c5ce7;
  font-size: 14px;
  transition: color 0.3s ease;
}

.forgot a:hover {
  color: #48c6ef;
}
