I added the below content to my custom.scss file to attempt to fix it, it did change some thing and it looks better, but the correct styles are still not applying
@layer theme, base, components, utilities;
/* Import the Tailwind theme styles */
@import "tailwindcss/theme.css" layer(theme);
/* Skip the preflight reset to avoid conflicts with Payload's admin styles */
/* @import 'tailwindcss/preflight.css' layer(base); */
/* Import Tailwind utilities */
@import "tailwindcss/utilities.css" layer(utilities);
/* Support Payload’s dark mode toggle by adding a custom variant */
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));