/*
 * Minimal, theme-agnostic styling for the [hw_email_signup] form.
 * Override any of these classes in your theme/page CSS to match your
 * site's look (the old WPForms newsletter form on the Coming Soon page
 * styled its own `.hw-news-row` classes the same way).
 */
.hwes-form {
	max-width: 360px;
}

.hwes-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.hwes-input {
	flex: 1;
	min-width: 140px;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-sizing: border-box;
}

.hwes-button {
	white-space: nowrap;
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	background: #131117;
	color: #fff;
}

.hwes-button:hover,
.hwes-button:focus-visible {
	opacity: 0.85;
}

.hwes-button[disabled] {
	opacity: 0.6;
	cursor: default;
}

.hwes-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 10px;
	font-size: 11px;
	line-height: 1.4;
	color: #888;
	cursor: pointer;
}

.hwes-consent-checkbox {
	margin-top: 2px;
	flex-shrink: 0;
}

.hwes-message {
	margin: 10px 0 0;
	font-size: 13px;
}

.hwes-message.is-success {
	color: #1a7f37;
}

.hwes-message.is-error {
	color: #d63638;
}

/* Honeypot field: hidden from real visitors, present for bots that
   auto-fill every field on a form. */
.hwes-hp-wrap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hwes-visually-hidden {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
