.sidebar_menu {
    width: 4.5rem !important; /* Use !important to override conflicting styles */
    min-width: 4.5rem; /* Set a minimum width */
    /*width: 70px; /* Adjust width as needed */
    /*min-width:70px;*/
    height: 100vh;
    /*position: fixed;*/
    left: 0;
    /*top: 0;*/
    background-color: green;/* #336600; /* Change the background color to green */
    padding: 5px;
    /*box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);*/
    overflow-y: auto; /* Enable vertical scrolling when content exceeds height */
    position: -webkit-sticky; /* For Safari */
    position: sticky;
}

.sidebar_menu ul {
    list-style-type: none;
    padding: 0;
}


.sidebar_menu-text {
    color: white; /* Makes the text white */
    font-size: 0.65rem; /* Slightly smaller font size */
    text-align: center; /* Centers the text below the icon */
    margin-top: 0px; /* Adds some space between the icon and text */
    margin-bottom: 20px;
}


.sidebar_menu ul li a {
    text-decoration: none;
    color: red; /* Adjust text color to ensure it's readable on green background */
    display: flex;
    align-items: center;
    padding: 1px;
    border-radius: 3px;
    margin-top: 15px;
    text-align: center;
}

.sidebar_menu ul li  img.sidebar_menu-icon {
   max-width: 50%; /* Ensure the image fits within the sidebar */
   height: auto; /* Maintain aspect ratio */
    margin: 0 auto;
}

.sidebar_menu ul li :hover {
    background-color: red;
    color: white; /* Adjust hover text color if needed */
}
.sidebar_menu ul li:hover .sidebar_menu-text {
    background-color: green;
}

.sidebar_menu ul li hr {
    margin: 0; /* Remove vertical margins */
    border: none;/* Remove default border */
    border-top: 2px solid white; /* Add a thin border */
    width: 100%; /* Ensure the hr spans the full width */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .sidebar_menu {
        display: none;
    }
}