/* ===== Konter Digital — tampilan ala aplikasi konter (flat, hijau) ===== */
/* Inter Tight (variable, self-hosted agar jalan offline juga) */
@font-face {
    font-family: 'Inter Tight';
    src: url('../fonts/inter-tight-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
.ppob-wrap {
    --ppob-green: #16a34a;
    --ppob-green-dark: #15803d;
    --ppob-green-deep: #14532d;
    --ppob-lime: #a3e635;
    --ppob-ink: #171a26;
    --ppob-muted: #6a7183;
    --ppob-line: #e7e9f4;
    --ppob-bg: #ffffff;
    --ppob-card: #f8fafc;
    --ppob-soft: #dcfce7;
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ppob-ink);
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--ppob-bg);
    box-sizing: border-box;
    position: relative;
}
.ppob-wrap * { box-sizing: border-box; }
.ppob-wrap h1, .ppob-wrap h2, .ppob-wrap h3, .ppob-wrap h4, .ppob-wrap h5, .ppob-wrap h6 { letter-spacing: -0.02em; margin: 0; font-weight: 600; }
.ppob-wrap b, .ppob-wrap strong { font-weight: 600; }
.ppob-wrap button { font-family: inherit; }

/* ================= SPLASH (gambar dari user, full-bleed) ================= */
.ppob-splash {
    position: fixed; inset: 0; z-index: 100;
    height: 100vh; height: 100dvh; /* full layar, tidak bisa di-scroll */
    overflow: hidden;
    background: var(--ppob-green-deep) url('../img/splash.jpg') center / cover no-repeat;
    display: flex;
    transition: opacity .3s ease;
}
/* selama splash tampil, halaman di belakang dikunci */
html.ppob-lock, html.ppob-lock body { overflow: hidden !important; height: 100%; overscroll-behavior: none; }
.ppob-splash.hide { opacity: 0; pointer-events: none; }
.ppob-splash-inner {
    width: 100%; display: flex; flex-direction: column; align-items: center;
    text-align: center; color: #fff;
    padding: 20% 24px 7%;
}
.ppob-splash-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 92px; height: 92px; border-radius: 24px; overflow: hidden;
    background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22); flex-shrink: 0;
}
.ppob-splash-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ppob-splash h1 { font-size: 30px; font-weight: 600; letter-spacing: 1px; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.ppob-splash p { color: #d9f99d; font-size: 15px; line-height: 1.55; margin: 10px 0 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.ppob-splash-btn {
    margin-top: auto;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: min(80%, 300px);
    background: var(--ppob-lime); color: #1a2e05; border: none; cursor: pointer;
    font-weight: 600; font-size: 15.5px; border-radius: 999px; padding: 15px 30px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.ppob-splash-btn:hover { background: #bef264; }

/* ================= APP frame ================= */
.ppob-main { display: flex; flex-direction: column; min-height: 100vh; padding-bottom: 92px; }
.ppob-topbar { position: static; background: transparent; border-bottom: none; }
.ppob-topbar--sticky { position: sticky; top: 0; z-index: 40; background: #fff; } /* semua layar selain Beranda */
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; min-height: 58px; }
.app-brand { display: flex; align-items: center; gap: 10px; }
.app-logo {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
    background: var(--ppob-green); color: #fff; /* fallback saat logo gambar belum ada */
    display: flex; align-items: center; justify-content: center;
}
.app-logo:has(> img) { background: transparent; border-radius: 12px; } /* logo asli tampil apa adanya */
.app-brand-txt b { font-size: 17px; display: block; line-height: 1.05; } /* dirapatkan */
.app-brand-txt small { color: var(--ppob-muted); font-size: 11.5px; line-height: 1; display: block; margin-top: 1px; }
.app-iconbtn {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ppob-line);
    background: #fff; color: var(--ppob-ink); cursor: pointer; /* background putih */
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(23, 26, 38, .06);
}
.app-logo-h { height: 42px; width: auto; display: block; }
.app-back {
    width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent;
    color: var(--ppob-ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.app-back:hover { background: var(--ppob-bg); }
.app-back-spacer { width: 34px; }
.app-title { font-size: 16.5px; }
.ppob-screen { padding: 14px 14px 20px; flex: 1; }

/* ================= navbar bawah ================= */
.ppob-actionbar {
    position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 100%; max-width: 430px; z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--ppob-line);
    box-shadow: 0 -8px 20px rgba(23, 26, 38, .08);
}
.ppob-actionbar[hidden], .ppob-navbar[hidden] { display: none !important; }
.ppob-actionbar .app-cta { width: 100%; min-height: 50px; margin: 0; }
.ppob-actionbar .ppob-auth-skip { width: 100%; min-height: 50px; margin: 0; border-radius: 999px; background: #fff; }
.app-action-summary { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; margin: 0 3px 8px; color: var(--ppob-muted); font-size: 12px; line-height: 1.2; text-align: center; }
.app-action-summary strong { color: var(--ppob-green-dark); font-size: 15px; font-weight: 600; text-align: center; }
.app-action-summary[hidden] { display: none !important; }
.ppob-navbar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 430px; z-index: 50;
    display: flex; align-items: center; background: #fff;
    border: none; border-top: 1px solid var(--ppob-line); border-radius: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(23, 26, 38, .08);
}
.ppob-nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 0; min-height: 48px; padding: 3px 2px; border: none; background: transparent; border-radius: 14px;
    font-size: 10.5px; line-height: 1.1; font-weight: 600; color: var(--ppob-muted); cursor: pointer;
}
.ppob-nav-item .ppob-nav-icon { display: flex; position: relative; }
.ppob-nav-item.active { color: var(--ppob-green-dark); }
.app-empty-big { text-align: center; color: var(--ppob-muted); padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-empty-big b { color: var(--ppob-ink); font-size: 15px; }
.app-note { color: var(--ppob-muted); font-size: 12px; margin: 8px 0 10px; }
/* ================= kartu & elemen umum ================= */
.app-card {
    background: var(--ppob-card); border: 1px solid var(--ppob-line);
    border-radius: 16px; padding: 14px 16px; margin-bottom: 12px;
}
.app-card-title { font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.ppob-auth-card { max-width: 440px; margin: 26px auto; padding: 22px 20px; }
.ppob-auth-card .app-card-title { font-size: 19px; margin-bottom: 6px; }
.app-auth-copy, .ppob-auth-copy { color: var(--ppob-muted); font-size: 13px; line-height: 1.55; margin: 0 0 17px; }
.ppob-auth-card .app-cta { margin-top: 4px; }
.ppob-auth-link { width: 100%; justify-content: center; margin: 14px 0 0; text-align: center; }
.ppob-auth-switch { width: 100%; justify-content: center; margin: 15px 0 0; }
.ppob-auth-skip { width: 100%; margin-top: 12px; padding: 12px; }
.ppob-auth-foot { color: var(--ppob-muted); font-size: 11.5px; line-height: 1.5; margin: 14px 0 0; }
.ppob-auth-message { margin-bottom: 8px; }
@media (max-width: 480px) { .ppob-auth-card { margin: 18px auto; padding: 20px 17px; } }
.app-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 0; font-size: 13.5px; }
.app-line.sub { color: var(--ppob-muted); }
.app-line.total { border-top: 1px dashed var(--ppob-line); margin-top: 6px; padding-top: 10px; font-size: 15px; }
.app-line.total b { color: var(--ppob-green-dark); font-size: 18px; }
.app-line-prod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-line-logo { line-height: 0; flex-shrink: 0; }
.app-line-prod small { display: block; color: var(--ppob-muted); font-size: 11.5px; }
.app-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    background: var(--ppob-green); color: #fff; border: none; border-radius: 14px;
    padding: 15px 16px; font-weight: 600; font-size: 15px; cursor: pointer; margin-top: 6px;
}
.app-cta:hover { background: var(--ppob-green-dark); }
.app-cta:disabled { opacity: .65; cursor: default; }
.app-cta--sm { padding: 12px 14px; font-size: 14px; }
.app-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    background: #fff; color: var(--ppob-ink); border: 1.5px solid var(--ppob-line);
    border-radius: 12px; padding: 11px 14px; font-weight: 600; font-size: 13.5px; cursor: pointer;
}
.app-ghost:hover { border-color: var(--ppob-green); color: var(--ppob-green-dark); }
.app-ghost:disabled { opacity: .55; }
.app-error { color: #b91c1c; font-size: 13px; min-height: 18px; margin-top: 8px; font-weight: 600; }
.app-loading { color: var(--ppob-muted); font-size: 13.5px; }
.app-empty { text-align: center; color: var(--ppob-muted); font-size: 13.5px; padding: 22px 8px; line-height: 1.9; }
.app-empty svg { color: #c7cbe0; }
.app-link { border: none; background: none; color: var(--ppob-green-dark); font-weight: 600; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; padding: 0; }

/* ================= BERANDA ================= */
.app-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--ppob-soft); border-radius: 18px; padding: 16px 18px; margin-bottom: 0;
    overflow: hidden;
}
.app-banner--img { padding: 0; background: none; }
.app-banner--img img { display: block; width: 100%; height: auto; border-radius: 18px; }
.app-banner-txt b { font-size: 17px; line-height: 1.25; color: var(--ppob-green-deep); }
.app-banner-txt small { display: block; color: #3f6212; font-size: 11.5px; margin-top: 5px; font-weight: 600; }
.app-banner-art { color: var(--ppob-green); opacity: .9; flex-shrink: 0; }
.app-search {
    display: flex; align-items: center; gap: 8px;
    background: var(--ppob-card); border: 1px solid var(--ppob-line); border-radius: 999px;
    padding: 11px 15px; margin: -24px 12px 16px; /* tumpang tindih di bawah banner */
    position: relative; z-index: 2;
    box-shadow: 0 8px 20px rgba(23, 26, 38, .12);
    color: var(--ppob-muted);
}
.app-search input { border: none; outline: none; flex: 1; font: inherit; font-size: 14px; background: transparent; color: var(--ppob-ink); }
.app-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; } /* 4 kategori per baris; jarak ekstra sebelum produk populer */
.app-cat {
    min-width: 0;
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    border: none; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ppob-ink);
    padding: 4px 0;
}
.app-cat-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}
.app-sec-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 2px 10px; font-size: 15.5px; }
.app-sec-head > b { font-size: 18px; font-weight: 600; }
.app-prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-prod {
    display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 100%; text-align: left;
    background: var(--ppob-card); border: 1px solid var(--ppob-line); border-radius: 16px;
    padding: 10px; cursor: pointer;
}
.app-prod:hover { border-color: var(--ppob-green); }
.app-prod-tile {
    display: flex; align-items: center; justify-content: center;
    height: 74px; border-radius: 12px; overflow: hidden;
}
.app-prod-tile .tile-logo-img { width: 44px; height: 44px; object-fit: contain; }
.app-prod-tile svg { width: 44px; height: 44px; }
.app-prod-name { font-weight: 600; font-size: 12.5px; line-height: 1.3; min-height: 32px; }
.app-prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.app-prod-price { color: var(--ppob-green-dark); font-weight: 600; font-size: 13px; }
.app-prod--custom .app-custom-ico { color: var(--ppob-green-dark); display: flex; align-items: center; justify-content: center; }

/* ================= alur pilih brand / produk ================= */
.app-brand-intro { margin: 2px 2px 12px; }
.app-brand-intro b { display: block; font-size: 15px; }
.app-brand-intro small { display: block; margin-top: 3px; color: var(--ppob-muted); font-size: 12px; }
.app-brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-brand-option {
    min-width: 0; min-height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    padding: 10px 6px; border: 1px solid var(--ppob-line); border-radius: 16px; background: var(--ppob-card);
    color: var(--ppob-ink); cursor: pointer; text-align: center;
}
.app-brand-option:active { border-color: var(--ppob-green); background: #f0fdf4; }
.app-brand-mark { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; }
.app-brand-mark img { width: 50px; height: 50px; object-fit: contain; }
.app-brand-mark svg { width: 50px; height: 50px; }
.app-brand-option b { max-width: 100%; overflow-wrap: anywhere; font-size: 12px; line-height: 1.15; }
.app-brand-option small { color: var(--ppob-muted); font-size: 10.5px; }
.app-brand-selected { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; }
.app-brand-selected-logo { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex: 0 0 48px; }
.app-brand-selected-logo img, .app-brand-selected-logo svg { width: 48px; height: 48px; object-fit: contain; }
.app-brand-selected small, .app-brand-selected b { display: block; }
.app-brand-selected small { color: var(--ppob-muted); font-size: 11px; margin-bottom: 2px; }
.app-brand-selected b { font-size: 15px; }
.app-brand-form { padding: 13px 14px; }
.app-brand-form .app-card-title { margin-bottom: 9px; }
.app-brand-section { margin-bottom: 12px; }
.app-brand-manual { padding: 13px 14px; }
.app-nominal-entry {
    display: flex; align-items: center; gap: 8px; min-height: 48px;
    padding: 7px 13px; border: 1.5px solid var(--ppob-line); border-radius: 12px; background: #fff;
}
.app-nominal-entry:focus-within { border-color: var(--ppob-green); }
.app-nominal-entry > span { color: var(--ppob-muted); font-size: 14px; font-weight: 500; }
.app-nominal-entry input {
    width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent;
    color: var(--ppob-ink); font: inherit; font-size: 23px; line-height: 1.2; font-weight: 600;
}
.app-nominal-entry input::placeholder { color: #aeb4c2; opacity: 1; }
.app-nominal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-nominal-option {
    min-width: 0; min-height: 52px; padding: 7px 5px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px;
    border: 1px solid var(--ppob-line); border-radius: 9px; background: #fff; color: var(--ppob-ink);
    text-align: center; cursor: pointer;
}
.app-nominal-option.selected { border: 2px solid var(--ppob-green); background: #f0fdf4; padding: 6px 4px; }
.app-nominal-option .app-nominal-rp { color: var(--ppob-muted); font-size: 9px; font-weight: 500; }
.app-nominal-option > b { font-size: 14px; line-height: 1.2; font-weight: 600; }
.app-nominal-option small { display: block; flex: 0 0 100%; color: var(--ppob-muted); font-size: 9px; line-height: 1.1; }
.app-nominal-option .app-nominal-product-name { font-size: 10px; line-height: 1.2; overflow-wrap: anywhere; }
.app-nominal-option:active { border-color: var(--ppob-green); }
.app-brand-help { display: block; margin-top: 8px; padding: 9px 10px; border-radius: 8px; background: #fef2f2; color: #b91c1c; font-size: 12px; font-weight: 600; }
.app-brand-help[hidden] { display: none !important; }
.app-brand-manual.app-field-invalid .app-nominal-entry { border-color: #ef4444; background: #fef2f2; }
@media (max-width: 360px) {
    .app-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-brand-products .app-prod { padding: 8px; }
}

/* ================= DETAIL PRODUK ================= */
.app-detail-head {
    display: flex; align-items: center; gap: 14px; padding: 15px;
    background: var(--ppob-card); border: 1px solid var(--ppob-line);
    border-radius: 18px; margin-bottom: 12px; text-align: left;
}
.app-detail-logo {
    width: 66px; height: 66px; flex: 0 0 66px; border-radius: 17px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.app-detail-logo .tile-logo-img { width: 56px; height: 56px; object-fit: contain; }
.app-detail-logo svg { width: 56px; height: 56px; }
.app-detail-copy { flex: 1; min-width: 0; text-align: left; }
.app-detail-category { display: block; margin-bottom: 3px; color: var(--ppob-muted); font-size: 11px; font-weight: 600; }
.app-detail-name { font-size: 18px; line-height: 1.2; text-align: left; padding: 0; overflow-wrap: anywhere; }
.app-detail-price { text-align: left; color: var(--ppob-green-dark); font-weight: 600; font-size: 23px; line-height: 1.2; margin-top: 5px; }
.app-detail-note {
    display: flex; align-items: center; justify-content: flex-start; gap: 8px;
    background: var(--ppob-soft); color: #166534; font-size: 12.5px; font-weight: 600;
    text-align: left; border-radius: 12px; padding: 10px 13px; margin: 0 0 14px;
}
.app-detail-note svg { flex: 0 0 16px; }
.app-detail-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.app-detail-actions .app-cta { flex: 1; min-width: 0; min-height: 50px; margin-top: 0; }
.app-form { display: flex; flex-direction: column; gap: 10px; padding: 0 2px; }
.app-field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--ppob-ink); }
.app-field .opt { color: var(--ppob-muted); font-weight: 500; }
.app-field input {
    width: 100%; border: 1.5px solid var(--ppob-line); border-radius: 12px;
    padding: 12px 13px; font: inherit; font-size: 14px; outline: none; background: #fff; color: var(--ppob-ink);
}
.app-field input:focus { border-color: var(--ppob-green); }
.app-field-invalid input, .app-field-invalid input:focus { border-color: #ef4444; background: #fef2f2; }
.app-field-notice { display: block; margin-top: 5px; color: #b91c1c !important; font-size: 12px !important; font-weight: 600; }
.app-field-notice[hidden] { display: none !important; }
.app-field small { color: var(--ppob-muted); font-size: 11.5px; }

/* ================= CHECKOUT ================= */
.app-pays { display: flex; flex-direction: column; gap: 8px; }
.app-pay {
    display: flex; align-items: center; gap: 11px;
    border: 1.5px solid var(--ppob-line); border-radius: 13px; padding: 11px 13px; cursor: pointer; background: #fff;
}
.app-pay:has(input:checked) { border-color: var(--ppob-green); background: #f0fdf4; }
.app-pay input { accent-color: var(--ppob-green); width: 16px; height: 16px; margin: 0; }
.app-pay-ico {
    width: 34px; height: 34px; border-radius: 10px; background: var(--ppob-bg); color: var(--ppob-green-dark);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.app-pay-txt b { font-size: 13.5px; display: block; }
.app-pay-txt small { color: var(--ppob-muted); font-size: 11.5px; }
.app-pickup-ico {
    width: 40px; height: 40px; border-radius: 12px; background: var(--ppob-soft); color: var(--ppob-green-dark);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ================= HASIL / QR ================= */
.app-success { text-align: center; padding: 10px 4px 0; }
.app-success-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 74px; height: 74px; border-radius: 50%;
    background: var(--ppob-green); color: #fff; margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(22, 163, 74, .35);
}
.app-success h2 { font-size: 22px; }
.app-success-sub { color: var(--ppob-muted); font-size: 13.5px; margin: 6px 0 14px; }
.app-qr-card {
    display: inline-flex; background: #fff; border: 1px solid var(--ppob-line); border-radius: 18px;
    padding: 14px; margin-bottom: 10px;
}
.app-qr-label { display: block; color: var(--ppob-muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.app-order-code {
    display: inline-block; font-family: ui-monospace, Menlo, Consolas, monospace;
    font-weight: 600; font-size: 17px; letter-spacing: .5px; color: var(--ppob-green-deep);
    background: var(--ppob-soft); border-radius: 10px; padding: 7px 14px; margin: 5px 0 10px;
    user-select: all;
}
.app-order-code--sm { font-size: 12.5px; padding: 4px 9px; margin: 0; }
.app-exp {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fef9c3; color: #854d0e; border: 1px solid #fde68a;
    font-size: 12px; font-weight: 600; border-radius: 999px; padding: 5px 12px; margin-bottom: 6px;
}
.app-payconfirm { text-align: left; }
.app-payconfirm.done { background: #f0fdf4; border-color: var(--ppob-green); }
.app-payconfirm.later { background: var(--ppob-bg); }
.app-pc-q { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; margin: 0 0 10px; }
.app-pc-btns { display: flex; flex-direction: column; gap: 9px; }
.app-pc-btns .app-cta { margin-top: 0; }
.app-pc-btns .app-ghost { flex: 1; }
.app-pc-note { font-size: 12px; color: var(--ppob-muted); margin: 10px 0 0; line-height: 1.6; }
.app-pc-note[hidden] { display: none !important; }
.app-result-order { margin: 12px 0; padding: 16px; text-align: left; }
.app-result-product { color: var(--ppob-ink); font-size: 15px; line-height: 1.35; font-weight: 600; }
.app-result-customer { margin-top: 5px; color: var(--ppob-ink); font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: .2px; overflow-wrap: anywhere; }
.app-result-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--ppob-line); }
.app-result-total span { color: var(--ppob-muted); font-size: 14px; font-weight: 600; }
.app-result-total strong { color: var(--ppob-green-dark); font-size: 21px; line-height: 1.2; font-weight: 600; text-align: right; }
.app-result-pickup { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; padding: 16px; background: #fffbeb; border-color: #fde68a; color: #92400e; text-align: center; }
.app-result-pickup p { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 600; }
.app-result-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* preview chat WA (mock) */
.ppob-wa-preview { margin-top: 14px; background: #fff; border: 1px solid var(--ppob-line); border-radius: 16px; padding: 14px; }
.ppob-wa-title { font-size: 12px; font-weight: 600; color: #075e54; margin-bottom: 8px; }
.ppob-wa-chat { background: #e5ddd5; border-radius: 10px; padding: 12px; max-width: 100%; }
.ppob-wa-bubble { background: #dcf8c6; border-radius: 8px 8px 2px 8px; padding: 9px 11px; font-size: 12.5px; line-height: 1.55; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.ppob-wa-time { display: block; text-align: right; font-size: 10px; color: #8a8a8a; margin-top: 3px; }

/* ================= CEK STATUS / TIMELINE ================= */
.app-check-status { display: flex; flex-direction: column; gap: 12px; }
.app-check-status .app-cta { margin-top: 0; }
.app-ck-result { margin-top: 12px; }
.tl { margin: 14px 0 6px; position: relative; }
.tl-item { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 13.5px; font-weight: 600; color: #b0b6c6; position: relative; }
.tl-item::before {
    content: ''; position: absolute; left: 11px; top: -8px; bottom: -8px; width: 2px; background: var(--ppob-line);
}
.tl-item:first-child::before { display: none; }
.tl-dot {
    width: 23px; height: 23px; border-radius: 50%; flex-shrink: 0; z-index: 1;
    background: var(--ppob-bg); border: 2px solid var(--ppob-line); color: #b0b6c6;
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600;
}
.tl-item.done { color: var(--ppob-ink); }
.tl-item.done .tl-dot { background: var(--ppob-green); border-color: var(--ppob-green); color: #fff; }
.tl-item.done::before { background: var(--ppob-green); }
.tl-item.current { color: var(--ppob-green-dark); }
.tl-item.current .tl-dot { background: var(--ppob-soft); border-color: var(--ppob-green); color: var(--ppob-green-dark); }
.app-ck-info { font-size: 13px; line-height: 1.85; background: var(--ppob-bg); border-radius: 12px; padding: 11px 13px; margin-top: 10px; }
.app-ck-msg { margin-top: 8px; padding: 8px 10px; background: #fff; border-radius: 8px; font-size: 12px; color: var(--ppob-muted); white-space: pre-wrap; }
.ppob-status-badge {
    display: inline-block; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 4px 11px;
}
.ppob-status-pending { background: #fef9c3; color: #854d0e; }
.ppob-status-paid { background: #dbeafe; color: #1e40af; }
.ppob-status-processing { background: #ede9fe; color: #6d28d9; }
.ppob-status-success { background: var(--ppob-soft); color: var(--ppob-green-dark); }
.ppob-status-failed, .ppob-status-cancelled { background: #fee2e2; color: #b91c1c; }

/* ================= RIWAYAT ================= */
.app-tabs { display: flex; gap: 7px; margin-bottom: 12px; overflow-x: auto; }
.app-tab {
    border: none; background: var(--ppob-card); border: 1px solid var(--ppob-line); color: var(--ppob-muted);
    font-weight: 600; font-size: 12.5px; border-radius: 999px; padding: 8px 15px; cursor: pointer; white-space: nowrap;
}
.app-tab.active { background: var(--ppob-green); border-color: var(--ppob-green); color: #fff; }
.app-hist { display: flex; flex-direction: column; gap: 9px; }
.app-hist-item {
    display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
    background: var(--ppob-card); border: 1px solid var(--ppob-line); border-radius: 15px; padding: 12px 13px; cursor: pointer;
}
.app-hist-item:hover { border-color: var(--ppob-green); }
.app-hist-qr {
    width: 38px; height: 38px; border-radius: 10px; background: var(--ppob-bg); color: var(--ppob-ink);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.app-hist-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.app-hist-main b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.app-hist-main small { color: var(--ppob-muted); font-size: 11px; }
.app-hist-total { font-size: 13px !important; color: var(--ppob-green-dark); }
.app-hist-right { display: flex; align-items: center; gap: 4px; color: #c7cbe0; flex-shrink: 0; }

/* ================= PROFIL ================= */
.app-profile { display: flex; align-items: center; gap: 13px; }
.app-avatar {
    width: 52px; height: 52px; border-radius: 50%; background: var(--ppob-soft); color: var(--ppob-green-dark);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.app-profile b { font-size: 16px; }
.app-profile small { color: var(--ppob-muted); font-size: 12px; }
.app-active-order { display: flex; align-items: center; gap: 11px; background: var(--ppob-soft); border-color: #bbf7d0; }
.app-active-ico {
    width: 38px; height: 38px; border-radius: 11px; background: var(--ppob-green); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.app-active-main { flex: 1; display: flex; flex-direction: column; }
.app-active-main small { color: #3f6212; font-size: 11px; font-weight: 600; }
.app-active-main b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.app-menu { padding: 6px 0; }
.app-menu-item {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
    border: none; background: transparent; padding: 13px 14px; font-size: 13.5px; font-weight: 600;
    color: var(--ppob-ink); cursor: pointer; text-decoration: none; border-radius: 10px;
}
.app-menu-item:hover { background: var(--ppob-bg); }
.app-menu-item > svg:last-child { margin-left: auto; color: #c7cbe0; }
.app-menu-ico {
    width: 32px; height: 32px; border-radius: 9px; background: var(--ppob-bg); color: var(--ppob-green-dark);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.app-menu-static { cursor: default; color: var(--ppob-muted); font-weight: 500; font-size: 12.5px; }
.app-menu-static:hover { background: transparent; }

/* logo gambar platform (seragam, fallback badge via JS) */
.tile-logo-img { display: block; object-fit: contain; }

@media (min-width: 480px) {
    .ppob-wrap { border-left: 1px solid var(--ppob-line); border-right: 1px solid var(--ppob-line); box-shadow: 0 0 40px rgba(23, 26, 38, .08); }
}

/* ================= POLISH VISUAL — acuan Konter OS ================= */
.ppob-wrap {
    --ppob-green: #169b4b;
    --ppob-green-dark: #12823e;
    --ppob-green-deep: #075a2d;
    --ppob-lime: #b7ef68;
    --ppob-ink: #142019;
    --ppob-muted: #707b73;
    --ppob-line: #e8eee9;
    --ppob-bg: #f7faf7;
    --ppob-card: #ffffff;
    --ppob-soft: #e9f8ec;
    background: #f7faf7;
}
.ppob-main { background: #f7faf7; }
.app-topbar { min-height: 62px; padding: 11px 17px; }
.ppob-topbar--sticky { background: rgba(255,255,255,.96); border-bottom: 1px solid #edf1ed; backdrop-filter: blur(14px); }
.app-title { font-size: 16px; font-weight: 700; }
.ppob-screen { padding: 14px 16px 22px; }
.app-card { background: #fff; border-color: #edf1ed; border-radius: 20px; box-shadow: 0 5px 18px rgba(25,54,33,.045); }
.app-cta { background: linear-gradient(180deg,#19a84f,#139344); border-radius: 999px; box-shadow: 0 6px 14px rgba(22,155,75,.15); }
.app-cta:hover { background: #12823e; }
.app-ghost { border-radius: 999px; }
.app-iconbtn { border-color: #edf1ed; box-shadow: 0 4px 12px rgba(25,54,33,.05); }
.app-banner--img img { border-radius: 22px; box-shadow: 0 8px 20px rgba(14,82,42,.12); }
.app-search { background: #f1f4f2; border-color: transparent; box-shadow: none; margin-top: -19px; }
.app-cats { gap: 11px 8px; margin-bottom: 23px; }
.app-cat { gap: 6px; font-size: 11.5px; font-weight: 600; }
.app-cat-icon { width: 54px; height: 54px; border-radius: 17px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.app-sec-head { margin-top: 6px; }
.app-sec-head > b { font-size: 16px; }
.app-prod { background: #fff; border-color: #edf1ed; border-radius: 18px; padding: 11px; box-shadow: 0 4px 14px rgba(25,54,33,.035); }
.app-prod-tile { border-radius: 14px; }
.app-brand-intro { margin: 4px 2px 14px; }
.app-brand-intro b { font-size: 19px; }
.app-brand-intro small { font-size: 12.5px; }
.app-brand-grid { display: flex; flex-direction: column; gap: 9px; }
.app-brand-option {
    display: grid; grid-template-columns: 52px minmax(0,1fr) auto; grid-template-rows: auto auto;
    min-height: 76px; justify-content: initial; gap: 2px 12px; padding: 10px 13px;
    text-align: left; border-color: #edf1ed; border-radius: 17px; background: #fff;
    box-shadow: 0 3px 12px rgba(25,54,33,.035);
}
.app-brand-option::after { content: '›'; grid-column: 3; grid-row: 1 / 3; align-self: center; color: #97a39a; font-size: 25px; font-weight: 400; }
.app-brand-mark { width: 48px; height: 48px; grid-column: 1; grid-row: 1 / 3; border-radius: 14px; background: #f5f8f5; }
.app-brand-mark img, .app-brand-mark svg { width: 38px; height: 38px; }
.app-brand-option b { grid-column: 2; grid-row: 1; align-self: end; font-size: 13.5px; }
.app-brand-option small { grid-column: 2; grid-row: 2; align-self: start; font-size: 11px; }
.app-brand-selected { background: linear-gradient(115deg,#f0fbf2,#fff); border: 1px solid #e2f2e5; border-radius: 19px; padding: 12px 14px; margin-bottom: 12px; }
.app-brand-selected-logo { width: 52px; height: 52px; flex-basis: 52px; background: #fff; border-radius: 15px; box-shadow: 0 3px 10px rgba(25,54,33,.06); }
.app-brand-selected-logo img, .app-brand-selected-logo svg { width: 42px; height: 42px; }
.app-brand-selected b { font-size: 16px; }
.app-brand-section { background: #fff; border: 1px solid #edf1ed; border-radius: 20px; padding: 15px; margin: 0 0 12px; box-shadow: 0 5px 18px rgba(25,54,33,.04); }
.app-nominal-heading { font-size: 15px; margin: 0 0 12px; }
.app-nominal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.app-nominal-option { min-height: 46px; border-radius: 999px; background: #f4f6f4; border-color: #edf1ed; padding: 8px 10px; }
.app-nominal-option.selected { border: 1px solid var(--ppob-green); background: var(--ppob-green); color: #fff; padding: 8px 10px; box-shadow: 0 5px 12px rgba(22,155,75,.2); }
.app-nominal-option.selected .app-nominal-rp, .app-nominal-option.selected small { color: rgba(255,255,255,.9); }
.app-nominal-option .app-nominal-rp { font-size: 10px; }
.app-nominal-option > b { font-size: 13px; }
.app-nominal-option .app-nominal-product-name { font-size: 11px; }
.app-brand-form { padding: 15px; }
.app-brand-form .app-card-title { font-size: 14px; }
.app-brand-manual { padding: 15px; }
.app-brand-buyer { padding: 15px; }
.app-field input { border-radius: 13px; border-color: #e5ebe6; }
.app-field input:focus { box-shadow: 0 0 0 3px rgba(22,155,75,.1); }
.ppob-actionbar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top-color: #edf1ed; box-shadow: 0 -7px 22px rgba(25,54,33,.075); }
.ppob-actionbar .app-cta { min-height: 52px; }
.ppob-navbar { border-top-color: #edf1ed; background: rgba(255,255,255,.98); box-shadow: 0 -5px 18px rgba(25,54,33,.055); }
.ppob-nav-item { font-size: 10.5px; }
.app-check-status { padding: 16px; }
.app-ck-result { padding: 15px; }
.tl-item { min-height: 42px; }
.app-hist-item { background: #fff; border-color: #edf1ed; border-radius: 17px; box-shadow: 0 3px 12px rgba(25,54,33,.035); }
.app-hist-qr { background: #eff8f0; color: var(--ppob-green-dark); border-radius: 12px; }
.app-profile { padding: 18px; background: linear-gradient(135deg,#eef9f0,#fff); }
.app-avatar { width: 60px; height: 60px; background: #dff4e3; }
.app-menu { padding: 7px; }
.app-menu-item { min-height: 52px; border-radius: 14px; }
.app-menu-ico { width: 36px; height: 36px; background: #f1f7f2; border-radius: 12px; }
.ppob-auth-card { border-radius: 22px; box-shadow: 0 12px 28px rgba(25,54,33,.075); }
.app-success-ico { box-shadow: 0 10px 24px rgba(22,155,75,.26); }
.app-qr-card { box-shadow: 0 7px 22px rgba(25,54,33,.06); }
.app-result-order { background: #fff; }
@media (max-width: 380px) {
    .ppob-screen { padding-left: 13px; padding-right: 13px; }
    .app-nominal-grid { gap: 7px; }
    .app-nominal-option { padding-left: 7px; padding-right: 7px; }
}

/* ================= AUTH: sambutan & daftar akun ================= */
.ppob-topbar[hidden] { display: none !important; }
.ppob-topbar--auth-register { background: transparent !important; border-bottom-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.ppob-topbar--auth-register .app-topbar { background: transparent; }
.ppob-auth-topbar { position: relative; justify-content: center; min-height: 58px; padding: 8px 16px; }
.ppob-auth-topbar .app-back { position: absolute; left: 15px; width: 40px; height: 40px; background: #eff8f0; color: var(--ppob-green-dark); }
.ppob-auth-topbar .app-title { font-size: 17px; font-weight: 700; }
.ppob-auth-screen { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 2px 16px; position: relative; }
.ppob-auth-hero { text-align: center; padding: 2px 12px 17px; }
.ppob-auth-art { width: 160px; height: 132px; margin: 0 auto 7px; position: relative; display: flex; align-items: center; justify-content: center; }
.ppob-auth-art-halo { position: absolute; width: 126px; height: 94px; left: 17px; bottom: 0; border-radius: 50%; background: radial-gradient(circle at 45% 42%,#e5fbe9 0,#d8f5dd 60%,rgba(217,247,222,.1) 72%); }
.ppob-auth-art img { position: relative; z-index: 2; width: 128px; height: 128px; object-fit: contain; mix-blend-mode: multiply; }
.ppob-auth-cloud { position: absolute; z-index: 1; width: 42px; height: 15px; border-radius: 99px; background: #dff6e4; opacity: .9; }
.ppob-auth-cloud::before { content: ''; position: absolute; left: 9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; background: inherit; }
.ppob-auth-cloud--one { left: 1px; top: 40px; }
.ppob-auth-cloud--two { right: 0; top: 24px; transform: scale(.8); }
.ppob-auth-hero h1, .ppob-auth-register-intro h1 { font-size: 27px; line-height: 1.1; font-weight: 750; color: #103a25; letter-spacing: -.04em; }
.ppob-auth-hero p, .ppob-auth-register-intro p { margin: 8px 0 0; color: #6d7770; font-size: 14px; line-height: 1.45; }
.ppob-auth-hero p b, .ppob-auth-register-intro p b { color: var(--ppob-green-dark); font-weight: 700; }
.ppob-auth-card { margin: 0 auto 12px; padding: 17px 16px; border: 1px solid #eef2ef; border-radius: 23px; background: rgba(255,255,255,.96); box-shadow: 0 9px 24px rgba(20,76,39,.075); }
.ppob-auth-card .app-card-title { display: none; }
.ppob-auth-login-card { padding: 14px 14px 13px; }
.ppob-auth-login-card .app-form, #ppob-login-form { display: flex; flex-direction: column; gap: 10px; }
.ppob-auth-field { min-width: 0; }
.ppob-auth-field > label { display: block; margin: 0 0 5px; color: #1d3326; font-size: 12.5px; font-weight: 700; }
.ppob-auth-input { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; background: #fff; border: 1px solid #e5ece6; border-radius: 15px; transition: border-color .15s, box-shadow .15s; }
.ppob-auth-input:focus-within { border-color: #67c780; box-shadow: 0 0 0 3px rgba(22,155,75,.09); }
.ppob-auth-input-icon { color: #20ac50; display: inline-flex; flex: 0 0 21px; align-items: center; justify-content: center; }
.ppob-auth-input input { width: 100%; min-width: 0; height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ppob-ink); font: inherit; font-size: 14px; }
.ppob-auth-input input::placeholder { color: #939c96; opacity: 1; }
.ppob-auth-input input:focus { box-shadow: none; }
.ppob-auth-eye { border: 0; background: transparent; color: #7d8980; display: inline-flex; align-items: center; justify-content: center; padding: 4px; cursor: pointer; }
.ppob-auth-hint { display: block; margin: 4px 0 0 32px; color: #8a948d; font-size: 11px; }
.ppob-auth-submit { width: 100%; min-height: 50px; margin: 7px 0 0; gap: 8px; font-size: 15px; }
.ppob-auth-submit svg { flex: 0 0 auto; }
.ppob-auth-login-card .app-error { margin: 0; min-height: 0; }
.ppob-auth-forgot { display: block; margin: 12px auto 2px; text-align: center; color: var(--ppob-green-dark); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ppob-auth-switch { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0 0; padding: 12px 13px; border-radius: 15px; background: #f0f9f1; color: #526158; font-size: 12px; }
.ppob-auth-switch button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--ppob-green-dark); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ppob-auth-register-intro { text-align: center; padding: 10px 14px 17px; }
.ppob-auth-register-card { padding: 17px 15px 13px; }
#ppob-register-form { display: flex; flex-direction: column; gap: 11px; }
.ppob-auth-register-card .ppob-auth-input { min-height: 44px; border-radius: 14px; }
.ppob-auth-register-card .ppob-auth-input input { height: 42px; font-size: 13px; }
.ppob-auth-register-card .ppob-auth-submit { margin-top: 2px; }
.ppob-auth-register-card .app-error { margin: 0; min-height: 0; }
.ppob-auth-existing { display: block; margin: 12px auto 0; padding: 5px 10px; border: 0; background: transparent; color: #69756d; font: inherit; font-size: 12px; cursor: pointer; }
.ppob-auth-existing b { color: var(--ppob-green-dark); }
.ppob-auth-shield-art { width: min(100%,216px); height: 137px; display: flex; align-items: center; justify-content: center; margin: 18px auto 3px; overflow: visible; }
.ppob-auth-shield-art img { display: block; width: 216px; height: 137px; max-width: 100%; object-fit: contain; }
.ppob-actionbar .ppob-auth-skip { min-height: 48px; }
@media (max-height: 740px) {
    .ppob-auth-art { height: 108px; width: 140px; margin-bottom: 3px; }
    .ppob-auth-art img { width: 108px; height: 108px; }
    .ppob-auth-hero { padding-bottom: 11px; }
    .ppob-auth-shield-art { width: min(100%,190px); height: 121px; }
    .ppob-auth-shield-art img { width: 190px; height: 121px; }
}

/* Banner Daftar di bagian bawah layar Masuk */
.ppob-auth-login-card { margin-bottom: 8px; }
.ppob-auth-forgot { margin: 12px auto 14px; }
.ppob-auth-switch {
    position: relative; display: flex; align-items: center; height: 100px; min-height: 100px; margin: 0 0 21px; padding: 15px 128px 15px 15px;
    overflow: visible; border: 1px solid #e7f4e9; border-radius: 19px;
    background: linear-gradient(110deg,#f0faf1 0%,#edf9ef 65%,#f7fff8 100%);
    box-shadow: 0 5px 15px rgba(24,96,45,.045);
}
.ppob-auth-switch-copy { position: relative; z-index: 2; display: flex; width: calc(100% - 14px); flex-direction: column; align-items: flex-start; text-align: left; gap: 5px; color: #67736a; font-size: 12px; }
.ppob-auth-switch-copy button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--ppob-green-dark); font: inherit; font-size: 16px; font-weight: 750; cursor: pointer; }
.ppob-auth-character { position: absolute; z-index: 3; right: 5px; bottom: -30px; width: 130px; height: 150px; object-fit: contain; object-position: center bottom; pointer-events: none; }
.ppob-auth-forgot { text-decoration: underline; text-underline-offset: 3px; }

/* Empty state untuk tab Riwayat */
.app-tabs[hidden] { display: none !important; }
.ppob-empty-orders { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 350px; padding: 24px 20px 22px; border: 1px solid #edf1ed; border-radius: 23px; background: linear-gradient(180deg,#fff 0%,#fbfdfb 100%); text-align: center; box-shadow: 0 7px 20px rgba(25,54,33,.045); }
.ppob-empty-orders img { width: 116px; height: 116px; object-fit: contain; margin: 2px auto 12px; }
.ppob-empty-orders b { color: #18231b; font-size: 17px; font-weight: 700; }
.ppob-empty-orders p { max-width: 240px; margin: 6px 0 17px; color: var(--ppob-muted); font-size: 13px; line-height: 1.5; }
.ppob-empty-orders .app-cta { width: min(100%,240px); min-height: 46px; margin: 0; font-size: 14px; }
@media (max-width: 380px) { .ppob-auth-switch { padding-right: 112px; } .ppob-auth-character { width: 120px; height: 140px; right: 0; bottom: -25px; } .ppob-auth-switch-copy button { font-size: 15px; } }

/* Detail status sebagai lanjutan pilihan pesanan dari Riwayat */
.app-ck-result { margin: 0; padding: 2px 0 14px; border: 0; background: transparent; box-shadow: none; }
.tl { margin: 1px 4px 18px; }
.tl-item { align-items: flex-start; min-height: 52px; padding: 6px 0 8px; }
.tl-copy { display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.tl-copy b { color: inherit; font-size: 13.5px; line-height: 1.25; }
.tl-copy small { color: var(--ppob-muted); font-size: 11.5px; font-weight: 500; line-height: 1.2; }
.app-status-order { padding: 14px; border: 1px solid #edf1ed; border-radius: 20px; background: #fff; box-shadow: 0 5px 16px rgba(25,54,33,.045); }
.app-status-order-code { display: block; margin-bottom: 11px; color: var(--ppob-ink); font-size: 13px; font-weight: 700; }
.app-status-product { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 7px 9px; border-radius: 14px; background: #f8faf8; }
.app-status-product-logo { width: 40px; height: 40px; flex: 0 0 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; overflow: hidden; }
.app-status-product-logo img { width: 32px; height: 32px; object-fit: contain; }
.app-status-product-logo svg { width: 30px; height: 30px; }
.app-status-product-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-status-product-copy b { font-size: 12.5px; line-height: 1.3; }
.app-status-product-copy small { color: var(--ppob-green-dark); font-size: 12px; font-weight: 700; }
.app-status-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; color: var(--ppob-ink); font-size: 14px; font-weight: 700; }
.app-status-total b { text-align: right; }
.app-status-loading { padding: 18px; }

/* Daftar pesanan aktif di tab Pesanan */
.ppob-active-orders-head { margin: 3px 2px 14px; }
.ppob-active-orders-head h2 { color: var(--ppob-ink); font-size: 19px; font-weight: 700; }
.ppob-active-orders-head p { margin: 4px 0 0; color: var(--ppob-muted); font-size: 12.5px; }
#ppob-active-list { display: flex; flex-direction: column; gap: 10px; }
.ppob-order-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto 16px; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 1px solid #edf1ed; border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(25,54,33,.04); color: var(--ppob-ink); text-align: left; cursor: pointer; }
.ppob-order-row:active { border-color: var(--ppob-green); background: #fbfffb; }
.ppob-order-row-logo { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 13px; background: #f0f8f1; color: var(--ppob-green-dark); }
.ppob-order-row-logo img { width: 34px; height: 34px; object-fit: contain; }
.ppob-order-row-logo svg { width: 30px; height: 30px; }
.ppob-order-row-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ppob-order-row-copy b { overflow: hidden; color: var(--ppob-ink); font-size: 12.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.ppob-order-row-copy small { color: var(--ppob-muted); font-size: 10.5px; line-height: 1.2; }
.ppob-order-row-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
.ppob-order-row-meta .ppob-status-badge { font-size: 10px; padding: 3px 8px; }
.ppob-order-row-meta strong { color: var(--ppob-green-dark); font-size: 12px; }
.ppob-order-row-arrow { display: flex; align-items: center; color: #aab4ac; }

/* Pusat notifikasi pelanggan */
.app-notification-bell { position: relative; }
.app-bell-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 20px; background: #e5484d; color: #fff; font-size: 9px; font-weight: 800; line-height: 1; }
.ppob-notifications { padding-bottom: 18px; }
.ppob-notification-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 1px 2px 14px; }
.ppob-notification-tools p { margin: 0; color: var(--ppob-muted); font-size: 12.5px; line-height: 1.45; }
.ppob-notif-refresh { flex: 0 0 38px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid #e8eee9; border-radius: 13px; background: #fff; color: var(--ppob-green-dark); cursor: pointer; }
.ppob-notification-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 9px; color: var(--ppob-muted); font-size: 11px; }
.ppob-notif-read-all { padding: 6px 0 6px 10px; border: 0; background: transparent; color: var(--ppob-green-dark); font-size: 11px; font-weight: 700; cursor: pointer; }
#ppob-notification-list { display: flex; flex-direction: column; gap: 9px; }
.ppob-notification-item { width: 100%; min-height: 84px; padding: 12px; display: grid; grid-template-columns: 40px minmax(0,1fr) 8px; align-items: start; gap: 10px; border: 1px solid #edf1ed; border-radius: 17px; background: #fff; color: var(--ppob-ink); text-align: left; box-shadow: 0 4px 14px rgba(25,54,33,.035); cursor: pointer; }
.ppob-notification-item.is-unread { border-color: #d9ebdc; background: #f8fcf8; }
.ppob-notification-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: #eaf6ec; color: var(--ppob-green-dark); }
.ppob-notification-icon--order_completed { background: #e4f7eb; color: #168346; }
.ppob-notification-icon--order_failed, .ppob-notification-icon--order_cancelled { background: #fff0ee; color: #d64b3d; }
.ppob-notification-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ppob-notification-copy b { color: #1a2b1e; font-size: 12.5px; line-height: 1.3; }
.ppob-notification-copy > span { color: #59645c; font-size: 11.5px; line-height: 1.45; }
.ppob-notification-copy small { color: #89938b; font-size: 10px; line-height: 1.3; }
.ppob-notification-unread-dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--ppob-green); }
.ppob-notifications-empty { min-height: 300px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #edf1ed; border-radius: 22px; background: #fff; color: var(--ppob-green-dark); text-align: center; }
.ppob-notifications-empty > svg { margin-bottom: 12px; }
.ppob-notifications-empty b { color: var(--ppob-ink); font-size: 16px; }
.ppob-notifications-empty p { max-width: 245px; margin: 7px 0 16px; color: var(--ppob-muted); font-size: 12.5px; line-height: 1.5; }
.ppob-notifications-empty .app-cta { width: min(100%,240px); min-height: 44px; }

/* Status pesanan: empat milestone dengan arahan yang jelas dan detail tujuan transaksi */
.tl-item { min-height: 68px; }
.tl-copy { gap: 4px; }
.tl-copy small { max-width: 270px; font-size: 11px; line-height: 1.4; }
.tl-copy time { color: #929c94; font-size: 10px; font-weight: 500; line-height: 1.25; }
.app-status-details { margin-top: 13px; padding-top: 3px; border-top: 1px solid #edf1ed; }
.app-status-detail-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 1px; border-bottom: 1px solid #f0f3f0; color: var(--ppob-muted); font-size: 11.5px; line-height: 1.4; }
.app-status-detail-row > span { flex: 0 0 auto; }
.app-status-detail-row > b { max-width: 62%; color: var(--ppob-ink); font-size: 11.5px; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.app-status-detail-row.app-status-destination { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 11px; margin: 9px 0 3px; border: 1px solid #e6f1e8; border-radius: 13px; background: #f8fcf8; }
.app-status-destination .app-status-detail-label { color: #526055; font-size: 11px; font-weight: 650; }
.app-status-destination-label { color: #879189; font-size: 10.5px; }
.app-status-destination-value { width: 100%; color: var(--ppob-green-dark); font-size: 15px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.app-status-total { margin-top: 11px; padding-top: 13px; border-top: 1px solid #edf1ed; }
.app-status-final-state { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #ffded8; border-radius: 13px; background: #fff5f3; color: #a5372b; font-size: 12px; line-height: 1.45; }

/* Garis timeline dimulai tepat di tengah titik dan tersambung sampai titik berikutnya. */
.app-ck-result .tl-item::before { left: 11px; top: 17px; bottom: -18px; width: 2px; }
.app-ck-result .tl-item:first-child::before { display: block; }
.app-ck-result .tl-item:last-child::before { display: none; }
