/* ============================================================
   GoPass Terminal — Screen 05: Sign In
   ============================================================ */

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

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

/* ── Content area ── */
.content-05 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 32px 32px;
  overflow: hidden;
}

/* ── Sign-In Savings Card ── */
.savings-card {
  width: 100%;
  height: 316px;
  background: linear-gradient(225deg, #3B5998 0%, #4A69BD 100%);
  border-radius: 24px;
  box-shadow: 0 12px 28px -8px rgba(59, 89, 152, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 26px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}

.savings-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 0 4px;
}

.savings-amount {
  color: #ffffff;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.savings-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.savings-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.savings-cta-row {
  width: 100%;
  height: 84px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  flex-shrink: 0;
}

.savings-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.savings-icon-box i[data-lucide] {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

/* Belt-and-braces: force white stroke on Lucide SVG nodes inside the savings CTA row */
.savings-cta-row i[data-lucide] svg,
.savings-cta-row svg {
  stroke: #ffffff;
  color: #ffffff;
}

.savings-icon-box i[data-lucide] svg,
.savings-icon-box svg {
  stroke: #ffffff;
}

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

.savings-text-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.savings-text-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 400;
}

.savings-chevron {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.savings-chevron i[data-lucide] {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.savings-chevron i[data-lucide] svg,
.savings-chevron svg {
  stroke: #ffffff;
}

/* ── Clickable card (Continue without sign-in) ── */
.option-card {
  width: 100%;
  background: var(--bg-card);
  border-radius: 22px;
  box-shadow: 0 8px 24px -8px rgba(27, 27, 92, 0.10);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px 18px 18px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s;
}

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

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

.option-icon-box i[data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--text-primary);
}

.option-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.option-sub {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
}

.option-chevron {
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-chevron i[data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

/* ── Register card variant: navy icon box ── */
.register-card {
  border: 1.5px solid var(--brand-navy);
}

.register-icon-box {
  background: var(--brand-navy);
}

.register-icon-box i[data-lucide] {
  color: #ffffff;
}

/* Belt-and-braces: force white stroke on the Lucide SVG rendered inside the navy icon box */
.register-icon-box i[data-lucide] svg,
.register-icon-box svg {
  stroke: #ffffff;
  color: #ffffff;
}

/* ── Guest comparison modal ──
   Adapts the e-shop "Continue without an account?" concept: kiosk price vs
   non-logged-in price + the difference, populated live from offline-price-impact. */
.gp-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(14, 14, 61, 0.45);
}
.gp-modal-overlay.is-open { display: flex; }

.gp-modal {
  width: 100%;
  background: var(--bg-card);
  border-radius: 28px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px -12px rgba(14, 14, 61, 0.4);
}
.gp-modal-title { margin: 0; font-size: 28px; font-weight: 800; color: var(--text-primary); }
.gp-modal-sub   { margin: 0; font-size: 15px; font-weight: 400; color: var(--text-secondary); line-height: 1.5; }

.gp-price-row { display: flex; gap: 14px; }
.gp-price-card {
  flex: 1;
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gp-price-label { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.gp-price-value { font-size: 30px; font-weight: 800; }
.gp-price-green { color: var(--success-green); }
.gp-price-red   { color: var(--error-red); }

.gp-diff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--error-red-soft);
  border-radius: 16px;
  padding: 16px 20px;
}
.gp-diff-label { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.gp-diff-value { font-size: 22px; font-weight: 800; color: var(--error-red); }
.gp-diff-row.is-zero { background: var(--bg-soft); }
.gp-diff-row.is-zero .gp-diff-value { color: var(--success-green); }

.gp-unlinked-note {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.gp-btn-primary {
  background: var(--brand-pink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.gp-btn-primary:active { background: var(--brand-pink-dark); }
.gp-btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
  border-radius: 999px;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
