/* Suprevo Forms — minimal, theme-neutral form styles. A theme can override entirely by shipping
   its own suprevo/sections/contact_form.php (theme templates win over the add-on default). */

.sv-form__form { max-width: 36rem; }

.sv-form__field,
.sv-form__consent { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1rem; }

.sv-form__field label,
.sv-form__consent > label { font-weight: 600; font-size: .95rem; }

.sv-form__field input,
.sv-form__field textarea {
	width: 100%;
	padding: .6rem .75rem;
	border: 1px solid #cbd5e1;
	border-radius: .5rem;
	font: inherit;
	background: #fff;
	color: inherit;
}

.sv-form__field input:focus,
.sv-form__field textarea:focus { outline: 2px solid currentColor; outline-offset: 1px; }

.sv-form__consent > label { flex-direction: row; align-items: flex-start; gap: .5rem; font-weight: 400; }
.sv-form__consent input { margin-top: .25rem; flex: 0 0 auto; }

/* Honeypot — visually + AT hidden, still submitted so a bot fills it. */
.sv-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

.sv-form__submit {
	padding: .7rem 1.4rem;
	border: 0; border-radius: .5rem;
	background: #1e293b; color: #fff;
	font: inherit; font-weight: 600; cursor: pointer;
}
.sv-form__submit:disabled { opacity: .6; cursor: default; }

.sv-form__status { margin-top: 1rem; padding: .6rem .8rem; border-radius: .5rem; }
.sv-form__status.is-ok { background: #ecfdf5; color: #065f46; }
.sv-form__status.is-error { background: #fef2f2; color: #991b1b; }

.sv-form__field.is-error input,
.sv-form__field.is-error textarea,
.sv-form__consent.is-error input { border-color: #dc2626; outline-color: #dc2626; }
.sv-form__error { color: #b91c1c; font-size: .85rem; }
