/* The notification centre in the ordering app (app-src/notify-center.js):
   the bell in the header, the inbox on Account, Notifications, the choices
   below it, and the order status sheet a link opens.

   The app's own light look: white cards on white, hairline borders, ink
   type, and Zuma red only for what is new or needs a tap. Unread is said
   three ways (a dot, heavier type and a "New" tag); urgent is a word in a
   tag with a warning shape, never red alone. */

/* ---- the bell ---- */
.znc-bell .znc-count[hidden]{display:none}
.znc-bell .znc-count{display:grid;place-items:center;line-height:1;box-shadow:0 0 0 2px #fff}

/* ---- the inbox ---- */
.acct-group.znc{margin:4px 0 30px}
.znc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;min-height:36px}
.acct-group .znc-head h2{margin:0;display:flex;align-items:center;gap:8px}
.znc-pill{display:inline-block;background:#ed1732;color:#fff;border-radius:99px;padding:3px 8px;font-size:.68rem;
  letter-spacing:.04em;text-transform:none;font-weight:800}
.znc-all{border:0;background:#fff1f3;color:#c20f2b;font-weight:800;font-size:.84rem;border-radius:99px;padding:8px 13px 8px 11px;
  display:inline-flex;align-items:center;gap:6px;min-height:36px;transition:background .15s}
.znc-all:hover{background:#ffe4e8}
.znc-all[disabled]{opacity:.5}
.znc-all svg{width:15px;height:15px;stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}

.znc-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.znc-item{width:100%;display:flex;gap:13px;align-items:flex-start;text-align:left;border:1px solid #efeded;background:#fff;
  border-radius:20px;padding:14px 12px 14px 14px;color:#161616;font:inherit;position:relative;cursor:pointer;
  box-shadow:0 1px 2px #0000000a;transition:transform .16s,box-shadow .16s,border-color .16s}
.znc-item:hover{box-shadow:0 10px 26px #0000000f;border-color:#e6e3e3}
.znc-item:active{transform:scale(.99)}
.znc-item.unread{background:linear-gradient(180deg,#fff8f9,#fff);border-color:#ffdfe4}
.znc-item.unread:before{content:"";position:absolute;left:-4px;top:26px;width:9px;height:9px;border-radius:50%;
  background:#ed1732;box-shadow:0 0 0 3px #fff}
.znc-ic{flex:none;width:42px;height:42px;border-radius:14px;background:#f5f4f4;color:#2a2a2d;display:grid;place-items:center}
.znc-item.unread .znc-ic{background:#ffe9ec;color:#e3122f}
.znc-item.urgent .znc-ic{background:#1b1b1d;color:#fff}
.znc-ic svg,.znc-chev svg,.znc-empty svg,.znc-quiet-note svg,.znc-status svg,.znc-urgent svg{stroke:currentColor;stroke-width:1.9;fill:none;
  stroke-linecap:round;stroke-linejoin:round}
.znc-ic svg{width:20px;height:20px}
.znc-t{flex:1;min-width:0;display:block}
.znc-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.znc-top strong{font-size:.97rem;font-weight:600;letter-spacing:-.012em;line-height:1.3;overflow-wrap:anywhere}
.znc-item.unread .znc-top strong{font-weight:750}
.znc-top small{flex:none;color:#9a9aa0;font-size:.76rem;font-weight:600;white-space:nowrap}
.znc-body{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:#56565b;
  font-size:.89rem;line-height:1.45;overflow-wrap:anywhere}
.znc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.znc-urgent,.znc-new{display:inline-flex;align-items:center;gap:4px;font-size:.66rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.09em;border-radius:7px;padding:3px 7px 3px 6px;line-height:1.3}
.znc-urgent{background:#1b1b1d;color:#fff}
.znc-urgent svg{width:12px;height:12px;stroke-width:2.4}
.znc-new{background:#ffe9ec;color:#b3001b;padding-left:7px}
.znc-chev{flex:none;align-self:center;color:#c6c6cb;display:grid}
.znc-chev svg{width:18px;height:18px}

.znc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:30px 18px 26px;
  border:1px dashed #e7e4e4;border-radius:22px;color:#7a7a80}
.znc-empty svg{width:26px;height:26px;padding:13px;box-sizing:content-box;border-radius:18px;background:#fff1f3;color:#ed1732;margin-bottom:6px}
.znc-empty strong{color:#161616;font-size:1rem}
.znc-empty p{margin:0 0 4px;font-size:.88rem;line-height:1.5;max-width:30ch}
.znc-empty .secondary{margin-top:8px;min-height:44px}
.znc-note{color:#8a8a8f;font-size:.9rem;padding:8px 2px;margin:0}
.znc-skel{height:78px;border-radius:20px;background:linear-gradient(90deg,#f4f3f3 25%,#faf9f9 50%,#f4f3f3 75%);
  background-size:200% 100%;animation:zncShimmer 1.3s linear infinite}
@keyframes zncShimmer{from{background-position:200% 0}to{background-position:-200% 0}}
.znc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- what we send ---- */
.acct-group.znc-prefs{margin-bottom:30px}
.znc-toggle{align-items:center;flex-wrap:nowrap}
.znc-toggle .acct-switch{order:3}
.znc-state{order:2;font-size:.78rem;font-weight:700;color:#8a8a8f;min-width:24px;text-align:right}
.znc-toggle small{line-height:1.45}
.znc-quiet{display:flex;gap:10px;padding:2px 2px 14px;border-bottom:1px solid #f2f0f0}
.znc-quiet label{flex:1;display:flex;flex-direction:column;gap:6px;font-size:.7rem;font-weight:800;color:#8a8a8f;
  text-transform:uppercase;letter-spacing:.1em}
.znc-quiet select{-webkit-appearance:none;appearance:none;width:100%;border:1px solid #e7e5e5;border-radius:14px;padding:12px 34px 12px 14px;
  font:700 .98rem var(--sf);letter-spacing:0;text-transform:none;color:#161616;min-height:48px;cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9aa0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px}
.znc-quiet select:focus-visible{outline:3px solid #ff9aa4;outline-offset:2px}
.znc-quiet-note{display:flex;gap:9px;align-items:flex-start;background:#f7f6f6;border-radius:14px;padding:12px 14px;
  color:#55555a;font-size:.86rem;line-height:1.45;margin:14px 0 0}
.znc-quiet-note svg{flex:none;width:16px;height:16px;margin-top:1px;color:#8a8a8f}

/* ---- the order status sheet (shares .zpo-sheet from push-optin.css) ---- */
.znc-panel .znc-code{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#9a9aa0;margin:2px 0 10px}
.zpo-panel.znc-panel h2{margin:0 0 12px}
.znc-status{display:inline-flex;align-items:center;gap:8px;border-radius:99px;padding:9px 16px 9px 12px;font-size:1.05rem;
  font-weight:800;letter-spacing:-.01em;background:#f4f3f3;color:#3a3a3f}
.znc-status svg{width:18px;height:18px;stroke-width:2.3}
.znc-status.on{background:#ffe9ec;color:#b3001b}
.znc-status.done{background:#171717;color:#fff}
.znc-status.bad{background:#fff0f1;color:#9b0016;box-shadow:inset 0 0 0 1px #ffd0d6}
.znc-status.warn{background:#fff4e0;color:#7a4b00}

/* The banner is push-optin.css's .zpo-banner; this only lifts it clear of
   the header's safe area on a phone. */
.znc-banner{top:max(14px,calc(env(safe-area-inset-top) + 8px))}

@media(prefers-reduced-motion:reduce){
  .znc-item,.znc-all{transition:none}
  .znc-item:active{transform:none}
  .znc-skel{animation:none}
}
