html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.font-geist-mono {
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

#canvas-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

#canvas-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.process-slider {
  width: 100%;
  height: 6px;
  background: #2d3748;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.process-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3182ce;
  cursor: pointer;
}

.process-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3182ce;
  cursor: pointer;
  border: none;
}

.control-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  color: #a0aec0;
}

.operation-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 0.25rem;
}

.operation-steps .step {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4a5568;
}

.operation-steps .step.active {
  background-color: #3182ce;
}

.operation-steps .step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 8px;
  width: calc(100% - 8px);
  height: 2px;
  background-color: #4a5568;
}

.operation-steps .step-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.65rem;
  color: #a0aec0;
}

button.active {
  background-color: #3182ce;
}

.lil-gui {
  --width: 100%;
  margin-top: 0.5rem;
}

.lil-gui .title {
  color: white !important;
}

.current-stage-info {
  transition: opacity 0.3s ease;
}
