body {
  margin: 0;
  font-family: Arial, sans-serif;
background: url('bg.jpg') no-repeat center center fixed;
background-size: cover;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  padding: 20px;
  background: white;
  text-align: left;
  border-bottom: 3px solid black;  /* less thick but bold */
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3); /* subtle shadow */
}


.login-box {
  width: 450px;
  margin: 150px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2); /* 👌 optional for more depth */
}

.login-box h2 {
  margin-bottom: 10px;
}

.login-box p {
  font-size: 14px;
  color: #555;
}

.login-box input {
  display: block;
  width: 90%;
  padding: 10px;
  margin: 10px auto;
  border: 1px solid #aaa;
  border-radius: 5px;
}

.login-box button {
  background: black;
  color: white;
  border: none;
  padding: 10px 15px;
  width: 95%;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}

.login-box button:hover {
  background: #333;
}

.login-box a {
  color: red;
  text-decoration: none;
}

.login-box a:hover {
  text-decoration: underline;
}

.google-btn {
  background: white;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.google-btn:hover {
  background: #f2f2f2;
}

/* Password strength bar */
#strengthContainer {
  margin-top: 5px;
}

#strengthBar {
  height: 5px;
  width: 0;
  border-radius: 5px;
  transition: width 0.3s ease;
}

#strengthBar.weak { background: red; }
#strengthBar.fair { background: orange; }
#strengthBar.strong { background: green; }

#strengthText {
  font-size: 13px;
  margin-top: 4px;
}

/* Password container for show/hide */
/* Fix password eye icon alignment */
.password-container {
  position: relative;
  width: 95%;
  margin: 10px auto; /* match input spacing */
}

.password-container input {
  width: 100%;
  padding: 10px;
  padding-right: 40px; /* space for the eye icon */
  border: 1px solid #aaa;
  border-radius: 5px;
  box-sizing: border-box;
}

.toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #555;
  transition: color 0.2s ease;
}

.toggle-pass:hover {
  color: #000;
}


/* Email message color feedback */
.error-text { color: red; }
.success-text { color: green; }
.warning-text { color: orange; }


/* Error message (red) */
.error {
  background-color: #ffdddd;
  color: #d8000c;
  padding: 10px;
  border: 1px solid #d8000c;
  border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

/* Success message (green) */
.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}
