/**
 * Styles pour le système de commentaires
 */

/* Système de notation par étoiles */
.star-rating {
    display: inline-flex;
    gap: 5px;
}

.star-rating .star {
    cursor: pointer;
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating .star:hover {
    color: #ffc107;
}

.star-rating .star i.active {
    color: #ffc107;
}

/* Formulaire de réponse */
#reply-form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

/* Styles pour les commentaires */
.product-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-comments li {
    margin-bottom: 20px;
}

.threaded-comments {
    margin-left: 30px;
    border-left: 2px solid #eee;
    padding-left: 20px;
}

/* Notifications de commentaires */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .threaded-comments {
        margin-left: 15px;
        padding-left: 10px;
    }
    
    .star-rating .star {
        font-size: 20px;
    }
}
