Olivia Wilde has some nice things to say about new beau Harry Styles.

On Monday, the actress and director shared a sweet Instagram post praising Styles' performance in her upcoming film Don't Worry Darling, a 1950s-set psychological thriller centered on a housewife in an isolated, utopian community in the California desert who learns a dark truth about her husband.

"Little known fact: most male actors don't want to play supporting roles in female-led films," Wilde wrote alongside the photo, which features Styles on set in a vintage convertible. "The industry has raised them to believe it lessens their power (i.e financial value) to accept these roles, which is one of the reasons it's so hard to get financing for movies focusing on female stories. No joke, it is harrrrrd to find actors who recognize why it might be worth it to allow for a woman to hold the spotlight."

But Wilde says Styles has been the perfect supporting cast member. "Enter: @harrystyles, our 'Jack,'" she wrote. "Not only did he relish the opportunity to allow for the brilliant @florencepugh to hold center stage as our 'Alice,' but he infused every scene with a nuanced sense of humanity. He didn't have to join our circus, but he jumped on board with humility and grace, and blew us away every day with his talent, warmth, and ability to drive backwards."

Don't Worry Darling stars Wilde, Styles, Florence PughChris PineKiki LayneGemma Chan, and Nick Kroll, and Wilde has posted several recent tributes to her cast and crew on social media. Styles came aboard the film as a replacement for Shia LaBeouf, and he and Wilde began dating shortly after. The Don't Worry Darling screenplay is by Katie Silberman (who worked on Wilde's Booksmart) based on an original script by brothers Shane and Carey Van Dyke.

Related content: