/* Body Style */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7fafc;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Form Container */
form {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h2 {
  font-size: 24px;
  color: #4c51bf;
  margin-bottom: 20px;
}

/* Input Fields */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 16px;
  background-color: #f7fafc;
  box-sizing: border-box;
}

/* Submit Button */
input[type="submit"] {
  background-color: #4c51bf;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #434190;
}

/* Error Message */
p {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
  form {
    padding: 15px;
    max-width: 90%;
  }

  h2 {
    font-size: 20px;
  }

  input[type="text"],
  input[type="password"],
  input[type="submit"] {
    font-size: 14px;
  }
}
