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

table {
    width: 100%;
    background-color: #f4f4f4;
    color: var(--zm-surface-text-color);
    border-collapse: collapse;
    border-radius: 0.9375rem;
    overflow: hidden;
    font-size: 0.8125rem;
    font-weight: 600;
}

tbody tr:not(:last-child) {
    border-block-end: 1px solid #929292;
}

table :is(th, td) {
    padding: 0.5rem 1.25rem;
}

table td {
    padding-block: 1.25rem;
}

table th {
    background-color: #e5e5e5;
}

table :is(th, td) {
    text-align: left;
}

/* Responsive layout */

@media (max-width: 899px) {
    table thead {
        position: absolute !important;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap; /* prevents line breaks */
        border: 0;
    }

    table td {
        display: block;
        text-align: right;
        padding-block: 6px;
    }

    /* table td:first-child {
        background-color: #e5e5e5;
    } */

    table tbody tr {
        display: block;
        padding-block: 12px;
    }

    table tbody tr:nth-child(even) {
        background-color: #e5e5e5;
    }

    table td::before {
        float: left;
        text-align: left;
        content: attr(data-label);
    }
}
