body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #e9f2f6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;       /* Use min-height instead of height */
  overflow: hidden;        /* Prevent scroll */
}

.login-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  width: 320px;
  max-width: 90%;          /* Responsive width */
  text-align: center;
}
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 94%;
}

#togglePassword {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #666;
}

.login-box img {
  margin-bottom: 10px;
}

.login-box h2 {
  margin-bottom: 10px;
  font-weight: bold;
  margin-top: -10px;
}

.login-box input {
  width: 94%;             /* Make input full width */
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.login-box button:hover {
  background: #f0262c;
}

.logo {
  width: 80px;
  height: 80px;
}

.login-box p {
  margin-top: 15px;
  font-size: 14px;
}

.login-box p a {
  color: #d32f2f;
  text-decoration: none;
  font-weight: bold;
}

#message {
  margin-top: 10px;
  font-size: 14px;
}
.forget_password{
  font-size: 13px!important;
  color: #d32f2f;
  margin-left: 210px;
  text-decoration: none;
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  .login-box {
    padding: 20px;
    margin-top: -50px!important;
  }
  .login-box input {
    font-size: 16px;
  }
  .login-box button {
    font-size: 16px;
  }
  .forget_password{
  margin-left: 190px;
}
}
