table tr th:nth-last-child(-n+3) {
    text-align: right;
}

table tr td:nth-last-child(-n+3) {
    text-align: right;
}