A closed minded bisexual would be someone that is only attracted to cisgender people of either sex. So only females that identify as women and males that identify as men.
A pansexual person can be attracted to females that identify as women, men, neither, both, etc. Same with males that identify as men, women, neither, both, etc.