/* ====== Layout Adjustments ====== */
.docs-wrapper {
    display: flex;
    min-height: calc(100vh - 64px);
    margin-top: 64px;
    background-color: #f9fafb;
}

/* ====== Sidebar ====== */
.docs-sidebar {
    width: 250px;
    background-color: #f1f5f9;
    color: #0d47a1;
    padding: 25px 20px;
    position: relative;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    border-right: 1px solid #e2e8f0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.docs-sidebar h6 {
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 15px;
    margin-top: 50px;

}

.docs-sidebar a {
    color: #37474f;
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease-in-out;
    padding: 6px 10px;
    border-radius: 6px;
}

.docs-sidebar a:hover,
.docs-sidebar a.active {
    background-color: #e3f2fd;
    color: #0d47a1;
    font-weight: 600;
}

/* ====== Content ====== */
.docs-content {
    padding: 60px 50px;
    width: calc(100% - 270px);
    background-color: #fff;
    min-height: 100vh;
}

.docs-content h3 {
    color: #0d47a1;
    margin-bottom: 20px;
}

.docs-content .section {
    margin-top: 80px; 
    scroll-margin-top: 120px;
}

.docs-content h4 {
    color: #1976d2;
    margin-bottom: 10px;
}

.docs-content p {
    color: #37474f;
    line-height: 1.7;
}

code {
    background: #f1f1f1;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .docs-sidebar {
        position: relative;
        width: 100%;
        border-right: none;
        box-shadow: none;
    }

    .docs-content {
        margin-left: 0;
        width: 100%;
        padding: 30px 20px;
    }

    .docs-content .section {
        margin-top: 60px;
    }
}