/* =====================================================
   UP CREATIVE ERP MOBILE
   VERSION : V1
   THEME   : BLACK & WHITE
===================================================== */

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

body{
    background:#f5f5f5;
    color:#111;
    font-family:Arial,sans-serif;
    padding-bottom:80px;
}

/* =====================================================
   TOPBAR
===================================================== */

.topbar{
    position:sticky;
    top:0;
    z-index:999;

    background:#000;
    color:#fff;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px;
}

.brand{
    font-size:18px;
    font-weight:700;
    letter-spacing:.5px;
}

.username{
    font-size:12px;
    opacity:.8;
}

/* =====================================================
   CONTAINER
===================================================== */

.container{
    padding:16px;
}

/* =====================================================
   PAGE TITLE
===================================================== */

.page-title{
    font-size:24px;
    font-weight:700;
    margin-bottom:16px;
}

/* =====================================================
   KPI GRID
===================================================== */

.stats-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:20px;
}

.stat-card{
    background:#fff;

    border-radius:16px;

    padding:16px;

    box-shadow:
    0 2px 10px rgba(0,0,0,.05);
}

.stat-number{
    font-size:26px;
    font-weight:700;
    margin-bottom:5px;
}

.stat-label{
    font-size:13px;
    color:#666;
}

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

.card{
    background:#fff;

    border-radius:16px;

    padding:16px;

    margin-bottom:12px;

    box-shadow:
    0 2px 10px rgba(0,0,0,.05);
}

.card-title{
    font-size:16px;
    font-weight:700;
    margin-bottom:10px;
}

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

.quick-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.quick-menu{
    background:#fff;

    border-radius:16px;

    padding:20px;

    text-align:center;

    text-decoration:none;

    color:#111;

    font-weight:600;

    box-shadow:
    0 2px 10px rgba(0,0,0,.05);
}

.quick-menu:hover{
    background:#f0f0f0;
}

/* =====================================================
   LIST ITEM
===================================================== */

.list-item{
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.list-item:last-child{
    border-bottom:none;
}

.list-title{
    font-size:14px;
    font-weight:600;
}

.list-subtitle{
    font-size:12px;
    color:#777;
    margin-top:3px;
}

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

.btn{
    display:inline-block;

    background:#000;
    color:#fff;

    border:none;

    border-radius:10px;

    padding:10px 14px;

    text-decoration:none;

    font-size:13px;

    cursor:pointer;
}

.btn-light{
    background:#fff;
    color:#111;
    border:1px solid #ddd;
}

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

.badge{
    display:inline-block;

    padding:4px 8px;

    border-radius:20px;

    font-size:11px;

    font-weight:600;

    background:#eee;
}

.badge-success{
    background:#dff0d8;
}

.badge-warning{
    background:#fcf8e3;
}

.badge-danger{
    background:#f2dede;
}

/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.bottom-nav{
    position:fixed;

    left:0;
    right:0;
    bottom:0;

    background:#fff;

    border-top:1px solid #ddd;

    display:flex;

    justify-content:space-around;
    align-items:center;

    height:60px;

    z-index:999;
}

.bottom-nav a{
    text-decoration:none;

    color:#111;

    font-size:12px;

    font-weight:600;
}

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

@media(max-width:480px){

    .page-title{
        font-size:22px;
    }

    .stat-number{
        font-size:22px;
    }

}

.input{
    width:100%;
    border:1px solid #ddd;
    border-radius:12px;
    padding:12px;
    font-size:14px;
}

.btn{
    display:inline-block;
    margin-top:12px;
    background:#000;
    color:#fff;
    text-decoration:none;
    padding:10px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
}

.card-title{
    font-size:16px;
    font-weight:700;
    margin-bottom:10px;
}

.list-item{
    margin-bottom:10px;
}

.list-title{
    font-size:12px;
    color:#777;
}

.list-subtitle{
    font-size:14px;
    font-weight:600;
}

.status-order{
    display:inline-block;
    padding:6px 10px;
    border-radius:20px;
    background:#f3f4f6;
    font-size:12px;
    font-weight:600;
}

.grid-4{
    display:grid;
    grid-template-columns:
    repeat(2,1fr);
    gap:10px;
    margin-bottom:15px;
}

.btn-action{
    display:block;
    width:100%;
    text-align:center;
    padding:14px;
    margin-bottom:10px;
    border-radius:12px;
    background:#111827;
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.btn-action.warning{
    background:#f59e0b;
}

.btn-action.success{
    background:#10b981;
}

.input{
    width:100%;
    border:1px solid #ddd;
    border-radius:12px;
    padding:12px;
    font-size:14px;
}

.tabs{
    display:flex;
    gap:8px;
    margin-bottom:15px;
}

.tab{
    flex:1;

    text-align:center;

    padding:10px;

    background:#fff;

    border-radius:10px;

    text-decoration:none;

    color:#111;

    font-size:13px;

    font-weight:600;
}

.order-card{

    background:#fff;

    border-radius:16px;

    padding:16px;

    margin-bottom:12px;

    box-shadow:
    0 2px 10px rgba(0,0,0,.05);

}

.order-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:10px;

}

.order-number{

    font-size:15px;

    font-weight:700;

}

.order-status{

    font-size:12px;

    color:#666;

}

.order-customer{

    font-size:14px;

    margin-bottom:8px;

}

.order-total{

    font-size:18px;

    font-weight:700;

    margin-bottom:8px;

}

.order-payment{

    font-size:12px;

    color:#666;

    margin-bottom:12px;

}

.section-title{

    font-size:18px;
    font-weight:700;

    margin-top:20px;
    margin-bottom:10px;

}

.mini-card{

    background:#fff;

    border-radius:14px;

    padding:14px;

    margin-bottom:10px;

    box-shadow:
    0 2px 10px rgba(0,0,0,.05);

}

.mini-order{

    font-size:14px;
    font-weight:700;

    margin-bottom:6px;

}

.mini-customer{

    font-size:13px;
    color:#666;

    margin-bottom:10px;

}

.mini-btn{

    display:inline-block;

    padding:8px 12px;

    background:#000;

    color:#fff;

    border-radius:8px;

    text-decoration:none;

    font-size:12px;

}

.status-finish{

    text-align:center;

    padding:14px;

    background:#ecfdf5;

    color:#059669;

    font-weight:700;

    border-radius:12px;

}