/* ProEntegrator API - Custom Swagger Theme */

/* Top bar */
.swagger-ui .topbar {
    background-color: #1a1a2e;
    padding: 8px 0;
}
.swagger-ui .topbar .download-url-wrapper .select-label {
    color: #e0e0e0;
}
.swagger-ui .topbar a.link img {
    filter: brightness(0) invert(1);
}

/* Info section */
.swagger-ui .info .title {
    color: #1a1a2e;
    font-size: 28px;
    font-weight: 700;
}
.swagger-ui .info .description p {
    color: #4a4a6a;
    font-size: 15px;
}

/* Operations */
.swagger-ui .opblock.opblock-get {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.04);
}
.swagger-ui .opblock.opblock-get .opblock-summary-method {
    background: #3b82f6;
}
.swagger-ui .opblock.opblock-post {
    border-color: #10b981;
    background: rgba(16,185,129,0.04);
}
.swagger-ui .opblock.opblock-post .opblock-summary-method {
    background: #10b981;
}
.swagger-ui .opblock.opblock-put {
    border-color: #f59e0b;
    background: rgba(245,158,11,0.04);
}
.swagger-ui .opblock.opblock-put .opblock-summary-method {
    background: #f59e0b;
}
.swagger-ui .opblock.opblock-delete {
    border-color: #ef4444;
    background: rgba(239,68,68,0.04);
}
.swagger-ui .opblock.opblock-delete .opblock-summary-method {
    background: #ef4444;
}
.swagger-ui .opblock .opblock-summary-method {
    border-radius: 6px;
    font-weight: 700;
    min-width: 70px;
    text-align: center;
    padding: 6px 12px;
}

/* Tags */
.swagger-ui .opblock-tag {
    border-bottom: 1px solid #e5e7eb;
    font-size: 20px;
    color: #1a1a2e;
}
.swagger-ui .opblock-tag:hover {
    background: rgba(59,130,246,0.04);
}

/* Buttons */
.swagger-ui .btn.execute {
    background-color: #3b82f6;
    border-color: #3b82f6;
    border-radius: 6px;
    font-weight: 600;
}
.swagger-ui .btn.execute:hover {
    background-color: #2563eb;
}
.swagger-ui .btn.authorize {
    border-color: #10b981;
    color: #10b981;
    border-radius: 6px;
    font-weight: 600;
}
.swagger-ui .btn.authorize svg {
    fill: #10b981;
}

/* Auth modal */
.swagger-ui .dialog-ux .modal-ux-header h3 {
    color: #1a1a2e;
}

/* Filter input */
.swagger-ui .filter .operation-filter-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
}
.swagger-ui .filter .operation-filter-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* Response */
.swagger-ui .responses-inner {
    border-radius: 6px;
}
.swagger-ui table tbody tr td:first-of-type {
    min-width: 100px;
}

/* Scheme selector */
.swagger-ui .scheme-container {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Body */
body {
    background: #f8fafc;
}
.swagger-ui .wrapper {
    max-width: 1200px;
}
