/* ============================================================
   GoPass Terminal — Screen 06-Lost: Sign In Entry (Lost Card)
   Identical layout to 06-sign-in-entry.css; navigation targets differ.
   ============================================================ */

/* ── 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 (compact, 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-06 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 32px 0;
  text-align: center;
  flex-shrink: 0;
}

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

/* ── Card Number Input ── */
.input-wrap-06 {
  width: 100%;
  padding: 16px 32px 0;
  flex-shrink: 0;
}

.card-input-box {
  width: 100%;
  height: 90px;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 6px 18px -6px rgba(27, 27, 92, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
}

.card-prefix {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--brand-navy);
  flex-shrink: 0;
}

.digit-slots {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding-bottom: 22px;
}

.digit-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.digit-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.digit-underline {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--border-light);
}

.digit-slot.is-filled .digit-underline {
  background: var(--brand-navy);
}

.digit-slot.is-cursor .digit-underline {
  background: var(--brand-pink);
  animation: blink-cursor-lost 1s infinite;
}

@keyframes blink-cursor-lost {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Keypad ── */
.keypad-slot {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 32px 12px;
  flex-shrink: 0;
}

.keypad-row {
  width: 100%;
  display: flex;
  gap: 12px;
}

.key-btn {
  flex: 1;
  height: 84px;
  background: var(--bg-card);
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 14px -4px rgba(27, 27, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-navy);
  transition: background 0.1s, transform 0.08s;
  -webkit-tap-highlight-color: transparent;
}

.key-btn:active {
  background: var(--bg-soft);
  transform: scale(0.96);
}

.key-btn.key-special {
  background: var(--bg-soft);
  font-size: 26px;
  color: var(--text-primary);
}

.key-btn.key-special i[data-lucide] {
  width: 28px;
  height: 28px;
}

/* ── Helper text ── */
.helpers-06 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 32px 0;
  text-align: center;
  flex-shrink: 0;
}

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

.helpers-06 .helper-demo {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-pink);
}

/* ── QR Scan clickable card ── */
.qr-scan-wrap {
  width: 100%;
  padding: 14px 32px 0;
  flex-shrink: 0;
}

.qr-scan-card {
  width: 100%;
  height: 72px;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 4px 14px -4px rgba(27, 27, 92, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.qr-scan-card:hover {
  background: var(--bg-soft);
}

.qr-icon-box {
  width: 52px;
  height: 52px;
  background: var(--bg-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-icon-box i[data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--brand-navy);
}

.qr-text {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.qr-chev {
  width: 32px;
  height: 32px;
  background: var(--bg-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-chev i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

/* ── Register card ── */
.register-wrap {
  width: 100%;
  padding: 14px 32px 24px;
  flex-shrink: 0;
}

.register-card {
  width: 100%;
  height: 72px;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 4px 14px -4px rgba(27, 27, 92, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.register-card:hover {
  background: var(--bg-soft);
}

.reg-icon-box {
  width: 52px;
  height: 52px;
  background: var(--bg-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-icon-box i[data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--brand-navy);
}

.reg-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

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

.reg-chev {
  width: 32px;
  height: 32px;
  background: var(--bg-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-chev i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

/* Shake animation for wrong code */
@keyframes input-shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-6px); }
  80%      { transform: translateX(4px); }
}
.card-input-box.is-error {
  animation: input-shake .4s ease-in-out;
  border-color: var(--error-red);
}
