:root{
    --primary:#2563EB;
    --secondary:#4F46E5;

    --success:#10B981;
    --danger:#EF4444;
    --warning:#F59E0B;

    --bg:#F8FAFC;
    --card:#FFFFFF;
    --border:#E5E7EB;

    --text:#111827;
    --muted:#6B7280;
}
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
background:#f5f7fb;
}

.wrapper{
display:flex;
min-height:100vh;
}

/* Sidebar */



.menu li.active{
    background:var(--primary);
    color:#fff;
}
.sidebar{
width:270px;
background:#fff;
    border-right:1px solid var(--border);
padding:20px;
transition:.3s;
}

.stock-in{
    background:rgba(16,185,129,.08);
    color:var(--success);
}
.stock-out{
    background:rgba(239,68,68,.08);
    color:var(--danger);
}
.badge-low-stock{
    background:#FEE2E2;
    color:#DC2626;
}



.header-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.user-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#2563EB;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.user-avatar:hover{
    transform:scale(1.05);
}

.profile-dropdown{
    width:260px;
    border:none;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    padding:10px 0;
    margin-top:10px;
}

.profile-avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#2563EB;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:700;
    margin:auto;
}

.dropdown-item{
    padding:12px 20px;
    transition:.3s;
}

.dropdown-item:hover{
    background:#F3F4F6;
}

.notification-icon{
    font-size:20px;
    cursor:pointer;
}

.logo-area{
margin-bottom:40px;
}

.logo-area h3{
font-weight:700;
color:#2d5bff;
}

.logo-area span{
font-size:13px;
color:#888;
}

.menu{
list-style:none;
padding:0;
}

.menu li{
padding:14px 18px;
margin-bottom:8px;
border-radius:12px;
cursor:pointer;
transition:.3s;
}

.menu li:hover{
background:#f3f5ff;
}

.menu li.active{
background:#2d5bff;
color:white;
}

.menu i{
margin-right:10px;
}

/* Main */

.main-content{
flex:1;
padding:25px;
}

.dashboard-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
}

.header-right{
display:flex;
gap:20px;
align-items:center;
}

.user-avatar{
width:40px;
height:40px;
background:#2d5bff;
color:white;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
}

.dashboard-card{
background:white;
padding:25px;
border-radius:20px;
box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.dashboard-card h6{
color:#777;
}

.dashboard-card h2{
font-weight:700;
margin-top:10px;
}

.dashboard-box{
border:none;
border-radius:20px;
box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.card-body{
padding:25px;
}

/* Mobile */

@media(max-width:991px){

.sidebar{
position:fixed;
left:-280px;
top:0;
height:100%;
z-index:1000;
}

.sidebar.show{
left:0;
}

.main-content{
width:100%;
padding:15px;
}

.dashboard-header h2{
font-size:24px;
}

}

@media(max-width:576px){

.dashboard-card{
padding:18px;
}

.card-body{
padding:18px;
}

.dashboard-header{
flex-wrap:wrap;
gap:15px;
}

}