@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@600&display=swap');

/* Code blocks use JetBrains Mono */
code,
pre,
.highlight,
.highlight pre,
div.highlight,
div.highlight pre,
.literal-block,
pre.literal-block,
.code-block,
tt,
.rst-content tt,
.rst-content code {
    font-family: "JetBrains Mono", monospace !important;
    font-weight: 400 !important;
    font-size: 0.95em !important;
}

code.literal,
tt.literal {
    color: #AF1740;
}

a code.literal,
a tt.literal {
    text-decoration: none;
}

table.autosummary a {
    text-decoration: none;
}

/* Inline code */
/* code.literal,
code.docutils,
code.xref,
span.pre {
    font-family: "JetBrains Mono", monospace !important;
    font-weight: 400 !important;
} */

/* Move theme switch button to the right */
.theme-switch-button {
    margin-left: auto !important;
    order: 999 !important;
}

/* Ensure navbar flex layout */
nav.navbar {
    display: flex !important;
    align-items: center !important;
}


/* Force the right-side icons to the far right */
.bd-header .navbar-end {
    justify-content: flex-end !important;
    flex-grow: 1;
}

/* Ensure the center doesn't take up space if empty */
.bd-header .navbar-center {
    flex-grow: 1;
}

/* Hide the automatically generated nav links but keep the container */
.bd-navbar-nav .nav-item:not(:first-child) {
    display: none;
}

/* Remove the left sidebar column and stretch content */
.primary-sidebar {
    display: none !important;
}

.bd-main .bd-content .bd-article-container {
  max-width: 100%;  /* default is 60em */
}

/* Make Type Hints thinner and slightly smaller */
.sig-param .api-type-hint {
    font-weight: 200 !important;
    opacity: 0.8;
    font-size: 0.9em;
    color: #4f4f4f; /* Subtle grey */
}

/* Make Default Values (after the '=') thinner */
.sig-param .default_value {
    font-weight: 100 !important;
    color: #666; /* Subtle grey */
}

dl.field-list dd ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
.field-list ul li {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0.8rem;  /* adjust this value */
}

table.autosummary {
    table-layout: fixed;
    width: 100%;
}

table.autosummary td:first-child {
    width: 300px;
}

table.autosummary td:last-child {
    width: auto;
}

.highlight-default {
    background: none !important;
}

dt.sig {
    background-color: transparent !important;
}

/* Type hints in function signatures */
.sig .n {
    color: #640D5F;
    font-weight: 500;
}

.sig .n:first-child {
    color: inherit;
    font-weight: inherit;
}

/* docs/_static/custom.css */
.gray {
    color: #808080 !important;
    font-weight: 400;
    font-size: 0.8em;
    margin-left: 0.3ch;
}


/* Ensure the main container background is also clear */
.output.text_html {
    background: transparent !important;
}

/*remove code line numbers*/
.linenos {
    display: none !important;
}
/*adjust padding of code lines*/
div.highlight pre {
    padding-left: 1.5em !important;
}

/* Sets line highlight to a dark gray with 0.6 opacity */
div.highlight .hll {
    background-color: rgba(217, 61, 113, 0.1) !important;
}
a.reference.external {
    font-weight: 600;
}

/* external code references underline color to text color */
a.reference.external code {
    text-decoration: underline;
    text-decoration-color: currentColor;
}

/* Change the border color of the active tab and the content box */
.sd-tab-set > input:checked + .sd-tab-label,
.sd-tab-content {
    border-color: #4f4f4f !important;
    color: #1f1f1f !important;
}

/*dataframe schema borders */
.bd-content div.cell_output table.dataframe thead tr {
  background-color: var(--pst-color-table-heading-bg);
  border-bottom: 1px solid #4f4f4f;
}

.sig-param .reference.external {
    color: inherit;
    text-decoration: none;
}

.sig-return-typehint .reference.external {
    color: inherit;
    text-decoration: none;
}