body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

table {
    border-collapse: collapse;
    width: 83%;
    margin: 0 auto;
    /* centers the table */
}


/* Table border styling */

table,
th,
td {
    border: 1px solid #333;
    border-collapse: collapse;
}


/* Table cell padding and alignment */

th,
td {
    padding: 8px 12px;
    text-align: center;
}


/* Table header design */

th {
    background-color: #222;
    color: #fff;
}


/* Add vertical space around the table */

table {
    width: 90%;
    margin: 40px auto;
    /* adds vertical margin (top & bottom) and centers table */
}


/* Optional: subtle shadow for better appearance */

table {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.total-row {
    font-weight: bold;
    background-color: #ddd !important;
}

.grand-total {
    font-weight: bold;
    background-color: #444 !important;
    color: white;
}

.middle-left {
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: flex-start;
    /* left align */
    height: 10vh;
    /* full page height (optional) */
    padding-left: 80px;
}