/**
 * Testimonial Widget Styles
 *
 * @package UXD_Elementor_Widgets
 * @since 1.9.2
 */

.uxdwfe-testimonial {
	position: relative;
	padding: 40px;
}

.uxdwfe-testimonial-icon {
	display: inline-block;
	margin-bottom: 20px;
	line-height: 1;
	opacity: 0.3;
}

.uxdwfe-testimonial-icon i,
.uxdwfe-testimonial-icon svg {
	display: block;
}

.uxdwfe-testimonial-text {
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 20px;
	font-style: italic;
}

.uxdwfe-testimonial-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	margin-bottom: 15px;
}

.uxdwfe-testimonial-rating i {
	line-height: 1;
}

.uxdwfe-testimonial-author {
	display: flex;
	align-items: center;
	justify-content: center;
}

.uxdwfe-testimonial-author-image {
	flex-shrink: 0;
	margin-right: 15px;
}

.uxdwfe-testimonial-author-image img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.uxdwfe-testimonial-author-info {
	text-align: left;
}

.uxdwfe-testimonial-author-name {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 5px;
	line-height: 1.4;
}

.uxdwfe-testimonial-author-title {
	font-size: 14px;
	opacity: 0.7;
	line-height: 1.4;
}

/* Layout: Classic */
.uxdwfe-testimonial.layout-classic {
	border: none;
	background: transparent;
}

/* Layout: Boxed */
.uxdwfe-testimonial.layout-boxed {
	background: #f9f9f9;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
}

/* Layout: Card */
.uxdwfe-testimonial.layout-card {
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Center aligned author */
.uxdwfe-testimonial[style*="text-align: center"] .uxdwfe-testimonial-author-info {
	text-align: center;
}

/* Right aligned author */
.uxdwfe-testimonial[style*="text-align: right"] .uxdwfe-testimonial-author-info {
	text-align: right;
}
