/* === General Page Setup === */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: #333;
}

/* === Login Container === */
.login-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 360px;
}

/* === Headings === */
.login-box h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}

/* === Inputs & Buttons === */
.login-box input,
.login-box button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.login-box button {
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.login-box button:hover {
  background: #0056b3;
}

/* === Error Message === */
.error {
  color: red;
  text-align: center;
  margin-bottom: 10px;
}

/* === Links === */
.forgot-link {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #007bff;
  text-align: center;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* === Responsive Adjustments === */
@media (max-width: 480px) {
  .login-box {
    padding: 20px;
    max-width: 90%;
  }

  .login-box h2 {
    font-size: 20px;
  }
}
