table {
    table-layout: fixed;

    thead {
        font-weight: bold;
    }

    th, td {
        padding: 1rem;
    }

    th.separator, td.separator {
        width: 1rem;
        background-color: transparent !important;
        padding: 0;
    }
}

table.table-primary {
    color: var(--dark-green);
    text-align: center;

    thead {
        background-color: var(--medium-green);
    }

    tbody {
        tr:nth-child(even) {
            background-color: var(--background-grey);
        }
    }

    th, td {
        a {
            svg path {
                fill: var(--dark-green) !important;
            }
        }
    }
}

table.table-secondary {
    color: var(--dark-green);
    text-align: center;

    thead {
        th {
            background-color: var(--medium-green);
        }
    }

    tbody {
        tr:nth-child(even) {
            td {
                background-color: var(--light-green-2);
            }
        }

        input, .input-group-text {
            background-color: transparent;
            color: var(--dark-green);
            border: 0;
            width: fit-content;
            text-align: center;
        }
    }

    thead tr th:first-child, tbody tr td:first-child {
        border-top-left-radius: 0.6rem;
        border-bottom-left-radius: 0.6rem;
    }

    thead tr th:last-child, tbody tr td:last-child {
        border-top-right-radius: 0.6rem;
        border-bottom-right-radius: 0.6rem;
    }
}
