﻿
.profilenav-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*background-color: rgba(72, 84, 95, 0.12);*/
    background-color: inherit;
    border-radius: 12px;
    position: relative;
}

    .profilenav-wrapper .titles {
        line-height: 1;
    }

.profile-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*background-color: rgba(72, 84, 95, 0.12);*/
    background-color: inherit;
    padding-left: 5px;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 10px;
}

    .profile-wrapper .titles {
        line-height: 1;
    }
/* Sidebar base */
#sidebar {
    padding-top: 5px;
    overflow: auto;
}

/* Sidebar container styles */
.sidebar, .sidebar-container {
    background-color: #f8f9fa;
    border-right: 1px solid #ddd;
    overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sidebar {
        width: 0;
    }

    .main-content {
        margin-left: 0 !important;
    }
}
#sidebar::-webkit-scrollbar {
    display: none;
}
#sidebar.e-close .app-logo {
    display: none;
}

#sidebar.e-close .e-menu-item {
    display: none;
}

#sidebar.e-close, .e-menu-icon {
    padding-left: 10px;
}

    #sidebar.e-close .e-anchor-wrap, #sidebar.e-close .e-menu-item.e-menu-caret-icon {
        font-size: 0px;
    }

    #sidebar.e-close .profile-wrapper .titles {
        display: none !important;
    }


    #sidebar.e-open .e-anchor-wrap,
    #sidebar.e-close .e-menu-icon, #sidebar.e-open .e-menu-icon {
        visibility: visible;
    }

#sidebar.e-open .profile-wrapper .titles, #sidebar.e-open .app-logo {
    display: flex;
}

/*#sidebar.e-sidebar.e-right.e-close {
    visibility: visible;
    transform: translateX(10%);
}*/

/*#sidebar.e-open #sidebar-toggler:before {
    content: '\f100'
}

#sidebar.e-close #sidebar-toggler:before {
    content: '\f1001'
}*/

/*#sidebar.e-close {
    padding-left: 10px;
    padding-right: 10px;
    overflow: auto;
    overflow-x: hidden;
}*/
/* Optional: sidebar toggle button style */


.app-logo {
    padding: 10px 10px;
    width: 80% !important;
    height: 80% !important;
}

/*.sidebar-container {
    background-color: #f8f9fa;  Light gray background 
    height: 100%;  Full height 
    overflow-y: auto;  Scrollable if content overflows 
    border-right: 1px solid #ddd;  Add a border to the right 
}

.sidebar {
    width: 230px;
    background-color: #f8f9fa;
    border-right: 1px solid #ddd;
    overflow-y: auto;
}*/

/*Menu*/
#menu {
    width: 100% !important;
    background-color: white;
    overflow: hidden;
}

    #menu .e-menu-item:not(.e-separator) {
        height: 50px;
        border-radius: 4px;
    }

    #menu .e-menu-item {
        box-sizing: border-box;
    }

        #menu .e-menu-item a {
            width: 100%;
            color: black;
            font-weight: 300;
            padding: 7px 5px;
            box-sizing: border-box;
        }

    #menu .e-anchor-wrap {
        display: inline-block;
    }

    #menu .e-menu-item .e-anchor-wrap span.e-menu-icon {
        /*color: rgb(171, 163, 152);*/
        color: black;
    }

    #menu .e-menu-item.e-separator {
        border: none;
        margin: 5px 5px;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 13px;
        color: #584DFD;
    }

        #menu .e-menu-item.e-separator:not(:first-child) {
            margin-top: 35px;
        }

.menu-item a:hover {
    color: #584DFD; /* Change text color on hover */
}