.sidebar {
    margin: 0;
    padding: 0;
    width: 250px;
    background-color: #ffffff;
    position: fixed;
    height: calc(100vh - 48px);
    overflow: auto;
}
.sidebar a {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 2px;
    flex-direction: row;
    color: black;
    padding: 16px;
    text-decoration: none;
    transition: 0.3s;
    div{
        width: 40px;
        height: 40px;
        margin-right: 10px;
        background: #eeeff6;
        display: flex;
        justify-content: center;
        align-items: center
    }
}
.sidebar a.active {
    font-weight: bold;
    background-color: #8c52ff;
    color: white;
    div{
        color: #8c52ff;
        background: white;
    }
}
.sidebar a:hover:not(.active) {
    background-color: #e3d5ff;
    color: black;
}
/* .sidebar{
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(40px);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 6px 14px;
    transition :0.5s;
}
.sidebar.active{
    width: 430px;
}
.sidebar .logo-menu{
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px;
}
.sidebar .logo-menu .logo{
    color: white;
    font-size: 21px;
    pointer-events: none;
    opacity: 0;
    transition : 0.3s;
}
.sidebar.active .logo-menu .logo{
    opacity: 1;
    transition-delay: 0.2s;
}
.sidebar .datetime{
    width: 100%;
    display:flex;
    justify-content: space-between;
    white-space: nowrap; 
    overflow: hidden;
    text-wrap: none;
    color: white;
    font-size: 16px;
}
#thaiDateTime {
    #thai-day, #thai-year, #thai-time {
        font-family: 'Roboto Mono', monospace;
    }
    #thai-month {
        font-family: 'kanit', sans-serif;
    }
    transition: opacity 0.1s ease-in-out;
}
.fade-out {
    opacity: 0;
}

.sidebar .logo-menu .toggle-btn{
    position : absolute;
    left : 50%;
    transform : translateX(-50%);
    height: 40px;
    width: 40px;
    font-size: 26px;
    color : white;
    text-align: center;
    line-height: 40px;
    transition : 0.5s;
}
.sidebar .logo-menu .toggle-btn:hover{
    color: #bb98ff;
    font-size: 32px;
    text-shadow: 0 0 10px #000000;
}

.sidebar.active .logo-menu .toggle-btn{
    left : 90%;
}
.sidebar .list {
    margin-top : 10px;
    padding-left: 0;
}
.list .list-item{
    list-style: none;
    width: 100%;
    height: 50px;
    margin : 10px 0;
    line-height: 50px;
    white-space: nowrap;
    transition : 0.5s;
}
.list .list-item.active a{
    background-color: rgb(187, 152, 255);
    color:#0c2333;
    box-shadow: 0 0 13px rgb(134, 73, 255);
    border: 1px solid rgb(255, 255, 255);
}
.list .list-item:hover a{
    background-color: rgb(187, 152, 255);
    color:#0c2333;
}

.list .list-item a{
    display: flex;
    align-items: center;
    font-size: 18px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    transition : 0.4s;
}
.list .list-item a i{
    min-width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.sidebar .link-name{
    opacity: 0;
    pointer-events: none;
    transition :opacity 0.3s;
}
.sidebar.active .link-name{
    opacity: 1;
    pointer-events: auto;
    transition-delay: calc(0.1s * var(--i));
} */
