* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 30px 15px;
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #1f2937;
}

h1 {
  max-width: 800px;
  margin: 0 auto 25px auto;
  font-size: 32px;
}

form {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}

h3:first-of-type {
  margin-top: 0;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

input[readonly] {
  background: #f9fafb;
  color: #6b7280;
}

label input[type="checkbox"],
label input[type="radio"] {
  width: auto;
  margin-right: 10px;
  transform: scale(1.1);
}

button {
  display: inline-block;
  width: 100%;
  padding: 14px 18px;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button:hover {
  background: #1d4ed8;
}

button:active {
  transform: scale(0.99);
}

br {
  display: none;
}

/* Checkbox en radio labels iets luchtiger */
label:has(input[type="checkbox"]),
label:has(input[type="radio"]) {
  font-weight: 500;
  margin-bottom: 12px;
}

/* Mobiel */
@media (max-width: 768px) {
  body {
    padding: 20px 12px;
  }

  h1 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  form {
    padding: 20px;
    border-radius: 12px;
  }

  h3 {
    font-size: 18px;
  }

  input[type="text"],
  input[type="email"],
  input[type="date"],
  select,
  textarea,
  button {
    font-size: 16px;
  }
}
/* 🔥 ALGEMEEN */
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #f4f6f9;
  margin: 0;
  padding: 10px;
}

/* 🔥 FORM CONTAINER */
form {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 🔥 TITELS */
h1 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
}

h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 16px;
  color: #2c3e50;
}

/* 🔥 LABELS */
label {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
  display: block;
}

/* 🔥 INPUTS */
input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  box-sizing: border-box;
}

/* 🔥 FOCUS EFFECT */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2ecc71;
  box-shadow: 0 0 0 2px rgba(46,204,113,0.2);
}

/* 🔥 CHECKBOXES NETTER */
input[type="checkbox"],
input[type="radio"] {
  margin-right: 6px;
}

/* 🔥 BUTTON */
button {
  width: 100%;
  padding: 14px;
  background: #2ecc71;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #27ae60;
}

/* 🔥 MOBILE EXTRA */
@media (max-width: 600px) {

  body {
    padding: 8px;
  }

  form {
    padding: 15px;
    border-radius: 12px;
  }

  input, select, textarea {
    font-size: 16px; /* 🔥 voorkomt zoom op iPhone */
  }
}