Currently the Next.js version 15.5.2 is having issues with Tailwind V4.
My temporal solution for now is to downgrade the version of tailwind to V3, it should works as expected:
yarn add -D tailwindcss@^3 postcss autoprefixer
npx tailwindcss init -p