While working with NextJs and TailwindCSS, I encountered an issue where all the extra styles in my globals.css file were causing some trouble. Although it is recommended to import it at the top level in the _app, I tried moving it down to the "layout" component initially. However, that resulted in an error prompting me to move it back up, so I reverted it.
The main problem arose when I had a specific component where I needed to exclude all the styles from globals.css and only apply a different set of styles. Is there a way to achieve this? I aim to eliminate unnecessary imports at the top level and instead use a particular stylesheet for that particular component.