.parameter-input {
  width: 100%;
  min-width: 0;
  padding: 4px 11px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  cursor: pointer;

  &:hover {
    border-color: @primary-color;
  }

  &__content {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 22px;
    padding: 0 8px;
    color: .addAlpha(@text-color, 0.8) [];
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 4px;

    &__value {
      //.singleLine();
      margin-right: 8px;
      font-size: @font-size-input;
      line-height: 1.5714285714285714;
    }

    &__close-icon {
      font-size: 10px;

      &:hover {
        color: #000;
      }
    }
  }

  &__placeholder {
    min-height: 22px;
    color: @text-placeholder-color;
    font-size: @font-size-input;
    line-height: 1.5714285714285714;
  }
}

.parameter-input.parameter-input--large {
  padding: 10px 11px;
  font-size: @font-size-input-lg;

  .parameter-input__placeholder,
  .parameter-input__content__value {
    min-height: 24px;
    font-size: @font-size-input-lg;
    line-height: 1.5;
  }

  .parameter-input__content__close-icon {
    font-size: 12px;
  }
}

.parameter-input.parameter-input--small {
  padding: 0 7px;
  font-size: @font-size-input;

  .parameter-input__placeholder,
  .parameter-input__content__value {
    min-height: 22px;
    font-size: @font-size-input;
    line-height: 1.5714285714285714;
  }

  .parameter-input__content__close-icon {
    font-size: 10px;
  }
}

.parameter-input.parameter-input--error {
  border-color: @error-color;
}
