/**
 * InfluenceClick Capture — front-end styles.
 * The form reuses the theme's .capture-form / .btn classes; these rules only
 * add the parts the theme does not provide (messages, honeypot, states).
 */

.ic-capture-form {
	position: relative;
}

/* Visually-hidden label + honeypot (kept off-screen for humans, present for bots) */
.ic-capture-form .screen-reader-text,
.ic-capture-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ic-capture-hp {
	left: -9999px;
}

/* Inline confirmation / error — full-width row beneath the field + button */
.ic-capture-msg {
	flex-basis: 100%;
	width: 100%;
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 0.95rem;
	line-height: 1.5;
	text-align: center;
}

.ic-capture-msg[hidden] {
	display: none;
}

.ic-capture-msg.is-success {
	color: #063d33;
	background: #c6f4e9;
	border: 1px solid #21c8a8;
}

.ic-capture-msg.is-error {
	color: #5a1410;
	background: #ffd9d4;
	border: 1px solid #e0584b;
}

.ic-capture-cta {
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}

/* Submitting / completed states */
.ic-capture-form.is-loading .ic-capture-submit,
.ic-capture-submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.ic-capture-form.is-done .ic-capture-email,
.ic-capture-form.is-done .ic-capture-submit,
.ic-capture-form.is-done .ic-capture-hp {
	display: none !important;
}
