/* General reset and styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Sidebar styles */
#wrapper {
    display: flex;
    min-height: 100vh;
}

#sidebar-wrapper {
    width: 250px;
    background-color: #343a40;
    color: white;
    padding-top: 20px;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar-heading {
    font-size: 24px;
    font-weight: bold;
    color: white;
    padding: 15px;
    text-align: center;
    background-color: #23272b;
    border-bottom: 2px solid #ddd;
    margin-bottom: 10px;
}

.list-group {
    list-style-type: none;
    padding: 0;
}

.list-group-item {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: #007bff;
    cursor: pointer;
}

.list-group-item-action {
    border-bottom: 1px solid #495057;
}

/* Page content area styles */
#page-content-wrapper {
    margin-left: 250px;
    flex-grow: 1;
    padding: 20px;
    background-color: #f8f9fa;
    transition: margin-left 0.3s ease;
}

#page-content-wrapper .container-fluid {
    padding: 20px;
}

/* Hover effect and active state for sidebar items */
.list-group-item:hover, .list-group-item.active {
    background-color: #007bff;
}

.list-group-item.active {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sidebar-wrapper {
        width: 200px;
    }
    #page-content-wrapper {
        margin-left: 200px;
    }
}

@media (max-width: 576px) {
    #sidebar-wrapper {
        width: 100%;
        position: relative;
    }
    #page-content-wrapper {
        margin-left: 0;
    }
}
