@font-face {
  font-family: 'Nu Sans';
  src: url('https://nubank.com.br/fonts/NuSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Nu Sans';
  src: url('https://nubank.com.br/fonts/NuSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Nu Sans';
  src: url('https://nubank.com.br/fonts/NuSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nu Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus, button:focus { outline: none; }

html, body {
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior: none;
}

.pix-header,
.transfer-header,
.confirm-header,
.receipt-detail-header {
  padding-top: calc(18px + env(safe-area-inset-top)) !important;
}
.bottom-nav {
  margin-bottom: env(safe-area-inset-bottom);
}

body {
  background: #000;
  min-height: 100vh;
}

.phone {
  width: 100%;
  background: #000;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.status-bar {
  background: #820AD1;
  color: white;
  padding: 12px 24px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}
.signal span {
  width: 3px;
  background: white;
  border-radius: 1px;
}
.signal span:nth-child(1) { height: 4px; }
.signal span:nth-child(2) { height: 6px; }
.signal span:nth-child(3) { height: 8px; }
.signal span:nth-child(4) { height: 10px; }

.battery {
  width: 22px;
  height: 11px;
  border: 1.5px solid white;
  border-radius: 3px;
  position: relative;
  background: white;
}
.battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: white;
  border-radius: 0 1px 1px 0;
}

.header-purple {
  background: #820AD1;
  height: 12px;
}

/* Top bar */
.top-bar {
  background: #820AD1;
  padding: calc(18px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) 26px calc(20px + env(safe-area-inset-left));
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  row-gap: 18px;
}
.profile {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.profile-img {
  background: #6b1ab8;
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-img img {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.profile-fallback {
  width: 24px;
  height: 24px;
}
.profile svg { width: 26px; height: 26px; }
.profile-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  border: 2px solid #820AD1;
}
.top-icons {
  justify-self: end;
}
.greeting {
  grid-column: 1 / -1;
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
}
.top-icons {
  display: flex;
  gap: 18px;
}
.top-ic {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.top-ic svg { width: 22px; height: 22px; }

/* Pills */
.pills {
  display: flex;
  gap: 10px;
  padding: 0 24px 20px;
}
.pill {
  background: #1f1f1f;
  border-radius: 100px;
  padding: 6px 14px 6px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: white;
}
.pill-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pill-icon svg { width: 16px; height: 16px; }
.pill-icon-pink { background: #e91e63; }
.pill-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

/* Card button text */
.card-button {
  justify-content: flex-start;
}
.card-button-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  gap: 2px;
}
.card-button-text strong {
  font-size: 15px;
  font-weight: 600;
}
.card-button-text small {
  font-size: 13px;
  color: #aaa;
  font-weight: 400;
}

/* Info cards big */
.info-card.big {
  min-width: 300px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.info-card.big p { flex: 1; }
.caixinha-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.caixinha-icon svg { width: 40px; height: 40px; }

/* Carousel */
.carousel {
  padding: 0 24px 20px;
}
.carousel-card {
  background: #1f1f1f;
  border-radius: 14px;
  padding: 20px;
}
.carousel-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.carousel-content p {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  color: white;
}
.dots {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.dot {
  width: 5px;
  height: 5px;
  background: #555;
  border-radius: 50%;
}
.dot.active {
  background: #fff;
}

/* CC actions */
.cc-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.cc-btn {
  flex: 1;
  background: #1f1f1f;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.cc-btn-primary {
  background: #c92057;
  color: white;
}

/* Content */
.content {
  flex: 1;
  overflow-y: auto;
  background: #000;
  color: white;
  padding: 0 0 80px;
}

.content::-webkit-scrollbar {
  width: 6px;
}
.content::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

/* Account */
.account {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
}
.account h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.balance {
  font-size: 17px;
  font-weight: 700;
}
.chevron {
  color: #888;
  font-size: 24px;
  font-weight: 300;
}

/* Quick actions */
.quick-actions {
  display: flex;
  gap: 16px;
  padding: 8px 24px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-actions::-webkit-scrollbar { display: none; }

.action {
  background: none;
  border: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  min-width: 60px;
  position: relative;
  text-align: center;
  line-height: 1.2;
}

.icon-circle {
  width: 52px;
  height: 52px;
  background: #1f1f1f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg {
  width: 24px;
  height: 24px;
}

.action-badge {
  position: relative;
}
.badge {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: #820AD1;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  border: 2px solid #000;
}

/* Card button */
.card-button {
  margin: 0 24px 20px;
  background: #1f1f1f;
  border: none;
  color: white;
  padding: 22px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: calc(100% - 48px);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}
.card-button-label { font-size: 16px; font-weight: 600; }
.card-button svg {
  width: 22px;
  height: 22px;
}

/* Info cards */
.info-cards {
  display: flex;
  gap: 12px;
  padding: 0 24px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.info-cards::-webkit-scrollbar { display: none; }

.info-card {
  background: #1f1f1f;
  border-radius: 14px;
  padding: 20px;
  min-width: 260px;
  color: white;
  font-size: 14px;
  line-height: 1.4;
}
.highlight {
  color: #b58aff;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 20px 24px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.section h3 {
  font-size: 16px;
  font-weight: 600;
}
.label {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 4px;
}
.value {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sublabel {
  color: #aaa;
  font-size: 14px;
  line-height: 1.45;
}
.subtitle-bold {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin: 8px 0 10px;
}
.divider {
  height: 1px;
  background: #1f1f1f;
  margin: 0 24px;
}

/* Assistant */
.assistant {
  margin: 0 24px 20px;
  background: #1f1f1f;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.assistant-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.assistant-icon svg {
  width: 22px;
  height: 22px;
}
.assistant span:nth-child(2) { flex: 1; }
.tag-new {
  background: #820AD1;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
}

.spacer { height: 40px; }

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f1f1f;
  border-radius: 40px;
  padding: 10px 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  z-index: 100;
}

.nav-item {
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.nav-item svg {
  width: 22px;
  height: 22px;
}
.nav-main {
  background: #820AD1;
}
.nav-main svg {
  width: 24px;
  height: 24px;
}

.content {
  padding-bottom: 100px;
}

/* === Pix page === */
.pix-page svg { display: block; }
.pix-page { padding: 0 0 40px; color: white; }
.pix-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 8px; }
.icon-btn { background: none; border: none; cursor: pointer; padding: 6px; display: inline-flex; }
.icon-btn svg { width: 24px; height: 24px; }
.pix-title { font-size: 28px; font-weight: 700; padding: 12px 24px 24px; color: white; }
.pix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 16px; padding: 8px 24px 28px; }
.pix-action { background: none; border: none; cursor: pointer; color: white; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.2; }
.pix-icon { width: 72px; height: 72px; background: #2a2a2a; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pix-icon svg { width: 30px; height: 30px; }
.pix-banner { margin: 16px 24px 28px; background: #4a3aa8; border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.pix-banner-text { flex: 1; }
.pix-banner-text strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; color: white; }
.pix-banner-text p { font-size: 14px; color: #d8d4ff; line-height: 1.4; }
.pix-banner-icon { width: 56px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pix-banner-icon svg { width: 56px; height: 56px; }
.pix-section-divider { height: 1px; background: #1f1f1f; margin: 8px 0 16px; }
.pix-section-title { color: #888; font-size: 16px; font-weight: 700; padding: 0 24px 14px; }
.pix-list { list-style: none; padding: 0 24px; }
.pix-list-item { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid #1f1f1f; cursor: pointer; }
.pix-list-item:last-child { border-bottom: none; }
.pix-list-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pix-list-icon svg { width: 28px; height: 28px; }
.pix-list-text { flex: 1; font-size: 16px; font-weight: 700; }

/* === Transfer page === */
.transfer-page svg { display: block; }
.transfer-page { padding: 0 0 40px; color: white; }
.transfer-header { padding: 18px 22px 8px; }
.transfer-title { font-size: 26px; font-weight: 700; padding: 18px 24px 28px; color: white; line-height: 1.25; }
.transfer-field { padding: 0 24px 28px; }
.transfer-label { display: block; color: white; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.transfer-input-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #2a2a2a; padding-bottom: 10px; }
.transfer-input { flex: 1; background: none; border: none; color: white; font-size: 18px; font-weight: 600; outline: none; padding: 4px 0; font-family: inherit; }
.transfer-input::placeholder { color: #6e6e6e; font-weight: 600; }
.qr-btn { background: none; border: none; cursor: pointer; padding: 4px; }
.qr-btn svg { width: 26px; height: 26px; }
.transfer-section { padding: 12px 24px 18px; }
.transfer-section-title { color: white; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.contacts-list { list-style: none; padding: 0; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #1a1a1a; cursor: pointer; }
.contacts-title-btn { cursor: pointer; }
.contact-info { flex: 1; }
.contact-del { background: none; border: none; cursor: pointer; padding: 6px; }
.contact-del svg { width: 18px; height: 18px; display: block; }
.sheet-field select {
  width: 100%;
  background: #2a2a2a;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
}
.contact-avatar { width: 48px; height: 48px; border-radius: 50%; background: #2a2a2a; color: white; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.contact-name { font-size: 16px; font-weight: 700; color: white; }
.transfer-hint { color: white; font-size: 14px; font-weight: 700; margin-top: 18px; line-height: 1.4; }

/* FAB */
.fab {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 64px;
  height: 64px;
  background: #820AD1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  text-decoration: none;
  z-index: 100;
}
.fab svg { width: 28px; height: 28px; }
.fab[hidden] { display: none !important; }

/* === Confirm page === */
.confirm-page svg { display: block; }
.confirm-page { padding: 0 0 120px; color: white; min-height: 100vh; position: relative; }
.confirm-header { padding: 18px 22px 8px; }
.confirm-header .icon-btn svg { width: 28px; height: 28px; }
.confirm-title { font-size: 26px; font-weight: 700; padding: 18px 24px 28px; color: white; line-height: 1.25; }
.confirm-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px 24px 28px; }
.confirm-avatar { width: 96px; height: 96px; border-radius: 50%; background: #2a2a2a; color: white; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.confirm-name { font-size: 17px; font-weight: 700; text-align: center; }
.confirm-doc { font-size: 15px; color: #aaa; font-weight: 600; letter-spacing: 1px; }
.confirm-list { list-style: none; padding: 0 24px; margin-top: 8px; }
.confirm-list-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #1f1f1f; }
.confirm-list-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.confirm-list-icon svg { width: 28px; height: 28px; }
.bank-icon { background: white; border-radius: 50%; width: 36px; height: 36px; }
.bank-icon svg { width: 22px; height: 22px; }
.bank-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.confirm-list-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.confirm-list-text { font-size: 16px; font-weight: 700; color: white; }
.confirm-list-sub { font-size: 14px; color: #888; font-weight: 600; }
.save-text { flex: 1; }

/* Toggle */
.toggle { position: relative; display: inline-block; width: 50px; height: 28px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #444; border-radius: 28px; transition: 0.2s; }
.toggle-slider::before { content: ''; position: absolute; height: 22px; width: 22px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: 0.2s; }
.toggle input:checked + .toggle-slider { background: #820AD1; }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

.confirm-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: #820AD1;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  display: block;
}

/* === Amount page === */
.amount-page svg { display: block; }
.amount-page { color: white; min-height: 100vh; display: flex; flex-direction: column; }
.amount-body { padding: 0 24px 8px; flex: 1; }
.amount-label { color: #aaa; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.amount-label-spaced { margin-top: 26px; }
.amount-recipient { font-size: 22px; font-weight: 700; color: white; }
.amount-display { display: flex; align-items: baseline; gap: 14px; padding: 6px 0 10px; cursor: text; }
.amount-currency { font-size: 26px; font-weight: 700; }
.amount-value { font-size: 26px; font-weight: 700; }
.amount-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  border: none;
  background: transparent;
  caret-color: transparent;
}
.amount-underline { height: 1px; background: #2a2a2a; }
.payment-card {
  background: rgba(130, 10, 209, 0.18);
  border: 2px solid #820AD1;
  border-radius: 14px;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  width: 50%;
  min-height: 130px;
  justify-content: space-between;
  margin-bottom: 22px;
}
.payment-card-icon svg { width: 22px; height: 22px; stroke: #b58aff; }
.payment-card-text { display: flex; flex-direction: column; gap: 1px; color: #b58aff; }
.payment-card-text strong { font-size: 14px; font-weight: 700; }
.payment-card-text span { font-size: 13px; font-weight: 600; }
.amount-continue {
  width: 100%;
  background: #2a2a2a;
  color: #6e6e6e;
  border: none;
  padding: 18px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 16px;
}
.amount-continue:not(:disabled) {
  background: #820AD1;
  color: white;
}

.hidden-input {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  border: none;
  background: transparent;
  caret-color: transparent;
}

/* Numpad (legado, não utilizado) */
.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 12px 18px;
  background: #1a1a1a;
}
.numkey {
  background: #2a2a2a;
  border: none;
  color: white;
  border-radius: 10px;
  padding: 14px 0;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 56px;
  justify-content: center;
}
.numkey-empty { background: transparent; cursor: default; }
.numkey-back { background: transparent; }
.numkey-back svg { width: 26px; height: 22px; }
.numkey-n { font-size: 22px; font-weight: 600; }
.numkey-l { font-size: 10px; color: #aaa; letter-spacing: 1px; font-weight: 600; }

/* === Send (revisão) page === */
.send-page svg { display: block; }
.send-page { color: white; min-height: 100vh; padding-bottom: 110px; }
.send-title { font-size: 26px; font-weight: 700; padding: 12px 24px 24px; }
.send-block { padding: 0 24px; }
.send-row { display: flex; justify-content: space-between; align-items: flex-start; }
.send-amount { font-size: 24px; font-weight: 700; color: #b58aff; }
.send-subtle { font-size: 14px; color: #888; font-weight: 600; margin-top: 4px; }
.send-block .send-subtle { color: #b58aff; }
.send-edit { background: none; border: none; cursor: pointer; padding: 8px; }
.send-edit svg { width: 22px; height: 22px; }
.send-arrow { display: flex; align-items: center; gap: 10px; padding: 20px 0; }
.send-arrow-line { flex: 1; height: 1px; background: #2a2a2a; }
.send-arrow-icon svg { width: 18px; height: 18px; }
.send-recipient { padding-bottom: 18px; }
.send-name { font-size: 18px; font-weight: 700; color: #b58aff; margin-bottom: 4px; }
.send-bank { font-size: 15px; font-weight: 700; color: #b58aff; margin-bottom: 12px; }
.send-key { font-size: 15px; font-weight: 600; color: white; }
.send-details { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; color: #888; font-size: 15px; font-weight: 600; }
.send-details svg { width: 18px; height: 18px; }
.send-divider { height: 1px; background: #1f1f1f; margin: 0 0 8px; }
.send-info { padding: 0 24px; }
.send-info-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.send-info-row svg { width: 22px; height: 22px; }
.send-info-label { font-size: 14px; color: #888; font-weight: 600; margin-bottom: 4px; }
.send-info-value { font-size: 16px; font-weight: 700; color: white; }
.send-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  border-top: 1px solid #1f1f1f;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.send-total { font-size: 18px; font-weight: 700; color: white; }
.send-footer .send-subtle { color: #888; }
.send-btn {
  background: #820AD1;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

/* === Password page === */
.password-page { color: white; min-height: 100vh; }
.password-title { font-size: 26px; font-weight: 700; padding: 12px 24px 14px; line-height: 1.25; }
.password-title-purple { color: #b58aff; }
.password-sub { color: #aaa; font-size: 15px; font-weight: 700; padding: 0 24px 40px; line-height: 1.4; }
.password-dots { display: flex; gap: 36px; justify-content: center; padding: 30px 24px; }
.pwd-dot { width: 12px; height: 12px; border-radius: 50%; background: #444; transition: background 0.15s; }
.pwd-dot.filled { background: #b58aff; }

/* === Bottom sheet === */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sheet-backdrop.open { opacity: 1; }
.sheet-backdrop[hidden] { display: none; }

.sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-radius: 20px 20px 0 0;
  padding: 12px 24px 28px;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.sheet.open { transform: translateY(0); }
.sheet[hidden] { display: none; }
.sheet-handle {
  width: 40px;
  height: 4px;
  background: #444;
  border-radius: 2px;
  margin: 0 auto 14px;
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.sheet-header h2 {
  color: white;
  font-size: 20px;
  font-weight: 700;
}
.sheet-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.sheet-close svg { width: 22px; height: 22px; display: block; }

.sheet-pic-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.sheet-pic {
  position: relative;
  width: 96px;
  height: 96px;
  background: #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.sheet-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sheet-pic svg { width: 36px; height: 36px; }
.sheet-pic-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: #820AD1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1a1a1a;
}
.sheet-pic-edit svg { width: 16px; height: 16px; }

.sheet-field {
  margin-bottom: 18px;
}
.sheet-field label {
  display: block;
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sheet-field input {
  width: 100%;
  background: #2a2a2a;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
}
.sheet-field input:focus {
  background: #333;
}

.sheet-save {
  width: 100%;
  background: #820AD1;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}

/* === Receipt detail (white) page === */
.receipt-white-body { background: #fff; }
.receipt-detail-page { background: #fff; color: #1a1a1a; min-height: 100vh; padding-bottom: 40px; }
.receipt-detail-page svg { display: block; }
.receipt-detail-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; }
.receipt-detail-header .icon-btn svg { width: 22px; height: 22px; }
.receipt-logo { padding: 8px 24px 18px; }
.receipt-logo-inner { position: relative; display: inline-block; }
.receipt-logo img { width: 64px; height: auto; display: block; }
.receipt-check {
  position: absolute;
  right: -6px;
  bottom: -6px;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  line-height: 0;
}
.receipt-check svg { width: 18px; height: 18px; display: block; }
.rd-title { font-size: 26px; font-weight: 800; padding: 0 24px 8px; color: #1a1a1a; line-height: 1.2; }
.rd-date { padding: 0 24px 24px; color: #666; font-size: 15px; font-weight: 700; }
.rd-section { padding: 0 24px; }
.rd-section-title { padding: 18px 24px 8px; color: #666; font-size: 14px; font-weight: 700; }
.rd-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 14px 0; gap: 16px; }
.rd-row-stack { align-items: flex-start; }
.rd-row-stack .rd-value { max-width: 60%; text-align: right; word-break: break-all; }
.rd-label { color: #1a1a1a; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.rd-value { color: #555; font-size: 15px; font-weight: 700; text-align: right; }
.rd-mono { font-weight: 700; }
.rd-divider { height: 1px; background: #e5e5e5; margin: 8px 24px; }
.rd-footer {
  background: #f4f4f4;
  padding: 24px;
  margin-top: 14px;
}
.rd-footer p { font-size: 13px; color: #1a1a1a; margin-bottom: 14px; line-height: 1.5; }
.rd-footer-block strong { font-weight: 800; }
.rd-link { color: #820AD1; font-weight: 800; font-size: 15px; display: inline-flex; gap: 8px; margin: 4px 0 18px; }
.rd-small { font-size: 12px; color: #444; }

/* === Receipt page === */
.receipt-page { color: white; min-height: 100vh; padding-bottom: 100px; }
.receipt-illustration { padding: 20px 24px 12px; }
.receipt-illustration svg, .receipt-illustration img { width: 60%; max-width: 220px; display: block; }
.receipt-title { font-size: 26px; font-weight: 700; padding: 14px 24px 36px; line-height: 1.25; }
.receipt-amount-block { padding: 0 24px 22px; }
.receipt-amount { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.receipt-to { font-size: 16px; font-weight: 700; color: white; }
.receipt-divider { height: 1px; background: #1f1f1f; margin: 0 24px; }
.receipt-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; font-size: 16px; }
.receipt-label { color: white; font-weight: 700; }
.receipt-value { color: #aaa; font-weight: 700; }
.receipt-banner {
  margin: 22px 24px;
  background: #2a1a4f;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.receipt-banner-text { flex: 1; }
.receipt-banner-text strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.receipt-banner-text p { font-size: 14px; color: #c8c0e8; line-height: 1.4; }
.receipt-banner-img { width: 90px; height: 70px; flex-shrink: 0; }
.receipt-banner-img svg { width: 100%; height: 100%; border-radius: 8px; }
.receipt-btn {
  position: fixed;
  bottom: 20px;
  left: 24px;
  right: 24px;
  background: #820AD1;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.receipt-btn svg { width: 22px; height: 22px; }

/* === Processing page === */
.processing-page { color: white; min-height: 100vh; background: #000; position: relative; overflow: hidden; }
.processing-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 24px 32px;
}
.processing-stages {
  position: relative;
  height: 220px;
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
  padding-bottom: 12px;
}
.stage {
  font-size: 30px;
  font-weight: 700;
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stage.active { opacity: 1; transform: translateY(0); }
.stage.past { opacity: 0.18; transform: translateY(0); }

.progress-bar {
  height: 3px;
  background: #1f1f1f;
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: #820AD1;
  transition: width 1.1s ease;
}