/* Doortje formulieren: in de huisstijl van het thema (gebruikt de kleuren uit theme.json als die er zijn) */
.d-form { --df-blauw: var(--wp--preset--color--blauw-donker, #496390); --df-licht: var(--wp--preset--color--logoblauw, #8EAAD5); --df-oranje: var(--wp--preset--color--oranje, #EC8B48); --df-groen: var(--wp--preset--color--groen, #729A47); --df-lijn: #D9DFEA;
	background: #fff; border-radius: 26px; padding: clamp(20px, 4vw, 36px); box-shadow: 0 14px 40px -24px rgba(73, 99, 144, .35); border: 1.5px solid #E7EAF0; max-width: 760px; margin: 1.5rem auto; text-align: left; }
.d-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.d-form-veld { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.d-form-veld.is-half { grid-column: span 1; }
.d-form-kop { grid-column: 1 / -1; margin: 10px 0 -4px !important; font-size: 1.15rem !important; color: var(--df-blauw); }
.d-form-kop:first-child { margin-top: 0 !important; }
.d-form label, .d-form legend { font-weight: 600; font-size: .95rem; color: #2E3138; }
.d-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.d-form-req { color: var(--df-oranje); }
.d-form input[type=text], .d-form input[type=email], .d-form input[type=tel], .d-form input[type=date], .d-form select, .d-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--df-lijn); background: #FBFCFE; color: #2E3138; transition: border-color .2s, box-shadow .2s; }
.d-form input:focus, .d-form select:focus, .d-form textarea:focus { outline: none; border-color: var(--df-blauw); box-shadow: 0 0 0 4px rgba(142, 170, 213, .3); background: #fff; }
.d-form textarea { resize: vertical; min-height: 110px; }
.d-form-hint { font-size: .85rem; color: #6B6F78; }
.d-form-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.d-form-chip { font-weight: 500 !important; cursor: pointer; }
.d-form-chip input { position: absolute; opacity: 0; pointer-events: none; }
.d-form-chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--df-lijn); background: #FBFCFE; transition: all .2s; }
.d-form-chip input:checked + span { background: var(--df-blauw); border-color: var(--df-blauw); color: #fff; }
.d-form-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(142, 170, 213, .45); }
.d-form-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; line-height: 1.5; }
.d-form-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--df-blauw); flex: none; }
.d-form-akkoord { margin-top: 18px; }
.d-form-knop { margin: 20px 0 0 !important; }
.d-form-knop button { font-size: 1.05rem; padding: 14px 28px; border-radius: 999px; border: 0; background: var(--df-blauw); color: #fff; font-weight: 600; cursor: pointer; transition: transform .2s, background .2s; }
.d-form-knop button:hover { background: #3b5279; transform: translateY(-1px); }
.d-form .has-fout input, .d-form .has-fout select, .d-form .has-fout textarea, .d-form .has-fout .d-form-chip span { border-color: var(--df-oranje); }
.d-form-fout { color: #A4511B; font-size: .88rem; font-weight: 600; }
.d-form-melding { background: #FCF0E6; border: 1.5px solid #F3C9A6; color: #7A3F15; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.d-form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.d-form-bedankt { max-width: 640px; margin: 1.5rem auto; text-align: center; background: var(--wp--preset--color--vlak-groen, #EEF1E6); border-radius: 26px; padding: 34px 26px; }
.d-form-bedankt h3 { margin: 12px 0 6px !important; font-size: 1.6rem !important; }
.d-form-bedankt p { margin: 0 !important; }
.d-form-vink { display: inline-block; width: 64px; height: 64px; border-radius: 50%; background: var(--wp--preset--color--groen, #729A47); position: relative; animation: df-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.d-form-vink::after { content: ""; position: absolute; left: 22px; top: 14px; width: 14px; height: 26px; border: solid #fff; border-width: 0 5px 5px 0; transform: rotate(45deg); }
@keyframes df-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 600px) { .d-form-grid { grid-template-columns: 1fr; } .d-form-veld.is-half { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .d-form-vink { animation: none; } }
