/* ------------------- Jupyter Notebook Styles ------------------- */

/* Styling Code Cells */
div.input_area {
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    padding: 8px !important;
}

/* Styling Markdown Cells */
div.text_cell_render {
    color: #333 !important;
}

/* Styling Outputs */
div.output {
    background-color: #f9f9f9 !important;
}

/* Tables in Notebooks (Assuming these are parsed literals from .rst) */
div.output table {
    border-collapse: collapse !important;
    width: 100% !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    display: block !important;
    overflow-x: auto !important;
    font-size: 90% !important;
}

div.output table th, div.output table td {
    border: 1px solid #d3d3d3 !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
}

/* Alternate row coloring */
div.output table tr:nth-child(odd) {
    background-color: #f2f2f2 !important;
}
div.output table tr:nth-child(even) {
    background-color: #ffffff !important;
}

/* Centering all images in notebook output */
/* Targeting images specifically within converted notebook output */
div.nboutput img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}