@use "variables.scss";
#document-search {
  position: absolute;
  right: 8px;
  min-width: 276px;
  width: fit-content;
  z-index: 95;

  .search-container {
    background-color: variables.$searchbar;
    color: variables.$white;
    height: 40px;
    padding: 8px 4px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    .button {
      background: none;
      color: inherit;

      &:disabled {
        pointer-events: none;
      }

      &:hover {
        background: variables.$low-opacity-white;
        border-radius: 4px;
        color: inherit;
      }
      .icon {
        vertical-align: middle;
      }
    }

    .search-input {
      margin-left: 8px;
      flex: 1;
      font-size: 14px;
      background: inherit;
      color: inherit;
      border: 0;
      outline: none;
    }

    .search-no-results {
      color: variables.$text-lighter;
      font-size: 12px;
    }

    .search-navigation {
      display: flex;
      flex-direction: row;
      align-items: center;

      .search-counters {
        font-size: 12px;
        margin-right: 6px;
        color: variables.$text-lighter;
      }
    }

    .search-loading {
      display: flex;
      font-size: 12px;
      color: variables.$text-lighter;
    }
  }
}
