/**
 * Swagger UI inside static/swagger.html (iframe). Docusaurus passes ?theme=dark|light.
 * These rules only apply when <html class="swagger-dark"> is set by the inline script.
 */
html.swagger-dark {
  color-scheme: dark;
}

html.swagger-dark body {
  background: #1b1b1d;
}

html.swagger-dark .swagger-ui {
  color: #e3e3e3;
}

/* Top description / markdown */
html.swagger-dark .swagger-ui .info .title,
html.swagger-dark .swagger-ui .info h1,
html.swagger-dark .swagger-ui .info h2,
html.swagger-dark .swagger-ui .info h3,
html.swagger-dark .swagger-ui .info h4,
html.swagger-dark .swagger-ui .info h5,
html.swagger-dark .swagger-ui .info p,
html.swagger-dark .swagger-ui .info li,
html.swagger-dark .swagger-ui .info table,
html.swagger-dark .swagger-ui .info .base,
html.swagger-dark .swagger-ui .info .base-url {
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .info a {
  color: #6ecfff !important;
}

html.swagger-dark .swagger-ui .info .markdown p,
html.swagger-dark .swagger-ui .info .markdown li,
html.swagger-dark .swagger-ui .info .markdown td,
html.swagger-dark .swagger-ui .info .markdown th {
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .info .markdown code,
html.swagger-dark .swagger-ui .info .markdown pre {
  background: #2d2d30 !important;
  color: #f0f0f0 !important;
  border-color: #444 !important;
}

/* White band: scheme / authorize bar */
html.swagger-dark .swagger-ui .scheme-container {
  background: #252526 !important;
  box-shadow: none !important;
}

html.swagger-dark .swagger-ui .scheme-container .schemes > label {
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .btn.authorize {
  background: #2d2d30 !important;
  border-color: #555 !important;
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .btn.authorize svg {
  fill: #e8eaed !important;
}

/* Tags & operation blocks */
html.swagger-dark .swagger-ui .opblock-tag,
html.swagger-dark .swagger-ui .opblock-tag small,
html.swagger-dark .swagger-ui .opblock .opblock-summary-path,
html.swagger-dark .swagger-ui .opblock .opblock-summary-description {
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .opblock .opblock-section-header,
html.swagger-dark .swagger-ui .opblock .opblock-section-header h4,
html.swagger-dark .swagger-ui .opblock .opblock-section-header label {
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .opblock-body {
  background: #1e1e1e !important;
}

html.swagger-dark .swagger-ui .opblock-description-wrapper p,
html.swagger-dark .swagger-ui .opblock-description-wrapper li,
html.swagger-dark .swagger-ui .opblock-description-wrapper td,
html.swagger-dark .swagger-ui .opblock-description-wrapper th {
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .opblock .opblock-summary {
  border-color: #444 !important;
}

html.swagger-dark .swagger-ui .opblock.opblock-get .opblock-summary {
  border-color: #61affe !important;
}

html.swagger-dark .swagger-ui .opblock.opblock-post .opblock-summary {
  border-color: #49cc90 !important;
}

html.swagger-dark .swagger-ui .opblock.opblock-put .opblock-summary {
  border-color: #fca130 !important;
}

html.swagger-dark .swagger-ui .opblock.opblock-delete .opblock-summary {
  border-color: #f93e3e !important;
}

/* Tables & parameters */
html.swagger-dark .swagger-ui table thead tr th,
html.swagger-dark .swagger-ui table thead tr td {
  color: #e8eaed !important;
  border-color: #444 !important;
}

html.swagger-dark .swagger-ui table tbody tr td {
  color: #d4d4d4 !important;
  border-color: #444 !important;
}

html.swagger-dark .swagger-ui .parameter__name,
html.swagger-dark .swagger-ui .parameter__type,
html.swagger-dark .swagger-ui .parameter__in,
html.swagger-dark .swagger-ui .parameter__extension,
html.swagger-dark .swagger-ui .prop-type,
html.swagger-dark .swagger-ui .prop-name {
  color: #e0e0e0 !important;
}

html.swagger-dark .swagger-ui .model-box,
html.swagger-dark .swagger-ui .model {
  background: #252526 !important;
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .model-title,
html.swagger-dark .swagger-ui .model-title__text {
  color: #f0f0f0 !important;
}

html.swagger-dark .swagger-ui .property-row {
  border-color: #444 !important;
}

html.swagger-dark .swagger-ui .response-col_status,
html.swagger-dark .swagger-ui .response-col_links,
html.swagger-dark .swagger-ui .response-col_description {
  color: #e8eaed !important;
}

/* Tabs */
html.swagger-dark .swagger-ui .tab li {
  color: #c9cdd1 !important;
}

html.swagger-dark .swagger-ui .tab li.active {
  color: #fff !important;
}

html.swagger-dark .swagger-ui .responses-inner h4,
html.swagger-dark .swagger-ui .responses-inner h5 {
  color: #e8eaed !important;
}

/* Topbar (BaseLayout) */
html.swagger-dark .swagger-ui .topbar {
  background: #252526 !important;
  border-bottom: 1px solid #444 !important;
}

html.swagger-dark .swagger-ui .topbar .download-url-wrapper input {
  background: #2d2d30 !important;
  border-color: #555 !important;
  color: #e8eaed !important;
}

/* Try-it-out inputs */
html.swagger-dark .swagger-ui input[type='text'],
html.swagger-dark .swagger-ui input[type='password'],
html.swagger-dark .swagger-ui input[type='search'],
html.swagger-dark .swagger-ui textarea,
html.swagger-dark .swagger-ui select {
  background: #2d2d30 !important;
  border-color: #555 !important;
  color: #f0f0f0 !important;
}

html.swagger-dark .swagger-ui .dialog-ux .modal-ux {
  background: #252526 !important;
  color: #e8eaed !important;
}

html.swagger-dark .swagger-ui .dialog-ux .modal-ux-header h3,
html.swagger-dark .swagger-ui .dialog-ux .modal-ux-content h4,
html.swagger-dark .swagger-ui .dialog-ux .modal-ux-content p {
  color: #e8eaed !important;
}
