.auto-suggest {
  position: relative;
  z-index: 1;
  font-size: 1em;
}

.auto-suggest {
  background-color: rgb(var(--theme-color-02));
  margin-top: 0.5em;
  padding: 1em;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 40vh;
  border-radius: var(--theme-radius);
  overflow-y: auto;
  z-index: var(--z-index-auto-suggest);
  box-shadow: var(--theme-shadow-bottom-large);
  animation: appear var(--layout-transition-extra-fast) 1;
}

.auto-suggest-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6em, 1fr));
  grid-gap: calc(var(--form-wrap-space) / 2);
}

.auto-suggest-item {
  padding: 0.5em;
  width: 100%;
  height: 100%;
  min-height: 6em;
  display: flex;
  position: relative;
  white-space: inherit;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color var(--layout-transition-extra-fast), color var(--layout-transition-extra-fast), border-color var(--layout-transition-extra-fast), box-shadow var(--layout-transition-extra-fast);
}

.auto-suggest-icon {
  font-size: 2em;
}

.auto-suggest-icon-text {
  margin-top: 1em;
  font-size: 0.6em;
  text-align: center;
  line-height: 1.6;
}
