card dialog: basic details display and flex styling