Invoice PDF terms font size in footer

Hello, an old topic from years ago, the custom css doesn’t work for me anymore. Has something changed?

in the custom-pdf.css

i have currently this (which is not working)

.invoice-terms {font-weight: normal; font-style: italic; font-size: 8px; color: # 888;}
.notes {font-weight: normal; font-style: italic; font-size: 5px !important; color: #666666;}

**UPDATE** I tried this too, but didn't work:

.notes {
    font-weight: normal !important;
    font-style: italic !important;
    font-size: 5px !important;
    color: #666666 !important;
}