/* Only change invoice page background, keep invoice content unchanged */
/* Invoice page background */
body.viewinvoice,
body.invoice-html {
    background: rgb(245, 244, 237) !important;
}

/* Page content outside invoice */
body.viewinvoice .content,
body.invoice-html .content {
    background: rgb(245, 244, 237) !important;
}

/* Footer copyright area */
body.viewinvoice footer.footer,
body.invoice-html footer.footer,
body.viewinvoice footer.footer .container,
body.invoice-html footer.footer .container,
body.viewinvoice footer.footer .row,
body.invoice-html footer.footer .row,
body.viewinvoice footer.footer .col-md-12,
body.invoice-html footer.footer .col-md-12 {
    background: rgb(245, 244, 237) !important;
}

/* Remove footer separation if needed */
body.viewinvoice footer.footer,
body.invoice-html footer.footer {
    border-top: none !important;
    box-shadow: none !important;
}