.panel {
  background: white;
  border-radius: 25px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.6s ease;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ecf0f1;
}

h2 i {
  background: linear-gradient(135deg, #3498db, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.1);
}

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

.ip-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
}

.upload-area {
  width: 100%;
  height: 200px;
  border: 3px dashed #bdc3c7;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.upload-area:hover {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.05);
  transform: translateY(-5px);
}

.upload-area i {
  font-size: 3.5rem;
  color: #bdc3c7;
  margin-bottom: 15px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.upload-area:hover i {
  color: #3498db;
}

.btn {
  padding: 18px 25px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #3498db, #9b59b6);
  color: white;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4);
  transform: translateY(-3px);
}

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

.color-stat {
  flex: 1;
  min-width: 140px;
  background: white;
  border-radius: 18px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.color-stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.color-stat .color-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

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

.color-stat .stat-count {
  color: #95a5a6;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .panel {
    padding: 25px 20px;
  }
  
  .color-stats {
    flex-direction: column;
  }
  
  .color-stat {
    min-width: 100%;
  }
}