/* ========================== */
/* LOGIN BOX */
/* ========================== */
.login-box {
  background: white;
  padding: 40px 50px;
  border-radius: 8px;
  box-shadow: none;
  max-width: 400px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.4s ease;
  margin-bottom: 0;
}
.login-box.hide {
  opacity: 0;
  pointer-events: none;
}
.login-box h2 {
  color: #2d2d62;
  margin-bottom: 30px;
  letter-spacing: 1.5px;
}
.login-box label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2d2d62;
}
.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
  border-color: #2d2d62;
  outline: none;
}
.login-box button {
  display: block;
  margin: 20px auto 0 auto;
  background-color: #2d2d62;
  color: white;
  border: none;
  padding: 12px 35px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: background-color 0.3s, color 0.3s;
}
.login-box button:hover {
  background-color: #fad02c;
  color: #2d2d62;
}
.forgot-password {
  margin-top: 15px;
  color: #555;
  font-size: 14px;
}

/* ========================== */
/* PASSWORD WRAPPER & TOGGLE EYE ICON */
/* ========================== */
.password-wrapper {
  position: relative;
  height: auto;
}
.password-wrapper input {
  width: 100%;
  padding-right: 40px;
  height: 42px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 0 15px;
  line-height: 42px;
}

#togglePassword {
  position: absolute;
  right: 10px;
  top: 35%;                  /* your alignment */
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  border: none;
  background: none;
  outline: none;
  box-shadow: none;
}

/* Force SVG to always be stroke-only light grey */
#togglePassword svg {
  width: 20px;
  height: 20px;
}
#togglePassword svg *,
#togglePassword path,
#togglePassword circle,
#togglePassword line,
#togglePassword ellipse {
  fill: none !important;
  stroke: #888 !important;   /* light grey like Facebook */
  stroke-width: 2 !important;
}

@media (max-width: 700px) {
 
  .login-box:hover,
  .profile-page:hover {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 10px rgb(45 45 98 / 0.2);
  }
  .footer-logos img {
    height: 50px;
  }
}