@Giulio77 Someone must have modified your style somewhere to inject that other color for .select2-search__field.
Try that trick with the default style and see if it works.
Then you will have to locate the template that was modified in your custom style.