Inappropriate flirting is defined by secrecy and emotional intimacy that crosses boundaries. A key litmus test is to ask yourself: "Would I say or do this if my spouse were standing right here?" If the answer is no, the line has likely been crossed. More on defining and maintaining boundaries can be found at https://www.sofiadate.com/dating-advice/what-is-inappropriate-flirting-when-married