.selectorContainer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0.5rem;
}

.selectorRow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.selectorLabel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vscode-descriptionForeground);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.selectorLabel .codicon {
  font-size: 0.85rem;
  color: var(--vscode-textLink-foreground);
}

.selectorWrapper {
  position: relative;
}

.selectorButton {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--vscode-input-background);
  border: none;
  border-radius: 8px;
  color: var(--vscode-input-foreground);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.selectorButton:hover:not(:disabled) {
  background: var(--vscode-list-hoverBackground);
}

.selectorButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.selectorButton.selected {
  background: var(--vscode-editor-background);
}

.selectorButton .codicon-chevron-down {
  margin-left: auto;
  font-size: 0.9rem;
  opacity: 0.6;
}

.placeholder {
  color: var(--vscode-input-placeholderForeground);
  flex: 1;
}

.selectedValue {
  flex: 1;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clearButton {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--vscode-descriptionForeground);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: auto;
}

.clearButton:hover {
  background: var(--vscode-list-hoverBackground);
  color: var(--vscode-foreground);
}

.clearButton .codicon {
  font-size: 0.8rem;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--vscode-editorWidget-background);
  border: 1px solid var(--vscode-editorWidget-border, rgba(128, 128, 128, 0.3));
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 100;
  overflow: hidden;
  animation: dropdownSlide 0.15s ease-out;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.searchWrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--vscode-widget-border, rgba(128, 128, 128, 0.2));
}

.searchWrapper .codicon {
  font-size: 0.9rem;
  color: var(--vscode-descriptionForeground);
}

.searchInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--vscode-input-foreground);
  font-size: 0.8rem;
}

.searchInput::placeholder {
  color: var(--vscode-input-placeholderForeground);
}

.dropdownList {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: 200px;
  overflow-y: auto;
}

.dropdownItem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--vscode-foreground);
  transition: background 0.1s ease;
}

.dropdownItem:hover,
.dropdownItem.active {
  background: var(--vscode-list-hoverBackground);
}

.dropdownItem .codicon {
  font-size: 1rem;
  color: var(--vscode-textLink-foreground);
  flex-shrink: 0;
}

.fileInfo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.fileName {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filePath {
  font-size: 0.7rem;
  color: var(--vscode-descriptionForeground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.noResults {
  padding: 1rem;
  text-align: center;
  color: var(--vscode-descriptionForeground);
  font-size: 0.8rem;
}

