<style>
  body {
    font-family: Arial, sans-serif;
    padding: 20px;
  }

  #ratings-distribution {
    max-width: 500px;
    margin-top: 20px;
  }

  /* Conteneur d’une ligne étoile + barre + pourcentage */
  .ratings-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  /* Étoiles à gauche */
  .ratings-full {
    width: 100px; /* largeur fixe */
    display: flex;
    justify-content: flex-start;
    font-size: 20px;
    color: #ffcc00;
  }

  /* Barre de progression au milieu */
  .progress {
    flex-grow: 1;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 10px;
  }

  .progress-bar {
    height: 100%;
    background-color: #ffcc00;
    width: 0%;
    transition: width 0.5s ease;
  }

  /* Pourcentage à droite */
  .progress-value {
    width: 40px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
  }

#image-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 4px 4px 4px 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}
#image-preview img:hover {
  transform: scale(1.1);
  border-color: #007bff;
}

</style>