So a best friend is very good, even if it's the opposite sex, especially if you're single, of course there won't be any big problems, but if you already have a boy/girl friend, especially if you're married, then you should be able to keep your distance from your best friend of the opposite sex.