#main-content-page{
    margin-top: 8px;
    margin-left:110px; /* Set initial margin to sidebar width */
    transition: all 0.5s ease;
}

#main-content-page.open{
    margin-left: 150px;
}

.sidebar {
    height: 100vh;
    width: 87px;
    padding: 0px 0px;
    z-index: 99;
    background-color: #ffffff;
    transition: all 0.5s ease;
    position:fixed;
    top: 10;
    left: 0;
}

.sidebar.open {
    width: 230px;
}

.sidebar .logo_details {
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.sidebar .logo_details .icon {
    opacity: 0;
    transition: all 0.5s ease;
}

.sidebar .logo_details .logo_name {
    color: white;
    font-size: 22px;
    font-weight: 600;
    opacity: 0;
    transition: all .5s ease;
}

.sidebar.open .logo_details .icon,
.sidebar.open .logo_details .logo_name {
    opacity: 1;
}

.sidebar .logo_details #btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 23px;
    text-align: center;
    cursor: pointer;
    transition: all .5s ease;
}

.sidebar.open .logo_details #btn {
    text-align: right;
}

.sidebar i{
    color: black;
    height: 40px;
    line-height: 60px;
    min-width: 30px;
    font-size: 25px;
    text-align: center;
}

.sidebar .nav-list {
    margin-top: -15px;
    height: 100%;
}

.sidebar li {
    position: relative;
    margin: 8px 0;
    list-style: none;
}

.sidebar li .tooltip {
    position: absolute;
    top: -30px;
    left: calc(100% + 6px);
    z-index: 3;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 10px;
    font-size:17px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
cursor:pointer;
}

.sidebar li .tooltip li{
 margin-left:-10px !important;
 margin-bottom:7px;
}
.sidebar li:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s ease;
    top: 50%;
    transform: translateY(-8%);
    display:block;
}

.sub-tooltip{
 cursor: pointer;
 padding:4px 2px;
 margin-left:7px;
}
.sub-tooltip a{
    
    color: black;
}
.sub-tooltip ul li{
    font-size: small;
}

.sub-tooltip li a:hover{
color:#058fab;
}

.sub-tooltip ul li{
margin-top:8px !important;
}

.sidebar li a {
    display: flex;
    height: 100%;
    width: 100%;
    font-size: 15px;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: all 0.5s ease;
    z-index: 12;
}

.sidebar li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    background-color: white;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
    transform-origin: left;
    z-index:-2;
}

.sidebar li a .link_name {
    display: flex;
    color: black;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    pointer-events: auto;
    transition: all 0.4s ease;
    z-index: -1;
    opacity: 0;
}

.sidebar li a:hover .link_name,
.sidebar li a:hover i{
  transition: all 0.5s ease;
  color:#27adb2;
}
.sidebar.open li a .link_name{
    opacity: 1;
    pointer-events: auto;
  }

.sidebar li i {
    height: 35px;
    line-height: 35px;
    font-size: 18px;
    border-radius: 5px;
}

/* .home-section {
    position: relative;
    min-height:100vh;
    top:0;
    left: 270px;
    width: calc(100%-270px);
    transition: all 0.5s ease;
    z-index: w;
} */