/* Portfolio install-QR dialog (js/app-qr.js) */

.appqr-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 16, 12, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.appqr-overlay.is-open { display: flex; }

.appqr-dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 24px;
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
  animation: appqr-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes appqr-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.appqr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f4f1ec;
  color: #4a4238;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.appqr-close:hover { background: #ebe5dc; }

.appqr-title {
  margin: 4px 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: #1d1710;
  letter-spacing: -0.02em;
}
.appqr-sub {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #6d6154;
}

.appqr-plate {
  display: inline-block;
  padding: 14px;
  background: #fff;
  border: 1px solid #ece5da;
  border-radius: 18px;
}
.appqr-plate img { display: block; width: 208px; height: 208px; }

.appqr-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  margin-top: 20px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ff6b12;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.appqr-cta:hover { background: #e5580a; }
.appqr-cta:focus-visible,
.appqr-close:focus-visible {
  outline: 3px solid #ff6b12;
  outline-offset: 3px;
}

/* the small affordance on each portfolio card */
.app-card { cursor: pointer; }
.app-scan-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #8a7a67;
}
.app-scan-hint svg { flex: 0 0 auto; }

body.appqr-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .appqr-dialog { animation: none; }
}

.apps-qr-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: #8a7a67;
}
