#snz-payment-error-overlay {
	position: fixed;
	inset: 0;
	z-index: 100002;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Tajawal", system-ui, -apple-system, sans-serif;
}

#snz-payment-error-box {
	background: #fff;
	border-radius: 20px;
	padding: 48px 36px 40px 36px;
	max-width: 440px;
	width: 92%;
	text-align: center;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
	animation: snzPaymentErrPopIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes snzPaymentErrPopIn {
	from {
		opacity: 0;
		transform: scale(0.88) translateY(24px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

#snz-payment-error-icon {
	width: 72px;
	height: 72px;
	background: #c0392b;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 22px auto;
	box-shadow: 0 8px 24px rgba(192, 57, 43, 0.35);
}

#snz-payment-error-box h2 {
	font-size: 24px;
	font-weight: 700;
	color: #1b1b1b;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

#snz-payment-error-box p {
	font-size: 15px;
	color: #7c7971;
	margin: 0 0 32px 0;
	line-height: 1.65;
}

#snz-payment-error-dismiss {
	display: inline-block;
	background: #c0392b;
	color: #fff;
	padding: 14px 40px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease;
	box-shadow: 0 8px 22px rgba(192, 57, 43, 0.28);
}

#snz-payment-error-dismiss:hover {
	background: #a93226;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(192, 57, 43, 0.34);
}
