/**
 * Tenbit Addon - Testimonial Slider Widget Styles
 * Author: Team Tenbit Solutions
 */

.tenbit-testimonial-slider-wrap {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

/* Swiper */
.swiper.tenbit-testimonial-swiper {
	overflow: hidden;
	width: 100%;
	padding: 12px 4px 16px 4px;
	box-sizing: border-box;
}

.swiper-slide {
	height: auto;
	display: flex;
	box-sizing: border-box;
}

/* Testimonial Card */
.tenbit-testimonial-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	background-color: #FFFFFF;
	border: 1px solid #EBF0F6;
	border-radius: 20px;
	padding: 32px 28px;
	box-shadow: 0 4px 20px rgba(11, 43, 92, 0.04);
	box-sizing: border-box;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tenbit-testimonial-card:hover {
	transform: translateY(-6px);
	border-color: #FFD3B8;
	box-shadow: 0 12px 28px rgba(255, 90, 0, 0.12);
}

/* Star Ratings */
.tenbit-stars-wrap {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 18px;
}

.tenbit-star {
	font-size: 16px;
	line-height: 1;
}

.tenbit-star.filled {
	color: #FF5A00;
}

.tenbit-star.empty {
	color: #D8E5F3;
}

/* Review Text */
.tenbit-review-text {
	color: #3C5A80;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	font-style: normal;
	margin-bottom: 24px;
	flex-grow: 1;
}

/* Author Info */
.tenbit-author-info-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
}

.tenbit-author-avatar {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #F0F6FC;
	flex-shrink: 0;
	box-sizing: border-box;
}

.tenbit-author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tenbit-author-details {
	display: flex;
	flex-direction: column;
}

.tenbit-author-name {
	color: #0B2B5C;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tenbit-verified-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #FF5A00;
	font-size: 13px;
	line-height: 1;
}

.tenbit-author-role {
	color: #7A8B9E;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
	margin-top: 2px;
}

/* Navigation Arrows */
.tenbit-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	background-color: #F0F6FC;
	color: #0B2B5C;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	z-index: 10;
	transition: all 0.25s ease;
	box-shadow: 0 4px 14px rgba(11, 43, 92, 0.08);
	user-select: none;
}

.tenbit-arrow-prev {
	left: -20px;
}

.tenbit-arrow-next {
	right: -20px;
}

.tenbit-slider-arrow:hover {
	background-color: #FF5A00;
	color: #FFFFFF;
	transform: translateY(-50%) scale(1.08);
}

/* Pagination Dots */
.swiper-pagination.tenbit-slider-pagination {
	position: relative;
	margin-top: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	bottom: auto !important;
	left: auto !important;
	width: 100% !important;
}

.swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background-color: #D8E6F5;
	opacity: 1;
	border-radius: 20px;
	transition: all 0.3s ease;
	margin: 0 !important;
	cursor: pointer;
}

.swiper-pagination-bullet-active {
	background-color: #FF5A00 !important;
	width: 24px;
	border-radius: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
	.tenbit-arrow-prev {
		left: -10px;
	}
	.tenbit-arrow-next {
		right: -10px;
	}
}

@media (max-width: 767px) {
	.tenbit-testimonial-card {
		padding: 24px 20px;
	}

	.tenbit-slider-arrow {
		display: none;
	}
}
