/*
 * Deze regels zijn bewust defensief (display/flex/position/float) omdat veel
 * thema's en pagebuilders (Divi, Elementor, etc.) generieke CSS op label/input
 * toepassen (bv. voor floating labels) die anders de opmaak van dit formulier
 * breekt.
 */
.wcf-form,
.wcf-form * {
	box-sizing: border-box !important;
}

.wcf-form {
	/* Huisstijlkleuren: pas deze twee variabelen aan om de look te matchen. */
	--wcf-accent: #7a2331;
	--wcf-card-bg: #f4f5f6;

	max-width: 700px;
	width: 100%;
	margin: 0;
	font-family: inherit;
}

.wcf-form .wcf-card {
	display: flex !important;
	flex-wrap: wrap !important;
	align-content: flex-start;
	background: var(--wcf-card-bg);
	border-radius: 10px;
	padding: 22px 24px 4px;
	margin: 0 0 20px !important;
	column-gap: 20px;
}

.wcf-form .wcf-card-title {
	flex: 1 1 100% !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: none !important;
	font-size: 18px;
	font-weight: 700;
	color: var(--wcf-accent);
	line-height: 1.3;
}
.wcf-form .wcf-card-title:empty {
	display: none !important;
	margin: 0 !important;
}

.wcf-form .wcf-field {
	display: block !important;
	flex: 1 1 100%;
	flex-direction: initial !important;
	position: relative !important;
	float: none !important;
	max-width: 100%;
	margin: 0 0 18px !important;
	padding: 0 !important;
}

.wcf-form .wcf-field-half {
	flex: 1 1 calc(50% - 10px);
}
@media (max-width: 480px) {
	.wcf-form .wcf-field-half {
		flex: 1 1 100%;
	}
}

.wcf-form .wcf-field label {
	display: block !important;
	position: static !important;
	float: none !important;
	transform: none !important;
	width: auto !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	line-height: 1.4;
}

.wcf-form input[type="text"],
.wcf-form input[type="email"],
.wcf-form input[type="tel"],
.wcf-form input[type="date"],
.wcf-form select,
.wcf-form textarea {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 10px 12px;
	font-size: 15px;
	font-weight: normal;
	font-family: inherit;
	color: #222;
	background: #fff;
	border: 1px solid #ccd0d5;
	border-radius: 4px;
	line-height: 1.4;
}

.wcf-form input:focus,
.wcf-form select:focus,
.wcf-form textarea:focus {
	outline: none;
	border-color: var(--wcf-accent);
	box-shadow: 0 0 0 3px rgba(122, 35, 49, 0.15);
}

.wcf-form textarea {
	resize: vertical;
	min-height: 120px;
}

.wcf-form .wcf-field-checkbox {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
}
.wcf-form .wcf-field-checkbox input[type="checkbox"] {
	width: auto !important;
	margin-top: 3px !important;
}
.wcf-form .wcf-field-checkbox label {
	margin: 0 !important;
	font-weight: normal;
}

.wcf-form .wcf-honeypot {
	position: absolute !important;
	left: -9999px !important;
}

.wcf-form .g-recaptcha {
	margin-bottom: 18px;
}

.wcf-form .wcf-field-submit {
	display: block !important;
	flex: 1 1 100%;
	margin-top: 6px !important;
}

.wcf-form .wcf-submit {
	display: inline-block !important;
	width: auto !important;
	padding: 12px 30px;
	background: var(--wcf-accent);
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: filter 0.15s ease;
}
.wcf-form .wcf-submit:hover {
	filter: brightness(0.88);
}

.wcf-message {
	max-width: 700px;
	padding: 12px 15px;
	margin-bottom: 20px;
	border-radius: 4px;
	font-size: 14px;
}
.wcf-message-success {
	background: #e6f4ea;
	color: #1e4620;
	border: 1px solid #b7dfc0;
}
.wcf-message-error {
	background: #fdeaea;
	color: #611a15;
	border: 1px solid #f3b4b0;
}
