/* Stijl afgestemd op het oorspronkelijke Elementor-formulier van onbeperktpuur.com */
.opf {
	--opf-text: #434e3d;
	--opf-field: #e0d1be;
	--opf-accent: #727b60;
	--opf-error: #9b2c2c;
	font-family: Inter, sans-serif;
	color: var(--opf-text);
}
.opf-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
}
.opf-field {
	box-sizing: border-box;
	padding: 0 8px;
	margin-bottom: 16px;
}
.opf-half { width: 50%; }
.opf-full { width: 100%; }
.opf label {
	display: block;
	padding-bottom: 8px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--opf-text);
}
.opf input[type="text"],
.opf input[type="email"],
.opf input[type="tel"],
.opf textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 8px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--opf-text);
	background: var(--opf-field);
	border: 1px solid var(--opf-text);
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.opf textarea { min-height: 100px; resize: vertical; }
.opf input:focus,
.opf textarea:focus { box-shadow: 0 0 0 2px var(--opf-accent); }

.opf-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.opf-check input { margin-top: 5px; accent-color: var(--opf-accent); flex: none; }
.opf-check label { padding: 0; }
.opf-check a { color: inherit; text-decoration: underline; }

/* Honeypot: buiten beeld voor mensen, niet display:none zodat bots het wel zien */
.opf-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

/* Hogere specificiteit dan de knopstijl van het thema (Hello Elementor) */
.opf button.opf-submit,
.opf button.opf-submit:hover,
.opf button.opf-submit:focus {
	width: 100%;
	min-height: 48px;
	padding: 16px 24px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #fff;
	background: var(--opf-accent);
	border: 1px solid var(--opf-accent);
	border-radius: 9999px;
	cursor: pointer;
	transition: opacity .2s;
}
.opf button.opf-submit:hover { opacity: .9; }
.opf button.opf-submit:disabled { opacity: .6; cursor: wait; }

.opf-msg { margin: 4px 0 0; font-size: 15px; min-height: 1em; }
.opf-msg:empty { display: none; }
.opf-error { color: var(--opf-error); }

.opf-success {
	padding: 24px;
	border: 1px solid var(--opf-text);
	background: var(--opf-field);
}
.opf-success p { margin: 0 0 8px; }
.opf-success p:last-child { margin: 0; }

@media (max-width: 767px) {
	.opf-half { width: 100%; }
}
