:root {

    --sidebar-width: 320px;

    --sidebar-bg: #2c3e50;

    --sidebar-hover: #34495e;

    --primary-color: #0d6efd;

    --content-bg: #f5f7fb;

    --text-color: #2b2b2b;

    --code-bg: #1e293b;

    --code-color: #e2e8f0;

    --border-color: #dee2e6;
}

html {
    scroll-behavior: smooth;
}

body {

    background: var(--content-bg);

    color: var(--text-color);

    font-family: Arial, sans-serif;
}

.sidebar {

    width: var(--sidebar-width);

    min-height: 100vh;

    background: var(--sidebar-bg);

    position: fixed;

    top: 0;

    left: 0;

    overflow-y: auto;

    z-index: 1040;
}

.sidebar .nav-link {

    color: rgba(255, 255, 255, 0.85);

    border-radius: 8px;

    padding: 0.7rem 1rem;

    margin-bottom: 0.25rem;

    transition: all 0.2s ease;

    font-size: 0.95rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {

    background: var(--sidebar-hover);

    color: #fff;
}

.main-content {

    margin-left: var(--sidebar-width);

    min-height: 100vh;
}

.hero-section {

    background: linear-gradient(135deg,
            #ffffff 0%,
            #eef4ff 100%);

    border: 1px solid rgba(0, 0, 0, 0.05);

    border-radius: 18px;

    padding: 3rem;
}

.endpoint-card {

    background: #fff;

    border-radius: 18px;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}

.endpoint-header {

    background: #f8fafc;

    border-bottom: 1px solid var(--border-color);

    padding: 1.25rem 1.5rem;
}

.endpoint-body {
    padding: 1.5rem;
}

.method-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 70px;

    padding: 0.45rem 0.9rem;

    border-radius: 999px;

    font-size: 0.85rem;

    font-weight: 700;

    background: #198754;

    color: #fff;
}

pre {

    background: var(--code-bg);

    color: var(--code-color);

    border-radius: 14px;

    padding: 1.25rem;

    overflow-x: auto;

    margin: 0;
}

code {

    font-family: Consolas, monospace;

    font-size: 0.9rem;
}

.code-inline {

    background: #e9ecef;

    padding: 0.15rem 0.4rem;

    border-radius: 6px;

    font-size: 0.9rem;
}

.info-card {

    background: #fff;

    border-radius: 18px;

    padding: 1.5rem;

    border: 1px solid rgba(0, 0, 0, 0.06);

    height: 100%;
}

.accordion-button:not(.collapsed) {

    background: #eef4ff;

    color: #000;
}

footer {
    color: #6c757d;
}

@media (max-width: 991.98px) {

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .hero-section {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {

    .hero-section {
        padding: 1.5rem;
    }

    .endpoint-header,
    .endpoint-body,
    .info-card {
        padding: 1.25rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}