/* ==========================================================
   SIDEBAR
========================================================== */

.sidebar{

    width:270px;

    background:#0f172a;

    color:#fff;

    min-height:100vh;

    position:fixed;

    left:0;

    top:0;

    z-index:999;

    overflow-y:auto;

    transition:.30s;

    box-shadow:
        4px 0 20px rgba(0,0,0,.15);

}

.sidebar::-webkit-scrollbar{

    width:6px;

}

.sidebar::-webkit-scrollbar-thumb{

    background:#334155;

    border-radius:10px;

}

/* ==========================================================
   LOGO
========================================================== */

.sidebar-logo{

    padding:25px;

    text-align:center;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.sidebar-logo img{

    width:70px;

    margin-bottom:15px;

}

.sidebar-logo h2{

    font-size:22px;

    font-weight:700;

}

.sidebar-logo span{

    display:block;

    color:#94a3b8;

    margin-top:6px;

    font-size:14px;

}

/* ==========================================================
   MENU
========================================================== */

.sidebar-menu{

    list-style:none;

    padding:20px 0;

}

.sidebar-menu li{

    margin-bottom:5px;

}

.sidebar-menu li a{

    display:flex;

    align-items:center;

    gap:15px;

    padding:14px 22px;

    color:#cbd5e1;

    text-decoration:none;

    transition:.25s;

    border-left:4px solid transparent;

}

.sidebar-menu li a i{

    width:22px;

    text-align:center;

    font-size:18px;

}

.sidebar-menu li a:hover{

    background:#1e293b;

    color:#fff;

    border-left:4px solid #2563eb;

}

.sidebar-menu li.active a{

    background:#2563eb;

    color:#fff;

    border-left:4px solid #60a5fa;

}

/* ==========================================================
   MENU TITLE
========================================================== */

.sidebar-title{

    padding:18px 22px 8px;

    font-size:12px;

    text-transform:uppercase;

    color:#64748b;

    letter-spacing:1px;

}

/* ==========================================================
   BADGE
========================================================== */

.sidebar-menu .badge{

    margin-left:auto;

    background:#dc2626;

    color:#fff;

    border-radius:20px;

    padding:2px 8px;

    font-size:11px;

}

/* ==========================================================
   USER
========================================================== */

.sidebar-user{

    margin:20px;

    background:#1e293b;

    border-radius:14px;

    padding:15px;

    display:flex;

    align-items:center;

    gap:15px;

}

.sidebar-user img{

    width:52px;

    height:52px;

    border-radius:50%;

    object-fit:cover;

}

.sidebar-user h4{

    font-size:15px;

    margin-bottom:3px;

}

.sidebar-user span{

    font-size:12px;

    color:#94a3b8;

}

/* ==========================================================
   FOOTER
========================================================== */

.sidebar-footer{

    position:absolute;

    bottom:20px;

    width:100%;

    text-align:center;

    color:#64748b;

    font-size:12px;

}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:991px){

.sidebar{

    left:-270px;

}

.sidebar.show{

    left:0;

}

}