.login-form-reg {
  position: relative;
  width: 420px;
  max-width: 100%;
  margin: 150px auto 50px;
  background-color: #334257;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}

.login-form-reg h1 {
  text-align: center;
  margin: 0;
  padding: 20px 0;
  font-size: 28px;
  font-weight: bold;
  color: white;
}

.login-form-reg form {
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
}

.login-form-reg form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: gray;
  font-family: "Poppins", sans-serif;
}

.login-form-reg form input[type="text"],
.login-form-reg form input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid lightgray;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.login-form-reg form input[type="submit"] {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background-color: #548CA8;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.login-form-reg form input[type="submit"]:hover {
  background-color: #334257;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.login{
  text-align: center;
}

.error-reg{
  color: red;
  font-size: 12px;
  margin-top: 5px; 
}