/* All kinds of output */
.cell-output.cell-output-stdout,   /* Regular output for R and warnings for Julia */
.cell-output.cell-output-display,  /* Regular output for Python and Julia and Observable JS */
.cell-output.cell-output-error,    /* Errors for R and Python and Julia */
.cell-output.cell-output-stderr {  /* Warnings and messages for R and Python */
    margin: 0 0 1em;
    padding: .4em;
    border: 1px solid var(--bs-border-color);
    border-radius: .25rem;
}

.cell-output.cell-output-stdout pre, 
.cell-output.cell-output-display pre ,
.cell-output.cell-output-error pre, 
.cell-output.cell-output-stderr pre {
    margin-bottom: 0;
}

/* Errors */
.cell-output.cell-output-error {
    border: 1px solid var(--bs-danger-border-subtle);
}

.cell-output.cell-output-error pre {
    color: var(--bs-danger);
}

/* Warnings */
/* R and Python output warnings in stderr; Julia outputs them in stdout  */
.cell-output-stderr.cell-output-warning,
.cell-output-stdout.cell-output-warning {
    border: 1px solid var(--bs-warning-border-subtle) !important;
}

.cell-output-stderr.cell-output-warning pre,
.cell-output-stdout.cell-output-warning pre {
    color: var(--bs-warning) !important;
}

/* Messages */
.cell-output.cell-output-stderr {
    border: 1px solid var(--bs-primary-border-subtle);
}

.cell-output.cell-output-stderr pre {
    color: var(--bs-primary);
}
