/* stylelint-disable selector-class-pattern */
.autoComplete_wrapper {
  display: block;
  width: 100%;
  appearance: none;
  border-radius: 0.5rem;
  position: relative;
}

.autoComplete_wrapper > input {
  height: 3rem;
}

.autoComplete_wrapper > input::placeholder {
  color: grey;
  transition: all 0.3s ease;
  transition: all -webkit-transform 0.3s ease;
}

.autoComplete_wrapper > input:hover::placeholder {
  transition: all 0.3s ease;
  transition: all -webkit-transform 0.3s ease;
}

.autoComplete_wrapper > input:focus::placeholder {
  padding: 0.1rem 0.6rem;
  font-size: 0.95rem;
}

.autoComplete_wrapper > input::selection {
  background-color: rgb(255 122 122 / 15%);
}

.autoComplete_wrapper > input:focus::selection {
  background-color: rgb(255 122 122 / 15%);
}

.autoComplete_wrapper > input:hover {
  transition: all 0.3s ease;
  transition: all -webkit-transform 0.3s ease;
}

.autoComplete_wrapper > input:focus {
  border: 1px solid rgb(81 67 217);
}

.autoComplete_wrapper > ul {
  box-sizing: border-box;
  max-height: 226px;
  overflow-y: scroll;
  position: absolute;
  left: 0;
  top: 50px;
  margin: 0.5rem 0 0;
  padding: 0;
  z-index: 99999;
  list-style: none;
  border-radius: 0.6rem;
  background-color: #fff;
  border: 1px solid rgb(33 33 33 / 7%);
  box-shadow: 0 3px 6px rgb(149 157 165 / 15%);
  outline: none;
  transition: opacity 0.15s ease-in-out;
}

.search-results-origin > ul,
.search-results-destination > ul {
  border: 1px solid rgb(33 33 33 / 7%);
  border-radius: 0.6rem;
  list-style: none;
  overflow-y: scroll;
  margin: 0.5rem 0 0;
  padding: 0;
}

.autoComplete_wrapper > ul[hidden],
.autoComplete_wrapper > ul:empty {
  display: block;
  opacity: 0;
  transform: scale(0);
}

.autoComplete_wrapper > ul > li,
.search-results-origin > ul > li,
.search-results-destination > ul > li {
  margin: 0.3rem;
  padding: 0.5rem;
  text-align: left;
  font-size: 1rem;
  color: #212121;
  border-radius: 0.35rem;
  background-color: rgb(255 255 255 / 100%);
  white-space: nowrap;

  /* overflow: hidden; */
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.autoComplete_wrapper > ul > li mark,
.search-results-origin > ul > li mark,
.search-results-destination > ul > li mark {
  background-color: transparent;
  color: rgb(81 67 217);
  font-weight: bold;
  padding: 0;
}

.autoComplete_wrapper > ul > li:hover,
.search-results-origin > ul > li:hover,
.search-results-destination > ul > li:hover {
  cursor: pointer;
  background-color: rgb(255 122 122 / 15%);
}

.autoComplete_wrapper > ul > li[aria-selected="true"],
.search-results-origin > ul > li[aria-selected="true"],
.search-results-destination > ul > li[aria-selected="true"] {
  background-color: rgb(255 122 122 / 15%);
}

.autoComplete_wrapper > ul > li::before,
.search-results-origin > ul > li::before,
.search-results-destination > ul > li::before {
  content: url('data:image/svg+xml,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g stroke-width="0"/><g stroke-linecap="round" stroke-linejoin="round"/><path fill="%232c2c2c" fill-rule="evenodd" d="M12 2C8.134 2 5 5.145 5 9.026c-.002 1.68.246 2.843 1.196 4.37C7.146 14.92 12 22 12 22s4.854-7.08 5.804-8.605 1.198-2.69 1.196-4.369C19 5.146 15.866 2 12 2m.016 10.636h-.032c-1.926 0-3.487-1.473-3.484-3.504.003-2.032 1.567-3.496 3.495-3.496h.011c1.927 0 3.491 1.464 3.494 3.496.003 2.03-1.558 3.504-3.484 3.504"/></svg>');
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  vertical-align: middle;
}
/* stylelint-enable selector-class-pattern */
