/* Custom Styles for Hue Control App */

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

/* Canvas styling */
#vu-meter-canvas {
  border: 2px solid #374151;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Beat indicator animation */
.beat-flash {
  animation: beatFlash 0.1s ease-out;
}

@keyframes beatFlash {
  0% {
    background-color: #10b981;
    transform: scale(1);
  }
  50% {
    background-color: #34d399;
    transform: scale(1.05);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

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

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: 2px solid #1e40af;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: 2px solid #1e40af;
}

/* Status indicator pulse */
.status-active {
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* VU Meter bar gradient */
.vu-bar {
  transition: height 0.1s ease-out;
}

