@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{

    --sidebar-bg:#070c14;
    --sidebar-card:#0f1622;

    --border:rgba(255,255,255,.04);

    --text:#f1f5f9;
    --muted:#7c8aa0;

    --gold:#f0b90b;

    --green:#00c076;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{

    position:fixed;

    left:0;
    top:0;

    width:260px;
    height:100vh;

    background:var(--sidebar-bg);

    border-right:
    1px solid var(--border);

    display:flex;

    flex-direction:column;

    z-index:1000;
}

/* =========================
   GRID EFFECT
========================= */

.sidebar::before{

    content:"";

    position:absolute;

    inset:0;

    background-image:
    linear-gradient(
        rgba(255,255,255,.01) 1px,
        transparent 1px
    ),
    linear-gradient(
        90deg,
        rgba(255,255,255,.01) 1px,
        transparent 1px
    );

    background-size:30px 30px;

    pointer-events:none;
}

/* =========================
   LOGO
========================= */

.logo{

    position:relative;

    padding:22px;

    border-bottom:
    1px solid var(--border);
}

.logo-title{

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

    color:var(--text);

    text-transform:uppercase;
}

.logo-sub{

    margin-top:6px;

    font-size:11px;

    color:var(--muted);

    letter-spacing:1px;
}

.logo-status{

    margin-top:12px;

    display:flex;

    align-items:center;

    gap:8px;

    font-size:11px;

    color:var(--green);

    letter-spacing:1px;
}

.logo-status::before{

    content:"";

    width:7px;
    height:7px;

    border-radius:50%;

    background:var(--green);

    box-shadow:
    0 0 10px var(--green);
}

/* =========================
   SECTION TITLE
========================= */

.sidebar-section{

    padding:20px 18px 10px;
}

.sidebar-section-title{

    font-size:10px;

    color:var(--muted);

    letter-spacing:2px;

    text-transform:uppercase;
}

/* =========================
   MENU
========================= */

.sidebar-menu{

    list-style:none;

    padding:0 12px;

    margin:0;
}

.sidebar-menu li{

    margin-bottom:4px;
}

.sidebar-menu a{

    display:flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

    color:var(--muted);

    font-size:13px;

    font-weight:500;

    padding:12px 14px;

    border-radius:12px;

    transition:.2s;
}
/* Hover */
/* ICON */

.sidebar-menu a i{

    width:18px;

    min-width:18px;

    text-align:center;

    font-size:15px;

    color:#ceaf2b;

    transition:.2s;
}

/* Hover */

.sidebar-menu a:hover i{

    color:white;
}

/* Active */

.sidebar-menu .active a i{

    color:var(--gold);
}
.sidebar-menu a:hover{

    background:
    rgba(255,255,255,.03);

    color:var(--text);
}

/* Active */

.sidebar-menu .active a{

    background:
    linear-gradient(
        90deg,
        rgba(240,185,11,.12),
        rgba(240,185,11,.03)
    );

    color:white;

    border:
    1px solid rgba(240,185,11,.15);
}

/* =========================
   MENU BADGE
========================= */

.menu-badge{

    padding:4px 8px;

    border-radius:999px;

    font-size:10px;

    color:var(--gold);

    background:
    rgba(240,185,11,.08);
}

/* =========================
   SYSTEM PANEL
========================= */

.sidebar-system{

    margin-top:auto;

    padding:15px;

    border-top:
    1px solid var(--border);
}

.system-card{

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.02),
        rgba(255,255,255,.01)
    );

    border:
    1px solid var(--border);

    border-radius:14px;

    padding:14px;
}

.system-title{

    font-size:11px;

    color:var(--muted);

    letter-spacing:1px;

    margin-bottom:10px;
}

.system-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:8px;

    font-size:12px;
}

.system-row:last-child{

    margin-bottom:0;
}

.system-label{

    color:var(--muted);
}

.system-value{

    color:white;

    font-weight:600;
}

/* =========================
   SCROLLBAR
========================= */

.sidebar::-webkit-scrollbar{

    width:6px;
}

.sidebar::-webkit-scrollbar-track{

    background:transparent;
}

.sidebar::-webkit-scrollbar-thumb{

    background:
    rgba(255,255,255,.08);

    border-radius:20px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .sidebar{

        transform:translateX(-100%);

        transition:.3s;
    }

    .sidebar.open{

        transform:translateX(0);
    }
}