I have developed a web app in Django and deployed it then I found out that admin page is not loading with CSS. I was gettting the admin page with css in local server but not when I deployed it.

Even after using
python manage.py collectstatic
It's not loading with css.
Here is my settings.py code
from pathlib import Path
import os
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
Here is the static files linkage part:
STATIC_URL = '/static/'
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'),)
STATIC_ROOT=os.path.join(BASE_DIR,'staticfiles')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'first_app/media')
I am not able to figure out why it's not linking the css part even after the above code
Django version: 3.1 Python version : 3.8.3
Please could anyone help me out in this Thank you