body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    transition: padding 0.3s ease;
}

body.menu-open {
    padding: 0 0 0 250px;

    /* #wb_fbs_shipment_submit_container {
        padding-left: 280px;
    } */
}

header {
    height: 40px;
    width: 100%;
}

#openMenuButton {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.side-nav {
    background-color: white;
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

@supports (height: 100dvh) {
    .side-nav {
        height: 100dvh;
    }
}

.side-nav.open {
    left: 0;
}

.user-info {
    padding: 20px 4px 20px 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
    flex-shrink: 0;
    /* Prevent user info from shrinking */
}

.logout-link {
    color: #FE4242;
    font-weight: 700;
    text-decoration: none;
}

.user-info-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    justify-content: space-between;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.user-details {
    font-size: 14px;
}

.user-name {
    font-weight: bold;
}

.user-position {
    color: #666;
}

#closeMenuButton {
    background: none;
    border: none;
    cursor: pointer;
}

.nav-items {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.nav-items li {
    list-style-type: none;
}

.nav-item {
    font-size: 14px;
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #000;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #ff4040;
}

.user-info-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.folder>.nav-item {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.folder-arrow {
    transition: transform 0.3s ease;
    opacity: 0.8;
    /* Makes the arrow lighter */
}

.folder>.nav-item.active .folder-arrow {
    transform: rotate(180deg);
}

.folder>.nav-item:hover .folder-arrow {
    opacity: 0.8;
    /* Slightly darker on hover for better visibility */
}

.submenu {
    display: none;
    padding-left: 20px;
}

.submenu.open {
    display: block;
}

@media (max-width: 500px) {
    .side-nav {
        width: 100vw;
        left: -100vw;
    }

    body.menu-open {
        overflow: hidden;
        /* Disable scrolling on the body when menu is open */
        padding: 0;

        /* #wb_fbs_shipment_submit_container {
            padding-left: 0px;
        } */
    }

    .nav-items-container {
        padding-bottom: 60px;
        /* Increase bottom padding for mobile */
    }
}