/* Custom slider styling */
input[type="range"].slider {
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
  border: 3px solid #6366f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

input[type="range"].slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
  border: 3px solid #6366f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Smooth transitions */
* {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Animate progress bars */
@keyframes fillProgress {
  from {
    width: 0%;
  }
}

.bg-blue-600, .bg-green-600, .bg-purple-600, .bg-orange-600 {
  animation: fillProgress 0.8s ease-out;
}