.highlight-bash .highlight {
    border: 1px #ccc solid;
}

div.cell div.cell_input, .highlight-bash .highlight {
    border-left-color: var(--color-brand-content);
    border-left-width: medium;
    border-radius: 0.2rem;
}

div.cell_output {
    overflow-x: auto;
    margin-top: 0;
}

div.sidebar-scroll {
  scroll-behavior: auto;
}

table.dataframe {
    margin: 1em 0;
    border-collapse: collapse;
    font-size: 0.85rem;
    border: none;
}

table.dataframe th,
table.dataframe td {
    padding: 0.4em 0.8em;
    border: none;
    border-bottom: 1px solid var(--color-background-border, #ccc);
    text-align: right;
}

table.dataframe thead th {
    border-bottom: 2px solid var(--color-foreground-border, #888);
    background: var(--color-background-secondary, transparent);
    font-weight: 600;
}

table.dataframe tbody tr:hover {
    background: var(--color-background-hover, rgba(0, 0, 0, 0.04));
}

details.toggle-details summary:hover, details.toggle-details summary:active, details.toggle-details summary {
    background: transparent;
}


details.sd-dropdown summary {
    padding: .5rem;
}

details.sd-dropdown .sd-summary-up, details.sd-dropdown .sd-summary-down {
    top: .5rem;
}

body[data-theme="dark"] {
  --mystnb-source-bg-color: #202020;
  --mystnb-stdout-bg-color: #202020;
  --mystnb-stderr-bg-color: #ee0000;
  --mystnb-traceback-bg-color: #202020;
}
