/* Contact Form 7 (contact page) and the Newsletter plugin form (blue box),
   styled as in the Kontakt frame: grey fields, bold labels, blue button. */

/* Contact form */
.provaide-form-box .wpcf7-form > p { margin: 0 0 20px; }
.provaide-field { display: block; }
.provaide-field > span:first-child {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}
.provaide-field br { display: none; }
.provaide-form-box input[type="text"],
.provaide-form-box input[type="email"],
.provaide-form-box select,
.provaide-form-box textarea {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 18px;
	border: 1px solid var(--wp--preset--color--surface);
	border-radius: 6px;
	background: var(--wp--preset--color--surface-alt);
	font: inherit;
	font-size: 14px;
	color: var(--wp--preset--color--ink);
}
.provaide-form-box textarea { height: 160px; padding-top: 16px; resize: vertical; }
/* The frame shows "▾" at the right edge of the select. */
.provaide-form-box select {
	appearance: none;
	padding-right: 40px;
	background: var(--wp--preset--color--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0h8L4 5z' fill='%234A4440'/%3E%3C/svg%3E") right 18px center no-repeat;
}
.provaide-form-box ::placeholder { color: var(--wp--preset--color--ink-muted); opacity: 1; }
.provaide-form-box :is(input, select, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 1px;
}
.provaide-form-box .wpcf7-acceptance { display: block; margin-bottom: 20px; font-size: 13px; color: var(--wp--preset--color--ink-muted); }
.provaide-form-box .wpcf7-acceptance input {
	appearance: none;
	width: 16px;
	height: 16px;
	margin: 0 10px 0 0;
	vertical-align: -3px;
	border: 1px solid var(--wp--preset--color--ink-muted);
	border-radius: 3px;
	background: var(--wp--preset--color--surface-alt);
	cursor: pointer;
}
.provaide-form-box .wpcf7-acceptance input:checked {
	border-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23EDEDED' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat;
}
.provaide-form-box .wpcf7-acceptance a { color: inherit; }
.provaide-form-box .wpcf7-submit {
	padding: 16px 28px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--surface-alt);
	font: 600 14px/1.2 var(--wp--preset--font-family--body);
	cursor: pointer;
}
.provaide-form-box .wpcf7-submit:hover { background: var(--wp--preset--color--dark); }
.provaide-form-box .wpcf7-submit:disabled { opacity: 0.5; cursor: default; }
.provaide-form-box .wpcf7-not-valid { border-color: #c62828; }
.provaide-form-box .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12px; color: #c62828; }
.provaide-form-box .wpcf7-response-output {
	margin: var(--wp--preset--spacing--30) 0 0 !important;
	padding: 10px 14px !important;
	border-radius: 4px;
	font-size: 14px;
}
.provaide-form-box .wpcf7 form.sent .wpcf7-response-output { border-color: var(--wp--preset--color--accent) !important; }

/* Newsletter box: mock form (before sync) and the plugin's minimal form */
.provaide-newsletter__form,
.provaide-newsletter .tnp-subscription-minimal form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: clamp(28px, 3.9vw, 47px);
	text-align: left !important;
}
.provaide-newsletter .tnp-subscription-minimal { margin: 0; max-width: none; }
.provaide-newsletter input[type="email"] {
	flex: 0 1 400px;
	min-width: 0;
	height: 52px;
	box-sizing: border-box;
	padding: 0 18px;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 6px;
	background: var(--wp--preset--color--surface-alt);
	font: inherit;
	font-size: 14px;
	color: var(--wp--preset--color--ink);
}
.provaide-newsletter button,
.provaide-newsletter input[type="submit"] {
	width: 210px;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--accent);
	font: 600 14px/1.2 var(--wp--preset--font-family--body);
	cursor: pointer;
}
.provaide-newsletter button:hover,
.provaide-newsletter input[type="submit"]:hover { background: var(--wp--preset--color--dark); color: var(--wp--preset--color--base); }
.provaide-newsletter .tnp-privacy-field { flex-basis: 100%; margin: 0; font-size: 12px; }
.provaide-newsletter .tnp-privacy-field a { color: inherit; }
.provaide-newsletter .tnp-privacy { margin: 0 8px 0 0; vertical-align: -1px; }
.provaide-newsletter :is(input, button):focus-visible { outline: 2px solid var(--wp--preset--color--base); outline-offset: 2px; }
.provaide-newsletter ::placeholder { color: var(--wp--preset--color--ink-muted); opacity: 1; }
