/* ============================================================================
   NEWSLETTER POPUP — Sola Prenove
   Lightweight, non-annoying popup with cookie-based dismissal
   ============================================================================ */

/* Overlay */
.sola-nl-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sola-nl-overlay.sola-nl-visible {
	opacity: 1;
}

/* Popup container */
.sola-nl-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	z-index: 100000;
	max-width: 480px;
	width: 90%;
	padding: 40px 35px 35px;
	opacity: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	display: none;
}

.sola-nl-popup.sola-nl-visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.sola-nl-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 24px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 4px 8px;
	transition: color 0.2s;
}

.sola-nl-close:hover {
	color: #333;
}

/* Content */
.sola-nl-icon {
	text-align: center;
	font-size: 40px;
	margin-bottom: 16px;
}

.sola-nl-popup h3 {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: #333;
	margin: 0 0 10px;
	line-height: 1.3;
}

.sola-nl-popup p {
	text-align: center;
	font-size: 14px;
	color: #666;
	margin: 0 0 24px;
	line-height: 1.6;
}

/* Form */
.sola-nl-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sola-nl-form input[type="email"] {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.sola-nl-form input[type="email"]:focus {
	border-color: #8B4513;
}

.sola-nl-form input[type="email"]::placeholder {
	color: #aaa;
}

.sola-nl-form button[type="submit"] {
	width: 100%;
	padding: 13px 20px;
	background: #8B4513;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	letter-spacing: 0.5px;
}

.sola-nl-form button[type="submit"]:hover {
	background: #6d3410;
}

.sola-nl-form button[type="submit"]:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Privacy note */
.sola-nl-privacy {
	text-align: center;
	font-size: 11px;
	color: #999;
	margin-top: 12px;
}

.sola-nl-privacy a {
	color: #8B4513;
	text-decoration: underline;
}

/* Success state */
.sola-nl-success {
	display: none;
	text-align: center;
	padding: 20px 0;
}

.sola-nl-success .sola-nl-check {
	font-size: 48px;
	margin-bottom: 12px;
}

.sola-nl-success h3 {
	color: #2d7d46;
}

/* Error state */
.sola-nl-error {
	color: #c0392b;
	font-size: 13px;
	text-align: center;
	display: none;
	margin-top: 8px;
}

/* Responsive */
@media (max-width: 480px) {
	.sola-nl-popup {
		padding: 30px 24px 28px;
		width: 94%;
	}

	.sola-nl-popup h3 {
		font-size: 19px;
	}
}
