/* NJ Foot & Ankle Care - Contact Form 7 overlay. Maps .wpcf7-* onto the
   theme's .field / .consent-row / .form-status / .btn vocabulary. */
.wpcf7-form .field .wpcf7-form-control-wrap { display:block; width:100%; }
.wpcf7-form .field input.wpcf7-form-control,
.wpcf7-form .field textarea.wpcf7-form-control { width:100%; }

/* Consent rows: CF7 nests the checkbox + label inside .wpcf7-list-item, so we
   restyle that nested structure to match the theme's native .consent-row look
   (18px checkbox, 12px gap, sentence takes the rest of the row). */
.wpcf7-form .consent-row { display:block; margin-bottom:18px; }
.wpcf7-form .consent-row .wpcf7-form-control-wrap,
.wpcf7-form .consent-row .wpcf7-acceptance,
.wpcf7-form .consent-row .wpcf7-list-item { display:block; width:100%; margin:0; }
.wpcf7-form .consent-row .wpcf7-list-item > label {
	display:flex;
	align-items:flex-start;
	gap:12px;
	margin:0;
	font-weight:500;
	font-size:14px;
	line-height:1.5;
	cursor:pointer;
}
.wpcf7-form .consent-row .wpcf7-list-item > label > input[type="checkbox"] {
	-webkit-appearance:auto;
	appearance:auto;
	width:18px;
	height:18px;
	min-width:18px;
	flex:0 0 18px;
	margin:3px 0 0;
	accent-color:var(--color-primary);
}
.wpcf7-form .consent-row .wpcf7-list-item-label { flex:1 1 auto; }
.wpcf7-form .consent-row .wpcf7-list-item-label a { text-decoration:underline; }

/* Inline "Optional" pill now lives at the start of the consent sentence. */
.wpcf7-form .consent-row .consent-tag { vertical-align:baseline; }

/* Validation tips -> theme .field-error feel. */
.wpcf7-form .wpcf7-not-valid-tip { display:block; margin-top:4px; color:#b0352a; font-size:13px; }

/* Response banner -> theme .form-status. */
.wpcf7-form .wpcf7-response-output { margin:18px 0 0; padding:12px 16px; border-radius:10px; border:1px solid currentColor; font-size:14px; }
.wpcf7-form.sent .wpcf7-response-output { color:#1f7a46; }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output { color:#b0352a; }

.wpcf7-form .wpcf7-spinner { margin:0 0 0 10px; }
.wpcf7-form.submitting .btn { opacity:.6; pointer-events:none; }
