In styled mode, Tailwind utilities may not be able to override the default styling due to css specificity, there are two possible solutions.
Use the ! as a prefix to enforce the styling.
Enable PrimeVue CSS layer and configure the tailwind styles to have higher specificity with layering. This way, ! prefix is not required.