/**
 * indigitall AI Voice Demo Bridge - front end styles.
 *
 * Deliberately small and unopinionated: it inherits the theme's typography
 * and only carries the status states and the honeypot hide. Restyle freely.
 */

.ivd-status {
	margin: 1em 0 0;
	padding: 0.75em 1em;
	border-radius: 8px;
	border-left: 3px solid transparent;
	font-size: 0.95em;
	line-height: 1.5;
}

.ivd-status:empty,
.ivd-status.is-idle {
	display: none;
}

.ivd-status.is-pending {
	border-left-color: #8b8b8b;
	background: rgba( 128, 128, 128, 0.1 );
}

.ivd-status.is-success {
	border-left-color: #1a7f4b;
	background: rgba( 26, 127, 75, 0.1 );
}

.ivd-status.is-error {
	border-left-color: #b3261e;
	background: rgba( 179, 38, 30, 0.1 );
}

.ivd-is-busy {
	opacity: 0.7;
}

.ivd-is-busy [type="submit"] {
	cursor: progress;
}

/**
 * Honeypot. Kept out of the accessibility tree and out of the tab order so
 * only a form-filling bot ever populates it.
 */
.ivd-hp-wrap {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/**
 * Consent row. The checkbox sits beside its wording rather than above it, and
 * the wording stays full size: it is the thing being agreed to, not fine print.
 */
.ivd-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	margin: 1em 0;
	font-size: 0.9em;
	line-height: 1.5;
	cursor: pointer;
}

.ivd-consent-label input[type="checkbox"] {
	flex: 0 0 auto;
	margin-top: 0.2em;
}

/* Contact Form 7 wraps acceptance tags in its own span. */
.ivd-consent-label .wpcf7-list-item {
	margin: 0;
}

/**
 * reCAPTCHA v3 badge.
 *
 * Google permits hiding it only when the required attribution text is shown
 * in the form instead. The form snippet in README.md includes that text; if
 * you remove it, delete this rule too.
 */
.ivd-hide-recaptcha-badge .grecaptcha-badge {
	visibility: hidden;
}

.ivd-recaptcha-notice {
	margin-top: 0.75em;
	font-size: 0.75em;
	line-height: 1.5;
	opacity: 0.75;
}
