/* Jar QR (15 Nov 2026) — see js/jar-qr.js */

/* the big round Scan button in the middle of the bottom bar */
.tab-item.tab-scan { justify-content: flex-end; }
.tab-scan-btn {
  width: 60px; height: 60px; margin-top: -34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff;
  border: 4px solid #fff; box-shadow: 0 8px 20px rgba(217, 119, 6, .40);
  transition: transform .15s ease;
}
.tab-item.tab-scan .tab-scan-btn .material-icons { font-size: 30px; transform: none; font-variation-settings: 'FILL' 1; }
.tab-item.tab-scan:active .tab-scan-btn { transform: scale(.94); }
.tab-item.tab-scan > span:last-child { color: #b45309; font-weight: 700; }

/* the QR popup */
.jarqr-modal { position: fixed; inset: 0; z-index: 2300; background: rgba(15, 23, 42, .55);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
.jarqr-box { background: #fff; border-radius: 18px; width: 100%; max-width: 360px; padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3); text-align: center; max-height: calc(100vh - 32px); overflow-y: auto; }
.jarqr-head { display: flex; align-items: center; justify-content: space-between; font-size: 16px; margin-bottom: 10px; }
.jarqr-x { border: none; background: #f1f5f9; border-radius: 10px; width: 36px; height: 36px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.jarqr-img img { width: 100%; max-width: 260px; height: auto; border: 1px solid #e2e8f0; border-radius: 10px; }
.jarqr-note { font-size: 13px; margin-top: 8px; min-height: 18px; }
.jarqr-note.ok { color: #15803d; }
.jarqr-note.new { color: #b45309; }
.jarqr-url { font-size: 11px; color: #64748b; word-break: break-all; margin-top: 4px; }
.jarqr-actions { display: flex; gap: 10px; margin-top: 14px; }
.jarqr-btn { flex: 1; height: 46px; border: none; border-radius: 10px; background: #2563eb; color: #fff;
  font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.jarqr-btn + .jarqr-btn { background: #0f172a; }
.jarqr-row-btn { display: inline-block; margin-left: 6px; padding: 4px 10px; background: #fff7ed; color: #b45309;
  border: 1px solid #fed7aa; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; }
