.aanmeld-section {
  text-align: center;
  padding: 4rem 2rem;
}

.aanmeld-section h1 {
  margin-bottom: 48px;
}

.aanmeld-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  text-align: left;
}

.form-group h3 {
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

.aanmeld-form input {
  width: 100%;
  padding: 1rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: #8b1c65;
  font-size: clamp(1.1rem, 1vw, 1.75rem);
  font-family: 'Menda', sans-serif;
  box-sizing: border-box;
  color: #f3f1e8;
}

.aanmeld-form input::placeholder {
  color: #f3f1e8;
}

.aanmeld-form button {
  align-self: center;
  background: #ff16b5;
  color: white;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 18px;
  transition: background-color 0.3s ease;
}

.aanmeld-form button h3 {
  font-size: 24px;
}

.aanmeld-form button:hover {
  background-color: #8b1c65;
}

.form-message {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background-color: #4caf50;
  color: white;
  border: 2px solid #45a049;
}

.form-message.error {
  background-color: #f44336;
  color: white;
  border: 2px solid #da190b;
}

.form-message.loading {
  background-color: #ff16b5;
  color: white;
  border: 2px solid #8b1c65;
}

.aanmeld-form button:disabled {
  background-color: #666;
  cursor: not-allowed;
}

.aanmeld-form input.error {
  border: 2px solid #f44336;
}

.error-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.error-list li {
  margin: 0.25rem 0;
}
