/* Star Rating Component - DÉSACTIVÉ */
.star-rating-container,
[data-star-rating] {
    display: none !important; /* Masqué */
}

/* Ancien code ci-dessous (désactivé) */
.star-rating-container-OLD {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.02));
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.star-rating-title {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.star-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    position: relative;
}

.star-rating .star {
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
}

.star-rating .star::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #d1d5db;
    transition: color 0.15s;
}

/* Half star - left side filled */
.star-rating .star.half::before {
    background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Full star */
.star-rating .star.full::before {
    color: #fbbf24;
}

.star-rating .star:hover::before,
.star-rating .star.preview::before {
    transform: scale(1.15);
}

.star-rating-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f59e0b;
    min-width: 3.5rem;
    text-align: center;
    position: absolute;
    right: -4rem;
}

.star-rating-thanks {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #22c55e;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    text-align: center;
}

.star-rating-thanks.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dark mode support */
.dark .star-rating-container,
[data-theme="dark"] .star-rating-container,
body.dark .star-rating-container {
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02));
    border-top-color: rgba(255,255,255,0.1);
}

.dark .star-rating-title,
[data-theme="dark"] .star-rating-title {
    color: #94a3b8;
}

.dark .star-rating .star::before,
[data-theme="dark"] .star-rating .star::before {
    color: #4b5563;
}
