/* ═══════════════════════════════════════════════════
   PRIME NOW MERCHANT — STYLES
   ═══════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  background: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* ── CSS VARIABLES ── */
:root {
  --pink:        #e91e8c;
  --pink-dark:   #c01578;
  --pink-light:  #fce4f3;
  --pink-soft:   #fff0f9;
  --green:       #00b09b;
  --blue:        #2979ff;
  --orange:      #ff6d00;
  --red:         #f44336;
  --text-dark:   #1a1a2e;
  --text-mid:    #5a5a7a;
  --text-light:  #9999bb;
  --card-bg:     #ffffff;
  --border:      #f0e6f8;
  --shadow-sm:   0 2px 12px rgba(233,30,140,.10);
  --shadow-md:   0 6px 28px rgba(233,30,140,.15);
  --shadow-lg:   0 16px 48px rgba(233,30,140,.20);
  --radius:      18px;
  --radius-sm:   10px;
}

/* ── APP SHELL ── */
#app {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  max-height: 860px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  #app { border-radius: 0; max-height: 100vh; box-shadow: none; }
  body { background: #fafafa; }
}

/* ── SCREENS ── */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  background: #fafafa;
}

.screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.screen.slide-out {
  opacity: 0;
  transform: translateX(-30px);
}

/* ── SCROLL AREA ── */
.scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 90px;
  scrollbar-width: none;
}
.scroll-area::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════
   GLASS & CARD UTILITIES
══════════════════════════════════════ */
.glass-card {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(233,30,140,.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.glass-pink {
  background: linear-gradient(135deg, #e91e8c 0%, #9b1e6e 100%);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.glass-pink::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  top: -60px;
  right: -50px;
}

.glass-pink::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  bottom: -40px;
  left: 30px;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-primary {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #e91e8c, #9b1e6e);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 6px 20px rgba(233,30,140,.35);
}

.btn-primary:active { transform: scale(.97); box-shadow: 0 3px 12px rgba(233,30,140,.3); }

.btn-outline {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .15s, color .15s;
}

.btn-outline:active { background: var(--pink-light); }

.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(233,30,140,.08);
  color: var(--pink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .15s;
}
.icon-btn:active { background: rgba(233,30,140,.18); }

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--pink);
  font-size: 14px;
  z-index: 1;
}

.form-input {
  width: 100%;
  padding: 13px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233,30,140,.12);
}

.eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 14px;
}

/* ══════════════════════════════════════
   LOGIN SCREEN
══════════════════════════════════════ */
#screen-login {
  background: #fff;
  justify-content: center;
}

.login-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.login-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .4;
}

.blob1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #f48fb1, #e91e8c);
  top: -120px; right: -80px;
}

.blob2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #f8bbd0, #c01578);
  bottom: -60px; left: -60px;
}

.login-inner {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  justify-content: center;
}

.login-logo-wrap {
  text-align: center;
}

.login-logo {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #e91e8c, #9b1e6e);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 30px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.login-brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.login-brand span { color: var(--pink); }

.login-sub {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.login-card {
  padding: 28px 24px;
}

.login-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.login-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 22px;
}

.forgot-wrap {
  text-align: right;
  margin: -8px 0 16px;
}

.forgot-link, .login-register a {
  color: var(--pink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.login-register {
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 14px;
}

.btn-login { margin-top: 4px; }

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
  flex-shrink: 0;
  z-index: 10;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar, .qr-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--pink);
}

.greeting {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

.merchant-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.notif-btn { position: relative; }

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 7px; height: 7px;
  background: var(--pink);
  border-radius: 50%;
  border: 1.5px solid #fff;
}

/* ── INNER HEADER ── */
.inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
  flex-shrink: 0;
}

.back-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--pink-light);
  color: var(--pink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background .15s;
}
.back-btn:active { background: rgba(233,30,140,.2); }

.inner-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ══════════════════════════════════════
   BALANCE CARD
══════════════════════════════════════ */
.balance-card {
  padding: 22px 22px 18px;
  margin-bottom: 16px;
}

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

.balance-label {
  font-size: 12px;
  font-weight: 600;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.eye-balance {
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 50%;
  width: 28px; height: 28px;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

.balance-amount {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.balance-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  font-size: 12px;
  opacity: .85;
}

.balance-stat { display: flex; gap: 5px; align-items: center; }
.balance-id { font-weight: 600; }

/* ══════════════════════════════════════
   STATS ROW
══════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s;
  border: 1px solid var(--border);
}

.stat-card:active { transform: scale(.97); }

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-icon.green { background: #e8f8f6; color: var(--green); }
.stat-icon.blue  { background: #e8f0ff; color: var(--blue); }
.stat-icon.pink  { background: var(--pink-light); color: var(--pink); }
.stat-icon.orange{ background: #fff3e0; color: var(--orange); }

.stat-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

.stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.stat-change {
  font-size: 11px;
  font-weight: 600;
}

.stat-change.up   { color: var(--green); }
.stat-change.down { color: var(--red); }

/* ══════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 4px;
}

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

.see-all {
  font-size: 12px;
  color: var(--pink);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

/* ══════════════════════════════════════
   QUICK ACTIONS GRID
══════════════════════════════════════ */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.quick-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: var(--shadow-sm);
}

.quick-btn:active { transform: scale(.95); }

.qb-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.qb-icon.pink   { background: var(--pink-light); color: var(--pink); }
.qb-icon.green  { background: #e8f8f6; color: var(--green); }
.qb-icon.blue   { background: #e8f0ff; color: var(--blue); }
.qb-icon.orange { background: #fff3e0; color: var(--orange); }

.quick-btn span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
}

/* ══════════════════════════════════════
   TRANSACTION CARDS
══════════════════════════════════════ */
.txn-list { display: flex; flex-direction: column; gap: 8px; }
.txn-list.full { gap: 8px; }

.txn-card {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  transition: transform .15s;
  cursor: pointer;
}

.txn-card:active { transform: scale(.98); }

.txn-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.txn-icon.received { background: #e8f8f6; color: var(--green); }
.txn-icon.pending  { background: #fff8e1; color: #f9a825; }
.txn-icon.failed   { background: #ffebee; color: var(--red); }
.txn-icon.refunded { background: #e8f0ff; color: var(--blue); }

.txn-body { flex: 1; min-width: 0; }

.txn-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.txn-meta {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  gap: 6px;
  align-items: center;
}

.txn-right { text-align: right; flex-shrink: 0; }

.txn-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.txn-amount.negative { color: var(--red); }

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  margin-top: 3px;
}

.badge-success  { background: #e8f8f6; color: var(--green); }
.badge-pending  { background: #fff8e1; color: #f9a825; }
.badge-failed   { background: #ffebee; color: var(--red); }
.badge-refunded { background: #e8f0ff; color: var(--blue); }

/* ══════════════════════════════════════
   QR SCREEN
══════════════════════════════════════ */
.qr-card { padding: 24px 20px; margin-bottom: 14px; }

.qr-merchant-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.qr-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.qr-id {
  font-size: 12px;
  color: var(--text-light);
}

.verified-badge {
  margin-left: auto;
  background: #e8f8f6;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.qr-box {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--pink-light);
  box-shadow: var(--shadow-sm);
}

.qr-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-logo-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 38px; height: 38px;
  background: var(--pink);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(233,30,140,.4);
}

.qr-scan-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qr-actions {
  display: flex;
  gap: 10px;
}

.qr-actions .btn-primary { flex: 1; }

.qr-amount-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.qr-amount-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.qr-amount-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ══════════════════════════════════════
   RECEIVE SCREEN
══════════════════════════════════════ */
.receive-hero {
  padding: 32px;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.receive-hero-icon {
  font-size: 48px;
  position: relative;
  z-index: 1;
}

.receive-hero-text {
  font-size: 15px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.receive-form {
  padding: 22px 20px;
}

.big-input { position: relative; }
.big-currency {
  position: absolute;
  left: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--pink);
  z-index: 1;
}

.big-amount {
  font-size: 26px;
  font-weight: 800;
  padding-left: 38px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.quick-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.amt-chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--pink);
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background .15s;
}

.amt-chip:active { background: var(--pink-light); }

/* ══════════════════════════════════════
   TRANSACTIONS SCREEN
══════════════════════════════════════ */
.txn-summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.txn-sum-chip {
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.txn-sum-chip.green { background: #e8f8f6; border: 1px solid #b2dfdb; }
.txn-sum-chip.red   { background: #ffebee; border: 1px solid #ffcdd2; }

.tsc-label {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 4px;
}

.tsc-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s;
}

.search-input:focus { border-color: var(--pink); }

.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar { display: none; }

.pill {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0;
}

.pill.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* ══════════════════════════════════════
   SETTLEMENT SCREEN
══════════════════════════════════════ */
.withdraw-btn {
  margin-bottom: 20px;
}

.bank-card {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bank-logo-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bank-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pink-light);
  color: var(--pink);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.bank-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.bank-acc {
  font-size: 12px;
  color: var(--text-light);
}

.badge-green {
  background: #e8f8f6;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.settlement-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sc-left { display: flex; flex-direction: column; gap: 2px; }
.sc-date { font-size: 12px; color: var(--text-light); }
.sc-label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.sc-amount { font-size: 15px; font-weight: 800; color: var(--green); }
.sc-status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  background: #e8f8f6;
  color: var(--green);
  margin-top: 4px;
  display: inline-block;
}

/* ══════════════════════════════════════
   PROFILE SCREEN
══════════════════════════════════════ */
.profile-hero {
  background: linear-gradient(160deg, #fce4f3 0%, #f8bbd0 100%);
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
  margin: -16px -16px 16px;
}

.profile-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.profile-edit-btn {
  position: absolute;
  top: 86px;
  left: calc(50% + 24px);
  width: 28px; height: 28px;
  background: var(--pink);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(233,30,140,.4);
}

.profile-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.profile-mid {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.kyc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #e91e8c, #9b1e6e);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.info-section {
  padding: 20px;
  margin-bottom: 12px;
}

.info-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.info-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--pink-soft);
  color: var(--pink);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-label {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.info-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

/* KYC Grid */
.kyc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kyc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.kyc-item.done {
  background: #e8f8f6;
  color: var(--green);
}

.kyc-item.pending {
  background: #fff8e1;
  color: #f9a825;
}

/* Settings */
.settings-list .setting-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: background .1s;
  text-align: left;
}

.settings-list .setting-item:last-child { border-bottom: none; }
.settings-list .setting-item:active { background: var(--pink-soft); }
.settings-list .setting-item.danger { color: var(--red); }

.setting-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.setting-icon.pink   { background: var(--pink-light); color: var(--pink); }
.setting-icon.green  { background: #e8f8f6; color: var(--green); }
.setting-icon.blue   { background: #e8f0ff; color: var(--blue); }
.setting-icon.orange { background: #fff3e0; color: var(--orange); }
.setting-icon.red    { background: #ffebee; color: var(--red); }

.setting-arr { margin-left: auto; color: var(--text-light); font-size: 12px; }

/* ══════════════════════════════════════
   BOTTOM NAV
══════════════════════════════════════ */
.bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(233,30,140,.1);
  box-shadow: 0 -4px 24px rgba(0,0,0,.06);
  z-index: 100;
  display: none;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav.visible { display: flex; }

.nav-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s;
}

.nav-item.active {
  color: var(--pink);
}

.nav-item i {
  font-size: 20px;
}

.nav-fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e8c, #9b1e6e);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(233,30,140,.45);
  transition: transform .15s;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.nav-fab:active { transform: scale(.93); }

/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: flex-end;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  width: 100%;
  background: var(--card-bg);
  border-radius: 24px 24px 0 0;
  padding: 24px 24px 36px;
  transform: translateY(30px);
  transition: transform .25s;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.modal-sub {
  font-size: 13px;
  color: var(--text-light);
}

.modal-fee {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-fee::before {
  content: '✓';
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a2e;
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 300;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

.balance-card { animation: fadeUp .4s ease both; }
.stats-row .stat-card:nth-child(1) { animation: fadeUp .4s .08s ease both; }
.stats-row .stat-card:nth-child(2) { animation: fadeUp .4s .14s ease both; }
.quick-btn:nth-child(1) { animation: fadeUp .4s .18s ease both; }
.quick-btn:nth-child(2) { animation: fadeUp .4s .22s ease both; }
.quick-btn:nth-child(3) { animation: fadeUp .4s .26s ease both; }
.quick-btn:nth-child(4) { animation: fadeUp .4s .30s ease both; }

.nav-fab { animation: pulse 3s infinite; }

/* Loading Shimmer */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
