/* SmartFlow lead forms. Picks up --sfc-accent when placed on a landing page. */
.sfc-lead-form { --sfc-f-accent: var(--sfc-accent, #4f46e5); max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.5; color: #111827; }
.sfc-lead-form * { box-sizing: border-box; }
.sfc-lead-form__row { margin: 0 0 14px; }
.sfc-lead-form label, .sfc-lead-form legend { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; padding: 0; }
.sfc-lead-form fieldset { border: 0; margin: 0; padding: 0; }
.sfc-lead-form abbr { color: #b91c1c; text-decoration: none; border: 0; }
.sfc-lead-form input[type="text"], .sfc-lead-form input[type="email"], .sfc-lead-form input[type="tel"], .sfc-lead-form input[type="date"], .sfc-lead-form select, .sfc-lead-form textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: inherit; background: #fff;
	border: 1px solid #d1d5db; border-radius: 8px; box-shadow: none;
}
.sfc-lead-form input:focus, .sfc-lead-form select:focus, .sfc-lead-form textarea:focus { outline: none; border-color: var(--sfc-f-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sfc-f-accent) 20%, transparent); }
.sfc-lead-form .is-invalid input, .sfc-lead-form .is-invalid select, .sfc-lead-form .is-invalid textarea { border-color: #b91c1c; }
.sfc-lead-form__check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; margin: 0 0 8px !important; }
.sfc-lead-form__check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--sfc-f-accent); }
.sfc-lead-form__consents { margin: 4px 0 14px; padding-top: 12px; border-top: 1px solid #e5e7eb; }
.sfc-lead-form__fine { font-size: 13px; color: #6b7280; margin: 4px 0 0; }
.sfc-lead-form__error { color: #b91c1c; font-size: 13px; margin: 4px 0 0; }
.sfc-lead-form__submit {
	display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 52px; padding: 14px 24px; border: 0; border-radius: 10px;
	background: var(--sfc-f-accent); color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer;
}
.sfc-lead-form__submit:hover { filter: brightness(1.08); }
.sfc-lead-form__submit:disabled { opacity: .6; cursor: progress; }
.sfc-lead-form__submit:focus-visible { outline: 3px solid color-mix(in srgb, var(--sfc-f-accent) 45%, #fff); outline-offset: 2px; }
.sfc-lead-form__message { padding: 14px 16px; border-radius: 10px; margin: 0 0 16px; font-weight: 600; }
.sfc-lead-form__message[data-state="ok"] { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.sfc-lead-form__message[data-state="error"] { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.sfc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sfc-form-missing { padding: 8px 12px; border: 1px dashed #d1d5db; color: #6b7280; font-size: 14px; }
