Can I mix DOT3 and DOT4 brake fluid

You’re fine. But now that the bottle is open, any remaining unused brake fluid will be subject to water absorption. Make sure the top is closed well if you plan to use it again.