Formal:
* Passez une bonne soirée. (This is the most formal and polite option)
* Bonne soirée. (This is a more general and less formal version)
Informal:
* Bonne nuit. (This is the most common way to say "good night" in informal settings)
* Dors bien. (This literally means "sleep well" and is more appropriate for close friends or family)
* Bonne fin de soirée. (This means "have a good end of the evening" and is used when the night is almost over)
You can also add a personal touch by adding something like "à demain" (see you tomorrow) or "à bientôt" (see you soon) at the end.
Here are some examples:
* Passez une bonne soirée, monsieur. (Formal)
* Bonne soirée, madame. (Formal)
* Bonne nuit, mon ami. (Informal)
* Dors bien, ma chérie. (Informal)
* Bonne fin de soirée, les amis. (Informal)