/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }
  
  body {
    height: 100vh;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Login container */
  .login-container {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 380px;
  }
  
  /* Form heading */
  .login-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
  }
  
  .error { color: red; }

  /* Submit button */
  button[type="submit"] {
    width: 100%;
    padding: 0.7rem;
    background-color: #6e8efb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button[type="submit"]:hover {
    background-color: #5a7ae6;
  }

  .forgot-password-link {
    text-align: right;
    margin-top: .5rem;
    margin-right: 1rem;
    font-size: 0.9rem;
    color: #555;
  }
  
  .forgot-password-link a {
    color: #6e8efb;
    text-decoration: none;
  }
  
  .forgot-password-link a:hover {
    text-decoration: underline;
  }