/* WP Email Marketing Engine — Public Form Styles */

.bn-form-wrap {
	max-width: 480px;
	margin: 0 auto;
	padding: 24px;
	background: #f9f9f9;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bn-form-title {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 20px;
}

.bn-field {
	margin: 0 0 14px;
}

.bn-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 14px;
}

.bn-field input[type="email"],
.bn-field input[type="text"] {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.bn-field input[type="email"]:focus,
.bn-field input[type="text"]:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.bn-field--consent label {
	font-weight: 400;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}

.bn-field--consent input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
}

.bn-submit-btn {
	display: inline-block;
	padding: 10px 24px;
	background: #0073aa;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.bn-submit-btn:hover {
	background: #005177;
}

.bn-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.bn-form-message {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 14px;
	display: none;
}

.bn-form-message.bn-success {
	display: block;
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.bn-form-message.bn-error {
	display: block;
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Honeypot — must stay hidden */
.bn-hp {
	display: none !important;
	visibility: hidden !important;
	position: absolute !important;
	left: -9999px !important;
}

/* Inline layout */
.bn-form-wrap--inline {
	background: transparent;
	border: none;
	padding: 0;
	max-width: 540px;
}

.bn-form-wrap--inline .bn-field--inline {
	display: flex;
	gap: 0;
}

.bn-form-wrap--inline .bn-field--inline input[type="email"] {
	flex: 1;
	border-radius: 4px 0 0 4px;
	border-right: none;
	font-size: 15px;
	padding: 10px 14px;
}

.bn-form-wrap--inline .bn-field--inline input[type="email"]:focus {
	border-color: #ccd0d4;
	box-shadow: none;
}

.bn-form-wrap--inline .bn-submit-btn {
	border-radius: 0 4px 4px 0;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 13px;
	padding: 10px 20px;
}

.bn-form-wrap--inline .bn-submit-btn:hover {
	filter: brightness(0.88);
	background: unset;
}

/* Disclaimer text */
.bn-form-disclaimer {
	margin: 10px 0 0;
	font-size: 12px;
	color: #888;
	text-align: center;
}
