/* Update Star Rating Input to be standard radio layout */
.star-rating-radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.star-rating-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-weight: 500;
}

.star-rating-radio-group input[type="radio"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--color-secondary);
    /* Use yellow for selection */
    margin: 0;
}

/* Displaying Stars in Comments */
.comment-rating {
    color: #FBBF24;
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.comment-rating .star {
    font-style: normal;
}

.comment-rating .star.empty {
    color: #E5E7EB;
    /* Gray for empty stars */
}

/* Adjust comment meta for star display */
.comment-meta {
    flex-direction: column;
    align-items: flex-start;
}

.comment-author {
    width: 100%;
    margin-bottom: 0.25rem;
}

.comment-author-info {
    display: flex;
    flex-direction: column;
}

.comment-author .fn {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.comment-metadata {
    font-size: 0.75rem;
    margin-top: 0;
}

@media (min-width: 640px) {
    .comment-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .comment-author {
        width: auto;
    }
}