.search-header {
  display: flex;
  flex-flow: row nowrap;
  border-bottom: 1px solid var(--surface-border-color);
}

.search-field {
  display: flex;
  flex-flow: row nowrap;
  flex: 1;
  position: relative;
}

.search-field-icon {
  width: 56px;
  height: 56px;
  text-align: center;
  line-height: 56px;
  font-size: 16px;
  margin: 0 8px;
  color: var(--on-surface-secondary-color);
}

.search-field-entry {
  border: 0;
  width: 100%;
  height: 56px;
  font-size: 18px;
  line-height: 56px;
  padding: 0;
  padding-left: var(--spacing-tiny);
  color: var(--on-surface-primary-color);
}

.search-clean,
.search-close {
  position: relative;
  border: 0;
  background: transparent;
  height: 56px;
  font-size: 16px;
  cursor: pointer;
  color: var(--on-background-primary-color);
}

.search-clean {
  padding: 0 8px;
}

.search-close {
  width: 56px;
}

@media (pointer: fine) {
  .search-clean:hover,
  .search-close:hover {
    background: var(--background-color);
  }
}

.search-close::before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 40px;
  top: 8px;
  left: 0;
  background: var(--surface-border-color);
}

.search-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  height: 100%;
}

.search-footer {
  border-top: 1px solid var(--surface-border-color);
  padding: var(--spacing-medium);
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-end;
}

.search-footer.has-amount {
  justify-content: space-between;
}

.search-selected {
  padding: var(--spacing-medium);
  display: block;
}

.search-selected,
.search-amount {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--on-surface-primary-color);
}

.search-amount b {
  font-weight: var(--font-weight-bold);
}

.search-instruction {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.search-instruction span {
  font-size: var(--font-size-medium);
  line-height: var(--line-height-medium);
  color: var(--on-surface-secondary-color);
  width: 90%;
  max-width: 270px;
}

.search-instruction i {
  font-size: var(--font-size-x-large);
  line-height: var(--line-height-x-large);
  color: var(--link-color);
  margin-bottom: var(--spacing-medium);
}