:root {
        --primary: #1e40af;
        --bg-main: #f8fafc;
    }

    body { 
        font-family: 'Inter', sans-serif; 
        background-color: var(--bg-main);
        color: #1e293b;
        -webkit-tap-highlight-color: transparent; 
    }

    /* NAVIGASI: Tetap Besar & Mantap */
    nav { background: white; border-bottom: 1px solid #e2e8f0; }
    .nav-link { 
        font-size: 14px !important; 
        font-weight: 700; 
        padding: 12px 20px; 
        white-space: nowrap;
        color: #64748b;
        display: flex;
        align-items: center;
    }
    .tab-active { 
        color: var(--primary) !important;
        border-bottom: 3px solid var(--primary);
    }

    /* KARTU DASHBOARD: Desain Bersih & Elegan (Sesuai yang Kamu Suka) */
    .stat-card {
        background: white;
        padding: 24px;
        border-radius: 20px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    }
    .card-netto { border-left: 4px solid #1e40af; }
    .card-dalam { border-left: 4px solid #3b82f6; }
    .card-luar { border-left: 4px solid #f97316; }

    .label-stats { font-size: 10px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
    .amount-stats { font-size: 24px; font-weight: 900; color: #0f172a; }

    /* MENU INPUT: Kembali ke Desain Mantap & Presisi */
    .row-kerja {
        display: flex;
        align-items: flex-end; /* Menyejajarkan bagian bawah agar presisi */
        gap: 15px;
        background: white;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        margin-bottom: 12px;
    }

    .input-qty { 
        width: 130px !important; 
        height: 54px !important; 
        font-size: 20px !important; 
        font-weight: 800 !important;
        text-align: center;
        border: 2px solid #cbd5e1 !important;
        border-radius: 12px !important;
        outline: none;
        background: #f1f5f9;
    }

    .label-kecil { font-size: 10px; font-weight: 800; color: #64748b; margin-bottom: 6px; text-transform: uppercase; }

    .sel-kerja-container {
        flex: 1;
        height: 54px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 0 15px;
        display: flex;
        align-items: center;
    }

    /* Tabel & Global */
    td, select, input, option, .font-bold, button, h2, h3 { text-transform: uppercase !important; }
    .no-scrollbar::-webkit-scrollbar { display: none; }

   /* Mengembalikan Grid menjadi 2 kolom agar simpel */
    .setup-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Membagi dua layar */
        gap: 20px;
    }

    /* Memastikan list item tetap memanjang di dalam kolomnya */
    .setup-list-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    /* Area scroll yang pas, tidak terlalu panjang */
    .scroll-setup {
        max-height: 250px; 
        overflow-y: auto;
        padding-right: 5px;
        margin-top: 15px;
    }

    /* Responsif untuk HP tetap satu kolom */
    @media (max-width: 768px) {
        .setup-grid { grid-template-columns: 1fr; }
    }
/* Styling Badge Premium */
.badge-dalam {
    background-color: #dbeafe; /* Biru Muda */
    color: #1e40af;           /* Biru Tua */
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid #bfdbfe;
}

.badge-luar {
    background-color: #ffedd5; /* Oranye Muda */
    color: #9a3412;           /* Oranye Tua */
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid #fed7aa;
}