It’s just a little typo. You wrote .tfoot instead of tfoot. tfoot is not a class but an element.
You could also reuse your .digit class in the footer instead of using inline styles. Maybe giving it a more generic name like .text-right would then be suitable.