.multi-search {
  display: flex;
  flex-direction: column;
}

.search-tabs,
.search-tabs>li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.search-tabs>li>button {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: white;
  padding: 0.25rem 0.5rem;
  border-top: none;
  width: 100%;
  border: none;
}
.search-tabs>li>button.active {
  color: rgb(var(--color-heading));
  background-color: white;
}
.multi-search>.tab-content {
  display: flex;
  height: 3rem;
}
.multi-search>.tab-content>.tab-pane.show {
  display: flex;
  width: 100%;
  align-items: stretch;
}
.multi-search>.tab-content>.tab-pane>* {
  border: 1px solid white;
}
.multi-search>.tab-content>.tab-pane>*:not(:last-child) {
  border-right: none;
}
.multi-search>.tab-content>.tab-pane>input[type="search"] {
  flex-grow: 1;
  background-color: rgb(0 0 0 / 0.1);
  padding: 0.5rem;
  color: white;
  min-width: 5ch;
  width: 0;
}
.multi-search>.tab-content>.tab-pane>input[type="search"]:placeholder-shown {
  text-overflow: ellipsis;
}
.multi-search>.tab-content>.tab-pane>input[type="search"]::placeholder {
  color: white;
}
.multi-search>.tab-content>.tab-pane>input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  border-radius: 50em;
  background: url(https://pro.fontawesome.com/releases/v5.10.0/svgs/solid/times-circle.svg) no-repeat 50% 50%;
  background-size: contain;
  opacity: 0;
  pointer-events: none;
  filter: invert(1);
}
.multi-search>.tab-content>.tab-pane>input[type="search"]:placeholder-shown::-webkit-search-cancel-button {
  display: none;
}
.multi-search>.tab-content>.tab-pane>input[type="search"]:focus::-webkit-search-cancel-button {
  opacity: .3;
  pointer-events: all;
  cursor: pointer;
}
.multi-search>.tab-content>.tab-pane>input[type="search"]:focus::-webkit-search-cancel-button:hover,
.multi-search>.tab-content>.tab-pane>input[type="search"]:focus::-webkit-search-cancel-button:focus {
  opacity: .5;
}
.multi-search>.tab-content>.tab-pane>button {
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  background-color: rgb(0 0 0 / 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-tabs>li>button:hover>span {
  text-decoration: underline;
}
.search-tabs>li>button:not(.active):hover,
.multi-search>.tab-content>.tab-pane>select:hover,
.multi-search>.tab-content>.tab-pane>input[type="search"]:hover,
.multi-search>.tab-content>.tab-pane>button:hover {
  background-color: rgb(255 255 255 / 0.1);
}
.search-tabs>li>button:focus-visible,
.multi-search>.tab-content>.tab-pane>select:focus-visible,
.multi-search>.tab-content>.tab-pane>input[type="search"]:focus-visible,
.multi-search>.tab-content>.tab-pane>button:focus-visible {
  color: white;
  background-color: rgb(255 255 255 / 0.1);
  outline: 2px solid white;
  outline-offset: -2px;
}
.multi-search>.tab-content>.tab-pane>select {
  background-color: rgb(0 0 0 / 0.1);
  padding: 0.5rem;
  color: white;
}
.multi-search>.tab-content>.tab-pane>select option {
  color: initial;
}