.sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-wrapper.show {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: white;
}

.sidebar-content {
    padding: 1.5rem;
}

.sidebar .nav-link {
    color: #6c757d;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #e7f3ff;
    color: #0d6efd;
    border-left: 3px solid #0d6efd;
}

.sidebar .nav-link.sub-item {
    padding-left: 2rem;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.main-content {
    margin-left: 0;
    transition: margin-left 0.3s ease-in-out;
}

.main-content.sidebar-open {
    margin-left: 280px;
}

.top-navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    padding: 1rem 0;
}

.sidebar-toggle {
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.endpoint-card {
    border-left: 4px solid #0d6efd;
    margin-bottom: 2rem;
}

.method-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
}

.method-get { background-color: #00B050; }
.method-post { background-color: #FFC000; }
.method-put { background-color: #0070C0; }
.method-delete { background-color: #C00000; }

.response-tabs .nav-link {
    border: 1px solid #dee2e6;
    border-bottom: none;
    background-color: #f8f9fa;
}

.response-tabs .nav-link.active {
    background-color: #e7f3ff;
    color: #0d6efd;
    border-left: 3px solid #0d6efd;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.code-container {
    position: relative;
}

pre[class*="language-"] {
    border-radius: 0.375rem;
    margin: 0;
}

.hero-section {
    background: linear-gradient(135deg, #669dea 0%, #4b69a2 100%);
    color: white;
    padding: 4rem 0;
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, #0d6efd, #6c5ce7);
    border: none;
    margin: 3rem 0;
}

.close-sidebar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: none;
    font-size: 1.5rem;
    color: #6c757d;
    padding: 0.25rem;
}

/* Responsive behavior */
@media (max-width: 991.98px) {
    .main-content.sidebar-open {
        margin-left: 0;
    }
}
        
@media (min-width: 992px) {
    .sidebar-wrapper {
        position: fixed;
        transform: translateX(0);
        height: 100vh;
    }
    
    .main-content {
        margin-left: 280px;
    }
    
    .sidebar-toggle {
        display: none;
    }
    
    .close-sidebar {
        display: none;
    }
    
    .sidebar-overlay {
        display: none;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

.section-title {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}