/* Aanvullende styling voor Bootswatch Lux theme */
/* Voorbeeld van aanpassingen */

#sidebar {
    min-width: 250px;
    max-width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #343a40; /* bg-dark kleur */
    overflow-y: auto;
    padding-top: 20px;
}

#sidebar .list-group {
    padding-left: 0;
}

#sidebar .list-group-item {
    border: none;
    padding: 10px 20px;
    background-color: #343a40; /* bg-dark kleur */
    color: #ffffff;
}

/* Menu section styling */
.menu-section {
    margin-bottom: 2px;
}

/* Parent menu items (clickable headers) */
.menu-header {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.menu-header:hover {
    background-color: #495057 !important;
    color: #ffffff !important;
}

.menu-header .collapse-icon {
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.menu-header[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

/* Sub-menu container */
.menu-subitems {
    background-color: #2c3136;
    border-left: 3px solid #ff8a00;
    margin-left: 10px;
}

/* Individual sub-menu items */
.menu-subitem {
    padding: 8px 15px 8px 30px !important;
    background-color: #2c3136 !important;
    border: none !important;
    color: #ced4da !important;
    font-size: 0.9em;
    transition: all 0.2s ease;
    border-radius: 0 !important;
}

.menu-subitem:hover {
    background-color: #ff8a00 !important;
    color: #ffffff !important;
    padding-left: 35px !important;
    text-decoration: none;
}

.menu-subitem i {
    margin-right: 8px;
    font-size: 0.8em;
}

/* Bootstrap collapse transition override */
.collapse {
    transition: height 0.3s ease;
}

#sidebar .list-group-item a {
    display: block;
    color: #ffffff;
    text-decoration: none;
}

#sidebar .list-group-item a:hover {
    color: #007bff;
    background-color: #495057; /* hover kleur voor sub-items */
}

#sidebar .list-group-item .fw-bold {
    font-weight: 700;
    color: #ffffff;
}

#sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: #343a40; /* bg-dark kleur */
    border-top: 1px solid #dee2e6; /* Optioneel: scheidingsteken bovenaan de footer */
}

#sidebar-footer a {
    text-decoration: none;
    display: block;
    color: #ffffff;
}

#sidebar-footer a:hover {
    color: #007bff;
}

#content {
    margin-left: 250px; /* Width of the sidebar */
    padding: 20px;
    flex-grow: 1;
}

.fixed-top-content {
    position: sticky;
    top: 0;
    z-index: 1030;
    /* Z-index Bootstrap navbar */
    background-color: #212529;
    /* Dark theme background color */
}
.modal-buttons {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
}

.modal-buttons button {
    margin-left: 10px;
}