﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Mera Udhar — Premium Fintech UI  (credit.css)
   Design: CRED / Fi Money inspired
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* â”€â”€ Variables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root{
  --ink:       #0a0f1e;
  --ink-2:     #1c2436;
  --ink-3:     #2d3a52;
  --muted:     #64748b;
  --muted-2:   #94a3b8;
  --border:    #e8edf5;
  --bg:        #f5f7fa;
  --surface:   #ffffff;
  --brand:     #5b5ef4;
  --brand-grd: linear-gradient(135deg,#4f46e5,#7c3aed);
  --green:     #0bbf76;
  --red:       #f23557;
  --amber:     #f59e0b;
  --nav:       68px;
  --radius:    18px;
  --shadow:    0 4px 24px rgba(10,15,30,.08);
  --shadow-lg: 0 12px 40px rgba(10,15,30,.14);
}

/* â”€â”€ Reset â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg);color:var(--ink);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  padding-bottom:calc(var(--nav) + 80px + env(safe-area-inset-bottom));
}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:inherit}

/* â”€â”€ Page Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.app-layout{display:flex;min-height:100vh}
.main-content{flex:1;max-width:100%}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  DESKTOP SIDEBAR                                    */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.side-nav{
  display:none;width:230px;flex-shrink:0;
  background:var(--ink);
  padding:32px 12px;
  position:fixed;top:0;left:0;bottom:0;z-index:400;
}
.brand-logo{
  display:flex;align-items:center;gap:10px;
  padding:0 10px 28px;
  font-size:1.15rem;font-weight:800;color:#fff;
  border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:18px;
}
.brand-logo i{background:var(--brand-grd);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-size:1.4rem}
.nav-links{display:flex;flex-direction:column;gap:2px}
.nav-item{
  display:flex;align-items:center;gap:12px;
  padding:12px 14px;border-radius:12px;
  color:#7b8fb3;font-size:.875rem;font-weight:600;
  transition:all .18s ease;
}
.nav-item i{width:18px;text-align:center;font-size:1rem}
.nav-item:hover{background:rgba(255,255,255,.05);color:#fff}
.nav-item.active{background:rgba(91,94,244,.18);color:var(--brand)}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  TOP BAR                                            */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.top-bar{
  display:flex;align-items:center;gap:12px;
  background:var(--ink);
  padding:14px 20px;
  padding-top:max(14px,calc(12px + env(safe-area-inset-top)));
  position:sticky;top:0;z-index:200;
}
.back-btn,.icon-btn{
  width:38px;height:38px;border-radius:12px;border:none;
  background:rgba(255,255,255,.08);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:.95rem;transition:background .18s;flex-shrink:0;
}
.back-btn:hover,.icon-btn:hover{background:rgba(255,255,255,.14)}
.top-bar-title{flex:1;color:#fff;font-size:1.05rem;font-weight:700;letter-spacing:-.01em}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  HERO CARD                                          */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero-card{
  background:var(--ink);
  margin:0;
  padding:24px 20px 0;
  position:relative;overflow:hidden;
}
.hero-bg-orb{display:none}/* removed random orbs */

.hero-top{
  display:flex;align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}
.hero-left{flex:1;min-width:0}
.hero-label{
  font-size:.68rem;font-weight:700;
  color:var(--muted-2);text-transform:uppercase;
  letter-spacing:.1em;margin-bottom:6px;
}
.hero-amount{
  font-size:2.8rem;font-weight:900;
  color:#fff;line-height:1;letter-spacing:-.03em;
}
.hero-sub{font-size:.75rem;color:var(--muted-2);margin-top:6px;font-weight:500}

/* Score ring — cleaner */
.hero-score-ring{
  position:relative;width:80px;height:80px;flex-shrink:0;
  background:rgba(255,255,255,.05);border-radius:50%;
}
.ring-svg{width:80px;height:80px;transform:rotate(-90deg)}
.ring-track{fill:none;stroke:rgba(255,255,255,.1);stroke-width:6}
.ring-fill{
  fill:none;stroke:var(--green);stroke-width:6;stroke-linecap:round;
  stroke-dasharray:213.6;stroke-dashoffset:213.6;
  transition:stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1);
}
.ring-label{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.ring-num{font-size:1.1rem;font-weight:900;color:#fff;line-height:1}
.ring-txt{font-size:.5rem;color:var(--muted-2);font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-top:2px}

/* Stats strip */
.hero-stats{
  display:grid;grid-template-columns:1fr 1fr 1fr;
  background:rgba(255,255,255,.05);
  border-radius:14px 14px 0 0;
  margin-top:8px;
}
.hero-stat{
  padding:14px 12px;text-align:center;
  border-right:1px solid rgba(255,255,255,.06);
}
.hero-stat:last-child{border-right:none}
.hero-stat-val{font-size:1rem;font-weight:800;color:#fff}
.hero-stat-lbl{font-size:.6rem;color:var(--muted-2);font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-top:3px}
.hero-stat-divider{display:none}/* replaced by grid borders */

/* Score bar row — below hero, still dark bg */
.score-badge-row{
  background:var(--ink-2);
  display:flex;align-items:center;gap:12px;
  padding:14px 20px;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.score-bar-track{flex:1;background:rgba(255,255,255,.1);border-radius:99px;height:6px;overflow:hidden}
.score-bar-fill{height:100%;border-radius:99px;background:var(--green);transition:width 1.5s ease;width:0%}
.score-badge{
  font-size:.65rem;font-weight:800;padding:5px 12px;
  border-radius:99px;flex-shrink:0;background:rgba(255,255,255,.1);color:#fff;
}
.badge-bronze{background:#3d2e00;color:#f59e0b}
.badge-silver{background:#1e2a3a;color:#94a3b8}
.badge-gold  {background:#3d2f00;color:#facc15}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  TABS                                               */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.tabs{
  display:flex;gap:0;
  background:var(--surface);
  border-bottom:2px solid var(--border);
  margin:0;padding:0;
  position:sticky;top:66px;z-index:100;
}
.tab{
  flex:1;padding:14px 8px 12px;
  border:none;background:transparent;
  font-size:.78rem;font-weight:700;color:var(--muted);
  display:flex;align-items:center;justify-content:center;gap:6px;
  border-bottom:2.5px solid transparent;
  margin-bottom:-2px;
  transition:all .2s;
}
.tab.active{color:var(--brand);border-bottom-color:var(--brand)}
.tab i{font-size:.85rem}
.tab-panel{display:none;padding:16px 16px 0}
.tab-panel.active{display:block}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  FILTER CHIPS                                       */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.filter-row{
  display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;
  margin-bottom:16px;scrollbar-width:none;
}
.filter-row::-webkit-scrollbar{display:none}
.filter-chip{
  padding:7px 16px;border-radius:99px;
  border:1.5px solid var(--border);
  font-size:.72rem;font-weight:700;
  color:var(--muted);background:var(--surface);
  white-space:nowrap;flex-shrink:0;
  transition:all .18s;
}
.filter-chip.active{background:var(--brand);border-color:var(--brand);color:#fff}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  SHOP CARDS                                         */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.shop-card{
  background:var(--surface);border-radius:var(--radius);
  padding:16px;display:flex;align-items:center;gap:14px;
  box-shadow:var(--shadow);margin-bottom:10px;
  border:1px solid var(--border);
  transition:transform .2s,box-shadow .2s;
}
.shop-card:active{transform:scale(.99)}
.shop-avatar{
  width:48px;height:48px;border-radius:14px;
  background:linear-gradient(135deg,#eef2ff,#e0e7ff);
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;color:var(--brand);flex-shrink:0;
}
.shop-info{flex:1;min-width:0}
.shop-name{font-weight:700;font-size:.92rem;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-meta{font-size:.7rem;color:var(--muted);margin-top:2px}
.shop-limit-bar{margin-top:8px;background:var(--border);border-radius:99px;height:4px;overflow:hidden}
.shop-limit-fill{height:100%;border-radius:99px;background:var(--brand-grd);transition:width .8s ease}
.shop-due-block{text-align:right;flex-shrink:0}
.shop-due{font-size:1.05rem;font-weight:900;color:var(--red)}
.shop-avail{font-size:.67rem;color:var(--green);margin-top:3px;font-weight:700}
.shop-inv-count{font-size:.67rem;color:var(--muted-2);margin-top:2px;font-weight:600}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  INVOICE CARDS                                      */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.invoice-card{
  background:var(--surface);border-radius:var(--radius);
  padding:16px;margin-bottom:10px;
  box-shadow:var(--shadow);border:1px solid var(--border);
  border-left:3.5px solid var(--border);
  transition:transform .18s;
}
.invoice-card:active{transform:scale(.99)}
.invoice-card.status-pending {border-left-color:var(--amber)}
.invoice-card.status-approved{border-left-color:var(--green)}
.invoice-card.status-declined{border-left-color:var(--red)}
.invoice-card.status-paid    {border-left-color:var(--muted-2)}

.inv-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}
.inv-shop-badge{
  display:inline-flex;align-items:center;gap:5px;
  background:var(--bg);padding:5px 10px;border-radius:8px;
  font-size:.68rem;font-weight:700;color:var(--muted);
}
.inv-status-pill{font-size:.62rem;font-weight:800;padding:5px 11px;border-radius:99px;letter-spacing:.02em}
.pill-pending {background:#fef8e7;color:#9a6400}
.pill-approved{background:#e6faf3;color:#057a4c}
.pill-declined{background:#fde8eb;color:#b91c1c}
.pill-paid    {background:#f1f5f9;color:#64748b}
.pill-accepted{background:#eff6ff;color:#1e40af}

.inv-body{display:flex;justify-content:space-between;align-items:flex-end}
.inv-amount{font-size:1.55rem;font-weight:900;color:var(--ink);letter-spacing:-.02em}
.inv-date{font-size:.7rem;color:var(--muted-2);margin-top:4px;font-weight:500}
.inv-items-preview{
  font-size:.7rem;color:var(--muted);margin-top:10px;
  background:var(--bg);padding:8px 12px;border-radius:10px;
  border-left:3px solid var(--border);
}
.inv-actions{display:flex;gap:8px;margin-top:12px}
.inv-btn{
  flex:1;padding:11px 8px;border-radius:12px;border:none;
  font-size:.78rem;font-weight:700;
  display:flex;align-items:center;justify-content:center;gap:6px;
  transition:all .18s;
}
.inv-btn:active{transform:scale(.97)}
.inv-btn-approve{background:var(--brand-grd);color:#fff;box-shadow:0 4px 14px rgba(79,70,229,.25)}
.inv-btn-decline{background:var(--bg);color:var(--muted);border:1.5px solid var(--border)}
.inv-btn-detail {background:var(--bg);color:var(--muted);border:1.5px solid var(--border)}

/* OTP Box */
.otp-box{
  background:var(--ink);border-radius:14px;
  padding:20px 16px;margin-top:12px;text-align:center;display:none;
}
.otp-box.show{display:block}
.otp-label{font-size:.65rem;color:var(--muted-2);font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.otp-num{
  font-size:2.6rem;font-weight:900;color:#fff;
  letter-spacing:.4em;margin:10px 0 6px;
  font-variant-numeric:tabular-nums;
}
.otp-hint{font-size:.65rem;color:var(--muted)}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  PASSBOOK / TXN CARDS                              */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.txn-card{
  background:var(--surface);border-radius:var(--radius);
  padding:14px 16px;display:flex;align-items:center;gap:14px;
  margin-bottom:8px;box-shadow:var(--shadow);
  border:1px solid var(--border);
}
.txn-icon{
  width:44px;height:44px;border-radius:13px;
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;flex-shrink:0;
}
.txn-icon.debit {background:#fde8eb;color:var(--red)}
.txn-icon.credit{background:#e6faf3;color:var(--green)}
.txn-info{flex:1;min-width:0}
.txn-title{font-weight:700;font-size:.875rem;color:var(--ink)}
.txn-shop {font-size:.68rem;color:var(--brand);font-weight:600;margin-top:2px}
.txn-date {font-size:.66rem;color:var(--muted-2);margin-top:2px}
.txn-amount{font-size:1rem;font-weight:800;flex-shrink:0;letter-spacing:-.01em}
.txn-amount.debit {color:var(--red)}
.txn-amount.credit{color:var(--green)}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  STICKY PAY BUTTON                                  */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pay-wrap{
  position:fixed;
  bottom:calc(var(--nav) + env(safe-area-inset-bottom));
  left:0;right:0;
  padding:12px 16px;
  background:linear-gradient(to top,var(--bg) 70%,transparent);
  z-index:200;pointer-events:none;
}
.btn-pay{
  pointer-events:all;width:100%;padding:16px;
  border-radius:16px;
  background:linear-gradient(135deg,#0bbf76,#059669);
  color:#fff;font-size:.95rem;font-weight:800;
  border:none;
  display:flex;align-items:center;justify-content:center;gap:10px;
  box-shadow:0 8px 28px rgba(11,191,118,.35);
  transition:transform .2s,box-shadow .2s;
  letter-spacing:-.01em;
}
.btn-pay:hover  {transform:translateY(-1px);box-shadow:0 12px 32px rgba(11,191,118,.45)}
.btn-pay:active {transform:scale(.99)}
.btn-pay:disabled{background:#e2e8f0;color:var(--muted);box-shadow:none;cursor:not-allowed}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  BOTTOM NAV                                         */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.bottom-nav{
  display:flex;align-items:center;
  position:fixed;bottom:0;left:0;right:0;
  height:calc(var(--nav) + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom);
  background:var(--surface);
  border-top:1px solid var(--border);
  box-shadow:0 -2px 16px rgba(0,0,0,.06);
  z-index:300;
}
.bnav-item{
  flex:1;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;
  color:var(--muted-2);font-size:.58rem;font-weight:700;
  padding:8px 0;transition:color .18s;
}
.bnav-item i{font-size:1.15rem}
.bnav-item.active{color:var(--brand)}
.bnav-fab{
  width:52px;height:52px;border-radius:16px;
  background:var(--brand-grd);color:#fff !important;
  box-shadow:0 6px 20px rgba(79,70,229,.4);
  margin-top:-18px;flex:none;
  display:flex;align-items:center;justify-content:center;
}
.bnav-fab i{font-size:1.3rem}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  MODAL (bottom sheet)                               */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.modal-overlay{
  display:none;position:fixed;inset:0;
  background:rgba(10,15,30,.6);z-index:9000;
  align-items:flex-end;justify-content:center;
  backdrop-filter:blur(6px);
}
.modal-overlay.open{display:flex}
.modal-sheet{
  background:#fff;width:100%;max-width:540px;
  border-radius:24px 24px 0 0;
  padding-bottom:max(32px,calc(20px + env(safe-area-inset-bottom)));
  max-height:92vh;overflow-y:auto;
  animation:slideUp .32s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.modal-handle{width:40px;height:4px;background:var(--border);border-radius:99px;margin:12px auto 20px}
.modal-header-band{background:var(--brand-grd);padding:20px 22px;color:#fff}
.modal-header-inner{display:flex;justify-content:space-between;align-items:flex-start}
.modal-title{font-size:1.1rem;font-weight:800}
.modal-subtitle{font-size:.76rem;opacity:.75;margin-top:4px}
.modal-body{padding:18px 22px}
.modal-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid var(--border)}
.modal-row:last-of-type{border-bottom:none}
.modal-row-label{font-size:.78rem;color:var(--muted);font-weight:600}
.modal-row-value{font-size:.86rem;color:var(--ink);font-weight:700}
.modal-section-title{font-size:.82rem;font-weight:800;color:var(--ink);margin:16px 0 10px;display:flex;gap:8px;align-items:center}
.modal-item-row{display:flex;justify-content:space-between;background:var(--bg);padding:10px 12px;border-radius:10px;margin-bottom:6px}
.modal-item-name{font-size:.78rem;font-weight:600;color:#334155}
.modal-item-price{font-size:.78rem;font-weight:700;color:var(--ink)}
.modal-total-row{display:flex;justify-content:space-between;background:#eef2ff;padding:14px;border-radius:12px;margin-top:10px}
.modal-total-label{font-size:.86rem;font-weight:800;color:var(--brand)}
.modal-total-val  {font-size:1.2rem;font-weight:900;color:var(--brand)}
.modal-close-btn{
  width:100%;margin-top:14px;padding:14px;border-radius:14px;
  background:var(--bg);border:1.5px solid var(--border);
  font-size:.88rem;font-weight:700;color:var(--muted);
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:background .18s;
}
.modal-close-btn:hover{background:var(--border)}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  EMPTY STATE                                        */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.empty-state{text-align:center;padding:56px 24px;color:var(--muted-2)}
.empty-icon{font-size:2.8rem;margin-bottom:14px;opacity:.35}
.empty-text{font-size:.9rem;font-weight:700;color:var(--muted)}
.empty-sub {font-size:.76rem;margin-top:6px;line-height:1.5}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  SKELETON                                           */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.skeleton-card{
  background:linear-gradient(90deg,#f1f5f9 25%,#e8edf5 50%,#f1f5f9 75%);
  background-size:200% 100%;
  animation:shimmer 1.6s infinite;
  border-radius:var(--radius);height:76px;margin-bottom:10px;
}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* â”€â”€ Toast â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#toast{
  position:fixed;bottom:160px;left:50%;
  transform:translateX(-50%) translateY(16px);
  background:var(--ink);color:#fff;padding:11px 22px;
  border-radius:99px;font-size:.82rem;font-weight:600;
  opacity:0;transition:all .28s;z-index:9999;
  white-space:nowrap;pointer-events:none;
}
#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* â”€â”€ Spinner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes spin{to{transform:rotate(360deg)}}
.spinning{animation:spin .75s linear infinite}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  DESKTOP  (â‰¥768px)                                  */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media(min-width:768px){
  body{padding-bottom:80px}
  .side-nav{display:flex;flex-direction:column}
  .bottom-nav{display:none}
  .main-content{margin-left:230px}
  .pay-wrap{left:230px;max-width:860px}
  .tabs{top:0;position:sticky}
  .tab-panel{padding:20px 24px 0}
  .hero-card{padding:28px 28px 0}
  .score-badge-row{padding:16px 28px}
  .btn-pay{max-width:600px;margin:0 auto;display:flex}
}
@media(min-width:1100px){
  .main-content{max-width:860px}
}
