We’re not talking about a simple compliment in these situations, and there is a clear line that should not be crossed for men in power in the workplace.
I wouldn't dare attempt to compliment any woman in even the mildest most gentlemanly form in today's world. That's the truth.