/* Invoices Table Styling */
.siv-invoices-container {
    overflow-x: auto;
}

.siv-invoices-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.siv-invoices-table thead tr {
    background-color: #0073aa;
    color: #ffffff;
    text-align: left;
}

.siv-invoices-table th,
.siv-invoices-table td {
    /* CSS shorthand for padding: Top, Right, Bottom, Left */
    padding: 12px 15px 12px 25px;
    border-bottom: 1px solid #dddddd;
    text-align: left; /* Ensures text aligns to the left */
}

.siv-invoices-table tbody tr:last-of-type {
    border-bottom: 2px solid #0073aa;
}

.siv-view-invoice-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0085ba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.siv-view-invoice-btn:hover {
    background-color: #005177;
    color: #fff;
}

/* Styles for the table footer (total row) */
.siv-invoices-table tfoot tr {
    background-color: #f8f8f8;
    font-weight: bold;
}

.siv-invoices-table tfoot td {
    border-top: 2px solid #0073aa;
}

.siv-total-label {
    text-align: right;
    padding-right: 15px;
}