/* ===========================================
   Testimonials Carousel for Elementor - Styles
   =========================================== */

.tc-testimonials-wrapper {
	position: relative;
	width: 100%;
	direction: rtl;
}

.tc-swiper {
	width: 100%;
	overflow: hidden;
	padding: 8px 4px 48px;
}

.swiper-wrapper {
	align-items: stretch;
}

/* الكارت */
.tc-card {
	position: relative;
	height: 100%;
	background-color: #ffffff;
	border-radius: 16px;
	padding: 32px 28px;
	box-shadow: 0 4px 24px rgba(20, 20, 43, 0.06);
	display: flex;
	flex-direction: column;
	text-align: right;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tc-card:hover {
	transform: translateY(-4px);
}

.tc-quote-icon {
	color: #e6e8f0;
	margin-bottom: 12px;
	line-height: 0;
}

.tc-text {
	color: #4a4a57;
	font-size: 15px;
	line-height: 1.8;
	flex-grow: 1;
	margin-bottom: 20px;
}

.tc-text p {
	margin: 0 0 0.6em;
}

.tc-text p:last-child {
	margin-bottom: 0;
}

/* النجوم */
.tc-rating {
	display: flex;
	gap: 3px;
	margin-bottom: 16px;
	line-height: 1;
}

.tc-star {
	font-size: 16px;
	color: #e0e0ea;
}

.tc-star.is-active {
	color: #f5b50a;
}

/* بيانات العميل */
.tc-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.tc-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #edeef5;
	flex-shrink: 0;
}

.tc-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #6c5ce7;
	color: #fff;
	font-weight: 700;
	font-size: 20px;
}

.tc-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tc-name {
	font-weight: 700;
	font-size: 16px;
	color: #1a1a2e;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tc-job {
	font-size: 13px;
	color: #8a8aa3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* أسهم التنقل */
.tc-nav-arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #ffffff;
	color: #1a1a2e;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(20, 20, 43, 0.12);
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
	z-index: 5;
}

.tc-nav-arrow:hover {
	background-color: #6c5ce7;
	color: #ffffff;
}

.tc-nav-arrow:active {
	transform: translateY(-50%) scale(0.92);
}

.tc-nav-arrow svg {
	width: 40%;
	height: 40%;
}

/* في RTL، السهم اللي بصورته يمين بيروح يمين منطقيًا */
.tc-nav-prev {
	right: -6px;
}

.tc-nav-next {
	left: -6px;
}

@media (max-width: 767px) {
	.tc-nav-arrow {
		display: none;
	}
}

/* النقاط (Dots) */
.tc-testimonials-wrapper .swiper-pagination {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.tc-testimonials-wrapper .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #d8d8e6;
	opacity: 1;
	margin: 0;
	transition: width 0.25s ease, background-color 0.25s ease;
}

.tc-testimonials-wrapper .swiper-pagination-bullet-active {
	background-color: #6c5ce7;
	width: 22px;
	border-radius: 5px;
}

/* رسالة عدم وجود محتوى */
.tc-empty-notice {
	padding: 24px;
	border-radius: 12px;
	background: #f7f7fb;
	color: #8a8aa3;
	text-align: center;
	font-size: 14px;
}
