.unit-comments-field {
    margin-bottom: 1em;
}

.unit-comments-field__label {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 0.35em;
}

.unit-comments-field .required {
    color: #d60000;
}

.unit-comments-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.25em;
}

.unit-comments-stars input[type="radio"] {
    display: none;
}

.unit-comments-stars label {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.unit-comments-stars label:hover,
.unit-comments-stars label:focus,
.unit-comments-stars input[type="radio"]:checked ~ label {
    color: #f5c518;
}

.unit-comments-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-size: 0.95rem;
}

.unit-comments-rating-summary__values {
    display: flex;
    align-items: baseline;
    gap: 0.3em;
}

.unit-comments-rating-summary__values strong {
    font-size: 1.4rem;
}

.unit-comments-rating-summary__count {
    color: #666;
}

.unit-comments-stars--static {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
}

.unit-comments-stars__bg,
.unit-comments-stars__fg {
    display: flex;
    color: #ddd;
}

.unit-comments-stars__fg {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #f5c518;
    white-space: nowrap;
}

.unit-comments-rating-list {
    display: grid;
    gap: 1.5em;
}

.unit-comments-rating-list__title {
    margin-bottom: 0.25em;
}

.unit-comments-comment-rating {
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-size: 0.9rem;
    margin-top: 0.25em;
}

.unit-comments-comment-rating__label {
    font-weight: 600;
}

.unit-comments-comment-rating__value {
    color: #555;
    font-size: 0.85rem;
}
