/**
 * Privia Newsletter form.
 *
 * Deliberately light-touch: the input, button and consent row inherit the
 * theme's existing footer styling (newsletter-input, #zcWebOptin,
 * #zcampaignOptinForm, .nwx-consent from bulten-alani.css). These rules only
 * add the status message, honeypot hiding and loading state.
 */

/* Honeypot: keep it in the layout for bots but invisible to humans and AT. */
.pn-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.pn-submit.is-loading {
	opacity: 0.7;
	cursor: progress;
}

.pn-submit[disabled] {
	cursor: not-allowed;
}

.pn-msg {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
	border: 1px solid transparent;
}

/* Inside the footer flex form the message takes its own full-width row. */
#zcampaignOptinForm .pn-msg {
	flex: 1 1 100%;
}

.pn-msg.is-error {
	color: #ffd7d7;
	background: rgba(210, 0, 0, 0.14);
	border-color: rgba(255, 120, 120, 0.35);
}

.pn-msg.is-success {
	color: #d6ffe6;
	background: rgba(28, 170, 90, 0.16);
	border-color: rgba(90, 220, 150, 0.4);
}

/* Optional copy block when the shortcode is used outside the footer. */
.pn-copy {
	margin-bottom: 20px;
}
