/* Explain: Styles for the interactive star rating component in the review form. */
/* Star rating selector used by the customer review form. */
.star-choice {
    position: relative;
    display: inline-flex;
}

.star-radio {
    position: absolute;
    height: 1px;
    width: 1px;
    opacity: 0;
    pointer-events: none;
}

.star-label {
    display: inline-flex;
    min-height: 2.75rem;
    min-width: 3.1rem;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
}

.star-label i {
    font-size: 0.7rem;
    color: var(--accent-color);
}

.star-label:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.star-radio:checked + .star-label {
    border-color: var(--button-color);
    background: var(--button-color);
    color: #ffffff;
}

.star-radio:checked + .star-label i {
    color: #ffffff;
}

.star-radio:focus-visible + .star-label {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

#reviewForm fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}