.topbar{
    height:65px;
    background:#fff;
    display:flex;
    align-items:center;
    padding:0 20px;
    box-shadow:0 2px 15px rgba(0,0,0,.06);
    position:sticky;
    top:0;
    z-index:100;
}

.menu-toggle{
    width:45px;
    height:45px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:#fff;
    font-size:18px;
    cursor:pointer;
    transition:.25s;
}

.menu-toggle:hover{
    transform:scale(1.05);
    background:#1d4ed8;
}

/* =========================
   OVERLAY
========================== */

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(3px);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:998;
}

.overlay.show{
    opacity:1;
    visibility:visible;
}

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

.sidebar{
    width:290px;
    height:100vh;
    background:#1f2937;
    position:fixed;
    top:0;
    right:0;
    z-index:999;

    transform:translateX(100%);
    transition:transform .35s cubic-bezier(.4,0,.2,1);

    overflow-y:auto;
    box-shadow:-10px 0 40px rgba(0,0,0,.25);
}

.sidebar.show{
    transform:translateX(0);
}

/* Scrollbar */

.sidebar::-webkit-scrollbar{
    width:6px;
}

.sidebar::-webkit-scrollbar-thumb{
    background:#4b5563;
    border-radius:20px;
}

/* =========================
   BRAND
========================== */

.brand{
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    border-bottom:1px solid rgba(255,255,255,.06);
    color:#fff;
}

.brand-title{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:20px;
    font-weight:bold;
}

.close-btn{
    width:36px;
    height:36px;
    border:none;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    color:#fff;
    cursor:pointer;
    transition:.2s;
}

.close-btn:hover{
    background:rgba(255,255,255,.15);
}

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

.sidebar-menu{
    padding:15px 0;
}

.menu-label{
    color:#6b7280;
    font-size:12px;
    padding:12px 22px;
    letter-spacing:.5px;
}

.nav-link{
    font-size: 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:4px 6px;
    border-radius:6px;
    color:#d1d5db;
    text-decoration:none;
    cursor:pointer;
    transition:.25s;
    user-select:none;
}

.nav-link:hover{
    transform:translateX(-3px);
}

.nav-link.active{
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:#fff;
    box-shadow:0 8px 20px rgba(37,99,235,.35);
}

.nav-right{
    display:flex;
    align-items:center;
    gap:13px;
}

.nav-icon{
    width:22px;
    text-align:center;
    font-size:15px;
}

.arrow{
    font-size:12px;
    transition:transform .3s ease;
}

/* =========================
   SUBMENU
========================== */

.nav-tree{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    padding-right:8px;
    padding-left:8px;
}

.nav-tree .nav-link{
    margin-top:6px;
    background:rgba(255,255,255,.03);
    font-size:12px;
    border: 1px solid #eee;
}

.nav-tree .nav-tree .nav-link{
    margin-right:4px;
    font-size:12px;
}

.nav-item.open > .nav-tree{
    max-height:1000px;
}

.nav-item.open > .nav-link{
    background:#374151;
    color:#fff;
}

.nav-item.open > .nav-link .arrow{
    transform:rotate(-90deg);
}

/* =========================
   CONTENT
========================== */

.content{
    padding:30px;
}

.card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 5px 25px rgba(0,0,0,.05);
}

.card h1{
    margin-bottom:10px;
    color:#111827;
}

.card p{
    color:#6b7280;
    line-height:2;
}
