/* assets/css/style.css */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar-wrapper {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background-color: #343a40;
    color: #fff;
    transition: all 0.3s;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #4b545c;
}

#sidebar-wrapper .list-group-item {
    background-color: transparent;
    color: #cfd8dc;
    border: none;
    padding: 1rem 1.25rem;
}

#sidebar-wrapper .list-group-item:hover {
    background-color: #495057;
    color: #fff;
}

#sidebar-wrapper .list-group-item.active {
    background-color: #0d6efd;
    color: #fff;
    font-weight: bold;
}

#page-content-wrapper {
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }
}

/* Sidebar Accordion Overrides */
#sidebar-wrapper .accordion-button {
    color: #cfd8dc;
    padding: 1rem 1.25rem;
}

#sidebar-wrapper .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

#sidebar-wrapper .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

#sidebar-wrapper .accordion-button::after {
    filter: invert(1);
    /* Make default arrow white */
}