/* DESP Fonts */
@font-face {
  font-family: 'Roboto-Regular';
  src: local("Roboto-Regular"), url(./fonts/Roboto/Roboto-Regular.ttf) format("truetype");
}
@font-face {
  font-family: 'Roboto-Bold';
  src: local("Roboto-Bold"), url(./fonts/Roboto/Roboto-Bold.ttf) format("truetype");
}

.wy-body-for-nav {
  color: white;
  font-family: 'Roboto-Regular', Fallback, sans-serif !important;
  font-display: swap;
}
.wy-body-for-nav h1, .wy-body-for-nav h2, .wy-body-for-nav h3, .wy-body-for-nav h4, .wy-body-for-nav h5, .wy-body-for-nav h6 {
  font-family: 'Roboto-Bold', Fallback, sans-serif !important;
}
.wy-body-for-nav {
  background: #0D1527;
}
.wy-nav-side {
  background: #0D1527;
}
.wy-side-nav-search {
  background: #0D1527;
}
.wy-nav-content {
  background: #0D1527;
  max-width: 1920px;
}
div[role="navigation"]:not(.wy-menu) {
  display: none;
}
.reference.external {
  color: #2980b9;
}

table thead {
  color: white !important;
  background-color: #00365d;
}

.rst-content table.docutils:not(.field-list) tr td,.wy-table-backed,.wy-table-odd td,.wy-table-striped tr td {
  background-color: #0D1527;
}
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td,.wy-table-backed,.wy-table-odd td,.wy-table-striped tr:nth-child(2n-1) td {
  background-color:#0D1527;
}
.toctree-expand {
  color: #999 !important;
}
.admonition {
  background-color: #141f2c !important;
}
.admonition-title {
  background-color: #7b34db !important;
}

/* Code blocks and inline code styling for better visibility */
code, .rst-content code {
  background-color: #1a2332 !important;
  color: #e8e8e8 !important;
  border: 1px solid #2c3e50 !important;
  padding: 2px 5px !important;
}

pre, .rst-content pre {
  background-color: #1a2332 !important;
  color: #e8e8e8 !important;
  border: 1px solid #2c3e50 !important;
  padding: 12px !important;
}

.highlight, .rst-content .highlight {
  background-color: #1a2332 !important;
}

.highlight pre {
  background-color: #1a2332 !important;
  color: #e8e8e8 !important;
}

/* Syntax highlighting colors for code */
.highlight .k, .highlight .kd, .highlight .kn { color: #66d9ef !important; } /* Keywords */
.highlight .s, .highlight .s1, .highlight .s2 { color: #a6e22e !important; } /* Strings */
.highlight .n, .highlight .nb { color: #f8f8f2 !important; } /* Names */
.highlight .m, .highlight .mi { color: #ae81ff !important; } /* Numbers */
.highlight .c, .highlight .c1, .highlight .cm { color: #75715e !important; } /* Comments */
.highlight .o { color: #f92672 !important; } /* Operators */
.highlight .p { color: #f8f8f2 !important; } /* Punctuation */

/* Ensure all text elements have good contrast */
.rst-content p, .rst-content li, .rst-content td {
  color: #e8e8e8 !important;
}

.rst-content a {
  color: #5dade2 !important;
}

.rst-content a:visited {
  color: #a569bd !important;
}

