/* Widget Carousel Avis - Assuretonavenir v1.0 */
/* Défilement horizontal automatique */

.ata-carousel-widget {
    background: transparent;
    padding: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.ata-carousel-track {
    display: flex;
    width: fit-content;
    animation: ataCarouselScroll 60s linear infinite;
}

.ata-carousel-widget:hover .ata-carousel-track {
    animation-play-state: paused;
}

@keyframes ataCarouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ata-review-card {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 350px;
    margin: 0 10px;
    border: 1px solid #404040;
    flex-shrink: 0;
}

.ata-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.ata-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.ata-review-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ata-review-info {
    flex: 1;
}

.ata-review-info h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.ata-review-time {
    color: #b0b0b0;
    font-size: 13px;
}

.ata-review-platform {
    width: 24px;
    height: 24px;
    margin-left: auto;
    flex-shrink: 0;
}

.ata-review-stars {
    display: flex;
    margin-bottom: 12px;
}

.ata-review-star {
    color: #ffa500;
    font-size: 16px;
    margin-right: 2px;
}

.ata-review-text {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .ata-review-card {
        width: 300px;
        padding: 16px;
    }

    .ata-carousel-track {
        animation-duration: 40s;
    }
    
    .ata-review-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .ata-review-info h3 {
        font-size: 15px;
    }
    
    .ata-review-text {
        font-size: 13px;
    }
}
