.interface {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px;
  border-radius: 6px;
  font-size: 12px;
  color: white;
  z-index: 10000; /* Already high, ensure it's above the blur overlay */
  font-family: 'JetBrains Mono', 'SF Mono', 'Roboto Mono', 'Courier New', monospace;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.controls {
  padding-top: 5px;
  display: flex;
  gap: 6px;
}

button {
  padding: 3px 5px;
  font-size: 10px;
  color: white;
  background-color: transparent;
  border: 1px solid white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.toggle-interface {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  opacity: 0; /* Hide this button as we'll use keyboard shortcut instead */
  pointer-events: none;
}

/* Hidden state for the interface */
.interface.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Common slider control styles */
.slider-control {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  width: 100%;
}

.slider-control label {
  white-space: nowrap;
  min-width: 100px;
  display: inline-block;
}

.slider-control input[type="range"] {
  width: 120px;
  background-color: rgba(255, 255, 255, 0.2);
  height: 4px;
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none; /* Standard property for compatibility */
  flex: 1;
}

.slider-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none; /* Standard property for compatibility */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
}

.slider-control input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  border: none;
}

.slider-value {
  min-width: 40px;
  text-align: right;
}

/* Apply slider-control styles to specific control types */
.blur-control, .saturation-control, .motion-control {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  width: 100%;
}

.blur-control label, .saturation-control label, .motion-control label {
  white-space: nowrap;
  min-width: 100px;
  display: inline-block;
}

.blur-control input[type="range"], .saturation-control input[type="range"], .motion-control input[type="range"] {
  width: 120px;
  background-color: rgba(255, 255, 255, 0.2);
  height: 4px;
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
}

.blur-value, .saturation-value, .motion-value {
  min-width: 40px;
  text-align: right;
}

/* Control container for grouped sliders */
.slider-controls-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
