/* QR code page — printable + screen */

.qr-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 20px 60px;
}

/* ── Printable QR card ───────────────────────────────────────────── */
.qr-card {
  background: var(--sn-white);
  color: #111111;
  border-radius: 20px;
  padding: 40px 48px;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

/* Logo */
.qr-card-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.qr-logo-icon { font-size: 2.4rem; line-height: 1; }
.qr-logo-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111;
  line-height: 1;
}
.qr-logo-sub {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-top: 3px;
}

/* QR code box */
.qr-code-wrap {
  background: #fff;
  border: 3px solid #111;
  border-radius: 12px;
  padding: 16px;
  display: inline-flex;
}
#qr-code { display: block; }

/* Text */
.qr-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  line-height: 1.3;
}
.qr-instruction-text {
  font-size: 0.82rem;
  color: #555;
  text-align: center;
  line-height: 1.6;
}

/* Steps */
.qr-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 16px 20px;
}
.qr-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #333;
  font-weight: 500;
}
.qr-step-num {
  width: 24px; height: 24px;
  background: #c9a96e;
  color: #111;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* URL */
.qr-url-label {
  font-size: 0.68rem;
  color: #999;
  letter-spacing: 0.5px;
  text-align: center;
  word-break: break-all;
}

/* ── Live preview panel (screen only) ───────────────────────────── */
.qr-preview {
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 440px;
  width: 100%;
}
.qr-preview-title { margin-bottom: 16px; }
.qr-preview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.qr-prev-stat {
  background: var(--sn-dark);
  border: 1px solid var(--sn-border);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.qr-prev-val { font-size: 1rem; font-weight: 700; margin-top: 6px; min-height: 1.5rem; }
.qr-prev-updated { font-size: 0.7rem; color: var(--sn-gray); }

/* ── Print styles ────────────────────────────────────────────────── */
.no-print { }

@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .qr-page { padding: 0; justify-content: flex-start; min-height: unset; }
  .qr-card {
    box-shadow: none;
    border: 2px solid #ddd;
    border-radius: 12px;
    margin: 0 auto;
    padding: 32px 40px;
  }
}
