body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('../images/banner/loginbanner.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.3); /* Dark transparent overlay */
  z-index: -1;
}


.login-wrapper {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
}

@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-form h2 {
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 90%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 12px;
  transition: 0.3s;
}

.form-group input:focus {
  border-color: #74ebd5;
  box-shadow: 0 0 8px rgba(116, 235, 213, 0.4);
  outline: none;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #000;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #282828;
}

#loginStatus {
  text-align: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: red;
}
#loginStatus,
#fpStatus {
  text-align: center;
  margin-bottom: 15px;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.4s ease;
}

#loginStatus.success,
#fpStatus.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#loginStatus.error,
#fpStatus.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#loginStatus.warning,
#fpStatus.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

#loginStatus.info,
#fpStatus.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.forgot-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #313131;
  text-decoration: none;
  font-size: 13px;
}
.forgot-link:hover { text-decoration: underline; }
