/* ===============================
   Jupyter Wrapper Styles
   =============================== */

/* Styling for Jupyter CodeMirror editor */
.jupyter-wrapper .CodeMirror.cm-s-jupyter {
  background: var(--jp-layout-color0);
  color: var(--jp-content-font-color1);
  font-size: medium;
}

/* Styling for Jupyter output area preformatted text */
/* .jupyter-wrapper .highlight-ipynb pre {
  font-size: 0.9em;
} */

/* Styling for Jupyter Output Area */
.jupyter-wrapper .jp-OutputArea-output pre {
  border: none;
  margin: 0px;
  padding: 0px;
  overflow-x: auto;
  overflow-y: auto;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
  font-size: medium;
}

/* Display inline tables for dataframes in Jupyter */
.jupyter-wrapper table.dataframe {
  display: inline;
}

/* Hide output prompt in Jupyter */
.jupyter-wrapper .jp-OutputPrompt {
  display: none;
}

/* Hide input prompt in Jupyter code cells */
.jupyter-wrapper .jp-CodeCell .jp-Cell-inputWrapper .jp-InputPrompt {
  display: none;
}

/* Hide input prompt in non-active Jupyter cells */
.jupyter-wrapper .jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-InputPrompt {
  display: none;
}


/* ===============================
   Markdown Content Styles
   =============================== */

/* Hide the Markdown content button */
.md-content__button {
  display: none;
}

/* Set font size for inline code in Markdown */
.md-typeset code {
  font-size: 1em;
}

/* Set font size and line height for H2 headers in Markdown */
.md-typeset h2 {
  font-size: 1.3em;
  line-height: 1.2;
}

/* Set font size and line height for H3 headers in Markdown */
.md-typeset h3 {
  font-size: 1.1em;
  line-height: 1.2;
}

/* Justify paragraph text in Markdown */
p {
  text-align: justify;
  text-justify: inter-word;
}


/* ===============================
   Color Scheme Styles
   =============================== */

/* Light color scheme styles */
[data-md-color-scheme="light"] {
  --md-primary-fg-color:        #001633;
  --md-primary-fg-color--light: #001633;
  --md-primary-fg-color--dark:  #001633;
  --md-accent-fg-color:        #f79939;
  --md-accent-fg-color--light: #f79939;
  --md-accent-fg-color--dark:  #f79939;
  --md-primary-bg-color:       #f79939;
  --md-typeset-a-color:        #f79939;
}

/* Slate color scheme styles */
[data-md-color-scheme="slate"] {
  --md-primary-fg-color:        #001633;
  --md-primary-fg-color--light: #001633;
  --md-primary-fg-color--dark:  #001633;
  --md-accent-fg-color:        #f79939;
  --md-accent-fg-color--light: #f79939;
  --md-accent-fg-color--dark:  #f79939;
  --md-primary-bg-color:       #f79939;
  --md-typeset-a-color:        #f79939;
}

/* Hide dark images in light mode */
[data-md-color-scheme="light"] img[src$="#only-dark"],
[data-md-color-scheme="light"] img[src$="#gh-dark-mode-only"] {
  display: none; 
}

/* Hide light images in dark mode */
[data-md-color-scheme="dark"] img[src$="#only-light"],
[data-md-color-scheme="dark"] img[src$="#gh-light-mode-only"] {
  display: none; 
}


/* ===============================
   Badge Styles
   =============================== */

/* Badge for Releases file Styles */
.badge {
  display: inline-block;
  padding: 0.2em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  /* margin-right: 0.25em; */
}

/* Enhancement Badge */
.text-bg-enhancement {
  color: #fff;
  background-color: #17a2b8;
}

/* API Change Badge */
.text-bg-api-change {
  color: #fff;
  background-color: #ffc107;
}

/* Feature Badge */
.text-bg-feature {
  color: #fff;
  background-color: #28a745;
}

/* Fix Badge */
.text-bg-danger {
  color: #fff;
  background-color: #dc3545;
}
