/* QRMENU-PRO | TAMBAHAN v1 — dimuat SETELAH style.css */

/* ===== PELANGGAN ===== */
body.is-customer .topbar,body.is-customer #sound,body.is-customer #refresh{display:none}
body.is-customer main{padding-bottom:120px}
body.is-customer .auth-card .eyebrow,body.is-customer .auth-card h1{display:none}
body.is-customer .auth-card .muted{font-size:22px;font-weight:750;color:var(--ink);margin-bottom:-8px}
.cx-login input{font-size:16px;min-height:48px}
.cx-big{min-height:52px;padding:12px 22px;font-size:15px;letter-spacing:.4px;border-radius:14px}
.cx-login .cx-big{width:100%}
.cx-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.cx-head small{display:block;color:var(--muted);font-size:12px}
.cx-head h2{margin:0;font-size:19px}
.cx-hist{position:relative;white-space:nowrap}
.dot{position:absolute;top:5px;right:6px;width:9px;height:9px;border-radius:50%;background:#d6553a}
.cx-call{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;min-height:84px;margin-bottom:12px;border-radius:20px;border:0;color:#fff;background:linear-gradient(135deg,#a8452f,#d16a49);box-shadow:0 12px 30px #a8452f44}
.cx-call span{font-size:20px;font-weight:800;letter-spacing:.6px}
.cx-call small{font-size:12px;font-weight:500;opacity:.92}
.cx-call:active{transform:scale(.99)}
.cx-call.waiting{background:linear-gradient(135deg,#7a6a52,#a08c68);box-shadow:none;opacity:1}
.cx-call:disabled{opacity:1;cursor:default}
small.ok{display:block;margin:-4px 0 12px;color:#2f6b3f;text-align:center}
.cx-open{display:grid;gap:3px;padding:12px 15px;margin-bottom:12px;background:#efe0c6;border:1px solid #cfb084;border-radius:14px;font-size:13px}
.cx-search{margin:0 0 10px;min-height:46px;font-size:16px}
.cx-chips{display:flex;gap:7px;overflow-x:auto;padding:2px 0 12px}
.cx-chips button{flex:none;min-height:36px;padding:6px 14px;background:#ffffff9c;color:var(--ink);border:1px solid var(--line);border-radius:20px}
.cx-chips button.on{background:var(--brown);color:#fff}
.cx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}
.cx-card{display:flex;flex-direction:column;background:#ffffffc8;border:1px solid #fffffff0;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.cx-card.picked{outline:2px solid var(--gold)}
.cx-card.out{opacity:.55}
.cx-img{width:100%;height:118px;object-fit:cover;background:#e9dfcf}
.cx-img.ph{display:grid;place-items:center;font:34px Georgia,serif;color:#b99c77;background:linear-gradient(120deg,#eee2cd,#f6f0e5)}
.cx-info{padding:10px 12px 4px;flex:1}
.cx-info h3{font-size:14px;line-height:1.35;margin-bottom:3px}
.cx-info p{font-size:11px;color:var(--muted);line-height:1.4}
.cx-price{font-weight:750;color:var(--brown);margin-top:5px}
.cx-habis{color:#9b4939!important;font-weight:700}
.cx-step{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px 12px}
.cx-step button{width:46px;height:46px;min-height:46px;padding:0;border-radius:50%;font-size:24px;line-height:1;display:grid;place-items:center}
.cx-step [data-dec]{background:#ffffffcc;color:var(--ink);border:1px solid var(--line)}
.cx-step output{min-width:30px;text-align:center;font-size:19px;font-weight:750}
.cx-step.sm button{width:40px;height:40px;min-height:40px;font-size:21px}
.cx-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px max(16px,calc((100% - 1200px)/2)) calc(11px + env(safe-area-inset-bottom));background:#fffaf1f2;border-top:1px solid var(--line);box-shadow:0 -10px 30px #4236291a;backdrop-filter:blur(14px)}
.cx-sum small{display:block;font-size:11px;color:var(--muted)}
.cx-sum b{font-size:21px;color:var(--brown)}
.cx-bar .cx-big{min-width:140px}
.cx-rec{margin-top:22px}
#cx-toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translate(-50%,14px);max-width:min(92vw,520px);padding:12px 18px;border-radius:14px;background:#3b2f24;color:#fff;font-size:13px;opacity:0;pointer-events:none;transition:.25s;z-index:60}
#cx-toast.show{opacity:1;transform:translate(-50%,0)}
#cx-toast.bad{background:#9b4939}
.line.rv{align-items:center}
@media(max-width:480px){.cx-grid{grid-template-columns:1fr 1fr;gap:10px}.cx-img{height:104px}}

/* ===== STAF: section hijau berkedip di awal layar ===== */
.alert-zone{display:grid;gap:10px;margin:0 0 16px}
.az{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;width:100%;padding:16px 18px;border-radius:16px;color:#fff;background:#1f9d4d;text-align:left;border:0}
.az-big{font-size:19px;font-weight:800;letter-spacing:.3px}
.az small{display:block;margin-top:3px;font-size:12px;opacity:.95}
.az-btns{display:flex;gap:8px;flex-wrap:wrap}
.az-btns button{min-height:46px;padding:10px 18px;font-size:14px;background:#fff;color:#14662f;border-radius:12px}
.az-btns button.ghost{background:transparent;color:#fff;border:1px solid #ffffffaa}
.az-wait{background:#2f8f55}
.az-idle{background:#e8f1e6;color:#25532f;border:1px solid #b8d4b8}
.az-off{background:#f0c36a;color:#4a3410;font-weight:700;font-size:14px;cursor:pointer}
.az-call{background:#c4452a}
.az-call .az-btns button{color:#8f2a14}
.az-live{box-shadow:0 0 0 4px #12b34a55;animation:azblink .8s steps(2,start) infinite!important}
.az-call.az-live{box-shadow:0 0 0 4px #c4452a55}
@keyframes azblink{50%{filter:brightness(.62);box-shadow:0 0 0 10px #12b34a22}}
.az-foot{font-size:11px;color:var(--muted);padding:0 4px}
