/* ResolvDNS — Dark Swagger UI Theme */

body, .swagger-ui {
  background: #0d0d0d !important;
  color: #e8e8e8 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Top bar */
.swagger-ui .topbar {
  background: #141414 !important;
  border-bottom: 1px solid #2a2a2a !important;
}
.swagger-ui .topbar .download-url-wrapper { display: none !important; }
.swagger-ui .topbar a { font-size: 1.1rem; font-weight: 700; color: #00d4aa !important; }

/* Info block */
.swagger-ui .info { margin: 2rem 0 1.5rem !important; }
.swagger-ui .info .title { color: #e8e8e8 !important; }
.swagger-ui .info p, .swagger-ui .info li { color: #aaa !important; }
.swagger-ui .info a { color: #00d4aa !important; }

/* Scheme container */
.swagger-ui .scheme-container {
  background: #141414 !important;
  border-bottom: 1px solid #2a2a2a !important;
  box-shadow: none !important;
}

/* Tags / sections */
.swagger-ui .opblock-tag {
  border-bottom: 1px solid #2a2a2a !important;
  color: #e8e8e8 !important;
}
.swagger-ui .opblock-tag:hover { background: #141414 !important; }
.swagger-ui .opblock-tag small { color: #888 !important; }

/* Endpoint blocks */
.swagger-ui .opblock {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  margin-bottom: 8px !important;
}
.swagger-ui .opblock .opblock-summary { border-bottom: none !important; }
.swagger-ui .opblock .opblock-summary-description { color: #aaa !important; }
.swagger-ui .opblock .opblock-summary-path { color: #e8e8e8 !important; }
.swagger-ui .opblock-body { background: #1a1a1a !important; }

/* GET method */
.swagger-ui .opblock.opblock-get {
  border-left: 3px solid #00d4aa !important;
  background: #141414 !important;
}
.swagger-ui .opblock.opblock-get .opblock-summary-method {
  background: #00d4aa !important;
  color: #000 !important;
  font-weight: 700 !important;
}
.swagger-ui .opblock.opblock-get .opblock-summary { background: transparent !important; }

/* POST method */
.swagger-ui .opblock.opblock-post {
  border-left: 3px solid #4a9eff !important;
  background: #141414 !important;
}
.swagger-ui .opblock.opblock-post .opblock-summary-method {
  background: #4a9eff !important;
  color: #000 !important;
  font-weight: 700 !important;
}
.swagger-ui .opblock.opblock-post .opblock-summary { background: transparent !important; }

/* Parameters */
.swagger-ui .opblock-section-header {
  background: #1a1a1a !important;
  border-bottom: 1px solid #2a2a2a !important;
}
.swagger-ui .opblock-section-header h4 { color: #aaa !important; }
.swagger-ui .parameter__name { color: #e8e8e8 !important; }
.swagger-ui .parameter__type { color: #00d4aa !important; font-size: 0.8rem !important; }
.swagger-ui .parameter__deprecated { color: #888 !important; }
.swagger-ui .parameter__in { color: #888 !important; font-style: italic !important; }

/* Tables */
.swagger-ui table tbody tr td { color: #ccc !important; border-bottom: 1px solid #2a2a2a !important; }
.swagger-ui table tbody tr td:first-of-type { color: #e8e8e8 !important; }
.swagger-ui table thead tr th { color: #888 !important; border-bottom: 1px solid #2a2a2a !important; }
.swagger-ui .parameters-container .parameters { background: transparent !important; }

/* Inputs */
.swagger-ui input[type=text], .swagger-ui input[type=password], .swagger-ui textarea, .swagger-ui select {
  background: #0d0d0d !important;
  color: #e8e8e8 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 4px !important;
}
.swagger-ui input[type=text]:focus, .swagger-ui textarea:focus {
  border-color: #00d4aa !important;
  outline: none !important;
}
.swagger-ui select { background-image: none !important; }

/* Buttons */
.swagger-ui .btn {
  background: transparent !important;
  border: 1px solid #2a2a2a !important;
  color: #e8e8e8 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
.swagger-ui .btn:hover { border-color: #444 !important; }
.swagger-ui .btn.execute {
  background: #00d4aa !important;
  color: #000 !important;
  border-color: #00d4aa !important;
  font-weight: 600 !important;
}
.swagger-ui .btn.authorize {
  background: transparent !important;
  border-color: #00d4aa !important;
  color: #00d4aa !important;
}
.swagger-ui .btn.cancel { border-color: #555 !important; color: #aaa !important; }
.swagger-ui .btn.btn-clear { color: #aaa !important; }

/* Response section */
.swagger-ui .responses-wrapper { background: #141414 !important; }
.swagger-ui .response-col_status { color: #e8e8e8 !important; }
.swagger-ui .response-col_description { color: #ccc !important; }
.swagger-ui .response-col_links { color: #888 !important; }
.swagger-ui .responses-inner { background: transparent !important; }

/* Code blocks */
.swagger-ui .highlight-code, .swagger-ui .microlight {
  background: #0d0d0d !important;
  color: #e8e8e8 !important;
  border-radius: 4px !important;
}
.swagger-ui .curl-command { background: #0d0d0d !important; color: #e8e8e8 !important; }

/* HTTP status codes */
.swagger-ui .response .response-col_status .response-undocumented { color: #888 !important; }

/* Models section */
.swagger-ui section.models {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 6px !important;
}
.swagger-ui section.models h4 { color: #e8e8e8 !important; }
.swagger-ui .model-box { background: #1a1a1a !important; }
.swagger-ui .model-title { color: #e8e8e8 !important; }
.swagger-ui .model { color: #ccc !important; }
.swagger-ui .prop-type { color: #00d4aa !important; }
.swagger-ui .prop-format { color: #888 !important; }
.swagger-ui .model-toggle { color: #888 !important; }
.swagger-ui span.model-box { background: #1a1a1a !important; }

/* Auth modal */
.swagger-ui .dialog-ux .modal-ux {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  color: #e8e8e8 !important;
}
.swagger-ui .dialog-ux .modal-ux-header {
  background: #1a1a1a !important;
  border-bottom: 1px solid #2a2a2a !important;
}
.swagger-ui .dialog-ux .modal-ux-header h3 { color: #e8e8e8 !important; }
.swagger-ui .dialog-ux .modal-ux-content p { color: #aaa !important; }
.swagger-ui .dialog-ux .modal-ux-content label { color: #ccc !important; }

/* Misc */
.swagger-ui svg { fill: #888 !important; }
.swagger-ui .arrow { fill: #888 !important; }
.swagger-ui .expand-operation svg { fill: #888 !important; }
.swagger-ui .loading-container .loading::after { border-color: #00d4aa transparent #00d4aa transparent !important; }

/* Scrollbars */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }
