#wrapper {
    display: flex;
    position: relative;
    min-height: 100vh;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin 0.25s ease-out;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    position: relative;
    width: 15rem;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
    background-color: #e9ecef;
    border-bottom: 1px solid #dee2e6;
    height: 3.5rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#sidebar-wrapper .sidebar-dropdown-ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #dee2e6;
}

#sidebar-wrapper .sidebar-dropdown-ul:last-child {
    border-bottom: none;
}

#sidebar-wrapper .nav-item {
    width: 100%;
}

#sidebar-wrapper .list-group-item {
    border: none;
    padding: 0.75rem 1.25rem;
    color: #495057;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    position: relative;
}

#sidebar-wrapper .list-group-item:hover {
    background-color: #e7f1ff;
    color: #0d6efd;
    padding-left: 1.5rem;
}

#sidebar-wrapper .list-group-item:hover i {
    color: #0d6efd;
}

#sidebar-wrapper .list-group-item.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    border-right: 4px solid #0d6efd;
    font-weight: 500;
}

#sidebar-wrapper .list-group-item.active i {
    color: #0d6efd;
}

#sidebar-wrapper .dropdown-menu {
    border: none;
    background-color: #f8f9fa;
    box-shadow: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #dee2e6;
}

#sidebar-wrapper .dropdown-item {
    padding: 0.5rem 1.25rem;
    color: #495057;
    transition: all 0.3s ease;
    border-bottom: 1px solid #0d6efd;
}

#sidebar-wrapper .dropdown-item:hover {
    background-color: #e7f1ff;
    color: #0d6efd;
    padding-left: 1.5rem;

}

#sidebar-wrapper .dropdown-item.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
    border-right: 5px solid #0d6efd;
}

#menu-toggle {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    width: 15rem;
    height: 3rem;
    color: #495057;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

#menu-toggle:hover {
    background-color: #e7f1ff;
    color: #0d6efd;
}

#menu-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#wrapper.toggled #menu-toggle {
    width: 3rem;
}

#wrapper.toggled #menu-toggle i {
    transform: rotate(180deg);
}

#page-content-wrapper {
    min-width: 100vw;
    margin-left: 0;
    display: flex;
    flex-direction: column;
}

#page-content-wrapper .container-fluid {
    display: flex;
    flex-direction: column;
}

#page-content-wrapper .row {
    width: 100%;
}

#page-content-wrapper .col-12 {
    display: flex;
    justify-content: flex-start;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

.title {
    padding: 0.875rem 1.25rem;
    font-size: 1.5rem;
    background-color: #e9ecef;
    border-bottom: 1px solid #dee2e6;
    margin: 0;
    color: #495057;
    display: flex;
    align-items: center;
    width: 100%;
    height: 3.5rem;
}

.title .btn {
    margin-left: 0.5rem;
}

.text-center.pt-2 {
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}

.sidebar-headings.text-center.small.text-muted.ps-3 {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}