@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600&display=swap");

.wnsp-subscribe {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	background: #fff;
	max-width: 420px;
	font-family: "Vazirmatn", "Tahoma", sans-serif;
}

.wnsp-consent-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(6px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 16px;
}

.wnsp-consent-overlay.is-visible {
	display: flex;
	animation: wnspFade 0.35s ease;
}

.wnsp-consent {
	width: min(520px, 94vw);
	background: linear-gradient(180deg, #ffffff, #f8fafc);
	border-radius: 20px;
	padding: 22px 24px 20px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	position: relative;
	font-family: "Vazirmatn", "Tahoma", sans-serif;
}

.wnsp-consent__close {
	position: absolute;
	top: 14px;
	left: 14px;
	border: none;
	background: #eef2ff;
	color: #1e293b;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
}

.wnsp-consent__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	background: #0f766e;
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: 1px;
}

.wnsp-consent__title {
	margin: 12px 0 6px;
	font-size: 18px;
	color: #0f172a;
}

.wnsp-consent__subtitle {
	margin: 0 0 12px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.8;
}

.wnsp-consent__benefits {
	margin: 0 0 14px;
	padding: 0 18px 0 0;
	display: grid;
	gap: 6px;
	font-size: 13px;
	color: #334155;
}

.wnsp-consent__benefits li {
	list-style: disc;
}

.wnsp-consent__form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.wnsp-consent__field label {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 6px;
}

.wnsp-consent__field input,
.wnsp-consent__field select {
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 12px;
}

.wnsp-consent-overlay[data-show-channel="0"] .wnsp-consent__field--channel {
	display: none;
}

.wnsp-consent__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.wnsp-consent__accept {
	background: #0f766e;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 10px;
	cursor: pointer;
}

.wnsp-consent__later {
	background: transparent;
	color: #64748b;
	border: 1px dashed #cbd5f5;
	padding: 10px 16px;
	border-radius: 10px;
	cursor: pointer;
}

.wnsp-consent__status {
	font-size: 12px;
	color: #64748b;
}

.wnsp-consent__footnote {
	margin-top: 10px;
	font-size: 11px;
	color: #94a3b8;
}

@keyframes wnspFade {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
	.wnsp-consent {
		padding: 18px 16px;
	}
	.wnsp-consent__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.wnsp-consent__accept,
	.wnsp-consent__later {
		width: 100%;
		text-align: center;
	}
}

.wnsp-subscribe__row {
	margin-bottom: 12px;
}

.wnsp-subscribe__row label {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 6px;
}

.wnsp-subscribe__row input,
.wnsp-subscribe__row select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.wnsp-subscribe__btn {
	background: #0f766e;
	color: #fff;
	border: none;
	padding: 10px 16px;
	border-radius: 8px;
	cursor: pointer;
}

.wnsp-subscribe__status {
	margin-top: 10px;
	font-size: 12px;
	color: #64748b;
}

.wnsp-push-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(6px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 16px;
}

.wnsp-push-overlay.is-visible {
	display: flex;
	animation: wnspFade 0.35s ease;
}

.wnsp-push {
	width: min(520px, 94vw);
	background: linear-gradient(180deg, #ffffff, #f8fafc);
	border-radius: 20px;
	padding: 22px 24px 20px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	position: relative;
	font-family: "Vazirmatn", "Tahoma", sans-serif;
}

.wnsp-push__close {
	position: absolute;
	top: 14px;
	left: 14px;
	border: none;
	background: #eef2ff;
	color: #1e293b;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
}

.wnsp-push__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	background: #0f766e;
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: 1px;
}

.wnsp-push__title {
	margin: 12px 0 6px;
	font-size: 18px;
	color: #0f172a;
}

.wnsp-push__subtitle {
	margin: 0 0 12px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.8;
}

.wnsp-push__benefits {
	margin: 0 0 14px;
	padding: 0 18px 0 0;
	display: grid;
	gap: 6px;
	font-size: 13px;
	color: #334155;
}

.wnsp-push__benefits li {
	list-style: disc;
}

.wnsp-push__form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.wnsp-push__field label {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 6px;
}

.wnsp-push__field select {
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 12px;
}

.wnsp-push__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.wnsp-push__accept {
	background: #0f766e;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 10px;
	cursor: pointer;
}

.wnsp-push__later {
	background: transparent;
	color: #64748b;
	border: 1px dashed #cbd5f5;
	padding: 10px 16px;
	border-radius: 10px;
	cursor: pointer;
}

.wnsp-push__status {
	font-size: 12px;
	color: #64748b;
}

.wnsp-push__footnote {
	margin-top: 10px;
	font-size: 11px;
	color: #94a3b8;
}

@media (max-width: 600px) {
	.wnsp-push {
		padding: 18px 16px;
	}
	.wnsp-push__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.wnsp-push__accept,
	.wnsp-push__later {
		width: 100%;
		text-align: center;
	}
}
