
    #sideNav {
        transition: width 0.3s ease;
        font-size: 0.875rem;
        /* 14px */
        line-height: 1.25rem;
        /* 20px */
        height: 100vh;
        /* Take full height */
        overflow-y: auto;
        /* Allow scrolling if content exceeds height */
    }

    #sideNav[data-expanded="false"] {
        width: 4rem;
    }

    #sideNav[data-expanded="true"] {
        width: 16rem;
    }

    #sideNav .nav-link {
        font-size: inherit;
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    #sideNav .nav-text {
        font-size: inherit;
    }

    #sideNav[data-expanded="false"] .nav-text {
        display: none;
    }

    #sideNav[data-expanded="false"] .nav-link {
        justify-content: center;
    }

    #sideNav[data-expanded="true"] .nav-link {
        justify-content: flex-start;
    }

    #sideNav .nav-link.active {
        background-color: #4B5563;
        /* bg-gray-600 */
        color: #ffffff;
        /* text-white */
    }

    #sideNav .nav-link:not(.active) {
        color: #D1D5DB;
        /* text-gray-300 */
    }

    #sideNav .nav-link:hover {
        border-radius: 0.5rem;
        background-color: #4B5563;
        color: #ffffff;
        /* text-white */
    }


/* Add these new styles while keeping your existing #sideNav styles */
.side-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 40;
    background-color: #1F2937;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.content-wrapper {
    transition: margin-left 0.3s ease;
    margin-left: 4rem;
}

#sideNav[data-expanded="true"] ~ .content-wrapper {
    margin-left: 16rem;
}

/* Additional styles for nav text transitions */
.nav-text {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}