*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Inter,Segoe UI,Arial,sans-serif;
    background:#f5f7fb;
    color:#1f2937;
}

a{
    text-decoration:none;
}

.wrapper{
    display:flex;
    min-height:100vh;
}

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

.sidebar{
    width:260px;
    background:#111827;
    color:#fff;
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    display:flex;
    flex-direction:column;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    padding:25px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo-icon{
    width:46px;
    height:46px;
    border-radius:12px;
    background:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    font-size:18px;
}

.logo-title{
    font-size:18px;
    font-weight:700;
}

.menu{
    padding:20px 15px;
    flex:1;
}

.menu a{
    display:flex;
    align-items:center;
    gap:12px;
    color:#cbd5e1;
    padding:13px 15px;
    margin-bottom:6px;
    border-radius:10px;
    transition:.2s;
}

.menu a:hover{
    background:#2563eb;
    color:#fff;
}

.sidebar-footer{
    padding:20px;
    border-top:1px solid rgba(255,255,255,.08);
    font-size:14px;
    color:#94a3b8;
}

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

.main{
    margin-left:260px;
    width:calc(100% - 260px);
}

.navbar-custom{
    height:70px;
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 30px;
}

.content{
    padding:30px;
}

.page-title{
    font-size:30px;
    font-weight:700;
}

.page-desc{
    color:#6b7280;
    margin-top:6px;
    margin-bottom:30px;
}

/* ===========================
   TOOLBAR
=========================== */

.toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.search-box{
    width:350px;
    background:#fff;
    border:1px solid #d1d5db;
    border-radius:10px;
    display:flex;
    align-items:center;
    padding:10px 15px;
}

.search-box input{
    width:100%;
    border:none;
    outline:none;
    margin-left:10px;
    background:none;
}

/* ===========================
   CARD
=========================== */

.card{
    border:none!important;
    border-radius:15px;
    overflow:hidden;
}

.card-body{
    padding:25px;
}

/* ===========================
   TABLE
=========================== */

.table{
    margin-bottom:0;
}

.table thead{
    background:#f8fafc;
}

.table th{
    font-size:14px;
    color:#64748b;
    font-weight:600;
    padding:18px;
}

.table td{
    padding:18px;
    vertical-align:middle;
}

/* ===========================
   BUTTON
=========================== */

.btn{
    border-radius:10px;
}

.btn-primary{
    background:#2563eb;
    border:none;
}

.btn-primary:hover{
    background:#1d4ed8;
}

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

.badge{
    padding:7px 12px;
    border-radius:30px;
}

/* ===========================
   DASHBOARD
=========================== */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:30px;
}

.stat-card{
    background:#fff;
    border-radius:15px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.stat-card h5{
    color:#64748b;
    font-size:15px;
}

.stat-card h2{
    margin-top:10px;
    font-size:34px;
}

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

@media(max-width:992px){

.sidebar{
    width:80px;
}

.logo-title,
.logo small,
.menu span,
.sidebar-footer{
    display:none;
}

.main{
    margin-left:80px;
    width:calc(100% - 80px);
}

.stats{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.toolbar{
    flex-direction:column;
    gap:15px;
}

.search-box{
    width:100%;
}

.stats{
    grid-template-columns:1fr;
}

}
