/* CTCT Signup — minimal; inherits the theme's typography and button styles. */
.ctcts-form { max-width: 32rem; }
/* For a form on a dark background: light text (a theme's dark body color would leave the labels
   and consent unreadable), and a lighter red, since the default is only ~3:1 against near-black. */
.ctcts-form.ctcts-on-dark { --ctcts-error: #ff8a80; color: #fff; }
.ctcts-form .ctcts-field { margin: 0 0 0.75em; }
/* Labels follow the surrounding text, not a theme's global label color: Elementor kits often
   set every <label> white for dark sections (forusa.org did), leaving white-on-white fields. */
.ctcts-form .ctcts-field label { display: block; margin-bottom: 0.25em; color: inherit; }
.ctcts-form input[type="email"],
.ctcts-form input[type="text"],
.ctcts-form input[type="tel"] { width: 100%; box-sizing: border-box; }
.ctcts-form .ctcts-consent { font-size: 0.85em; opacity: 0.85; }
.ctcts-form .ctcts-message {
	margin: 0.75em 0 0;
	padding: 0.5em 0.75em;
	border-left: 4px solid currentColor;
}
/* Not display:none — a live region removed from the accessibility tree may not announce what JS writes into it. */
.ctcts-form .ctcts-message:empty { margin: 0; padding: 0; border: 0; }
.ctcts-form.ctcts-error .ctcts-message { border-left-color: var(--ctcts-error, #b32d2e); }
.ctcts-form.ctcts-done .ctcts-field,
.ctcts-form.ctcts-done .ctcts-consent,
.ctcts-form.ctcts-done .ctcts-actions,
.ctcts-form.ctcts-done .ctcts-title { display: none; }
.ctcts-form input[aria-invalid="true"] { outline: 2px solid var(--ctcts-error, #b32d2e); }
.ctcts-form input:focus-visible,
.ctcts-form button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ctcts-form input[aria-invalid="true"]:focus-visible { outline-color: var(--ctcts-error, #b32d2e); }
.ctcts-form .ctcts-message:focus { outline: none; }
.ctcts-form .ctcts-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
