/* ========================================
   COMPONENTE - ESTRELAS DE AVALIAÇÃO
   ======================================== */

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 1.2rem;
    line-height: 1;
}

.rating-stars .star {
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    font-size: 1.5rem;
}

.rating-stars .star:hover {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-stars .star.filled {
    color: #ffc107;
}

.rating-stars .star.user-rating {
    color: #ff6b35;
    text-shadow: 0 0 3px rgba(255, 107, 53, 0.5);
}

.rating-stars .rating-text {
    margin-left: 8px;
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

/* Estrelas interativas (para avaliação) */
.rating-stars.interactive .star {
    cursor: pointer;
}

.rating-stars.interactive .star:hover {
    color: #ffc107;
    transform: scale(1.2);
}

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

/* Estrelas apenas para visualização */
.rating-stars.readonly .star {
    cursor: default;
}

.rating-stars.readonly .star:hover {
    transform: none;
    color: inherit;
}

/* Tamanhos diferentes */
.rating-stars.small {
    font-size: 0.9rem;
}

.rating-stars.small .star {
    font-size: 1.1rem;
}

.rating-stars.large {
    font-size: 1.5rem;
}

.rating-stars.large .star {
    font-size: 2rem;
}

/* Animações */
@keyframes starGlow {
    0% { text-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
    50% { text-shadow: 0 0 10px rgba(255, 193, 7, 0.8); }
    100% { text-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
}

.rating-stars .star.animate {
    animation: starGlow 0.6s ease-in-out;
}

/* Responsividade */
@media (max-width: 768px) {
    .rating-stars {
        font-size: 1rem;
    }
    
    .rating-stars .star {
        font-size: 1.2rem;
    }
    
    .rating-stars .rating-text {
        font-size: 0.75rem;
    }
}
