#gradient-canvas {
  width: 100%;
  height: 100%;
  --gradient-color-1: #5a51eb;
  --gradient-color-2: #4F45E4;
  --gradient-color-3: #4439d6;
  --gradient-color-4: #3a30c7;
}

#gradient-canvas-2 {
  width: 100%;
  height: 100%;
  --gradient-color-1: #5a51eb;
  --gradient-color-2: #4F45E4;
  --gradient-color-3: #4439d6;
  --gradient-color-4: #3a30c7;
}

#gradient-canvas-3 {
  width: 100%;
  height: 100%;
  --gradient-color-1: #5a51eb;
  --gradient-color-2: #4F45E4;
  --gradient-color-3: #4439d6;
  --gradient-color-4: #3a30c7;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: transparent;
  cursor: pointer;
  outline: none;
}

.slider::-webkit-slider-track {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 9999px;
  position: relative;
}

.slider::-moz-range-track {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 9999px;
  position: relative;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid #4f46e5;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
  margin-top: -6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.15s ease;
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid #4f46e5;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.15s ease;
}

.slider:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.slider:hover::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.slider::-webkit-slider-runnable-track {
  background: linear-gradient(to right, 
    #4f46e5 0%, 
    #4f46e5 var(--progress, 50%), 
    #e5e7eb var(--progress, 50%), 
    #e5e7eb 100%);
  height: 12px;
  border-radius: 9999px;
}

.slider::-moz-range-progress {
  background: #4f46e5;
  height: 12px;
  border-radius: 9999px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse-dot {
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}