.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
}

th,
td {
    white-space: nowrap;
    text-align: left;
    padding: 10px;
    color: var(--text-color);
}

table.light {
    color: var(--secondary-color);
    background: transparent;
    font-size: 1.1rem;
    border-collapse: collapse;

}

table.light thead {
    background-color: rgba(0, 0, 0, 0.35);
    color: white;
}

table.light thead th {
    color: white;
}

table.light tbody {
    background-color: white;
}

table.light tbody tr:nth-child(odd) {
    background: white
}

table.light tbody tr:nth-child(even) {
    background: #dfdfdf;
}

table.light td,
table.light th {
    text-align: start;
    color: var(--primary-color);
}

table.light.sticky td:first-child,
table.light.sticky th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
}

table.light th:first-child {
    background-color: rgb(126, 0, 0);
}

table.light tr:nth-child(odd) td:first-child {
    background: white
}

table.light tr:nth-child(even) td:first-child {
    background: #dfdfdf;
}

table.light td a,
table.light th a,
table.light td button,
table.light th button {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

table.light td a:hover,
table.light th a:hover,
table.light td button:hover,
table.light th button:hover {
    color: var(--secondary-color);
}

table.light td a .bi,
table.light th a .bi,
table.light td button .bi,
table.light th button .bi {
    font-size: 1.2rem;
}

table.light tfoot th,
table.light tfoot td,
table.light tfoot tr:nth-child(odd) td:first-child,
table.light tfoot tr:nth-child(odd) th:first-child {
    background-color: rgb(87, 87, 87);
    color: rgb(252, 252, 252);
    font-weight: bold;
    border-top: 2px solid rgb(126, 0, 0);
}

table .table-action {
    justify-content: center;
    display: flex;
    gap: 10px;
    font-size: 1.2rem;
}

table.light button {
    border: none;
    background: none;
    cursor: pointer;
}

@media screen and (max-width: 992px) {

    table.light {
        font-size: 0.9rem;
        background: transparent;
    }

    table.light td button.btn,
    table.light th button.btn {
        padding: 0 0;
    }
}