.docs-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.docs-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.docs-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.docs-wrapper {
    padding: 2rem 0;
}

.docs-nav {
    position: sticky;
    top: 5rem;
    height: calc(100vh - 7rem);
    overflow-y: auto;
}

.docs-nav-content {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.docs-nav .nav-link {
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
}

.docs-nav .nav-link:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
}

.docs-nav .nav-link.active {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    font-weight: 500;
}

.docs-content section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.docs-content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.content-section {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
}

.content-section code {
    background: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.content-section pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {

    .docs-nav-content,
    .docs-content section {
        background: #242729;
        border: 1px solid #373b3e;
    }

    .docs-nav .nav-link {
        color: #e9ecef;
    }

    .docs-content h2 {
        color: #f8f9fa;
        border-bottom-color: #373b3e;
    }

    .content-section {
        color: #adb5bd;
    }

    .content-section code {
        background: #1a1d20;
        color: #f783ac;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .docs-header {
        padding: 2rem 0;
    }

    .docs-header h1 {
        font-size: 2rem;
    }

    .docs-nav {
        position: relative;
        top: 0;
        height: auto;
        margin-bottom: 2rem;
    }

    .docs-content section {
        padding: 1.5rem;
    }
}