/* Groupe d’étoiles */
.rating {
  display: inline-flex;
  flex-direction: row-reverse; /* remplissage vers la gauche */
  justify-content: center;
  gap: 0.5em;
  margin-top: 1.5em;
}

/* Radios : totalement masquées mais accessibles au clavier */
.rating input {
  position: absolute;
  left: -99999px;
  top: auto;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none !important;
  box-shadow: none !important;
  pointer-events: none; /* clic uniquement via label */
}

/* Fix Firefox : pas de focus inner */
.rating input::-moz-focus-inner {
  border: 0;
}

/* Style des labels (les étoiles visibles) */
.rating label {
  display: inline-block;
  font-size: 48px;               /* taille des étoiles */
  color: #e0e0e0;                /* gris clair (vide) */
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none !important;
  border: 0 !important;
  background: transparent !important;
}

/* Étoile vide */
.rating label::before {
  content: "★";
}

/* Étoiles remplies (checked ou hover) */
.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
  color: #f5c518; /* jaune/or */
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

/* Animation au hover */
.rating label:hover {
  transform: scale(1.2);
}

/* Feedback focus clavier : glow sur l’étoile sélectionnée */
.rating input:focus-visible + label::before {
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}


#form_review{
    
    padding-bottom : 5vh;
    
}
}
