.swagger-body {
    background: linear-gradient(180deg, #f8f7ff 0%, #ffffff 100%);
}

.swagger-ui .topbar {
    background: linear-gradient(90deg, #6c63ff 0%, #4f46d5 100%);
    box-shadow: 0 16px 40px rgba(58, 45, 133, 0.18);
}

.swagger-ui .topbar .download-url-wrapper {
    display: none;
}

.swagger-ui .topbar .topbar-wrapper {
    align-items: center;
}

.swagger-ui .topbar .topbar-wrapper .link {
    display: none !important;
}

.publisher-champ-swagger-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.publisher-champ-swagger-brand-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.publisher-champ-swagger-brand-main img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.publisher-champ-swagger-home {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.publisher-champ-swagger-home:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.swagger-ui .info {
    margin: 32px 0;
}

.swagger-ui .info .title {
    color: #1f1f47;
    font-weight: 800;
}

.swagger-ui .info p,
.swagger-ui .info li,
.swagger-ui .info div,
.swagger-ui .info table {
    color: #4f4a6b;
}

.swagger-ui .scheme-container {
    display: none;
}

.swagger-ui .filter-container {
    display: none;
}

.swagger-ui .wrapper {
    max-width: 1200px;
    padding-bottom: 48px;
}

.swagger-ui .opblock-tag {
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    color: #1f1f47;
}

.swagger-ui .opblock {
    border-width: 1px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(63, 46, 145, 0.06);
}

.swagger-ui .opblock .opblock-summary {
    padding: 0.95rem 1rem;
}

.swagger-ui .opblock.opblock-get {
    border-color: rgba(108, 99, 255, 0.22);
    background: rgba(108, 99, 255, 0.04);
}

.swagger-ui .opblock.opblock-get .opblock-summary-method {
    background: #6c63ff;
}

.swagger-ui .opblock.opblock-post,
.swagger-ui .opblock.opblock-put,
.swagger-ui .opblock.opblock-delete,
.swagger-ui .opblock.opblock-patch {
    border-color: rgba(108, 99, 255, 0.18);
}

.swagger-ui .btn.authorize {
    border-color: #6c63ff;
    color: #6c63ff;
}

.swagger-ui .btn.authorize svg {
    fill: #6c63ff;
}

.swagger-ui .btn.execute {
    background: #6c63ff;
    border-color: #6c63ff;
}

.swagger-ui .btn.execute:hover {
    background: #5a52e8;
    border-color: #5a52e8;
}

.swagger-ui .responses-inner,
.swagger-ui .opblock-section-header,
.swagger-ui .model-box,
.swagger-ui section.models {
    background: #ffffff;
}

.swagger-ui .info .alert.alert-warning {
    background: #fff4db;
    border: 1px solid #f3c978;
    color: #7a4b00;
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

.swagger-ui .info .alert.alert-warning strong {
    color: #7a4b00;
}

.swagger-ui .publisher-champ-api-access-card {
    margin: 1.25rem 0 1.5rem;
    padding: 1.2rem 1.25rem;
    background: linear-gradient(180deg, #fbf8ff 0%, #f5f2ff 100%);
    border: 1px solid rgba(108, 99, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(63, 46, 145, 0.08);
}

.swagger-ui .publisher-champ-api-access-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1f1f47;
}

.swagger-ui section.models {
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(63, 46, 145, 0.05);
    display: none;
}

.swagger-ui .markdown code,
.swagger-ui .parameter__name,
.swagger-ui .parameter__type,
.swagger-ui .model-title,
.swagger-ui .prop-type {
    background: #f6f5ff;
    color: #312d59;
}

.swagger-ui .markdown code {
    display: inline;
    padding: 0.08rem 0.35rem;
    border-radius: 6px;
    font-size: 0.92em;
    line-height: 1;
    white-space: nowrap;
    vertical-align: baseline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.swagger-ui table thead tr td,
.swagger-ui table thead tr th {
    color: #5a5681;
}

.swagger-ui .response-col_status {
    color: #1f1f47;
}

.swagger-ui .markdown details {
    margin: 0.9rem 0 1rem;
    border: 1px solid rgba(108, 99, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(180deg, #fcfbff 0%, #f5f2ff 100%);
    overflow: hidden;
}

.swagger-ui .markdown details summary {
    display: block;
    padding: 0.85rem 1rem;
    background: rgba(108, 99, 255, 0.08);
    color: #2f295f;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.swagger-ui .markdown details summary::-webkit-details-marker {
    display: none;
}

.swagger-ui .markdown details summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.55rem;
    color: #6c63ff;
    transition: transform 0.15s ease;
}

.swagger-ui .markdown details[open] summary::before {
    transform: rotate(90deg);
}

.swagger-ui .markdown details summary:hover {
    background: rgba(108, 99, 255, 0.14);
    color: #1f1f47;
    box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.12);
}

.swagger-ui .markdown details summary:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(108, 99, 255, 0.24);
}

.swagger-ui .markdown details > :not(summary) {
    padding: 0.2rem 1rem 1rem;
}

@media (max-width: 767.98px) {
    .publisher-champ-swagger-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
}
