I want to style modal-pop up taht shows up,want to make it look like microsoft calendar pop-up
You can either override selected styles of the built-in theme or create a custom theme and apply it using the theme property:
const modal = await DayPilot.Modal.form(form, data, { theme: "my_theme" });