
#sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: linear-gradient(135deg, #FF7E5F, #FFB347);
    transition: left 0.3s ease-in-out;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
    padding-top: 60px;
    text-align: center;
    overflow-y: auto; 
    scrollbar-width: thin; 
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    z-index: 1; 
}



.sidebar-logo {
    width: 100%;
    padding: 10px 0; 
}

.sidebar-logo img {
    max-width: 50%; 
    height: auto;
    border-radius: 15px; 
    transition: transform 0.3s ease-in-out;
    filter: invert(41%) sepia(100%) saturate(361%) hue-rotate(167deg) brightness(89%) contrast(93%);

}


.sidebar-logo img:hover {
    transform: scale(1.05);
    
}


#sidebar ul {
    list-style-type: none;
    padding: 0;
}

#sidebar ul li {
    padding: 15px;
    text-align: center;
}

#sidebar ul li a {
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
    border-radius: 20px;
    padding: 10px;
}


#sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    color: #357ABD;
}


#close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}


#open-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: #FF7E5F;
    cursor: pointer;
    transition: color 0.3s;
}


#open-btn:hover {
    color: #357ABD;

}


.sidebar-active {
    left: 0 !important;
}


#sidebar::-webkit-scrollbar {
    width: 6px; 
}

#sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2); 
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-track {
    background: transparent; 
}


#sidebar {
    scrollbar-gutter: stable;
}

.scroll-spacer {
    height: 100px; 
    flex-shrink: 0;
}

