:root {
  --bg: #0f172a;
  --panel: #182235;
  --panel-soft: #111827;
  --border: #334155;
  --text: #f8fafc;
  --muted: #a8bdd7;
  --accent: #f59e0b;
  --danger: #ef4444;
  --ok: #22c55e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 15%, rgba(245, 158, 11, 0.12), transparent 30%),
    linear-gradient(135deg, #0b1120 0%, #111827 48%, #0f172a 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}


body[data-form-slug="klachten"] {
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.78), rgba(5, 12, 22, 0.58) 42%, rgba(5, 12, 22, 0.86)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0.78)),
    url("/assets/klachten-background.svg") center / cover fixed no-repeat,
    #0f172a;
}

body[data-form-slug="klachten"] .form-shell {
  margin-left: min(8vw, 120px);
  margin-right: auto;
}

body[data-form-slug="klachten"] .form-card {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(71, 85, 105, 0.78);
  backdrop-filter: blur(10px);
}
.form-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 48px 0;
}

.form-card {
  background: rgba(24, 34, 53, 0.92);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.form-card-hero {
  padding: 28px;
  border-top: 5px solid var(--accent);
}

.eyebrow {
  margin: 0 0 8px;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.form-subtitle {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.form-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  line-height: 1.55;
  white-space: pre-line;
}

.form-fields {
  margin-top: 18px;
  padding: 22px;
}

.field {
  padding: 18px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.75);
}

.field:first-child { padding-top: 0; }
.field:last-child { border-bottom: 0; }

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.required { color: var(--danger); }

.help {
  margin: -2px 0 12px;
  color: #fbbf24;
  font-size: 13px;
  line-height: 1.45;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #3f5068;
  border-radius: 10px;
  background: #0f172a;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

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


.file-input {
  padding: 11px 14px;
  cursor: pointer;
}

.file-input::file-selector-button {
  margin-right: 14px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.16);
  color: #fed7aa;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 12px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}


.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkbox-option {
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  margin: 0;
  min-width: 150px;
  padding: 12px 14px;
}

.checkbox-option input {
  accent-color: var(--accent);
  width: auto;
}

.login-button {
  align-items: center;
  background: var(--accent);
  border-radius: 12px;
  color: #111827;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: 6px;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}
.submit-button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 15px 18px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.5;
}

.form-message.ok {
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.13);
  color: #bbf7d0;
}

.form-message.error {
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.13);
  color: #fecaca;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 640px) {
  .form-shell { padding: 24px 0; }
  .form-card-hero, .form-fields { padding: 18px; }
}