/* Rating Component CSS */
.rating-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-score {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.rating-stars {
    display: flex;
    align-items: center;
}

.rating-stars i {
    color: #fbbc05;
}

.rating-star {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.rating-star-filled {
    color: #ffcb00;
}

.rating-star-empty {
    color: #707781;
}

.rating-star-half {
    position: relative;
    width: 16px;
    height: 16px;
}

.rating-star-half-bg {
    position: absolute;
    inset: 0;
    color: #d1d5db;
    fill: currentColor;
}

.rating-star-half-fill {
    position: absolute;
    inset: 0;
    color: #ffcb00;
    fill: currentColor;
}

/* Custom sizes */
.rating-star-sm {
    width: 12px;
    height: 12px;
}

.rating-star-lg {
    width: 20px;
    height: 20px;
}

.rating-star-xl {
    width: 24px;
    height: 24px;
}

/* Custom colors */
.rating-star-gold {
    color: #ffcb00;
}

.rating-star-orange {
    color: #ff8c00;
}

.rating-star-red {
    color: #ef4444;
}

/* Score variations */
.rating-score-lg {
    font-size: 18px;
    font-weight: 700;
}

.rating-score-sm {
    font-size: 12px;
    font-weight: 500;
}

/* Container variations */
.rating-container-center {
    justify-content: center;
}

.rating-container-end {
    justify-content: flex-end;
}

.rating-container-gap-sm {
    gap: 2px;
}

.rating-container-gap-lg {
    gap: 8px;
}

.rating-star-half {
    position: relative;
    display: inline-block;
}
.rating-star-half .fa-star {
    position: absolute;
    top: 0;
    left: 0;
}
.rating-star-half .fa-star.half-fill {
    clip-path: inset(0 50% 0 0);
    -webkit-clip-path: inset(0 50% 0 0);
}
