.satisfaction-dashboard {
  padding: 20px 0;
}

.satisfaction-dashboard .card {
  border-radius: 8px;
  transition: all 0.5s ease;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
}

.satisfaction-dashboard .card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.satisfaction-dashboard .card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.satisfaction-dashboard .card-body {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.satisfaction-dashboard .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #495057;
}

.satisfaction-dashboard .progress {
  border-radius: 20px;
  height: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.satisfaction-dashboard .progress-bar {
  border-radius: 20px;
  transition: width 1.5s ease;
}

.comentarios-container {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.comentarios-container::-webkit-scrollbar {
  width: 6px;
}

.comentarios-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.comentarios-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.comentarios-container .card {
  border-left: 4px solid #007bff;
  margin-bottom: 10px;
}

.satisfaction-gauge {
  position: relative;
  width: 120px;
  height: 70px;
  margin: 0 auto;
}

.gauge-value {
  display: none; /* Escondemos isso porque o ApexCharts já mostra o valor */
}

.table-responsive {
  margin-top: 10px;
}

.badge {
  padding: 0.5em 0.8em;
  font-size: 0.8em;
  border-radius: 20px;
}

/* Altura fixa para os gráficos */
#notasChart, #comparativoChart, #tendenciaChart, #gaugeChart {
  flex: 1;
  min-height: 200px;
  max-height: 300px;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .satisfaction-dashboard .card-title {
    font-size: 1rem;
  }
  
  #notasChart, #comparativoChart, #tendenciaChart, #gaugeChart {
    min-height: 150px;
  }
}

.stars-container {
  display: flex;
  gap: 5px;
  margin: 10px 0;
}

.stars-container .star {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-block;
}

.stars-container .star i {
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 0;
}

.stars-container .star-empty {
  color: #ddd;
}

.stars-container .star-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
}

.stars-container .star-filled {
  color: #ffd700;
}
