/* ============================================================
   GoPass Terminal — Screen 07-Lost: QR Scan (Lost Card)
   Identical layout to 07-qr-scan.css; simulate button goes to 21.
   ============================================================ */

/* ── Back bar ── */
.back-bar {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  flex-shrink: 0;
}

.back-bar i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
}

.back-bar-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

/* ── Steps (3-step sub-flow) ── */
.steps-compact {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Title ── */
.title-wrap-07 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 32px 0;
  text-align: center;
  flex-shrink: 0;
}

.title-wrap-07 .screen-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ── Viewfinder card ── */
.scan-wrap {
  width: 100%;
  padding: 24px 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.viewfinder {
  width: 100%;
  height: 440px;
  background: var(--bg-card);
  border-radius: 28px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 12px 28px -8px rgba(27, 27, 92, 0.15);
  position: relative;
  overflow: hidden;
}

/* Static QR code SVG (centred in viewfinder, replaces animated scan line) */
.static-qr {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(-10px);
  width: 220px;
  height: 220px;
  border-radius: 8px;
  display: block;
}

/* L-shaped corner brackets (pink) */
.bracket-tl-h { position: absolute; top: 60px; left: 113px; width: 44px; height: 6px; background: var(--brand-pink); border-radius: 3px; }
.bracket-tl-v { position: absolute; top: 60px; left: 113px; width: 6px; height: 44px; background: var(--brand-pink); border-radius: 3px; }
.bracket-tr-h { position: absolute; top: 60px; right: 113px; width: 44px; height: 6px; background: var(--brand-pink); border-radius: 3px; }
.bracket-tr-v { position: absolute; top: 60px; right: 113px; width: 6px; height: 44px; background: var(--brand-pink); border-radius: 3px; }
.bracket-bl-h { position: absolute; bottom: 60px; left: 113px; width: 44px; height: 6px; background: var(--brand-pink); border-radius: 3px; }
.bracket-bl-v { position: absolute; bottom: 60px; left: 113px; width: 6px; height: 44px; background: var(--brand-pink); border-radius: 3px; }
.bracket-br-h { position: absolute; bottom: 60px; right: 113px; width: 44px; height: 6px; background: var(--brand-pink); border-radius: 3px; }
.bracket-br-v { position: absolute; bottom: 60px; right: 113px; width: 6px; height: 44px; background: var(--brand-pink); border-radius: 3px; }

/* Status text inside viewfinder */
.scan-status {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── Helper text below viewfinder ── */
.helpers-07 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 32px 0;
  text-align: center;
  flex-shrink: 0;
}

.helper-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.helper-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Simulate button (demo control) ── */
.simulate-wrap {
  width: 100%;
  padding: 16px 32px 0;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.btn-simulate {
  height: 52px;
  background: transparent;
  border: 2px dashed var(--brand-pink);
  border-radius: 26px;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-pink);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.15s, background 0.15s;
}

.btn-simulate:hover {
  opacity: 1;
  background: var(--brand-pink-soft);
}

/* ── Alt action: enter card number manually ── */
.alt-action-wrap {
  width: 100%;
  padding: 24px 28px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.btn-manual {
  height: 56px;
  background: var(--bg-card);
  border-radius: 28px;
  border: 1.5px solid var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  transition: background 0.15s;
}

.btn-manual:hover {
  background: var(--bg-soft);
}

.btn-manual i[data-lucide] {
  width: 18px;
  height: 18px;
}

/* ── Security info pill ── */
.security-wrap {
  width: 100%;
  padding: 0 28px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.security-pill {
  height: 36px;
  background: var(--bg-soft);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 14px;
}

.security-pill i[data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
}

.security-pill span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
