.star-rating-btn {
  color: #FFD700;
  background: none;
  border: none;
  font-size: 34px;
  cursor: pointer;
  transition: transform 0.12s;
  z-index: 2;
}
.star-rating-btn:hover {
  transform: scale(1.12) rotate(-5deg);
}
.rating-modal {
  position: fixed;
  z-index: 9999;
  left:0; top:0; right:0; bottom:0;
  background: rgba(0,0,0,0.39);
  align-items: center;
  justify-content: center;
  display: none;
}
.rating-modal:not(.hidden) {
  display: flex;
}
.rating-modal-content {
  background: #232833;
  color: #f2f2f2;
  padding: 28px 22px 18px 22px;
  border-radius: 16px;
  min-width: 310px;
  /* Elimina sombra */
  /* box-shadow: 0 7px 38px #0003; */
  position: relative;
  max-width: 92vw;
}
.close-rating-modal {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 28px;
  color: #ffd700;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s;
  z-index: 1;
}
.close-rating-modal:hover {
  opacity: 1;
}
.rating-question-block {
  margin-bottom: 18px;
  background: rgba(255,255,255,0.01);
  border-radius: 10px;
  padding: 8px 0 7px 0;
  /* Elimina sombra */
  /* box-shadow: 0 1px 6px #0002; */
  transition: background .2s;
}
.rating-question {
  font-size: 15px;
  margin-bottom: 6px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.stars-group {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}
.rating-star {
  font-size: 34px;
  color: #FFD700;
  background: none;
  cursor: pointer;
  transition: 
    transform 0.21s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.17s,
    color 0.13s;
  user-select: none;
  outline: none;
  /* border-radius: 50%; */ /* Ya no es necesario */
  position: relative;
  opacity: 0.78;
}
.rating-star.selected,
.rating-star:hover,
.rating-star:focus {
  color: #ffe066;
  background: none; /* Quita el fondo circular */
  opacity: 1;
  transform: scale(1.12);
  /* Un glow luminoso sutil, si quieres quitarlo solo elimina esta línea */
  box-shadow: 0 0 10px 0 #ffe06699;
}
.rating-star.pop-anim {
  animation: glow-pop 0.38s cubic-bezier(.44,1.5,.52,1) both;
}
@keyframes glow-pop {
  0% { opacity: 0.3; transform: scale(0.85);}
  60% { opacity: 1; transform: scale(1.19);}
  80% { transform: scale(1.05);}
  100% { opacity: 1; transform: scale(1.12);}
}
.button {
  background: linear-gradient(90deg, #4CAF50 0%, #43a047 100%);
  color: #fff;
  border: none;
  padding: 14px 0;
  border-radius: 13px;
  font-size: 21px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.22s, transform 0.11s;
  margin-top: 8px;
  /* Elimina sombra */
  /* box-shadow: 0 2px 10px #0002; */
}
.button:active {
  transform: scale(0.98);
}
.button:disabled {
  background: #888;
  color: #eee;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .rating-modal-content {
    min-width: 90vw;
    padding: 18px 6vw 12px 6vw;
  }
}
/* Soporte para modo claro en el modal de calificación */
body.light-mode .rating-modal-content {
  background: #fff !important;
  color: #232323 !important;
}
body.light-mode .close-rating-modal {
  color: #b7a600;
}
