/* =============================================================
   ESS Payroll – Responsive Web App (Mobile-first, melebar di desktop)
   Plus Jakarta Sans + Material card style
   ============================================================= */

* { box-sizing: border-box; }

:root {
    --primary: #1e40af;       /* blue-700 corporate navy */
    --primary-dark: #1e3a8a;  /* blue-800 */
    --primary-light: #3b82f6; /* blue-500 */
    --accent: #f59e0b;
    --bg: #eff6ff;            /* blue-50 (subtle professional bluish) */
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --success: #16a34a;
    --warn: #f59e0b;
    --danger: #dc2626;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);

    /* Responsive container widths */
    --content-max: 720px;          /* default kontainer konten */
    --content-max-wide: 1100px;    /* untuk halaman admin/laporan */
    --bottom-nav-h: 64px;
    --header-h: 64px;
}

html, body {
    margin: 0; padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(1200px 600px at 0% -10%, rgba(59,130,246,.10), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(30,64,175,.08), transparent 60%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

/* App Shell – full width, content terpusat dengan max-width */
.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

/* ---------- Header (sticky) ---------- */
.app-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(30, 64, 175, .25);
}
.header-inner {
    max-width: var(--content-max-wide);
    margin: 0 auto;
    padding: 14px 20px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.hello { font-size: 12px; opacity: .85; }
.hello-name { font-size: 17px; font-weight: 700; }
.header-right { display: flex; align-items: center; gap: 12px; }
.role-badge {
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.3);
    color: white; font-size: 11px; font-weight: 600;
    padding: 4px 12px; border-radius: 999px;
}
.logout-btn {
    color: white; width: 36px; height: 36px;
    border-radius: 50%; background: rgba(255,255,255,.18);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: background .2s;
}
.logout-btn:hover { background: rgba(255,255,255,.32); }

/* ---------- Main content ---------- */
.app-content {
    flex: 1;
    padding-bottom: calc(var(--bottom-nav-h) + 24px);
}
.content-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 16px 16px;
}
/* Halaman wide (Admin Reports/Analytics/Employees) */
.wide-page .content-inner { max-width: var(--content-max-wide); }

/* Back Strip – muncul di setiap halaman selain Dashboard */
.back-strip {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--text); text-decoration: none;
    font-size: 13px; font-weight: 600;
    padding: 8px 14px 8px 10px; border-radius: 999px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    transition: transform .12s, box-shadow .12s;
}
.back-strip:hover { transform: translateX(-2px); box-shadow: 0 10px 20px rgba(15,23,42,.12); }
.back-strip i { color: var(--primary); }

/* ---------- Bottom nav (sticky, full width) ---------- */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 40;
    box-shadow: 0 -4px 16px rgba(15,23,42,.06);
}
.bottom-nav-inner {
    max-width: var(--content-max-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav.nav-5 .bottom-nav-inner { grid-template-columns: repeat(5, 1fr); }
.nav-badge {
    position: absolute; top: -2px; right: calc(50% - 22px);
    background: var(--danger); color: white;
    font-size: 9px; font-weight: 800;
    min-width: 16px; height: 16px; border-radius: 999px;
    padding: 0 4px; display: inline-flex; align-items: center; justify-content: center;
}
.bottom-nav a {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: var(--muted);
    font-size: 11px; font-weight: 500;
    padding: 4px 0; transition: color .2s;
}
.bottom-nav a i { font-size: 19px; margin-bottom: 4px; }
.bottom-nav a.active { color: var(--primary); }
.bottom-nav a.active i { transform: translateY(-2px); transition: transform .2s; }

/* ---------- Dashboard ---------- */
.dashboard { display: flex; flex-direction: column; gap: 16px; }
.balance-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.balance-card::after {
    content: ""; position: absolute; right: -40px; bottom: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,.08); border-radius: 50%;
}
.balance-label { font-size: 12px; opacity: .9; }
.balance-amount { font-size: 30px; font-weight: 800; margin-top: 6px; }
.balance-period { font-size: 12px; opacity: .85; margin-top: 4px; }
.balance-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: white; text-decoration: none; font-size: 13px;
    margin-top: 14px; opacity: .95;
}

.stat-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.stat-card {
    background: white; border-radius: 16px; padding: 16px;
    box-shadow: var(--shadow);
    position: relative;
}
.stat-card i {
    font-size: 18px; color: var(--primary);
    background: rgba(30,64,175,.1);
    width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
}
.stat-label { font-size: 12px; color: var(--muted); margin-top: 8px; }
.stat-value { font-size: 20px; font-weight: 700; }
.stat-value small { font-size: 12px; font-weight: 500; color: var(--muted); }

.section-title {
    font-size: 14px; font-weight: 700;
    margin: 14px 4px 8px; color: var(--text);
}

.menu-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.menu-item {
    background: white; border-radius: 14px; padding: 16px 12px;
    text-decoration: none; color: var(--text);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    box-shadow: var(--shadow);
    font-size: 12px; font-weight: 600;
    transition: transform .15s, box-shadow .15s;
}
.menu-item:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15,23,42,.12); }
.menu-item i {
    font-size: 22px; width: 44px; height: 44px;
    border-radius: 12px; display: inline-flex;
    align-items: center; justify-content: center; color: white;
}
.menu-1 i { background: #1e40af; }
.menu-2 i { background: #2563eb; }
.menu-3 i { background: #f59e0b; }
.menu-4 i { background: #db2777; }
.menu-5 i { background: #7c3aed; }
.menu-6 i { background: #475569; }

/* ---------- Auth ---------- */
.auth-screen {
    min-height: calc(100vh - 40px);
    padding: 16px 24px;
    display: flex; flex-direction: column; gap: 16px;
    max-width: 420px; margin: 0 auto;
}
.auth-logo { text-align: center; margin: 30px 0 12px; }
.logo-icon {
    width: 76px; height: 76px; border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; font-size: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(30, 64, 175, .35);
}
.auth-logo h1 { margin: 14px 0 4px; font-size: 24px; }
.auth-logo p { margin: 0; color: var(--muted); font-size: 13px; }

.auth-form {
    display: flex; flex-direction: column; gap: 12px;
    background: white; padding: 22px; border-radius: 18px; box-shadow: var(--shadow);
}
.input-group { position: relative; display: flex; align-items: center; }
.input-group i { position: absolute; left: 14px; color: var(--muted); font-size: 14px; }
.input-group input {
    width: 100%; padding: 12px 14px 12px 40px;
    border: 1px solid var(--border); border-radius: 12px;
    background: #f8fafc; font-size: 14px;
    transition: border-color .2s, background .2s;
    font-family: inherit;
}
.input-group input:focus { outline: none; border-color: var(--primary); background: white; }
.auth-hint {
    background: #f0fdfa; border: 1px solid #99f6e4;
    color: #1e3a8a; font-size: 12px;
    padding: 10px 12px; border-radius: 10px;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 18px; border-radius: 12px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    border: none; text-decoration: none;
    transition: transform .12s, box-shadow .12s, background .2s;
    font-family: inherit;
}
.btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 6px 14px rgba(30,64,175,.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-primary:disabled { background: #94a3b8; box-shadow: none; cursor: not-allowed; }
.btn-secondary {
    background: white; color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-secondary:disabled { color: #94a3b8; border-color: #cbd5e1; cursor: not-allowed; }
.btn-primary.big, .btn-secondary.big { padding: 14px 18px; font-size: 15px; flex: 1; }

.page-title {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 20px; font-weight: 700;
    margin: 4px 4px 14px;
    flex-wrap: wrap; gap: 8px;
}
.page-action {
    background: var(--primary); color: white; font-size: 12px; font-weight: 600;
    padding: 6px 12px; border-radius: 999px; text-decoration: none;
}
/* legacy inline back button (existing pages) – sembunyikan, kita pakai global .back-strip */
.back-btn { display: none; }

/* ---------- Forms / Cards ---------- */
.form-card {
    background: white; padding: 18px; border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 10px;
}
.form-card label { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.form-card input, .form-card select, .form-card textarea {
    width: 100%; padding: 10px 12px; border-radius: 10px;
    border: 1px solid var(--border); background: #f8fafc;
    font-size: 14px; font-family: inherit;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
    outline: none; border-color: var(--primary); background: white;
}
.form-card button { margin-top: 10px; }
.form-error {
    background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
    padding: 10px; border-radius: 10px; font-size: 12px;
}

/* ---------- List Cards ---------- */
.list-card {
    background: white; border-radius: 14px; padding: 16px;
    box-shadow: var(--shadow); margin-bottom: 10px;
}
.list-card.small {
    padding: 12px; display: flex; align-items: center; justify-content: space-between;
}
.list-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.list-title { font-weight: 700; font-size: 14px; }
.list-body { margin: 8px 0 0; font-size: 13px; color: var(--text); }
.muted { color: var(--muted); font-size: 12px; }
.strong { font-weight: 700; font-size: 15px; }

.status {
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #dcfce7; color: #166534; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-ontime { background: #dcfce7; color: #166534; }
.status-late { background: #fef3c7; color: #92400e; }
.status-absent { background: #fee2e2; color: #991b1b; }

.inline-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-approve, .btn-reject {
    flex: 1; border: none; padding: 8px 12px; border-radius: 10px;
    font-size: 12px; font-weight: 600; cursor: pointer; color: white;
    font-family: inherit;
}
.btn-approve { background: var(--success); }
.btn-reject { background: var(--danger); }

.chip {
    display: inline-block; background: rgba(30,64,175,.1); color: var(--primary);
    font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 999px; margin-top: 6px;
}

/* ---------- Profile ---------- */
.profile-card {
    background: white; border-radius: 18px; padding: 24px;
    box-shadow: var(--shadow); text-align: center; margin-bottom: 14px;
}
.profile-avatar {
    width: 96px; height: 96px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; font-size: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
    position: relative;
}
.profile-avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.profile-avatar-edit {
    position: absolute; bottom: 0; right: 0;
    background: var(--accent); color: white;
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 3px solid white; cursor: pointer; font-size: 12px;
}
.profile-card h3 { margin: 6px 0 4px; }

.info-list {
    background: white; border-radius: 16px; padding: 8px 16px;
    box-shadow: var(--shadow); margin-bottom: 14px;
}
.info-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0; border-bottom: 1px solid #f1f5f9;
}
.info-row:last-child { border-bottom: none; }
.info-row > i {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(30,64,175,.08); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ---------- Attendance ---------- */
.attendance-card {
    background: white; border-radius: 18px; padding: 20px;
    box-shadow: var(--shadow); text-align: center; margin-bottom: 16px;
}
.attendance-clock {
    font-size: 42px; font-weight: 800; color: var(--primary);
    letter-spacing: 1px;
}
.attendance-date { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.attendance-row {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    background: #f8fafc; border-radius: 12px; padding: 12px;
    text-align: center;
}
.office-info {
    margin-top: 14px; padding: 10px;
    background: #ecfeff; color: #155e75; border-radius: 10px;
    font-size: 12px; display: flex; align-items: center; gap: 8px; justify-content: center;
}
.geo-status {
    margin-top: 10px; padding: 10px; border-radius: 10px;
    font-size: 12px; background: #f1f5f9; color: var(--muted);
}
.geo-status.ok { background: #ecfdf5; color: #065f46; }
.geo-status.err { background: #fef2f2; color: #991b1b; }
.attendance-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ---------- Quota bar ---------- */
.quota-bar {
    background: white; border-radius: 14px; padding: 14px 16px;
    box-shadow: var(--shadow); margin-bottom: 12px;
    display: flex; justify-content: space-between; align-items: center;
}
.quota-label { font-size: 12px; color: var(--muted); }
.quota-value { font-size: 18px; font-weight: 800; color: var(--primary); }
.quota-value small { font-size: 11px; color: var(--muted); }

/* ---------- Payslip ---------- */
.payslip-card {
    background: white; border-radius: 14px; padding: 14px 16px;
    box-shadow: var(--shadow); margin-bottom: 10px;
    display: flex; align-items: center; justify-content: space-between;
    text-decoration: none; color: var(--text);
}
.payslip-amount { font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.payslip-amount i { color: var(--muted); font-size: 12px; }

.slip-card { background: white; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.slip-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; padding: 20px; text-align: center;
}
.slip-header .muted { color: rgba(255,255,255,.85); }
.slip-company { font-weight: 800; font-size: 17px; margin-bottom: 4px; }

.slip-section { padding: 14px 18px; border-bottom: 1px dashed #e2e8f0; }
.slip-section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.slip-section-title.green { color: var(--success); }
.slip-section-title.red { color: var(--danger); }
.slip-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.slip-row.total { font-weight: 700; border-top: 1px solid #e2e8f0; margin-top: 8px; padding-top: 8px; }
.slip-net {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--primary); color: white;
    padding: 16px 18px; font-weight: 800; font-size: 16px;
}

/* ---------- Toast ---------- */
.toast-success, .toast-error {
    padding: 12px 14px; border-radius: 10px;
    font-size: 13px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.toast-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.toast-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.page-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.big-icon { font-size: 48px; opacity: .35; margin-bottom: 12px; }

/* ---------- Analytics charts ---------- */
.chart-card {
    background: white; border-radius: 16px; padding: 16px;
    box-shadow: var(--shadow); margin-bottom: 14px;
    height: 260px;
}
.rank-badge {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--bg); color: var(--text);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
}
.rank-badge.rank-1 { background: linear-gradient(135deg,#fbbf24,#f59e0b); color: white; }
.rank-badge.rank-2 { background: linear-gradient(135deg,#94a3b8,#64748b); color: white; }
.rank-badge.rank-3 { background: linear-gradient(135deg,#fb923c,#ea580c); color: white; }

.dept-bar { background: white; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); margin-bottom: 8px; }
.dept-bar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.dept-bar-track { width: 100%; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; margin-bottom: 4px; }
.dept-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 4px; transition: width .4s ease; }

/* ---------- Camera capture (selfie absen) ---------- */
.camera-box { margin-top: 14px; background: #0b1220; border-radius: 14px; padding: 12px; text-align: center; }
.camera-box video,
.camera-box img {
    width: 100%; max-width: 480px;
    aspect-ratio: 4/3;
    background: #000; border-radius: 10px;
    object-fit: cover;
    transform: scaleX(-1);
}
.camera-box img { transform: none; }
.camera-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.camera-actions .btn-primary,
.camera-actions .btn-secondary { font-size: 13px; padding: 10px 8px; }

.history-card { display: flex; align-items: center; gap: 10px; padding: 12px; }
.history-thumbs { display: flex; gap: 4px; }
.history-thumbs .thumb {
    width: 36px; height: 36px;
    border-radius: 6px; object-fit: cover;
    border: 1px solid var(--border);
}

/* ---------- Language switcher ---------- */
.lang-switcher {
    display: inline-flex; gap: 4px;
    background: rgba(255,255,255,.15);
    padding: 3px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
}
.lang-switcher a {
    color: rgba(255,255,255,.85);
    font-size: 11px; font-weight: 700;
    padding: 4px 9px; border-radius: 999px;
    text-decoration: none; line-height: 1;
    transition: background .2s, color .2s;
}
.lang-switcher a:hover { background: rgba(255,255,255,.1); }
.lang-switcher a.active { background: white; color: var(--primary); }

/* Variant terang untuk halaman tanpa header gelap (Login) */
.lang-switcher.light {
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.lang-switcher.light a { color: var(--muted); }
.lang-switcher.light a:hover { background: #f1f5f9; color: var(--text); }
.lang-switcher.light a.active { background: var(--primary); color: white; }

.lang-bar-anon {
    display: flex; justify-content: flex-end;
    max-width: var(--content-max-wide);
    margin: 0 auto;
    padding: 14px 20px 0;
}

/* ---------- Tables (untuk admin / installments) ---------- */
.data-table {
    width: 100%; border-collapse: collapse;
    background: white; border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 13px;
}
.data-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}
.data-table th, .data-table td {
    text-align: left; padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}
.data-table th { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #f8fafc; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- PWA install + push buttons ---------- */
.pwa-install-btn {
    position: fixed; bottom: calc(var(--bottom-nav-h) + 14px); right: 18px;
    z-index: 100;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white; border: none;
    padding: 12px 18px; border-radius: 999px;
    font-weight: 700; font-size: 13px;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 10px 24px rgba(234,88,12,.4);
    font-family: inherit;
    animation: pulse-install 2.4s ease-in-out infinite;
}
.push-enable-btn {
    position: fixed; bottom: calc(var(--bottom-nav-h) + 14px); left: 18px;
    z-index: 100;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white; border: none;
    padding: 12px 18px; border-radius: 999px;
    font-weight: 700; font-size: 13px;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 10px 24px rgba(30,64,175,.4);
    font-family: inherit;
}
@keyframes pulse-install {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* ---------- Breakpoints ----------
   Mobile (<640px) : tampilan mobile-first
   Tablet (>=640px): kontainer melebar, menu grid 4 kolom
   Desktop (>=1024px): kontainer 1100px, menu grid 6 kolom, stat 4 kolom
*/
@media (min-width: 640px) {
    :root { --bottom-nav-h: 68px; }
    .content-inner { padding: 24px 24px; }
    .menu-grid { grid-template-columns: repeat(4, 1fr); }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .page-title { font-size: 22px; }
}

@media (min-width: 1024px) {
    .content-inner { padding: 28px 28px; }
    .menu-grid { grid-template-columns: repeat(6, 1fr); }
    .header-inner { padding: 16px 28px 18px; }
    .balance-amount { font-size: 36px; }
}

/* ---------- Print (PDF slip gaji) ---------- */
@media print {
    body { background: white !important; }
    .app-shell { display: block; }
    .app-header, .bottom-nav, .back-strip, .page-action,
    .no-print, .toast-success, .toast-error, .pwa-install-btn, .push-enable-btn { display: none !important; }
    .app-content { padding: 0 !important; }
    .content-inner { max-width: 100% !important; padding: 0 !important; }
    .slip-card { box-shadow: none !important; border: 1px solid #ddd; }
}
