/* API Documentation Specific Styles */
html {
    box-sizing: border-box;
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(88, 166, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(35, 134, 54, 0.05) 0%, transparent 40%);
}

/* Swagger UI Dark Mode Overrides */
.swagger-ui {
    filter: invert(88%) hue-rotate(180deg);
}

.swagger-ui .topbar {
    display: none;
}

.swagger-ui .info .title {
    color: #58a6ff;
    font-size: 42px;
    font-weight: 800;
}

.swagger-ui .info p, .swagger-ui .info li, .swagger-ui .info table {
    color: #8b949e;
    font-size: 16px;
}

.swagger-ui .opblock-tag {
    color: #c9d1d9;
    border-bottom: 1px solid #30363d;
}

.swagger-ui .opblock {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.swagger-ui .opblock:hover {
    transform: translateY(-2px);
}

#swagger-ui {
    padding: calc(var(--header-h) + 40px) 40px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0d1117;
}
::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* Utilities */
.docs-logo-img { height: 28px; width: auto; }
