.search-bar-container {
  position: relative;
  z-index: 100;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 10px;
  max-height: 42px;
}

.search-bar {
  background-color: #eeeeee;
  border-radius: 0.5rem;
  border: 1px solid #eeeeee;
  max-height: 50vh;
  display: flex;
  flex-direction: column;
}

.search-bar-container.focused .search-bar {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.search-bar-results {
  padding: 4px 0;
  overflow-y: auto;
  border-top: 1px solid #eee;
}

.search-bar-result {
  cursor: pointer;
  padding: 6px 16px;
}

.search-bar-result pre {
  font-size: 0.8em;
}

.search-bar-result.selected {
  background-color: #f0f0f0;
}

.search-bar-results-label {
  padding: 8px 16px 4px 16px;
  color: #888;
  font-size: 0.8em;
}

.search-bar-input {
  display: flex;
  align-items: center;
  height: 40px;
}

.search-bar-input svg {
  position: absolute;
  width: 16px;
  height: 16px;
  padding: 12px;
  color: #888;
}

.search-bar-input input {
  width: 100%;
  border: 0;
  padding: 12px 8px;
  padding-left: 40px;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
}
