
/* --- Main Layout Structure --- */
body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* --- Sidebar Styles --- */
#sidebarMenu {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #fff;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.05);
}

/* --- Main Content Wrapper --- */
#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding-left: 250px; /* Sidebar width */
    transition: all 0.3s;
}


/* --- Toggled State (When Sidebar is Hidden) --- */
#wrapper.toggled #sidebarMenu {
    left: -250px;
}

#wrapper.toggled #page-content-wrapper {
    padding-left: 0;
}


/* --- Responsive Styles for Mobile/Tablet --- */
@media (max-width: 991.98px) {
    #sidebarMenu {
        left: -250px;
    }
    #wrapper.toggled #sidebarMenu {
        left: 0;
    }
    #page-content-wrapper {
        padding-left: 0;
    }
    #wrapper.toggled #page-content-wrapper {
        position: relative;
    }
}

/* Additional styling for sidebar links */
.sidebar .list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.sidebar .list-group-item-action:hover, 
.sidebar .list-group-item-action:focus {
    background-color: #f1f1f1;
}