/* GitHub's repository lists: Home's top repositories and the header's repository switcher. A row is an icon and the
   name, 32px tall, with a hover background; the current repository carries a check on the right. */
.theme-repo-picker-search {
  margin-bottom: 8px;
}

.theme-repo-picker-search > .theme-search-field {
  width: 100%;
}

.theme-repo-picker-search[hidden] {
  display: none;
}

.theme-repo-picker-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-repo-picker-list[aria-busy="true"]:empty {
  min-height: 32px;
}

.theme-repo-picker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.theme-repo-picker-item:hover {
  background: var(--github-control-transparent-bgColor-hover);
  color: var(--color-text);
  text-decoration: none;
}

.theme-repo-picker-item:focus-visible {
  outline: 2px solid var(--github-fgColor-accent);
  outline-offset: -2px;
}

.theme-repo-picker-item > .svg {
  flex: none;
  color: var(--color-text-light-1);
}

.theme-repo-picker-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-repo-picker-item > .theme-repo-picker-check {
  margin-left: auto;
  color: var(--color-text);
}

.theme-repo-picker-item[aria-current] {
  font-weight: 600;
}

.theme-repo-picker-message {
  margin: 0;
  padding: 6px 8px;
  color: var(--color-text-light-1);
  font-size: 12px;
  line-height: 18px;
}

.theme-repo-picker-more {
  margin: 4px 0 0;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: var(--color-text-light-1);
  font-size: 12px;
  line-height: 18px;
  cursor: pointer;
}

.theme-repo-picker-more:hover {
  color: var(--github-fgColor-accent);
}
