/* Campax Email Action — minimal, theme-friendly front-end styles. */
.cea-widget {
	max-width: 32rem;
	margin: 1rem 0;
}
.cea-widget .cea-fields {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.cea-widget .cea-field-row {
	display: grid;
	gap: 0.25rem;
	font-size: 0.95rem;
}
.cea-widget .cea-field-row.cea-consent-row {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 0.5rem;
}
.cea-widget .cea-req { color: #c1272d; }
.cea-widget input[type="text"],
.cea-widget input[type="email"] {
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font: inherit;
}
.cea-widget .cea-button {
	display: inline-block;
	padding: 0.7rem 1.4rem;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: #c1272d; /* Campax red-ish; theme can override */
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}
.cea-widget .cea-button:hover {
	filter: brightness( 0.93 );
}
.cea-widget .cea-button:disabled {
	opacity: 0.6;
	cursor: default;
}
.cea-widget .cea-status {
	margin: 0.6rem 0 0;
	min-height: 1.2em;
	font-size: 0.9rem;
	color: #50575e;
}
.cea-widget.cea-error {
	padding: 0.75rem 1rem;
	border: 1px dashed #c1272d;
	border-radius: 6px;
	color: #c1272d;
	background: #fcf0f1;
}
/* Honeypot: visually + a11y hidden, still in the DOM for bots. */
.cea-widget .cea-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/* Long-body mobile fallback: the "copy & open" button (reuses .cea-button) and the manual
   copy box shown only if the clipboard is unavailable. */
.cea-widget .cea-copy-cta {
	margin-top: 0.6rem;
}
.cea-widget .cea-copy-box {
	width: 100%;
	margin-top: 0.6rem;
	padding: 0.5rem 0.65rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font: inherit;
	font-size: 0.9rem;
}
