*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --sidebar:#111827;
    --sidebar-hover:#1f2937;
    --header:#ffffff;
    --background:#f3f4f6;
    --card:#ffffff;
    --primary:#2563eb;
    --text:#111827;
    --text-light:#6b7280;
    --border:#e5e7eb;
}

html,
body{
    width:100%;
    height:100%;
    font-family:'Inter',sans-serif;
    background:var(--background);
    color:var(--text);
}

.app{
    display:flex;
    width:100%;
    height:100vh;
}

/* =======================
   Sidebar
======================= */

.sidebar{
    width:240px;
    background:var(--sidebar);
    color:#fff;
    display:flex;
    flex-direction:column;
    flex-shrink:0;
}

.logo{
    height:70px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 24px;
    font-size:20px;
    font-weight:700;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo i{
    font-size:24px;
    color:#60a5fa;
}

#menu{
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.menu-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:10px;
    cursor:pointer;
    transition:.25s;
    color:#d1d5db;
    font-size:15px;
    user-select:none;
}

.menu-item:hover{
    background:var(--sidebar-hover);
    color:#fff;
}

.menu-item.active{
    background:var(--primary);
    color:#fff;
}

.menu-item i{
    width:20px;
    text-align:center;
}

/* =======================
   Main
======================= */

.main{
    flex:1;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

/* =======================
   Header
======================= */

.header{
    height:70px;
    background:var(--header);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
    border-bottom:1px solid var(--border);
}

.page-title{
    font-size:24px;
    font-weight:700;
}

.header-right{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    color:var(--text-light);
}

.header-right i{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#eef2ff;
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
}

/* =======================
   Content
======================= */

.content{
    flex:1;
    overflow:auto;
    padding:24px;
}

/* =======================
   Card
======================= */

.card{
    background:var(--card);
    border-radius:14px;
    padding:24px;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
}

.card-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:12px;
}

.card-text{
    color:var(--text-light);
    line-height:1.6;
}

/* =======================
   Button
======================= */

button{
    border:none;
    outline:none;
    cursor:pointer;
    font-family:inherit;
}

.btn{
    background:var(--primary);
    color:#fff;
    padding:12px 18px;
    border-radius:10px;
    font-weight:600;
    transition:.2s;
}

.btn:hover{
    opacity:.9;
}

/* =======================
   Scrollbar
======================= */

::-webkit-scrollbar{
    width:8px;
    height:8px;
}

::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:10px;
}

::-webkit-scrollbar-track{
    background:transparent;
}

/* =======================
   Responsive
======================= */

@media(max-width:768px){

    .sidebar{
        width:80px;
    }

    .logo span{
        display:none;
    }

    .menu-item span{
        display:none;
    }

    .menu-item{
        justify-content:center;
    }

    .page-title{
        font-size:20px;
    }

}