.Input {
  width: 100%;
  height: 100%;
  font-size: var(--base-font);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  outline: 0;
  padding: 3px 10px 3px 26px;
  z-index: 2;

  &::placeholder {
    font-size: 0;
  }
}

.Container {
  position: absolute;
  width: 100%;
  height: 100%;
  color: var(--color-neutral-02);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  cursor: text;
  font-weight: 300;
  justify-content: center;
  text-align: center;
  top: 0;
  left: 0;
  padding: 7px;
  z-index: 2;
}

.Inner {
  display: initial;
  left: -5px;
}

.Icon {
  display: inline-block;
  margin-right: 6px;
  vertical-align: baseline;
  background-repeat: no-repeat;
  background-position: -167px -306px;
  height: 10px;
  width: 10px;
}

.Placeholder {
  display: inline-block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.MiniIcon {
  position: absolute;
  left: 11px;
  top: 9px;
  z-index: 2;
  background-repeat: no-repeat;
  background-position: -167px -306px;
  height: 10px;
  width: 10px;
}

.Overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.Dropdown {
  &Arrow {
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    background-color: var(--color-light);
    border: solid 1px var(--color-border);
    box-shadow: 0 0 5px 1px rgba(0,0,0,.0975);
    content: ' ';
    height: 14px;
    width: 14px;
    margin: auto;
    transform: rotate(45deg);
  }

  &Block {
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    right: -12px;
    width: 243px;
    background-color: var(--color-light);
    border-radius: 3px;
    border: 1px solid var(--color-border);
    border-top: 0;
    margin-left: -121px;
    box-shadow: 0 0 5px rgba(0,0,0,.0975);
    z-index: 9;
  }

  &Container {
    max-height: 362px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
  }
}

.Clear {
  position: absolute;
  right: 5px;
  top: 4px;
  background-repeat: no-repeat;
  background-position: -250px -98px;
  width: 20px;
  height: 20px;
  z-index: 3;
}

.Loading {
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xs) 0;
}
