If the main fuse did not blow, and yet you have no power to lights or anything else, take a look at the starter relay connector.
If the side stand switch/relay were acting up, there should still be lights.
If the side stand switch/relay were acting up, there should still be lights.