.cnp-newsletter-wrap {
	max-width: 520px;
	margin: 1.5rem auto;
	padding: 1.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* Compact, minimal variant */
.cnp-newsletter-wrap.cnp-newsletter-compact {
	max-width: 420px;
	padding: 0.5rem;
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	border: none;
}

.cnp-newsletter-form {
	display: grid;
	gap: 14px;
}

/* Compact inline layout */
.cnp-compact-form {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	width: 100%;
}

.cnp-field-group {
	display: grid;
	gap: 8px;
}

.cnp-field-group label {
	font-weight: 700;
	font-size: 14px;
	color: #111827;
}

.cnp-field-group input {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	font-size: 16px;
	background: #fff;
	color: #111827;
}

/* Compact input styles */
.cnp-input-compact {
	flex: 1 1 auto;
	min-height: 36px;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(17,24,39,0.08);
	background: rgba(255,255,255,0.9);
	font-size: 14px;
}

.cnp-field-group input:focus {
	outline: none;
	border-color: #111827;
	box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.cnp-honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.cnp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease;
}

.cnp-button-small {
	padding: 0.45rem 0.9rem;
	min-height: 36px;
	height: auto;
	width: auto;
	border-radius: 8px;
	background: #111827;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
}

.cnp-button:hover {
	transform: translateY(-1px);
}

.cnp-button.is-loading {
	opacity: 0.75;
	cursor: wait;
}

.cnp-notice,
.cnp-form-message {
	padding: 0.9rem 1rem;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
}

/* Visually hidden but accessible */
.cnp-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.cnp-notice-success,
.cnp-form-message.is-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.cnp-notice-error,
.cnp-form-message.is-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

@media (max-width: 600px) {
	.cnp-newsletter-wrap {
		padding: 1rem;
	}

	.cnp-field-group input {
		font-size: 16px;
	}
}
