form {
  max-width: 480px;
  margin: 0 auto;
  font-family: sans-serif;
  background-color: #ffffff00;
  padding: 10px;
  border-radius: 10px;
}

/* Geslacht radiobuttons */
.gender-group {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.gender-group .radio-container {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  display: flex;
  align-items: center;
}

/* Verborgen standaard input */
.radio-container input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Custom cirkel */
.radio-container .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
  border: 2px solid #ccc;
}

/* Actieve radio */
.radio-container input:checked ~ .checkmark {
  background-color: #ff7300;
  border-color: #ff7300;
}

/* Witte punt binnenin */
.radio-container .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
}

.radio-container input:checked ~ .checkmark::after {
  display: block;
}

/* Labels en inputvelden */
label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
  margin-top: 10px;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 8px;
  font-size: 16px; /* >= 16px voorkomt zoom op mobiel */
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 0;
}

/* Geboortedatum */
.dob-group {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.dob-group input {
  flex: 1;
}

/* Knoppen */
button[type="submit"],
button.flow-next,
button#submit-long-form {
  background-color: #ff7300;
  color: white;
  border: none;
  padding: 10px;
  font-size: 14px;
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 16px;
}

button:hover {
  background-color: #e36200;
}

/* ===== Responsieve verbeteringen ===== */

/* Kleinere labels op mobiel */
@media (max-width: 480px) {
  label {
    font-size: 14px;
  }
}

/* Kleiner formulier op desktop */
@media (min-width: 768px) {
  form {
    max-width: 420px;
  }
}
