/* Woo Testimonials Slider PRO - Frontend CSS */

:root {
    --wts-primary-color: #0073aa;
    --wts-star-color: #ffc107;
    --wts-card-bg: #ffffff;
    --wts-card-text: #333333;
    --wts-border-radius: 12px;
    --wts-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --wts-transition: all 0.3s ease;
}

/* Base Slider Container */
.wts-slider-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.wts-swiper {
    width: 100%;
    padding: 10px 0;
}

.wts-slide {
    height: auto;
}

/* Card Styles */
.wts-card {
    background: var(--wts-card-bg);
    border-radius: var(--wts-border-radius);
    padding: 30px;
    box-shadow: var(--wts-shadow);
    transition: var(--wts-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--wts-card-text);
}

.wts-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Default Template Styles */
.wts-slider-default .wts-card {
    border: 1px solid #e0e0e0;
}

.wts-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wts-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--wts-primary-color);
}

.wts-default-avatar {
    background: var(--wts-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.wts-author-info {
    flex: 1;
}

.wts-author-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--wts-card-text);
}

.wts-date {
    font-size: 14px;
    color: #666;
}

/* Rating Stars */
.wts-rating {
    margin: 15px 0;
    display: flex;
    gap: 2px;
}

.wts-star {
    color: var(--wts-star-color);
    font-size: 20px;
    line-height: 1;
}

.wts-star-empty {
    color: #ddd;
}

.wts-star-half {
    background: linear-gradient(90deg, var(--wts-star-color) 50%, #ddd 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Content */
.wts-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--wts-card-text);
}

/* Verified Badge */
.wts-verified {
    margin-top: 15px;
}

.wts-verified-badge {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Product Link */
.wts-product {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.wts-product a {
    color: var(--wts-primary-color);
    text-decoration: none;
    font-weight: 500;
}

.wts-product a:hover {
    text-decoration: underline;
}

/* Card Template Styles */
.wts-slider-card .wts-card-style {
    text-align: center;
    padding: 40px 30px;
}

.wts-card-avatar {
    margin-bottom: 20px;
}

.wts-card-avatar .wts-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.wts-card-body .wts-rating {
    justify-content: center;
    margin: 20px 0;
}

.wts-card-body .wts-content {
    font-style: italic;
    margin-bottom: 25px;
}

.wts-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wts-author strong {
    font-size: 16px;
}

.wts-position {
    font-size: 14px;
    color: #666;
}

/* Minimal Template Styles */
.wts-slider-minimal .wts-minimal-card {
    background: transparent;
    box-shadow: none;
    padding: 20px;
    text-align: center;
}

.wts-quote {
    font-size: 60px;
    color: var(--wts-primary-color);
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.3;
}

.wts-slider-minimal .wts-content {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.wts-slider-minimal .wts-author cite {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
}

.wts-slider-minimal .wts-date {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #999;
}

/* Premium Template Styles */
.wts-slider-premium .wts-premium-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.wts-slider-premium .wts-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wts-primary-color), var(--wts-star-color));
}

.wts-card-top {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wts-avatar-wrapper {
    margin-right: 20px;
}

.wts-avatar-wrapper .wts-avatar {
    width: 70px;
    height: 70px;
    border: 4px solid var(--wts-primary-color);
}

.wts-card-info {
    flex: 1;
}

.wts-author-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 5px;
}

.wts-position,
.wts-company {
    font-size: 14px;
    color: #666;
}

.wts-slider-premium .wts-rating {
    margin: 20px 0;
}

.wts-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: var(--wts-primary-color) !important;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--wts-transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--wts-primary-color);
    color: white !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Pagination */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: var(--wts-primary-color) !important;
    opacity: 0.5;
    transition: var(--wts-transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wts-card {
        padding: 20px;
    }
    
    .wts-avatar {
        width: 50px;
        height: 50px;
    }
    
    .wts-author-name {
        font-size: 16px;
    }
    
    .wts-content {
        font-size: 15px;
    }
    
    .wts-slider-card .wts-card-style {
        padding: 30px 20px;
    }
    
    .wts-card-avatar .wts-avatar {
        width: 60px;
        height: 60px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .wts-card {
        padding: 15px;
    }
    
    .wts-avatar {
        width: 45px;
        height: 45px;
    }
    
    .wts-author-name {
        font-size: 14px;
    }
    
    .wts-content {
        font-size: 14px;
    }
    
    .wts-star {
        font-size: 16px;
    }
}

/* Load More Button */
.wts-load-more-wrapper {
    text-align: center;
    margin-top: 30px;
}

.wts-load-more-btn {
    background: var(--wts-primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wts-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wts-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

.wts-load-more-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Custom CSS injection placeholder */
