/* ===================== عمومی ===================== */
.crp-trigger {
	display: inline-block;
	direction: rtl;
}
.crp-fallback-btn {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: #fff;
	border: none;
	padding: 14px 32px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

/* ===================== پس‌زمینه پاپ‌آپ ===================== */
.crp-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 41, 66, 0.55);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.crp-overlay.crp-open {
	display: flex;
}

/* ===================== باکس پاپ‌آپ ===================== */
.crp-modal {
	position: relative;
	background: #fff;
	border-radius: 20px;
	max-width: 460px;
	width: 100%;
	padding: 32px 28px;
	direction: rtl;
	text-align: right;
	font-family: Tahoma, Arial, sans-serif;
	box-shadow: 0 20px 50px rgba(0,0,0,0.25);
	animation: crpFadeIn .25s ease;
}
@keyframes crpFadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

.crp-close {
	position: absolute;
	top: 12px;
	left: 16px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
}
.crp-close:hover { color: #334155; }

.crp-title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: bold;
	color: #0f2942;
}
.crp-subtitle {
	margin: 0 0 20px;
	color: #64748b;
	font-size: 14px;
}

/* ===================== فرم ===================== */
.crp-form { display: flex; flex-direction: column; gap: 16px; }
.crp-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	color: #334155;
	font-weight: 600;
}
.crp-input, .crp-textarea {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	resize: none;
	direction: rtl;
}
.crp-input:focus, .crp-textarea:focus {
	outline: none;
	border-color: #22c55e;
	box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

/* ستاره‌های انتخاب امتیاز */
.crp-stars {
	display: flex;
	gap: 6px;
	font-size: 28px;
	justify-content: flex-end;
}
.crp-star {
	color: #e2e8f0;
	cursor: pointer;
	transition: color .15s ease, transform .15s ease;
}
.crp-star:hover { transform: scale(1.1); }
.crp-star.active { color: #fbbf24; }

.crp-error {
	color: #dc2626;
	font-size: 13px;
	min-height: 16px;
	margin: 0;
}

/* دکمه‌های انتخاب نوع خدمات */
.crp-service-options {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.crp-service-btn {
	flex: 1 1 auto;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13.5px;
	font-family: inherit;
	color: #475569;
	cursor: pointer;
	transition: all .15s ease;
	white-space: nowrap;
}
.crp-service-btn:hover {
	border-color: #86efac;
}
.crp-service-btn.crp-selected {
	background: #f0fdf4;
	border-color: #22c55e;
	color: #15803d;
	font-weight: bold;
}

.crp-submit-btn {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: #fff;
	border: none;
	padding: 13px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	transition: opacity .2s ease;
}
.crp-submit-btn:hover { opacity: .9; }
.crp-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ===================== پیام موفقیت ===================== */
.crp-modal-success {
	text-align: center;
	padding: 20px 10px;
	direction: rtl;
}
.crp-success-icon {
	width: 56px;
	height: 56px;
	line-height: 56px;
	background: #22c55e;
	color: #fff;
	border-radius: 50%;
	font-size: 26px;
	margin: 0 auto 16px;
}
.crp-modal-success p {
	color: #334155;
	font-size: 15px;
	margin: 0;
}

/* ===================== اسلایدر نظرات تاییدشده ===================== */
.crp-slider {
	position: relative;
	direction: rtl;
	font-family: Tahoma, Arial, sans-serif;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}
.crp-slider-viewport {
	overflow: hidden;
	width: 100%;
}
.crp-slider-track {
	display: flex;
	transition: transform .45s ease;
}
.crp-slide {
	box-sizing: border-box;
	padding: 0 10px;
	flex-shrink: 0;
	/* عرض هر اسلاید توسط جاوااسکریپت بر اساس تعداد نمایش همزمان تنظیم می‌شود */
}

/* ===================== کارت نظر ===================== */
.crp-review-card {
	position: relative;
	background: #fbfbfa;
	border-radius: 20px;
	padding: 30px 26px 26px;
	box-shadow: 0 8px 24px rgba(15,41,66,0.06);
	min-height: 280px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-sizing: border-box;
}
.crp-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 18px;
}
.crp-review-stars {
	font-size: 17px;
	letter-spacing: 2px;
}
.crp-review-stars .filled { color: #16a34a; }
.crp-review-stars .empty { color: #dbe2ea; }
.crp-quote-mark {
	font-size: 36px;
	font-weight: bold;
	color: #16a34a;
	line-height: .6;
}
.crp-review-text {
	color: #334155;
	font-size: 14.5px;
	line-height: 2;
	margin: 0;
	flex-grow: 1;
}
.crp-divider {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 20px 0 14px;
	color: #cbb984;
	font-size: 15px;
}
.crp-divider::before,
.crp-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e5e0d0;
}
.crp-divider span {
	padding: 0 10px;
}
.crp-review-name {
	font-weight: bold;
	color: #16a34a;
	font-size: 15px;
	margin-bottom: 4px;
}
.crp-review-service {
	color: #94a3b8;
	font-size: 13px;
}

/* فلش‌های ناوبری */
.crp-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(22,163,74,0.1);
	color: #16a34a;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
	z-index: 2;
}
.crp-nav:hover,
.crp-nav:active { background: rgba(22,163,74,0.2); }
.crp-prev { right: 0; }
.crp-next { left: 0; }
.crp-nav.crp-hidden { display: none; }

/* دات‌های ناوبری */
.crp-dots {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 16px;
}
.crp-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #dbe2ea;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.crp-dot.crp-active {
	background: #16a34a;
	transform: scale(1.3);
}

/* موبایل - ریزتنظیمات */
@media (max-width: 480px) {
	.crp-slider { padding: 0 28px; }
	.crp-review-card { padding: 28px 18px 20px; }
	.crp-quote-mark { font-size: 70px; }
	.crp-nav { width: 26px; height: 26px; font-size: 13px; }
}
