/* GENERAL */
body.doc-body {
    background: #f8f9fb;
    font-family: "Inter", sans-serif;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    position: fixed;
    top: 60px;
    bottom: 0;
    left: -270px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 1000;
}

.sidebar.show {
    left: 0;
}

.sidebar .nav-link {
    padding: 10px 15px;
    border-radius: 8px;
    color: #444;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background: #eef5ff;
    color: #0d6efd;
}

.nav-link-toggle {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding-left: 0;
    font-weight: bold;
    cursor: pointer;
}

.submenu {
    display: none;
    padding-left: 10px;
}

.menu-group.open .submenu {
    display: block;
}

/* OVERLAY MOBILE */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 999;
}

/* CONTENT */
.content {
    margin-left: 290px;
    transition: 0.3s;
}

@media(max-width: 992px) {
    .content { margin-left: 0; }
}

/* TITLES */
h2 {
    margin-top: 35px;
    font-weight: 700;
    color: #1b1f3b;
    padding-bottom: 8px;
    border-bottom: 2px solid #0d6efd10;
}

/* CODE BLOCKS */
pre {
    background: #1e1e2f;
    color: #e5e5e5;
    padding: 12px 18px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
    white-space: pre-wrap;
}

/* BUTTONS */
.btn-outline-primary, .btn-outline-success {
    border-radius: 20px;
}
