/* Set background color for Swagger UI */
.swagger-ui,
.swagger-ui .scheme-container {
  background-color: var(--rtb-surface) !important;
}

/* Set top bar color (same for dark and light theme) */
.swagger-ui .topbar {
  background-color: #1C232E !important;
}

/* Hide theme toggle in Swagger UI top bar */
.dark-mode-toggle {
  display: none;
}

/* Inherit Swagger UI styles */
.swagger-ui code,
.swagger-ui button,
.swagger-ui strong {
  color: inherit;
  background: inherit;
}

/* Shrink model hint text in Schema */
.swagger-ui .model-hint {
  font-size: 0.70rem;
}

/* Shrink attribute constraint text in Schema */
.swagger-ui .json-schema-2020-12__constraint--string {
  font-size: 0.60rem;
}

/* Set attribute color in Example Value (same for dark and light theme) */
.hljs-attr {
  color: #e0b341 !important;
}