.panel {
  background: white;
  border-radius: 25px;
  padding: 30px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 12px;
  
  i {
    color: #3498db;
    font-size: 1.8rem;
  }
}

.section-desc {
  color: #95a5a6;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.chart-container {
  position: relative;
  height: 400px;
  width: 100%;
  margin: 20px 0;
  
  canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(52, 152, 219, 0.2);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
  }
  
  p {
    color: #95a5a6;
    font-size: 1.1rem;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
}

.color-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.color-stat {
  flex: 1;
  min-width: 200px;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
}

.color-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  
  i {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

.stat-name {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #2c3e50;
}

.stat-count {
  color: #7f8c8d;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .chart-container {
    height: 300px;
  }
  
  .color-stat {
    min-width: 100%;
  }
}