/* Style unique pour la section des avis 2025 */
.reviews-section-2025 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem 0;
}

/* En-tête avec statistiques */
.reviews-header-2025 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .reviews-header-2025 {
        grid-template-columns: 2fr 1fr;
    }
}

/* Statistiques des avis */
.reviews-stats-2025 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reviews-average-2025 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.average-rating {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
}

.total-reviews {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Distribution des notes */
.reviews-distribution-2025 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    min-width: 60px;
    color: #2c3e50;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.rating-progress-fill {
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

.rating-count {
    min-width: 40px;
    text-align: right;
    color: #7f8c8d;
}

/* Filtres */
.reviews-filters-2025 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.reviews-sort-group-2025 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-filter-label-2025 {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.reviews-select-2025 {
    padding: 0.5rem;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    background: #fff;
    color: #2c3e50;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.reviews-select-2025:hover {
    border-color: #3498db;
}

/* Liste des avis */
.reviews-list-2025 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.review-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease;
}

.review-item:hover {
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-user {
    font-weight: 600;
    color: #2c3e50;
}

.review-date {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Système d'étoiles */
.stars-container {
    position: relative;
    display: inline-block;
    color: #f1c40f;
    font-size: 1.2rem;
    line-height: 1;
}

.stars-background {
    color: #ecf0f1;
}

.stars-foreground {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #f1c40f;
}

/* Contenu de l'avis */
.review-content {
    margin: 1rem 0;
}

.review-text {
    color: #34495e;
    line-height: 1.6;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .review-pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

.review-pros, .review-cons {
    padding: 1rem;
    border-radius: 6px;
    background: #fff;
}

.review-pros:before {
    content: "✓";
    color: #2ecc71;
    margin-right: 0.5rem;
}

.review-cons:before {
    content: "✕";
    color: #e74c3c;
    margin-right: 0.5rem;
}

/* Photos des avis */
.review-photos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.review-photo {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.review-photo:hover {
    transform: scale(1.05);
}

/* Formulaire d'avis */
.reviews-form-2025 {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.reviews-form-title-2025 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.reviews-form-group-2025 {
    margin-bottom: 1.5rem;
}

.reviews-form-group-2025 label {
    display: block;
    margin-bottom: 0.5rem;
    color: #34495e;
    font-weight: 500;
}

.reviews-form-group-2025 textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

.reviews-form-group-2025 textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* Système de notation interactif */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
}

.rating-input .star {
    font-size: 2rem;
    color: #bdc3c7;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-input .star:hover,
.rating-input .star:hover ~ .star {
    color: #f1c40f;
}

.rating-input .star.active {
    color: #f1c40f;
}

/* Upload de photos */
.photo-upload-container {
    border: 2px dashed #bdc3c7;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.photo-upload-container:hover {
    border-color: #3498db;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.photo-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.photo-preview-item .remove-photo {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

/* Bouton d'envoi */
.reviews-submit-btn-2025 {
    background: #15e615;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reviews-submit-btn-2025:hover {
    background: #15e615;
}

/* Message de connexion */
.reviews-login-prompt-2025 {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 2rem;
}

.reviews-login-prompt-2025 p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.reviews-login-btn-2025 {
    display: inline-block;
    background: #15e615;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.reviews-login-btn-2025:hover {
    background: #15e615;
}

/* Bouton "Charger plus" */
.reviews-load-more-2025 {
    text-align: center;
    margin: 2rem 0;
}

.reviews-load-more-btn-2025 {
    background: transparent;
    border: 2px solid #15e615;
    color: #15e615;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reviews-load-more-btn-2025:hover {
    background: #15e615;
    color: #fff;
}

.reviews-load-more-btn-2025 i {
    margin-right: 0.5rem;
}

/* Animation de chargement */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading .fa-sync {
    animation: spin 1s linear infinite;
}
