/* Rating Plugin Modal Overlay & Stars Styling */
.ks-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: ksFadeIn 0.3s ease;
}

.ks-modal-box {
	background: #ffffff;
	border-radius: 16px;
	padding: 28px 24px;
	width: 90%;
	max-width: 420px;
	text-align: center;
	position: relative;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
	border: 1px solid #e2e8f0;
	direction: rtl;
	font-family: inherit;
}

.ks-modal-close {
	position: absolute;
	top: 12px;
	left: 14px;
	background: #f1f5f9;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ks-modal-close:hover {
	background: #ef4444;
	color: #ffffff;
}

.ks-modal-icon {
	font-size: 38px;
	margin-bottom: 4px;
}

.ks-star-rating-wrap {
	display: inline-flex;
	flex-direction: row;
	direction: rtl;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 18px 0 12px 0;
}

.ks-star {
	font-size: 36px;
	color: #cbd5e1;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.ks-star.active,
.ks-star.selected {
	color: #f59e0b;
	transform: scale(1.15);
}

.ks-rating-stats-text {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 12px;
}

.ks-rating-feedback {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #86efac;
	padding: 10px 16px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 14px;
	margin-top: 12px;
	box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
	line-height: 1.6;
}

.ks-btn-exit {
	background: #334155;
	color: #ffffff;
	border: none;
	width: 100%;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ks-btn-exit:hover {
	background: #0f172a;
}

@keyframes ksFadeIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}
