.toscane-vote-block {
    margin: 15px 0;
}

.toscane-vote-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 18px;
}

.toscane-vote-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* meilleure adaptation responsive */
}

.toscane-vote-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
    cursor: pointer; /* cohérence UX */
}

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

.toscane-vote-stars label {
    font-size: 36px;
    color: #ccc;
    cursor: pointer;
    line-height: 36px;
    user-select: none; /* empêche sélection de texte */
    transition: color 0.2s ease; /* transition douce */
}

/* Survol */
.toscane-vote-stars label:hover,
.toscane-vote-stars label:hover ~ label {
    color: #ffd700;
}

/* Sélection */
.toscane-vote-stars input[type="radio"]:checked ~ label {
    color: #ffd700;
}

.toscane-vote-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Loader */
.toscane-vote-loading {
    display: inline-block;
    visibility: hidden;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top-color: #333; /* plus lisible que noir pur */
    border-radius: 50%;
}

.toscane-vote-loading.show {
    visibility: visible;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}


.vote-average-meta {
   /* margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;*/
}

.vote-average-meta a {
    text-decoration: none;
    border: 0;
}

.vote-average-meta a:hover {
    text-decoration: underline;
}

.vote-star {
    color: #de51ff;
    margin-right: 2px;
}


@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}