/* static/css/lead/reviews-carousel.css */

.reviews-carousel-section {

    padding: 0;
    width: 100%;
}

.reviews-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 30px; /* Space for pagination */
}

.review-slide {
    display: flex;
    justify-content: center;
}

.review-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.excellent-stars {
    height: 20px;
}

.verify-user {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #86889d;
}

.review-content {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    flex-grow: 1;
    text-align: left;
    text-wrap: auto;
}

.reviewer {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.reviewer-country {
    font-weight: 400;
    color: #777;
}

/* Swiper pagination customization */
.reviews-carousel .swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.5;
}

.reviews-carousel .swiper-pagination-bullet-active {
    background: #4653cf;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .review-card {
        width: 100%;
        gap: 4px;
    }

    .excellent-stars {
        height: 16px;
    }

    .swiper-wrapper{
        align-items: flex-start;
    }

    #results-loading-screen .reviews-carousel{
        padding-bottom: 0;
    }
}

#results-loading-screen .reviews-carousel {
    margin: 0 auto;
}