/* =========================================================
   DBS digibank Demo Walkthrough — Shared Styles
   ========================================================= */

:root {
  --dbs-red: #d10014;
  --dbs-red-dark: #a8000f;
  --dbs-dark: #0a1128;
  --dbs-navy: #1a2744;
  --dbs-yellow: #e8c63a;
  --dbs-yellow-bg: #fdf6d8;
  --dbs-green: #28a745;
  --dbs-blue-info: #e8f4fd;
  --dbs-blue-info-border: #b8d9f5;
  --off-white: #f5f5f5;
  --border-grey: #e0e0e0;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: #cccccc;
  min-height: 100vh;
}

/* ── Demo Top Bar ───────────────────────────────────────── */
.demo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--dbs-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 9999;
  gap: 12px;
  font-size: 12px;
}
.demo-bar .demo-bar-title {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.demo-bar .demo-bar-step {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #aaaaaa;
}
.demo-bar .demo-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.demo-bar button.toggle-btn {
  background: var(--dbs-red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
.demo-bar button.toggle-btn:hover { background: var(--dbs-red-dark); }
.demo-bar a.reset-link {
  color: #aaaaaa;
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
}
.demo-bar a.reset-link:hover { color: var(--white); }

/* ── Page Wrapper ───────────────────────────────────────── */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 64px;
  padding-bottom: 24px;
}

/* ── Phone Frame ────────────────────────────────────────── */
body.mode-phone .phone-frame {
  width: 400px;
  min-height: 820px;
  border-radius: 36px;
  border: 10px solid #1a1a1a;
  box-shadow: var(--shadow), 0 0 0 1px #333;
  background: var(--white);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
body.mode-phone .phone-frame::before {
  content: '';
  display: block;
  width: 100px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  margin: 10px auto 8px;
  flex-shrink: 0;
}
.phone-screen {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

/* ── Full-screen Mode ───────────────────────────────────── */
body.mode-fullscreen .page-wrapper {
  background: var(--off-white);
}
body.mode-fullscreen .phone-frame {
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 64px);
  border-radius: 0;
  border: none;
  box-shadow: none;
}
body.mode-fullscreen .phone-frame::before { display: none; }
body.mode-fullscreen .phone-screen {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* ── App Header ─────────────────────────────────────────── */
.app-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border-grey);
  min-height: 52px;
  flex-shrink: 0;
}
.app-header .back-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0 8px 0 0;
  line-height: 1;
}
.app-header .close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0 8px 0 0;
  line-height: 1;
}
.app-header .header-title {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.app-header .header-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-header .chat-icon {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  color: var(--dbs-red);
}
.app-header .skip-link {
  font-size: 13px;
  color: var(--dbs-red);
  text-decoration: none;
  font-weight: 500;
}

/* DBS Logo text */
.dbs-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dbs-logo .dbs-mark {
  background: var(--dbs-red);
  color: white;
  font-weight: 900;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 1px;
}
.dbs-logo .dbs-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Registration Band ──────────────────────────────────── */
.registration-band {
  background: var(--dbs-yellow-bg);
  border-bottom: 2px solid var(--dbs-yellow);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.registration-band .band-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Screen Content ─────────────────────────────────────── */
.screen-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Info Note ──────────────────────────────────────────── */
.info-note {
  background: var(--dbs-blue-info);
  border: 1px solid var(--dbs-blue-info-border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: #2c5282;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}
.info-note .info-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* ── Section Label ──────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── Form Controls ──────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--dbs-red);
  box-shadow: 0 0 0 2px rgba(209,0,20,0.1);
}
input::placeholder { color: var(--text-muted); }

.input-with-prefix {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.input-with-prefix:focus-within {
  border-color: var(--dbs-red);
  box-shadow: 0 0 0 2px rgba(209,0,20,0.1);
}
.input-prefix {
  padding: 11px 10px;
  background: var(--off-white);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-grey);
  white-space: nowrap;
}
.input-with-prefix input {
  border: none;
  border-radius: 0;
  flex: 1;
}
.input-with-prefix input:focus {
  border: none;
  box-shadow: none;
}

.input-with-icon {
  position: relative;
}
.input-with-icon input { padding-right: 40px; }
.input-with-icon .input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  width: 100%;
  background: var(--dbs-red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  text-transform: uppercase;
}
.btn-primary:hover:not(:disabled) { background: var(--dbs-red-dark); }
.btn-primary:disabled {
  background: #cccccc;
  cursor: not-allowed;
  color: #888;
}
.btn-secondary {
  width: 100%;
  background: var(--white);
  color: var(--dbs-red);
  border: 2px solid var(--dbs-red);
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  text-transform: uppercase;
}
.btn-secondary:hover { background: rgba(209,0,20,0.05); }
.btn-ghost {
  background: none;
  border: none;
  color: var(--dbs-red);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: none;
  display: inline-block;
}

/* ── Radio Options List ─────────────────────────────────── */
.radio-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  overflow: hidden;
}
.radio-item {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-grey);
  cursor: pointer;
  transition: background 0.15s;
  gap: 12px;
}
.radio-item:last-child { border-bottom: none; }
.radio-item:hover { background: var(--off-white); }
.radio-item input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--dbs-red);
  cursor: pointer;
  border: none;
  border-radius: 0;
  padding: 0;
}
.radio-item input[type="radio"]:focus { box-shadow: none; border: none; }
.radio-item label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  flex: 1;
  margin: 0;
}

/* Inline radios (salutation) */
.radio-inline {
  display: flex;
  gap: 20px;
  align-items: center;
}
.radio-inline-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.radio-inline-item input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--dbs-red);
  cursor: pointer;
  border: none;
  padding: 0;
}
.radio-inline-item label {
  font-size: 14px;
  cursor: pointer;
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  padding: 14px;
  background: var(--white);
}
.card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.card-value {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ── Clickable Cards ────────────────────────────────────── */
.action-card {
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  padding: 16px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.action-card:hover {
  border-color: var(--dbs-red);
  box-shadow: 0 2px 8px rgba(209,0,20,0.1);
}
.action-card.selected {
  border-color: var(--dbs-red);
  background: rgba(209,0,20,0.03);
}
.action-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.action-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Badge ──────────────────────────────────────────────── */
.badge-recommended {
  display: inline-block;
  background: var(--dbs-green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* ── Link styles ────────────────────────────────────────── */
a.in-app-link, span.in-app-link {
  color: var(--dbs-red);
  text-decoration: underline;
  cursor: pointer;
}

/* ── Checkbox ───────────────────────────────────────────── */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--dbs-red);
  margin-top: 1px;
  cursor: pointer;
  border: none;
  border-radius: 0;
  padding: 0;
}
.checkbox-row label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-primary);
  cursor: pointer;
}

/* ── Divider ────────────────────────────────────────────── */
.divider-or {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-grey);
}

/* ── Hero Placeholder ───────────────────────────────────── */
.hero-placeholder {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border-radius: 8px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  gap: 8px;
}
.hero-placeholder .hero-icon { font-size: 48px; }

/* ── Pagination Dots ────────────────────────────────────── */
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-grey);
}
.dot.active {
  background: var(--dbs-red);
  width: 20px;
  border-radius: 4px;
}

/* ── OTP Input ──────────────────────────────────────────── */
.otp-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
}
.otp-box {
  width: 44px;
  height: 52px;
  border: 2px solid var(--border-grey);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  background: var(--off-white);
}
.otp-single-input {
  font-size: 24px;
  letter-spacing: 16px;
  text-align: center;
  border: 2px solid var(--border-grey);
  border-radius: 8px;
  padding: 12px 20px;
  width: 100%;
  font-family: monospace;
}

/* ── OTP notification bar ───────────────────────────────── */
.sms-notification {
  background: #2d2d2d;
  color: var(--white);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
}
.sms-notification .sms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.sms-notification .sms-sender {
  font-weight: 600;
  font-size: 12px;
  color: #aad4f5;
}
.sms-notification .sms-time {
  font-size: 11px;
  color: #aaaaaa;
}
.sms-notification .sms-body { font-size: 13px; line-height: 1.4; }
.sms-notification .sms-otp {
  font-size: 20px;
  font-weight: 700;
  color: #a8d8ea;
  letter-spacing: 4px;
}

/* ── Countdown / Resend ─────────────────────────────────── */
.otp-timer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}
.timer-value { font-weight: 700; color: var(--dbs-red); }
.resend-btn-disabled {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: not-allowed;
}

/* ── Account Selection Cards ────────────────────────────── */
.account-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.account-card {
  border: 2px solid var(--border-grey);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.account-card:hover {
  border-color: var(--dbs-red);
  box-shadow: 0 2px 8px rgba(209,0,20,0.1);
}
.account-card.selected { border-color: var(--dbs-red); }
.account-card-header {
  background: var(--dbs-dark);
  color: var(--white);
  padding: 12px 14px;
}
.account-card-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.account-card-mab {
  font-size: 12px;
  color: #aaaaaa;
}
.account-card-body {
  padding: 12px 14px;
}
.account-card-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.account-card-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.account-card-benefits li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.account-card-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--dbs-green);
  font-weight: 700;
}
.account-card-you-get {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}
.account-card-you-get ul {
  list-style: disc;
  padding-left: 16px;
  margin-top: 4px;
}
.account-card-you-get li { font-weight: 400; margin-bottom: 2px; }
.account-card-cta {
  width: 100%;
  background: var(--dbs-red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.account-card-cta:hover { background: var(--dbs-red-dark); }

/* ── Fee Cards ──────────────────────────────────────────── */
.fee-card {
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  padding: 14px;
  background: var(--white);
  cursor: pointer;
}
.fee-card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.fee-card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.fee-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.fee-card-amount {
  text-align: right;
  flex-shrink: 0;
}
.fee-we-charge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.fee-amount-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ── TnC webview ────────────────────────────────────────── */
.tnc-webview {
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  overflow: hidden;
}
.tnc-webview-bar {
  background: var(--dbs-dark);
  color: var(--white);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.tnc-webview-bar .wv-dbs {
  font-weight: 700;
  font-size: 14px;
  color: var(--dbs-red);
}
.tnc-webview-content {
  padding: 14px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.tnc-webview-content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.tnc-webview-content p { margin-bottom: 10px; }

/* ── KYC Choice Cards ───────────────────────────────────── */
.kyc-card {
  border: 2px solid var(--border-grey);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.kyc-card:hover {
  border-color: var(--dbs-red);
  box-shadow: 0 2px 8px rgba(209,0,20,0.1);
}
.kyc-card-icon {
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.kyc-card-body { flex: 1; }
.kyc-card-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.kyc-card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ── Branch Reference Steps ─────────────────────────────── */
.steps-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-visual-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}
.step-visual-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
  flex-shrink: 0;
}
.step-visual-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dbs-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.step-visual-line {
  width: 2px;
  flex: 1;
  background: var(--border-grey);
  min-height: 24px;
  margin: 4px 0;
}
.step-visual-content {
  flex: 1;
  padding-bottom: 18px;
}
.step-visual-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.step-visual-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ── Hub Page Cards ─────────────────────────────────────── */
.hub-link-card {
  border: 1px solid var(--dbs-red);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(209,0,20,0.03);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.hub-link-card:hover { background: rgba(209,0,20,0.07); }
.hub-link-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dbs-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.hub-link-desc { font-size: 12px; color: var(--text-secondary); }

.hub-section-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.hub-product-card {
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.hub-product-card:hover {
  border-color: var(--dbs-red);
  box-shadow: 0 2px 8px rgba(209,0,20,0.1);
}
.hub-product-icon {
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hub-product-body { flex: 1; }
.hub-product-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.hub-product-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ── Bottom Fixed Button Area ───────────────────────────── */
.bottom-btn-area {
  padding: 14px 16px;
  background: var(--white);
  border-top: 1px solid var(--border-grey);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Fine print ─────────────────────────────────────────── */
.fine-print {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  padding: 0 8px;
}

/* ── Reference code display ─────────────────────────────── */
.reference-code-display {
  text-align: center;
  padding: 20px;
  border: 2px dashed var(--dbs-red);
  border-radius: 10px;
  background: rgba(209,0,20,0.03);
}
.reference-code-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.reference-code-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--dbs-red);
  letter-spacing: 6px;
}

/* ── Welcome screen ─────────────────────────────────────── */
.welcome-headline {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
  padding: 0 8px;
}

/* ── Scrollable spacer ──────────────────────────────────── */
.spacer { flex: 1; }

/* ── Big centered heading ───────────────────────────────── */
.big-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}
.sub-heading {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/* ── Login page ─────────────────────────────────────────── */
.login-header {
  background: var(--dbs-dark);
  padding: 32px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.login-dbs-x {
  width: 60px;
  height: 60px;
  background: var(--dbs-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}
.login-app-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* ── Link styled as text ────────────────────────────────── */
.text-link {
  color: var(--dbs-red);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.text-link:hover { text-decoration: underline; }

/* ── Hub bottom login button ────────────────────────────── */
.hub-bottom {
  padding: 16px;
  border-top: 1px solid var(--border-grey);
  flex-shrink: 0;
}

/* ── Icon placeholder ───────────────────────────────────── */
.icon-placeholder {
  width: 32px;
  height: 32px;
  background: var(--off-white);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ── Address card ───────────────────────────────────────── */
.address-card {
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  padding: 14px;
  background: var(--off-white);
}
.address-card-italic {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Change link row ────────────────────────────────────── */
.change-link-row {
  display: flex;
  justify-content: flex-end;
}

/* ── Sub heading band (step 19) ─────────────────────────── */
.section-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

/* ── TRV note ───────────────────────────────────────────── */
.trv-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 8px 0;
  cursor: pointer;
}

/* ── Entry page (index.html) styles ────────────────────── */
.entry-body {
  background: var(--off-white);
  min-height: 100vh;
  padding-top: 64px;
}
.entry-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px;
}
.entry-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.entry-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.entry-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.entry-cta-btn {
  display: block;
  background: var(--dbs-red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.entry-cta-btn:hover { background: var(--dbs-red-dark); }
.entry-cta-btn.secondary {
  background: var(--white);
  color: var(--dbs-red);
  border: 2px solid var(--dbs-red);
}
.entry-cta-btn.secondary:hover { background: rgba(209,0,20,0.05); }
.jump-select-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.jump-select-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.jump-select-row select {
  flex: 1;
  font-size: 13px;
}
.dbs-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dbs-dark);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}
.dbs-demo-badge .dbs-mark {
  background: var(--dbs-red);
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
  padding: 3px 8px;
  border-radius: 2px;
}
.dbs-demo-badge span { font-size: 14px; font-weight: 600; }
