.fspr-dialog-open {
	overflow: hidden;
}

.fspr-dialog-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(8, 8, 10, .68);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .2s ease;
}

.fspr-dialog-overlay.fspr-show {
	opacity: 1;
}

.fspr-dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	padding: 34px 34px 30px;
	border: 1px solid rgba(0, 0, 0, .07);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
	text-align: center;
	direction: rtl;
	transform: scale(.94) translateY(10px);
	transition: transform .2s ease;
}

.fspr-show .fspr-dialog {
	transform: scale(1) translateY(0);
}

.fspr-dialog-close {
	position: absolute;
	top: 12px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f3f3;
	color: #666;
	font-family: Arial, sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.fspr-dialog-close:hover,
.fspr-dialog-close:focus {
	background: #e8e8e8;
	color: #111;
	outline: none;
}

.fspr-dialog-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 17px;
	border: 6px solid #fde8e9;
	border-radius: 50%;
	background: #b81c23;
	box-shadow: 0 7px 20px rgba(184, 28, 35, .2);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
}

.fspr-dialog-title {
	margin-bottom: 12px;
	color: #171717;
	font-size: 24px;
	font-weight: 800;
}

.fspr-dialog-message {
	max-width: 440px;
	margin: 0 auto 25px;
	color: #555;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.85;
}

.fspr-dialog-button {
	min-width: 160px;
	margin: 0;
	padding: 12px 34px;
	border: 0;
	border-radius: 10px;
	background: #b81c23;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 7px 18px rgba(184, 28, 35, .22);
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.fspr-dialog-button:hover,
.fspr-dialog-button:focus {
	background: #94171c;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(184, 28, 35, .3);
	outline: none;
}

.fspr-payment-warning {
	width: 100%;
	margin: 0 0 20px;
	padding: 15px 18px;
	border: 1px solid #e5a3a6;
	border-right: 5px solid #b81c23;
	border-radius: 9px;
	background: #fff5f5;
	color: #b81c23 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.8;
	text-align: center;
	direction: rtl;
}

@media (max-width: 549px) {
	.fspr-dialog {
		max-width: 92vw;
		padding: 30px 20px 24px;
	}

	.fspr-dialog-title {
		font-size: 20px;
	}

	.fspr-dialog-message {
		font-size: 17px;
		line-height: 1.85;
	}

	.fspr-dialog-icon {
		width: 56px;
		height: 56px;
		font-size: 31px;
	}

	.fspr-payment-warning {
		padding: 13px 14px;
		font-size: 16px !important;
		line-height: 1.75;
	}
}
