At this moment the application has the opportunity to see the Password symbols in different colors - Big letters in red, small letters in white, numbers in purple, symbols in blue.
But your application has a problem with using the Cyrillic alphabet. There are some the same alphabet letters and symbols in the Cyrillic and Latin alphabets.
For example
"HacKMock" - latin alphabet , and "НасКМоск" - Cyrillic alphabet.
MockbaL - МоскваC but in upper MOCKBAL - МОСКВАC
Suggestion: you can make differential colors of Cyrillic and Latin symbols.
I also want to recommend you make display of non-printable symbols (except for the space). Sometimes passwords are copied from Word and non-breaking spaces are transferred with the copy
).