.searchForm {
  position: absolute;
  top: var(--nav-height, 0);
  left: 0;
  width: 100%;
  background-color: var(--modal-overlay-color);
  height: calc(100vh - var(--nav-height));

  @include customZindex(search);
  @include collapse(0s, 100vh);
}

.storyContainer {
  position: relative;
  height: 20rem;
  width: 100%;

  > div {
    position: absolute;
    width: 100%;
  }
}

.form {
  width: 100%;
  max-width: var(--main-container-max);
  padding: 0 1.6rem;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--search-top-space, 2.4rem);
  left: 50%;
  transform: translateX(-50%);

  > input {
    align-items: center;
    border-radius: var(--border-radius);
    color: #0e1118;
    display: flex;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.7rem;
    padding: 2.2rem 1.6rem;
    width: 100%;
  }
}

.searchButton > button > img {
  filter: brightness(0);
  height: 2.4rem;
  width: 2.4rem;
}

.searchButton {
  svg {
    color: var(--nav-icon-color);
    font-size: 3rem;
  }

  &:disabled {
    background: transparent;
    border: unset;
    cursor: not-allowed;
  }
}

.autoCompleteContainer {
  background-color: #fff;
  margin-top: 0.8rem;
  max-height: 65rem;
  overflow: auto;
  border-radius: 0.8rem;
}

.autoCompleteInner > ul {
  @include flex-direction(column);

  gap: 0.8rem;
  padding: 1.6rem;
}

.autoCompleteList {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.autoCompleteTitle {
  font-size: 2.4rem;
  font-weight: 500;
  text-transform: capitalize;
  color: var(--autoCompleteTitle-color);
}

.loadMoreBtn {
  display: block;
  font-size: 1.8rem !important;
  background-color: var(--loadMoreBtn-bg, #6e33e5);
  color: #fff;
  border-radius: 2.4rem;
  padding: 1.2rem 2.4rem;
  border: hidden;
  width: fit-content !important;
  cursor: "pointer";
  margin: 1rem auto;
}
