.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    border: 1px solid var(--border-color);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.35rem;
    width: 100%;
    overflow: hidden;
    font-size: 0.95rem;
}

table thead tr {
    background-color: var(--text-color);
    color: var(--background-color);
    font-size: .85em;
    text-align: left;
}

table tbody tr {
    background-color: var(--background-color);
    transition: all 0.2s ease-in-out;
}

table tbody tr:nth-child(even) td {
    background-color: hsl(from var(--surface-color) h s l / 0.25);
}

table tbody tr:hover {
    filter: brightness(1.1) saturate(1);
    transition: all 0.2s ease-in-out;
}

table th {
    border-bottom-width: 1px;
    padding: 0.25rem 0.5rem;
}

table td {
    border-bottom-width: 1px;
    padding: 0.5rem;
}


table th:last-child,
table td:last-child {
    white-space: nowrap;
    width: 6rem;
    text-align: center;
}

table .actions a {
    display: unset;
    font-size: 0.8em;
}

table img.thumbnail {
    width: 3rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 0.25rem;
}