/* Brezoaele Newsletter Styling */
.brezoaele-nl-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid var(--color-border, #e2e8f0);
	border-radius: var(--border-radius-lg, 16px);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
	padding: 28px;
	margin: 32px 0;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.brezoaele-nl-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(180deg, #047857 0%, #10b981 100%);
	border-top-left-radius: 16px;
	border-bottom-left-radius: 16px;
}

.brezoaele-nl-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}

.brezoaele-nl-icon {
	font-size: 2.2rem;
	line-height: 1;
	flex-shrink: 0;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 10px;
	border-radius: 12px;
}

.brezoaele-nl-title {
	font-family: var(--font-heading, inherit);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--color-text-dark, #0f172a);
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.brezoaele-nl-desc {
	font-size: 0.92rem;
	color: var(--color-text-muted, #475569);
	margin: 0;
	line-height: 1.5;
}

.brezoaele-nl-input-group {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 10px;
	margin-bottom: 14px;
	width: 100%;
	box-sizing: border-box;
}

.brezoaele-nl-name,
.brezoaele-nl-email {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 12px 16px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.95rem;
	color: #0f172a;
	background: #ffffff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.brezoaele-nl-name:focus,
.brezoaele-nl-email:focus {
	border-color: #047857;
	box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
	outline: none;
}

.brezoaele-nl-btn {
	background: linear-gradient(135deg, #047857 0%, #065f46 100%);
	color: #ffffff;
	font-weight: 800;
	font-size: 0.95rem;
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;

}

.brezoaele-nl-btn:hover {
	background: linear-gradient(135deg, #065f46 0%, #047857 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
}

.brezoaele-nl-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.brezoaele-nl-gdpr {
	font-size: 0.82rem;
	color: #64748b;
	line-height: 1.4;
}

.brezoaele-nl-gdpr label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}

.brezoaele-nl-gdpr a {
	color: #047857;
	text-decoration: underline;
	font-weight: 600;
}

.brezoaele-nl-response {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
}

.brezoaele-nl-response-success {
	background-color: #f0fdf4;
	color: #166534;
	border: 1px solid #86efac;
}

.brezoaele-nl-response-error {
	background-color: #fef2f2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}

/* Modal Overlay & Modal Dialog for Topic Preferences */
.brezoaele-nl-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 9999999 !important;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.brezoaele-nl-modal-overlay.brezoaele-nl-active {
	display: flex !important;
	animation: brezoaeleNlFadeIn 0.25s ease-out;
}

@keyframes brezoaeleNlFadeIn {
	from { opacity: 0; transform: scale(0.97); }
	to { opacity: 1; transform: scale(1); }
}

.brezoaele-nl-modal-dialog {
	background: #ffffff;
	border-radius: 16px;
	width: 100%;
	max-width: 680px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	position: relative;
	z-index: 10000000;
}

.brezoaele-nl-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f8fafc;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}

.brezoaele-nl-modal-header h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f172a;
}

.brezoaele-nl-modal-close {
	background: none;
	border: none;
	font-size: 1.6rem;
	color: #64748b;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}

.brezoaele-nl-modal-close:hover {
	color: #0f172a;
}

.brezoaele-nl-modal-body {
	padding: 24px;
}

.brezoaele-nl-modal-sub {
	margin: 0 0 16px 0;
	font-size: 0.92rem;
	color: #475569;
	line-height: 1.5;
}

.brezoaele-nl-topics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}

.brezoaele-nl-topic-card {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.brezoaele-nl-topic-card:hover {
	border-color: #047857;
	background: #f0fdf4;
}

.brezoaele-nl-topic-card input[type="checkbox"] {
	margin-top: 3px;
	accent-color: #047857;
	width: 17px;
	height: 17px;
}

.brezoaele-nl-topic-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.brezoaele-nl-topic-content strong {
	font-size: 0.92rem;
	color: #0f172a;
}

.brezoaele-nl-topic-content span {
	font-size: 0.8rem;
	color: #64748b;
	line-height: 1.3;
}

.brezoaele-nl-modal-footer {
	display: flex;
	justify-content: flex-end;
	padding-top: 10px;
}

@media (max-width: 768px) {
	.brezoaele-nl-input-group {
		grid-template-columns: 1fr;
	}
	.brezoaele-nl-btn {
		width: 100%;
		justify-content: center;
	}
	.brezoaele-nl-topics-grid {
		grid-template-columns: 1fr;
	}
}
