/* assets/css/style.css */
:root {
    --primary: #FACC15; /* Kuning Cerah */
    --accent: #DC2626;  /* Merah */
    --bg-soft: #F9FAFB; /* Soft Grey/White */
    --text-dark: #1F2937;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-dark);
    margin: 0;
    padding-bottom: 80px; /* Jarak untuk tombol fixed di mobile */
}

/* Navigasi */
nav {
    background-color: var(--primary);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav h1 {
    color: var(--accent);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -1px;
}

/* Container & Cards */
.container {
    max-width: 500px; /* Mobile-first design */
    margin: 0 auto;
    padding: 1rem;
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid #f3f4f6;
}

/* Form Elements */
.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

input[type="text"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Tombol Besar (Mobile Friendly) */
.btn-primary {
    background-color: var(--accent);
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.1s;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.btn-primary:active {
    transform: scale(0.96);
}

/* Stepper Input untuk Karyawan */
.stepper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-step {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-minus { background-color: #e5e7eb; }
.btn-plus { background-color: var(--primary); color: var(--accent); }

/* Dashboard Cards (Executive) */
.stat-card {
    border-left: 6px solid var(--primary);
}

.stat-profit {
    border-left-color: #10B981; /* Hijau untuk Profit */
}