

 body {
      font-family: Arial, sans-serif;
      background: #f4f4f4;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
    }

    #loginBox {
      background: white;
      padding: 30px;
      border-radius: 8px;
      width: 340px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      text-align: center;
    }

    #loginBox img {
      width: 160px;
      margin-bottom: 15px;
    }

    h2 {
      margin-top: 0;
      margin-bottom: 10px;
    }

input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;   /* ? FIXES uneven padding */
}

  button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;   /* FIXES button overflow */
}

    button:hover {
      background: #0056b3;
    }

    #error {
      color: red;
      margin-top: 10px;
      text-align: center;
    }

    #forgotPassword {
      margin-top: 10px;
      font-size: 14px;
    }

    #forgotPassword a {
      color: #007bff;
      text-decoration: none;
      font-weight: bold;
    }

    #forgotPassword a:hover {
      color: #0056b3;
    }

    #registerMsg {
      margin-top: 20px;
      font-size: 14px;
      color: #555;
    }

    #registerMsg a {
      color: #007bff;
      text-decoration: none;
      font-weight: bold;
    }

    #registerMsg a:hover {
      color: #0056b3;
    }