body {
  font-family: sans-serif;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 20px;
}

form {
  max-width: 300px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 4px;
}

h1 {
  margin-top: 0;
  font-size: 1.5em;
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group label {
  margin-bottom: 5px;
  font-size: 0.9em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-group label {
  display: flex;
  gap: 5px;
  font-size: 0.9em;
  margin: 0;
}

button[type="submit"] {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: none;
  color: #fff;
  background: #333;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #555;
}


.error {
    display: none;
    color: red;
    font-size: 0.6rem;
}