/* JardogsHealth Nexus — Swagger UI Branding */

/* Dark theme */
body { background: #0a0a0a; }
.swagger-ui { background: #0a0a0a; }

/* Top bar */
.swagger-ui .topbar { background: #111827; border-bottom: 1px solid #1f2937; padding: 10px 0; }
.swagger-ui .topbar-wrapper { justify-content: center; }
.swagger-ui .topbar-wrapper img { content: url('/nexus.png'); height: 40px; }
.swagger-ui .topbar-wrapper .link span { display: none; }

/* Info section */
.swagger-ui .info { margin: 30px 0; }
.swagger-ui .info .title { color: #4ade80; font-weight: 300; letter-spacing: 0.1em; }
.swagger-ui .info .description p { color: #9ca3af; }
.swagger-ui .info .base-url { color: #6b7280; }

/* Cards / Operations */
.swagger-ui .opblock { background: #111827; border-color: #1f2937; }
.swagger-ui .opblock .opblock-summary { border-color: #1f2937; }
.swagger-ui .opblock-tag { color: #e5e7eb; border-bottom-color: #1f2937; }
.swagger-ui .opblock-tag:hover { color: #4ade80; }

/* GET */
.swagger-ui .opblock.opblock-get { background: rgba(74, 222, 128, 0.05); border-color: rgba(74, 222, 128, 0.3); }
.swagger-ui .opblock.opblock-get .opblock-summary-method { background: #166534; }

/* POST */
.swagger-ui .opblock.opblock-post { background: rgba(59, 130, 246, 0.05); border-color: rgba(59, 130, 246, 0.3); }
.swagger-ui .opblock.opblock-post .opblock-summary-method { background: #1e40af; }

/* PATCH */
.swagger-ui .opblock.opblock-patch { background: rgba(245, 158, 11, 0.05); border-color: rgba(245, 158, 11, 0.3); }

/* DELETE */
.swagger-ui .opblock.opblock-delete { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.3); }

/* Text colors */
.swagger-ui { color: #e5e7eb; }
.swagger-ui .opblock .opblock-summary-description { color: #9ca3af; }
.swagger-ui .opblock .opblock-summary-path { color: #e5e7eb; }
.swagger-ui .opblock-description-wrapper p { color: #9ca3af; }
.swagger-ui table thead tr th { color: #9ca3af; border-bottom-color: #1f2937; }
.swagger-ui table tbody tr td { color: #e5e7eb; border-bottom-color: #1f2937; }
.swagger-ui .parameter__name { color: #e5e7eb; }
.swagger-ui .parameter__type { color: #6b7280; }
.swagger-ui .response-col_status { color: #e5e7eb; }
.swagger-ui .response-col_description { color: #9ca3af; }

/* Models */
.swagger-ui .model-box { background: #111827; }
.swagger-ui .model { color: #e5e7eb; }
.swagger-ui section.models { border-color: #1f2937; }
.swagger-ui section.models h4 { color: #e5e7eb; border-bottom-color: #1f2937; }

/* Inputs */
.swagger-ui input[type=text], .swagger-ui textarea, .swagger-ui select {
    background: #1f2937; color: #e5e7eb; border-color: #374151;
}

/* Authorize button */
.swagger-ui .btn.authorize { color: #4ade80; border-color: #4ade80; }
.swagger-ui .btn.authorize svg { fill: #4ade80; }

/* Execute button */
.swagger-ui .btn.execute { background: #166534; border-color: #166534; }

/* Scrollbar */
.swagger-ui ::-webkit-scrollbar { width: 8px; }
.swagger-ui ::-webkit-scrollbar-track { background: #111827; }
.swagger-ui ::-webkit-scrollbar-thumb { background: #374151; border-radius: 4px; }
