/* Pandas dataframe css */
/* Taken from: https://github.com/spatialaudio/nbsphinx/blob/fb3ba670fc1ba5f54d4c487573dbc1b4ecf7e9ff/src/nbsphinx.py#L587-L619 */
/* modified margin-left */

table.dataframe {
    border: none !important;
    border-collapse: collapse;
    border-spacing: 0;
    border-color: transparent;
    color: var(--pst-color-text-base);
    font-size: 12px;
    table-layout: fixed;
    margin-left: 0 !important;
}

table.dataframe thead {
    border-bottom: 1px solid var(--pst-color-border);
    vertical-align: bottom;
}

table.dataframe tr,
table.dataframe th,
table.dataframe td {
    text-align: right;
    vertical-align: middle;
    padding: 0.5em 0.5em;
    line-height: normal;
    white-space: normal;
    max-width: none;
    border: none;
}

table.dataframe th {
    font-weight: bold;
}

table.dataframe tbody tr:nth-child(odd) {
    background: var(--pst-color-surface);
}

table.dataframe tbody tr:hover {
    background: rgba(66, 165, 245, 0.2);
}
