/* Company Star Rating System */
.company-star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0.5rem 0;
    padding: 0.25rem 0.5rem;
    background-color: rgba(200, 16, 46, 0.1);
    border-radius: 4px;
    font-size: 0.875rem;
}

.company-star-rating-small {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin: 0.25rem 0;
    font-size: 0.75rem;
}

.company-star-rating .star,
.company-star-rating-small .star {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.company-star-rating .star svg,
.company-star-rating-small .star svg {
    width: 100%;
    height: 100%;
}

/* Default color (red - plateforme color) - for 1-2 stars */
.company-star-rating.stars-red .star.filled svg,
.company-star-rating-small.stars-red .star.filled svg {
    color: #c8102e; /* Rouge de la plateforme */
    fill: #c8102e;
}

.company-star-rating.stars-red .star.empty svg,
.company-star-rating-small.stars-red .star.empty svg {
    color: #e0e0e0;
    fill: none;
}

/* Bronze color - for 3-4 stars */
.company-star-rating.stars-bronze .star.filled svg,
.company-star-rating-small.stars-bronze .star.filled svg {
    color: #cd7f32; /* Bronze */
    fill: #cd7f32;
}

.company-star-rating.stars-bronze .star.empty svg,
.company-star-rating-small.stars-bronze .star.empty svg {
    color: #e0e0e0;
    fill: none;
}

/* Gold color - for 5-7 stars */
.company-star-rating.stars-gold .star.filled svg,
.company-star-rating-small.stars-gold .star.filled svg {
    color: #ffd700; /* Or */
    fill: #ffd700;
}

.company-star-rating.stars-gold .star.empty svg,
.company-star-rating-small.stars-gold .star.empty svg {
    color: #e0e0e0;
    fill: none;
}

/* Default (no rating yet) */
.company-star-rating.stars-default {
    display: none;
}

/* Star rating text */
.star-rating-text {
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.company-star-rating.stars-red .star-rating-text {
    color: #c8102e;
}

.company-star-rating.stars-bronze .star-rating-text {
    color: #cd7f32;
}

.company-star-rating.stars-gold .star-rating-text {
    color: #ffd700;
}

/* Rating badge in profile */
.company-star-rating {
    background-color: rgba(200, 16, 46, 0.1);
    border: 1px solid rgba(200, 16, 46, 0.2);
}

.company-star-rating.stars-bronze {
    background-color: rgba(205, 127, 50, 0.1);
    border-color: rgba(205, 127, 50, 0.2);
}

.company-star-rating.stars-gold {
    background-color: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
}


