.bz-chip {
  position: relative;
  -webkit-tap-highlight-color: transparent;
  font-size: $bz-font-size-body;
  font-weight: $bz-font-weight-regular;
  background: $bz-neutral-100;
  color: $bz-neutral-600;
  padding: 0 $bz-space-stack-s;
  border-radius: $bz-border-radius-xl * 2;
  border: 1px solid $bz-neutral-300;
  margin-right: $bz-space-stack-xs;
  margin-left: $bz-space-stack-xs;
  display: inline-block;
  outline: none;
  max-width: 100%;
  vertical-align: middle;

  &__content {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 $bz-space-inline-xs 0 $bz-space-inline-s;
  }

  &__label-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &__close_button {
    cursor: pointer;
    margin-left: $bz-space-inline-s;
  }

  &:hover {
    background: $bz-neutral-200;
  }

  &:focus {
    outline: none;

    &::after {
      opacity: 0.16;
    }
  }
}
