:root {
  --bg-main: #080C14;
  --bg-card: #111827;
  --bg-card-alt: #1E293B;
  --bg-input: #0B1120;
  --border-color: #1F2937;
  --border-highlight: #334155;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --accent: #10B981;
  --accent-hover: #059669;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --blue: #3B82F6;
  --blue-soft: rgba(59, 130, 246, 0.14);
  --purple: #8B5CF6;
  --danger: #EF4444;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 16px 64px;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* TOPBAR */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10B981, #047857);
  color: #fff;
  font-weight: 900;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.brand-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uk-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s, border-color 0.15s;
}

.icon-btn:active {
  transform: scale(0.94);
}

/* CARDS & COMMON */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.pill-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

h3 {
  font-size: 15px;
  font-weight: 700;
}

.muted-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* DEMO PRESET BAR */
.demo-preset-bar {
  background: rgba(59, 130, 246, 0.1);
  border: 1px dashed rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.demo-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 8px;
}

.demo-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-chip {
  background: var(--bg-card-alt);
  color: var(--text-main);
  border: 1px solid var(--border-highlight);
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-chip:hover {
  border-color: var(--accent);
}

.accent-chip {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(16, 185, 129, 0.4);
}

/* FORMS */
.form-group {
  margin-bottom: 13px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  color: var(--text-main);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s;
}

input:focus,
select:focus {
  border-color: var(--accent);
}

.field-hint {
  display: block;
  font-size: 11px;
  color: var(--accent);
  margin-top: 4px;
  font-family: monospace;
}

/* ID STYLE SELECTOR */
.id-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.style-option {
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  display: block;
}

.style-option input {
  display: none;
}

.style-option.selected {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.08);
}

.style-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.style-sample {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  word-break: break-all;
}

.style-desc {
  font-size: 10px;
  color: var(--text-muted);
}

/* BUTTONS */
.btn-primary,
.btn-secondary,
.btn-accent,
.btn-ghost,
.btn-danger,
.btn-soundbox {
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.btn-primary {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #04130E;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.28);
}

.btn-secondary {
  background: var(--bg-card-alt);
  color: var(--text-main);
  border: 1px solid var(--border-highlight);
}

.btn-accent {
  background: var(--accent);
  color: #03140E;
  padding: 10px 14px;
}

.btn-soundbox {
  background: rgba(139, 92, 246, 0.16);
  color: #C4B5FD;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-block {
  width: 100%;
}

button:active {
  transform: scale(0.98);
}

/* IDENTITY BANNER */
.identity-banner {
  background: linear-gradient(145deg, #131F35, #0D1422);
  border: 1px solid #23324E;
  border-radius: var(--radius-lg);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.id-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.id-bank-tag {
  font-size: 11px;
  font-weight: 700;
  color: #93C5FD;
  background: rgba(59, 130, 246, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
}

.id-privacy-tag {
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
}

.id-handle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.id-handle-text {
  font-family: monospace;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
}

.mini-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.id-name-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.my-qr-trigger {
  background: var(--accent-soft);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  color: var(--accent);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}

.qr-mini-icon {
  font-size: 22px;
  line-height: 1;
}

/* CORE 2 ACTIONS: PAY & SPLIT */
.core-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.core-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  transition: border-color 0.15s, transform 0.12s;
  box-shadow: var(--shadow);
}

.core-card:hover {
  border-color: var(--accent);
}

.core-pay {
  background: linear-gradient(155deg, rgba(16, 185, 129, 0.14), var(--bg-card) 65%);
  border-color: rgba(16, 185, 129, 0.35);
}

.core-split {
  background: linear-gradient(155deg, rgba(59, 130, 246, 0.14), var(--bg-card) 65%);
  border-color: rgba(59, 130, 246, 0.35);
}

.core-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.core-title {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.core-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* RECEIVE BAR */
.receive-bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.receive-bar-title {
  font-size: 14px;
  font-weight: 700;
}

.receive-bar-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* SECTIONS: RECENT PEOPLE & LOCAL HISTORY */
.section-block {
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.local-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 4px;
}

.text-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.contacts-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.contact-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 92px;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

.contact-pill:hover {
  border-color: var(--accent);
}

.contact-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}

.contact-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-bank {
  font-size: 10px;
  color: var(--text-muted);
}

/* TRANSACTION LIST */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.tx-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
}

.tx-icon.in {
  background: var(--accent-soft);
  color: var(--accent);
}

.tx-icon.out {
  background: rgba(59, 130, 246, 0.14);
  color: #60A5FA;
}

.tx-icon.split {
  background: rgba(139, 92, 246, 0.15);
  color: #C4B5FD;
}

.tx-title {
  font-size: 14px;
  font-weight: 700;
}

.tx-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.tx-amount {
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.tx-amount.in {
  color: var(--accent);
}

.tx-amount.out {
  color: var(--text-main);
}

.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border-highlight);
  border-radius: 13px;
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* SUB-VIEW HEADER */
.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.back-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* QR GENERATOR VIEW */
.qr-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-input);
  padding: 4px;
  border-radius: 11px;
  margin-bottom: 14px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--bg-card-alt);
  color: var(--text-main);
}

.dynamic-input-panel {
  margin-bottom: 14px;
}

.amount-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1.5px solid var(--border-highlight);
  border-radius: 12px;
  padding: 4px 12px;
  margin-bottom: 8px;
}

.amount-input-wrap:focus-within {
  border-color: var(--accent);
}

.currency-prefix {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-right: 6px;
}

.amount-input-wrap input {
  border: none;
  background: transparent;
  font-size: 24px;
  font-weight: 800;
  padding: 8px 0;
}

.note-input {
  font-size: 13px;
}

.qr-frame-outer {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.compact-qr {
  padding: 14px;
}

.qr-frame-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.qr-brand-pill {
  font-size: 12px;
  font-weight: 800;
  color: #047857;
  background: #D1FAE5;
  padding: 3px 9px;
  border-radius: 99px;
}

.qr-mode-pill {
  font-size: 10px;
  font-weight: 800;
  color: #1E40AF;
  background: #DBEAFE;
  padding: 3px 9px;
  border-radius: 99px;
}

.qr-canvas-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin: 6px auto;
}

.qr-canvas-box img,
.qr-canvas-box svg,
.qr-canvas-box canvas {
  max-width: 220px;
  height: auto;
  border-radius: 8px;
}

.qr-amount-display {
  font-size: 22px;
  font-weight: 900;
  color: #065F46;
  margin-top: 4px;
}

.qr-id-caption {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  margin-top: 2px;
}

.qr-bank-caption {
  font-size: 11px;
  color: #64748B;
  margin-top: 3px;
}

.share-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.share-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.encrypted-preview-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
}

.enc-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.enc-hint {
  color: var(--text-muted);
  font-weight: 400;
}

.packet-code {
  display: block;
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
  word-break: break-all;
  max-height: 44px;
  overflow: hidden;
}

/* SCANNER & PASTE VIEW */
.scanner-box {
  position: relative;
  background: #030712;
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}

#qrVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanner-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.scanner-reticle {
  width: 145px;
  height: 145px;
  border: 2.5px dashed var(--accent);
  border-radius: 16px;
  box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.35);
  margin-bottom: 10px;
}

.scanner-Hint {
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(15, 23, 42, 0.8);
  padding: 4px 10px;
  border-radius: 99px;
}

.scanner-controls {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.file-qr-label {
  cursor: pointer;
}

.divider-label {
  text-align: center;
  margin: 16px 0;
  position: relative;
}

.divider-label span {
  background: var(--bg-card);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.paste-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

/* PAY STEP 2: VERIFIED RECIPIENT */
.verified-banner {
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.verified-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #03150E;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

.verified-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.recipient-summary-box {
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  border-radius: 14px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.recip-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #047857);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recip-name {
  font-size: 16px;
  font-weight: 800;
}

.recip-id {
  font-family: monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.recip-bank {
  font-size: 11px;
  color: var(--text-muted);
}

.pin-confirm-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 14px;
}

.pin-confirm-box label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #93C5FD;
  margin-bottom: 6px;
}

.pin-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pin-input-row input {
  max-width: 110px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 5px;
  font-weight: 800;
}

.biometric-badge {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.pay-action-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* SPLIT VIEW */
.stepper-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stepper-btn {
  width: 40px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-highlight);
  background: var(--bg-card-alt);
  color: var(--text-main);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.stepper-row input {
  text-align: center;
  font-weight: 800;
}

.split-math-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(16, 185, 129, 0.16));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.split-math-label {
  font-size: 13px;
  font-weight: 800;
}

.split-math-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.split-math-each {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

.split-active-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.split-progress-pill {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 99px;
}

.split-checklist-box h4 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.split-members-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.split-member-row {
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.split-member-row.paid {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}

.member-info {
  display: flex;
  align-items: center;
  gap: 9px;
}

.member-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.split-member-row.paid .member-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #04130E;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 22px;
  padding: 22px 18px;
  width: 100%;
  max-width: 410px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.receipt-card {
  text-align: center;
}

.receipt-check-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #03150E;
  font-size: 30px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

.receipt-status-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.7px;
  margin-bottom: 4px;
}

.receipt-amount {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 2px;
}

.receipt-party {
  font-size: 16px;
  font-weight: 700;
}

.receipt-static-id {
  font-family: monospace;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
}

.receipt-meta-grid {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 13px;
  padding: 12px;
  margin-bottom: 14px;
  text-align: left;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-row span {
  color: var(--text-muted);
}

.bank-bridge-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  text-align: left;
}

.bridge-title {
  font-size: 12px;
  font-weight: 800;
  color: #93C5FD;
  margin-bottom: 3px;
}

.bridge-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.bridge-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.settings-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #10B981;
  color: #03150E;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
