/* "Lägg till i plånboken": QR code with the signed card code, and the same code as a Code 128 barcode for Samsung
   Wallet. The barcode is always pure black on white (21:1 contrast) with a white quiet zone built into the SVG. */
.wallet-qr { width:250px; max-width:100%; margin:6px auto 0; padding:16px; border-radius:22px; background:#ffffff; border:1px solid #dde4d8; }
.wallet-qr canvas { display:block; width:100%; height:auto; image-rendering:pixelated; }
.barcode-box { display:flex; justify-content:center; width:100%; margin:4px 0 0; padding:12px 0; border-radius:14px; background:#ffffff; border:1px solid #dde4d8; overflow:hidden; }
.barcode-box svg { display:block; max-width:100%; height:88px; }
.barcode-box:empty { display:none; }
.barcode-number { margin:8px 0 14px; color:#000000; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:18px; font-weight:700; letter-spacing:.12em; }
.barcode-number:empty { display:none; }
.wallet-link { margin-bottom:10px; }
.wallet-guide .barcode-box { margin:4px 0 12px; }
.wallet-card { display:grid; justify-items:center; gap:6px; padding:22px 18px; background:#ffffff; border:1px solid #e2e8dc; border-radius:26px; box-shadow:var(--shadow); text-align:center; }
.wallet-card .wallet-brand { width:138px; height:43px; object-fit:contain; }
.wallet-card .secondary-action { margin:0; }
.wallet-tip { margin:14px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.wallet-guide { margin-top:18px; padding:18px; background:#eef2ea; border-radius:18px; }
.wallet-guide h2 { margin-bottom:8px; }
.wallet-guide p { margin:0 0 10px; color:#3f4d48; font-size:14px; line-height:1.55; }
.wallet-guide ol { margin:0 0 10px; padding-left:22px; color:#26332e; font-size:15px; line-height:1.6; }
.wallet-guide li + li { margin-top:4px; }
.wallet-guide .primary-action { margin-top:6px; }
#wallet-install-button[hidden] { display:none !important; }
