.command-selector {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: var(--space-xs);
  max-height: 20rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 0 var(--space-lg);
  margin-top: var(--space-md);
  overflow-y: auto;
}

.selector-item {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-md);
  transition: background 0.2s ease;
}

.selector-item:active,
.selector-item.selected {
  background: var(--bg-tertiary);
}

.selector-item.selected::after {
  content: "✔";
  position: absolute;
  right: var(--space-md);
  font-size: var(--font-xs);
  color: var(--text-muted);
  animation: check-appear 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes check-appear {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.selector-item.selected .command-icon {
  background: transparent;
  border: 1px solid rgba(0, 212, 255, .4);
}

.selector-content {
  flex: 1;
}

.selector-description {
  font-weight: 500;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.3;
}

.selector-command {
  font-family: "Orbitron", monospace;
  color: rgba(var(--gradient-start-rgb), 0.6);
  font-size: var(--font-xxs);
  letter-spacing: .05rem;
}

input[type='range'] {
  flex: 1;
  appearance: none;
  height: .6rem;
  background: rgba(56, 189, 248, 0.3);
}

input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 1.4rem;
  height: 1.4rem;
  background: rgba(56, 189, 248, 1);
  border-radius: 50%;
  margin-top: -0.1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.range-value {
  background: var(--bg-tertiary);
  text-align: center;
  border-radius: var(--radius-sm);
  width: 15%;
  font-size: var(--font-sm);
  padding: .4rem var(--space-xs);
  color: var(--text-muted);
}