/* ==========================================================================
   Cenzo – stylesheet voor Formdesk-formulieren
   Versie 2.1 (18-11-2026) – voor alle Cenzo-formulieren (getest: verwijsformulier v4.0 en aanmeldformulier individuele interventie v2.0)
   Doel: huisstijl van cenzo.nl + goed bruikbaar op mobiel (ook ingesloten
   in een pagina via een iframe).
   Uploaden in Formdesk: Opmaak → Stylesheet (eigen CSS).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600&display=swap");

/* ---------- Huisstijlkleuren ---------- */
:root {
	--cz-blauw: #2B2E83;      /* donkerblauw: koppen, tekst */
	--cz-licht: #1BB2E3;      /* lichtblauw: knoppen, focus */
	--cz-turq: #4BBBB4;       /* turquoise: accenten */
	--cz-groen: #7BBF86;
	--cz-tekst: #3D3F6E;      /* lopende tekst */
	--cz-rand: #C9D6E2;       /* rand van velden */
	--cz-veld: #FFFFFF;
	--cz-zacht: #F3F8FB;      /* achtergrond alleen-lezen velden */
	--cz-fout: #C0392B;
	--cz-antwoord: #0A7DB0;   /* ingevulde antwoorden: donker lichtblauw, goed leesbaar */
	--cz-radius: 8px;
}

/* ---------- Basis: transparant, zodat het naadloos in de pagina valt ---------- */
html, body, html body.Body {
	background: transparent !important;
	margin: 0 !important;
	padding: 0 4px 8px 2px !important;   /* Formdesk zet zelf 50px rechts; dat haalt ruimte weg */
	-webkit-text-size-adjust: 100%;
}

body, body td, body th, body p, body div, body label, body span, body a,
body input, body select, body textarea, body button, body h1, body h2, body h3 {
	font-family: "Jost", "Futura", "Futura PT", "Century Gothic", Arial, sans-serif !important;
}
/* Iconen van Formdesk niet overschrijven */
body .fa, body [class^="fa-"], body [class*=" fa-"],
input.themed + label i { font-family: inherit; }
body .fa { font-family: FontAwesome !important; }
input[type="checkbox"].themed + label i,
input[type="radio"].themed + label i { font-family: icomoon-mc !important; }

body { color: var(--cz-tekst) !important; font-size: 17px !important; line-height: 1.5 !important; }

body > table { margin-bottom: 0 !important; }

/* Rand, schaduw en vaste breedtes van Formdesk weghalen */
#grid1, #grid2, #grid3, #tblForm, #border, #form, .Form, .Page, table.Page {
	width: 100% !important;
	max-width: 100% !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	margin: 0 !important;
}
#tblForm { height: auto !important; opacity: 1 !important; }
#builder fieldset { min-width: 0 !important; }   /* anders wordt het formulier op mobiel te breed */
#form { padding: 0 !important; height: auto !important; overflow: visible !important; }
#builder img { max-width: 100% !important; height: auto !important; }

/* ---------- Tekst ---------- */
h1.Title, .Title, .Title span, .Header, .Header span {
	color: var(--cz-blauw) !important;
	font-weight: 600 !important;
	font-size: 30px !important;
	line-height: 1.2 !important;
	text-align: left !important;
}
td.Title { text-align: left !important; }

#builder .Text, #builder .Text span, #builder .Text em, #builder .Text p {
	color: var(--cz-tekst) !important;
	font-size: 17px !important;
	line-height: 1.55 !important;
}
.Text em { font-style: normal !important; }
a, .Text a, .AnswerLabel a { color: var(--cz-licht) !important; text-decoration: underline !important; }

/* Vraag (label voor een veld) */
#builder td.Question, #builder td.Question label, #builder td.Question span {
	color: var(--cz-blauw) !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	white-space: normal !important;
}
td.Question { padding-right: 14px !important; vertical-align: middle; }

/* Alle veldlabels (ook met eigen Formdesk-opmaak, zoals Huisnr., E-mail) */
#builder td > label[for], #builder td > label[for] *, #builder td > label[for] strong {
	color: var(--cz-blauw) !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}
td[class*="Custom"] { vertical-align: middle; padding-right: 10px !important; }

/* Tussenkopjes in tekstblokken (bijv. "Uw gegevens:") – op één regel */
#builder .Text strong, #builder .Text b, #builder .Text strong span {
	color: var(--cz-blauw) !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	white-space: nowrap !important;
}

/* Labels die Formdesk bovenaan uitlijnt (bijv. "Datum verwijzing:"):
   gelijk met de tekst in het invoerveld ernaast */
td.AlignTop > label, td.AlignTop > label > div {
	display: inline-block;
	padding-top: 11px !important;
}
td.AlignTop > label div { padding-top: 0 !important; }

/* Tekst naast keuzerondjes en vinkjes */
#builder td.AnswerLabel, #builder td.AnswerLabel td, #builder .AnswerLabel, #builder .AnswerLabel span, #builder .AnswerLabel label {
	color: var(--cz-blauw) !important;
	font-size: 17px !important;
	line-height: 1.4 !important;
}

/* ---------- Invoervelden ---------- */
/* #builder geeft voorrang boven de standaardopmaak van Formdesk (die gebruikt !important) */
#builder input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
#builder select, #builder textarea {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 46px !important;
	padding: 10px 14px !important;
	border: 1px solid var(--cz-rand) !important;
	border-radius: var(--cz-radius) !important;
	background-color: var(--cz-veld) !important;
	color: var(--cz-antwoord) !important;
	font-family: "Jost", "Futura", "Century Gothic", Arial, sans-serif !important;
	font-size: 17px !important;        /* minimaal 16px voorkomt inzoomen op iPhone */
	font-weight: 500 !important;
	font-style: normal !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}
#builder textarea { min-height: 120px !important; resize: vertical; line-height: 1.5 !important; }
#builder select option { color: var(--cz-blauw); font-weight: 400; }

/* Smalle velden (huisnummer, toevoeging e.d.) nooit te smal */
#builder input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]):not([type="hidden"]):not([type="file"]) {
	min-width: 70px !important;
}
#builder#builder input[name*="huisn" i], #builder#builder input[id*="huisn" i], #builder#builder input.huisnummer {
	min-width: 95px !important;
	padding-left: 12px !important;
	padding-right: 12px !important;
}

/* Datumvelden: breed genoeg voor de hele datum */
#builder#builder input[data-dt="true"], #builder#builder input[data-format^="date"] {
	min-width: 165px !important;
	padding-left: 12px !important;
	padding-right: 12px !important;
}

#builder select {
	padding-right: 40px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B2E83' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	cursor: pointer;
}

#builder input::placeholder, #builder textarea::placeholder { color: #8A90B0 !important; opacity: 1; font-weight: 400 !important; }

#builder input:focus, #builder textarea:focus, #builder select:focus {
	border-color: var(--cz-licht) !important;
	box-shadow: 0 0 0 3px rgba(27, 178, 227, .22) !important;
}

#builder .Answer[readonly], #builder input[readonly], #builder input:disabled, #builder input.is-disabled, #builder input.is-readonly {
	background-color: var(--cz-zacht) !important;
	color: var(--cz-antwoord) !important;
	cursor: default;
}

/* ---------- Keuzerondjes en vinkjes ---------- */
input[type="radio"].themed + label,
input[type="checkbox"].themed + label {
	padding-left: 30px !important;
	line-height: 22px !important;
	min-height: 22px;
	margin: 3px 14px 3px 0 !important;
}
input[type="radio"].themed + label i::before,
input[type="checkbox"].themed + label i::before {
	width: 20px !important;
	height: 20px !important;
	line-height: 20px !important;
	box-sizing: border-box;
	background: #fff !important;
	border: 2px solid var(--cz-blauw) !important;
	box-shadow: none !important;
	top: 1px;
	margin-top: 0 !important;
}
input[type="radio"].themed + label i::before { border-radius: 50% !important; }
input[type="checkbox"].themed + label i::before { border-radius: 5px !important; }

input[type="radio"].themed:checked + label i::before {
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--cz-licht) !important;
	border-color: var(--cz-licht) !important;
	content: "" !important;
}
input[type="checkbox"].themed:checked + label i::before {
	background: var(--cz-licht) !important;
	border-color: var(--cz-licht) !important;
	color: #fff !important;
	font-size: 13px !important;
}
#builder#builder input[type="radio"].themed:checked + label span,
#builder#builder input[type="checkbox"].themed:checked + label span {
	color: var(--cz-antwoord) !important;
	font-weight: 500 !important;
}
input.themed:focus + label i::before {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(27, 178, 227, .3) !important;
}
input[type="radio"].themed:focus:checked + label i::before {
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--cz-licht), 0 0 0 3px rgba(27, 178, 227, .3) !important;
}

/* ---------- Knoppen ---------- */
.Button, input.Button, button.Button {
	-webkit-appearance: none;
	appearance: none;
	background: var(--cz-licht) !important;
	color: var(--cz-blauw) !important;
	border: 2px solid var(--cz-licht) !important;
	border-radius: 4px !important;
	padding: 12px 28px !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	margin: 6px 6px 6px 0 !important;
	min-height: 48px;
	transition: background .15s, color .15s;
}
.Button:hover, .Button:focus-visible {
	background: var(--cz-blauw) !important;
	border-color: var(--cz-blauw) !important;
	color: #fff !important;
}
#btnPrev {
	background: #fff !important;
	border-color: var(--cz-blauw) !important;
	color: var(--cz-blauw) !important;
}
#btnPrev:hover { background: var(--cz-blauw) !important; color: #fff !important; }
.tblButtons { margin: 18px 0 8px !important; }
.tblButtons td { text-align: left !important; }

/* Uploadknop */
.upload-button, a.upload-button {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	background: #fff !important;
	border: 2px solid var(--cz-blauw) !important;
	color: var(--cz-blauw) !important;
	border-radius: 4px !important;
	padding: 8px 14px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}
.upload-button .fa, .upload-button span { color: var(--cz-blauw) !important; }
.upload-button:hover { background: var(--cz-blauw) !important; color: #fff !important; }
.upload-button:hover .fa, .upload-button:hover span { color: #fff !important; }

/* Infobolletje */
.info-tooltip, .has-info .fa { color: var(--cz-licht) !important; }

/* Foutmeldingen */
.fdalert, .error, .fderror, .ErrorMessage {
	border: 0 !important;
	border-left: 4px solid var(--cz-fout) !important;
	background: #FDF1EF !important;
	color: var(--cz-fout) !important;
	border-radius: 4px !important;
	padding: 8px 12px !important;
	font-size: 14px !important;
}

/* Paginastappen (afbeelding bovenaan) iets rustiger en in Cenzo-tint */
img[src*="Pagina_"] {
	max-width: 100% !important;
	height: auto !important;
	filter: hue-rotate(-28deg) saturate(.9);
}

/* ---------- Voortgangsbalk (element "Voortgangsbalk" in de kop) ---------- */
.cz-voortgang { width: 100%; margin: 4px 0 18px; }
.cz-voortgang__tekst {
	color: var(--cz-blauw) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	margin-bottom: 6px;
}
.cz-voortgang__balk {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: #E3F4FB;
	overflow: hidden;
}
.cz-voortgang__vulling {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--cz-turq), var(--cz-licht));
	transition: width .4s ease;
}

/* Lege opvulcellen van Formdesk */
td[style*="font-size:1px"] { line-height: 0 !important; }

/* ==========================================================================
   Tablet, mobiel en smalle formulieren (tot 800px): alles onder elkaar
   ========================================================================== */
@media (max-width: 800px) {
	body { font-size: 16px !important; }

	/* Tabellen van het formulier worden blokken */
	#grid1, #grid1 > tbody, #grid1 > tbody > tr, #grid1 > tbody > tr > td,
	#grid2, #grid2 > tbody, #grid2 > tbody > tr, #grid2 > tbody > tr > td,
	#tblForm, #tblForm > tbody, #tblForm > tbody > tr, #tblForm > tbody > tr > td,
	#tblForm table:not(.options-table):not(.tblButtons),
	#tblForm table:not(.options-table):not(.tblButtons) > tbody,
	#tblForm table:not(.options-table):not(.tblButtons) > tbody > tr,
	#tblForm table:not(.options-table):not(.tblButtons) > tbody > tr > td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		height: auto !important;
	}
	#tblForm table:not(.options-table):not(.tblButtons) > tbody > tr > td {
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: left !important;
	}

	/* Vraag boven het veld */
	td.Question { padding: 12px 0 4px !important; }
	td.Question:empty { display: none !important; }
	td.AnswerLabel { padding-top: 0 !important; padding-bottom: 6px !important; }

	/* Keuzerondjes: naast elkaar zolang het past, anders onder elkaar */
	.options-table, .options-table > tbody { display: block !important; width: 100% !important; }
	.options-table > tbody > tr { display: flex !important; flex-wrap: wrap; gap: 4px 0; }
	.options-table > tbody > tr > td { display: block !important; padding: 0 !important; }
	.options-table > tbody > tr > td:empty { display: none !important; }

	h1.Title, .Title, .Title span { font-size: 22px !important; }

	/* Knoppen volle breedte, Verder bovenaan */
	.tblButtons, .tblButtons tbody, .tblButtons tr, .tblButtons td { display: block !important; width: 100% !important; }
	.tblButtons td { display: flex !important; flex-direction: column-reverse; gap: 10px; }
	.Button { width: 100% !important; margin: 0 !important; }
	.Button[style*="display: none"], .Button[style*="display:none"] { display: none !important; }

	/* Opvulcellen weg */
	td[style*="width:20px"], table[style*="width:20px"] { display: none !important; }
}

/* Wat Formdesk verbergt (andere pagina's, voorwaardelijke vragen) blijft verborgen.
   Dubbel id voor voorrang boven de mobiele regels hierboven. */
#builder#builder [style*="display:none"],
#builder#builder [style*="display: none"] {
	display: none !important;
}

/* Afhankelijke vragen: zolang Formdesk een veld uitschakelt (is-disabled),
   worden de vraag én het veld verborgen. Zodra de afhankelijkheid geldt,
   verschijnen ze vanzelf. Het tekstveld achter een keuze (bijv. "Ja, nl. …")
   verschijnt pas als die keuze is aangeklikt. */
#builder#builder td[id^="tdA"]:has(.is-disabled:not(.option-alt)) { display: none !important; }
#builder#builder td[id^="tdQ"]:has(+ td[id^="tdA"] .is-disabled:not(.option-alt)) { display: none !important; }
#builder#builder input.option-alt.is-disabled { display: none !important; }


/* ==========================================================================
   Aanvullingen 1.7
   ========================================================================== */

/* Alle labels, ook zonder koppeling aan een veld (bijv. "Kies hier het type zorg") */
#builder td > label, #builder td > label span, #builder td > label div {
	color: var(--cz-blauw) !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

/* Tekst naast keuzerondjes en vinkjes, overal */
#builder input.themed + label, #builder input.themed + label span {
	color: var(--cz-blauw) !important;
	font-size: 17px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

/* Vette tekst in het formulier (bijv. "Factuuradres:" of een toelichting) in huisstijl */
#builder td[id^="tdA"] strong, #builder td[id^="tdA"] strong *,
#builder td[id^="tdA"] b, #builder td[id^="tdA"] b * {
	color: var(--cz-blauw) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}
/* Overige tekst in tekstblokken met eigen Formdesk-opmaak */
#builder td[id^="tdA"][class*="Custom"] > span,
#builder td[id^="tdA"][class*="Custom"] > p,
#builder td[id^="tdA"][class*="Custom"] > div:not(.item-container):not(.options-group) {
	font-size: 17px !important;
	color: var(--cz-tekst) !important;
}

/* Rijen met meerdere velden naast elkaar (bijv. adres + huisnr. + toev.):
   de opbouw van Formdesk blijft staan; de velden krijgen een minimale breedte
   die past bij de grootte ("size") die in Formdesk is ingesteld. */
@media (min-width: 801px) {
	#builder table.sticky-items { width: auto !important; }
	#builder table.sticky-items > tbody > tr > td { vertical-align: middle !important; }
	#builder table.sticky-items > tbody > tr > td[id^="tdQ"] { white-space: nowrap; padding-left: 12px !important; padding-right: 8px !important; }
	#builder table.sticky-items > tbody > tr > td:first-child { padding-left: 0 !important; }
	#builder#builder td input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) { min-width: 160px !important; }
	#builder#builder td select { min-width: 160px !important; }
	#builder#builder td input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"])[data-dt="true"] { min-width: 165px !important; }
	#builder#builder table.sticky-items input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) { min-width: 120px !important; }
	#builder#builder table.sticky-items input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"])[name*="postcode" i] { min-width: 110px !important; width: 110px !important; }
	#builder#builder table.sticky-items input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"])[size="10"] { min-width: 120px !important; }
	#builder#builder table.sticky-items input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"])[size="6"] { min-width: 105px !important; width: 105px !important; }
	#builder#builder table.sticky-items input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"])[size="5"] { min-width: 80px !important; width: 80px !important; }
	#builder#builder table.sticky-items select { min-width: 140px !important; }

	/* Rij met keuzerondjes én een keuzelijst (bijv. naam + Dhr./Mevr. + Leidinggevende):
	   de keuzelijst met zijn vraag komt op een tweede regel, zodat niets wordt afgekapt */
	#builder#builder table.sticky-items:has(.options-group):has(select) > tbody > tr {
		display: flex !important; flex-wrap: wrap; align-items: center; row-gap: 8px;
	}
	#builder#builder table.sticky-items:has(.options-group):has(select) > tbody > tr > td:not([style*="display: none"]):not([style*="display:none"]) { display: block !important; }
	#builder#builder table.sticky-items:has(.options-group):has(select) > tbody > tr::after { content: ""; flex-basis: 100%; order: 1; }
	#builder#builder table.sticky-items:has(.options-group):has(select) > tbody > tr > td[id^="tdQ"]:has(+ td select),
	#builder#builder table.sticky-items:has(.options-group):has(select) > tbody > tr > td:has(select) { order: 2; }
	#builder#builder table.sticky-items:has(.options-group):has(select) > tbody > tr > td[id^="tdQ"]:has(+ td select) { padding-left: 0 !important; }
	#builder#builder table.sticky-items:has(.options-group):has(select) select { min-width: 220px !important; width: 220px !important; }
}

/* Vraag verbergen als het bijbehorende veld (in een rij met meerdere velden) verborgen of uitgeschakeld is */
#builder#builder td[id^="tdQ"]:has(+ td > table.sticky-items > tbody > tr > td[id^="tdA"]:first-child[style*="display: none"]),
#builder#builder td[id^="tdQ"]:has(+ td > table.sticky-items > tbody > tr > td[id^="tdA"]:first-child[style*="display:none"]) {
	display: none !important;
}
#builder#builder td[id^="tdQ"]:has(+ td > table.sticky-items > tbody > tr > td[id^="tdA"]:first-child .is-disabled:not(.option-alt)) {
	display: none !important;
}


/* ==========================================================================
   Meldingvenster van Formdesk (bijv. "Let op! De verplichte vraag is niet beantwoord")
   ========================================================================== */
html body .window-theme-form.window-blind-dark { background: #2B2E83 !important; opacity: .35 !important; }
html body .window-theme-form.window-dialog {
	background: #fff !important;
	border: 0 !important;
	border-top: 6px solid var(--cz-turq) !important;
	border-radius: 16px !important;
	box-shadow: 0 20px 60px rgba(43, 46, 131, .30) !important;
	overflow: hidden !important;
	height: auto !important;
	max-width: calc(100vw - 32px) !important;
	padding: 0 !important;
}
html body .window-theme-form.window-dialog * { font-family: "Jost", "Futura", "Century Gothic", Arial, sans-serif !important; }
html body .window-theme-form .window-title {
	background: #fff !important;
	color: var(--cz-blauw) !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 22px 26px 4px !important;
	text-align: left !important;
	height: auto !important;
	line-height: 1.3 !important;
}
html body .window-theme-form .window-title-inner {
	color: var(--cz-blauw) !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	padding: 0 !important;
	height: auto !important;
	overflow: visible !important;
}
html body .window-theme-form.window-dialog > div > .window-content {
	display: flex !important;
	align-items: flex-start !important;
	gap: 16px !important;
	padding: 12px 26px 8px !important;
	height: auto !important;
	background: #fff !important;
}
html body .window-theme-form .window-content.content-text {
	padding: 0 !important;
	height: auto !important;
	overflow: visible !important;
	color: var(--cz-tekst) !important;
	font-size: 17px !important;
	line-height: 1.55 !important;
}
/* Eigen icoon: lichtblauw rondje met uitroepteken */
html body .window-theme-form .window-icon {
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #E3F4FB !important;
}
html body .window-theme-form .window-icon i { display: none !important; }
html body .window-theme-form .window-icon::before { content: "!"; color: var(--cz-licht); font-size: 24px; font-weight: 700; line-height: 1; }
/* Knop zoals op de site */
html body .window-theme-form .window-buttonbar { background: #fff !important; border: 0 !important; padding: 12px 26px 24px !important; height: auto !important; }
html body .window-theme-form .window-buttonbar > div { text-align: right !important; }
html body .window-theme-form .window-buttonbar button {
	background: var(--cz-licht) !important;
	color: var(--cz-blauw) !important;
	border: 2px solid var(--cz-licht) !important;
	border-radius: 4px !important;
	padding: 10px 28px !important;
	min-height: 46px;
	font-size: 17px !important;
	font-weight: 600 !important;
	cursor: pointer;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
}
html body .window-theme-form .window-buttonbar button:hover,
html body .window-theme-form .window-buttonbar button:focus-visible {
	background: var(--cz-blauw) !important;
	border-color: var(--cz-blauw) !important;
	color: #fff !important;
}
html body .window-theme-form .window-buttonbar button .svg { display: none !important; }
html body .window-theme-form .window-buttonbar button .text { color: inherit !important; font-size: 17px !important; margin: 0 !important; }


/* Datumveld met kalenderknop: knop netjes naast het veld, in Cenzo-lichtblauw */
#builder .item-container:has(> .calendar-button) { display: flex !important; align-items: center; gap: 10px; }
#builder .item-container:has(> .calendar-button) > input { flex: 1 1 auto; }
#builder .calendar-button { flex: 0 0 auto; padding: 0 !important; }
#builder .calendar-button span[id$="-format"] { display: none !important; }
#builder .calendar-button .fa { color: var(--cz-licht) !important; font-size: 22px !important; }

/* Voortgangsbalk altijd over de volle breedte */
#builder table:has(#PBPages_outer), #builder td:has(> #PBPages_outer) { width: 100% !important; }

/* Losse tussenkop (tekst) naast een vraag die Formdesk verbergt: kop ook verbergen
   (bijv. "Bedrijfspsychologische zorg / Mental coaching" bij keuze voor triage) */
#builder#builder td:has(+ td[id^="tdQA"] > table > tbody > tr > td[id^="tdA"][style*="display: none"]),
#builder#builder td:has(+ td[id^="tdQA"] > table > tbody > tr > td[id^="tdA"][style*="display:none"]),
#builder#builder td:has(+ td[id^="tdQA"] > table > tbody > tr > td[id^="tdA"] .is-disabled:not(.option-alt)) {
	display: none !important;
}
