/* Command Palette - VS Code Style */

.command-palette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.command-palette {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 600px;
}

.command-palette-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: none;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.9375rem;
  outline: none;
}

.command-palette-input:focus {
  border-bottom-color: var(--color-primary);
}

.command-palette-results {
  max-height: 400px;
  overflow-y: auto;
}

.command-palette-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  cursor: pointer;
  transition: background var(--transition-base);
  border-bottom: 1px solid var(--color-border);
}

.command-palette-item:hover,
.command-palette-item.selected {
  background: var(--color-bg-hover);
}

.command-palette-item:last-child {
  border-bottom: none;
}

.command-icon {
  font-size: 1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.command-label {
  flex: 1;
  color: var(--color-text);
  font-size: 0.875rem;
}

