At the top of your CSS file, you need to import Tailwind's directives.
/* login.css */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* The rest of your CSS code */
Tailwind Docs (Step 4) says:
Add the Tailwind directives to your CSS
Add the @tailwind directives for each of Tailwind’s layers to your main CSS file.