/* ============================================================
   CONFIRM DATA LINK — APP CSS v3
   Mobile-first | Orange / White / Black brand
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:    #F97316;
  --primary-dk: #EA580C;
  --primary-lt: rgba(249,115,22,.12);
  --dark:       #111827;
  --dark2:      #1F2937;
  --dark3:      #374151;
  --border:     rgba(255,255,255,.08);
  --text:       #F9FAFB;
  --muted:      #9CA3AF;
  --success:    #22C55E;
  --danger:     #EF4444;
  --warning:    #EAB308;
  --info:       #3B82F6;
  --radius:     14px;
  --nav-h:      60px;
  --page-pad:   16px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; }

/* ── Flash Container ───────────────────────────────────────── */
.flash-container {
  position: fixed;
  top: calc(var(--nav-h) + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(calc(100% - 32px), 420px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  animation: flashIn .25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.flash-success { background: rgba(34,197,94,.15);  border: 1px solid rgba(34,197,94,.35);  color: #86EFAC; }
.flash-error   { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.35);  color: #FCA5A5; }
.flash-info    { background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.35); color: #FDC38A; }
.flash-icon { font-weight: 800; font-size: 1rem; }
@keyframes flashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 500;
  backdrop-filter: blur(10px);
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 12px; }

.btn-menu {
  width: 36px; height: 36px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 0;
}
.btn-menu span {
  display: block;
  width: 16px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: .2s;
}
.btn-menu:hover span { background: var(--primary); }

.nav-brand { display: flex; align-items: center; }
.nav-brand-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .5px;
}
.nav-logo-img { height: 32px; object-fit: contain; }

.nav-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; color: #fff;
  border: 2px solid rgba(249,115,22,.4);
}

/* ── NOTIFICATION BELL ─────────────────────────────────────── */
.notif-wrap { position: relative; }
.btn-bell {
  position: relative;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.btn-bell:hover { background: var(--primary-lt); }
.notif-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: var(--danger);
  border-radius: 10px;
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--dark2);
  color: #fff;
  padding: 0 3px;
}
.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  display: none;
  z-index: 600;
  overflow: hidden;
}
.notif-dropdown.open { display: block; animation: dropIn .2s ease; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .82rem; font-weight: 700;
}
.notif-see-all { color: var(--primary); font-size: .78rem; }
.notif-list { max-height: 280px; overflow-y: auto; }
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  text-decoration: none;
}
.notif-item:hover { background: rgba(249,115,22,.06); }
.notif-item.unread { background: rgba(249,115,22,.04); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.dot-success { background: var(--success); }
.dot-danger  { background: var(--danger); }
.dot-info    { background: var(--info); }
.dot-warning { background: var(--warning); }
.notif-text { font-size: .8rem; color: var(--text); flex: 1; line-height: 1.4; }
.notif-time { font-size: .7rem; color: var(--muted); white-space: nowrap; }
.notif-empty { padding: 24px; text-align: center; font-size: .82rem; color: var(--muted); }

/* ── SIDE MENU ─────────────────────────────────────────────── */
.side-menu {
  position: fixed;
  top: 0; left: 0;
  width: 270px; height: 100vh;
  background: var(--dark2);
  border-right: 1px solid var(--border);
  z-index: 700;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.side-menu.open { transform: translateX(0); }
.menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
  z-index: 699;
  display: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-overlay.open { display: block; }

.side-menu-header {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(249,115,22,.1), transparent);
}
.side-menu-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.side-menu-name { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700; }
.side-menu-bal  { font-size: .82rem; color: var(--primary); font-weight: 700; }

.side-menu-nav { padding: 10px 0; flex: 1; }
.side-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  font-size: .9rem; font-weight: 500;
  color: var(--muted);
  transition: all .2s;
  border-left: 3px solid transparent;
  text-decoration: none;
  position: relative;
}
.side-nav-item:hover,
.side-nav-item.active {
  color: var(--text);
  background: var(--primary-lt);
  border-left-color: var(--primary);
}
.side-nav-item span:first-child { font-size: 1.1rem; width: 20px; text-align: center; }
.side-badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: 2px 7px; border-radius: 20px;
}
.side-divider { height: 1px; background: var(--border); margin: 6px 18px; }
.side-logout { color: var(--danger) !important; }
.side-logout:hover { background: rgba(239,68,68,.1) !important; border-left-color: var(--danger) !important; }

/* ── PAGE LAYOUT ───────────────────────────────────────────── */
.page-wrap {
  padding: calc(var(--nav-h) + 16px) var(--page-pad) 100px;
  max-width: 520px;
  margin: 0 auto;
}

/* ── PAGE HEADER ───────────────────────────────────────────── */
.page-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.btn-back {
  width: 36px; height: 36px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: all .2s;
  flex-shrink: 0;
}
.btn-back:hover { color: var(--primary); border-color: var(--primary); }
.page-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 24px;
  font-size: .92rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(249,115,22,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.btn-primary:active { transform: none; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; justify-content: center; }

/* ── FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  outline: none;
  transition: border .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.form-input::placeholder { color: #4B5563; }
.input-wrap { position: relative; }
.input-wrap .form-input { padding-right: 42px; }
.btn-eye {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  font-size: .95rem; color: var(--muted);
  transition: color .2s;
}
.btn-eye:hover { color: var(--primary); }
.input-prefix {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); font-weight: 700;
  pointer-events: none;
}
.input-has-prefix { padding-left: 28px !important; }
.phone-hint { font-size: .75rem; color: var(--danger); margin-top: 4px; display: block; }
.form-divider {
  font-size: .78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .6px;
  border-top: 1px solid var(--border);
  padding-top: 14px; margin: 14px 0 12px;
}
.form-divider span { color: #4B5563; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ── AUTH PAGE ─────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 24px 16px 60px; }
.auth-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.auth-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .15;
}
.auth-orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.auth-orb-2 { width: 300px; height: 300px; background: #F97316; bottom: -80px; left: -80px; }
.auth-orb-3 { width: 200px; height: 200px; background: #EA580C; top: 40%; left: 50%; transform: translateX(-50%); }

.auth-container {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px;
}
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  border-radius: 20px;
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(249,115,22,.4);
}
.auth-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: var(--text);
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.auth-tagline { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.auth-networks { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.net-chip {
  padding: 4px 12px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.net-chip.mtn       { background: rgba(255,196,0,.15); color: #FFC400; border: 1px solid rgba(255,196,0,.3); }
.net-chip.telecel   { background: rgba(239,68,68,.15);  color: #F87171; border: 1px solid rgba(239,68,68,.3); }
.net-chip.airteltigo{ background: rgba(59,130,246,.15); color: #93C5FD; border: 1px solid rgba(59,130,246,.3); }

.auth-tabs {
  display: flex;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1; padding: 9px;
  border-radius: 9px;
  font-size: .88rem; font-weight: 600; color: var(--muted);
  background: none; border: none;
  transition: all .2s;
}
.auth-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(249,115,22,.3);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-form form {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.auth-switch {
  text-align: center; margin-top: 14px;
  font-size: .82rem; color: var(--muted);
}
.auth-switch button {
  background: none; border: none;
  color: var(--primary); font-weight: 700; font-size: .82rem;
}

/* ── DASHBOARD ─────────────────────────────────────────────── */
.greeting-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--dark2), rgba(249,115,22,.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.greeting-hi { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
.greeting-sub { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.wallet-pill {
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 20px;
  padding: 6px 14px;
  text-align: right;
  flex-shrink: 0;
}
.wallet-label { font-size: .65rem; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .5px; }
.wallet-val   { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 800; color: var(--primary); }

.quick-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 16px;
}
.quick-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px;
  border-radius: var(--radius);
  font-weight: 700; font-size: .88rem;
  transition: all .2s;
  border: none;
}
.quick-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,.3);
}
.quick-btn.secondary {
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text);
}
.quick-btn:hover { transform: translateY(-2px); }
.quick-icon { font-size: 1.5rem; }

.stats-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.stat-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.stat-box.full { grid-column: 1 / -1; }
.stat-lbl { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: var(--text);
}
.stat-num.primary { color: var(--primary); }

.section-title {
  font-family: 'Syne', sans-serif; font-size: .88rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.see-all { font-size: .78rem; font-weight: 600; color: var(--primary); }

.network-chips {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.net-card {
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all .2s;
  display: block;
}
.net-card:hover { transform: translateY(-2px); }
.net-card.mtn       { background: rgba(255,196,0,.08); border-color: rgba(255,196,0,.2); }
.net-card.telecel   { background: rgba(239,68,68,.08);  border-color: rgba(239,68,68,.2); }
.net-card.airteltigo{ background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.2); }
.net-name { font-family: 'Syne', sans-serif; font-size: .85rem; font-weight: 800; }
.net-sub  { font-size: .68rem; color: var(--muted); margin-top: 2px; }
.net-card.mtn .net-name       { color: #FFC400; }
.net-card.telecel .net-name   { color: #F87171; }
.net-card.airteltigo .net-name{ color: #93C5FD; }

/* ── ORDERS LIST ───────────────────────────────────────────── */
.orders-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.order-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: all .2s;
  gap: 12px;
}
.order-card:hover { border-color: rgba(249,115,22,.3); background: rgba(249,115,22,.03); }
.order-card-left  { display: flex; align-items: center; gap: 12px; min-width: 0; }
.order-card-right { text-align: right; flex-shrink: 0; }
.order-net {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; flex-shrink: 0;
  letter-spacing: .3px;
}
.order-net.mtn       { background: rgba(255,196,0,.15); color: #FFC400; }
.order-net.telecel   { background: rgba(239,68,68,.15);  color: #F87171; }
.order-net.airteltigo{ background: rgba(59,130,246,.15); color: #93C5FD; }
.order-plan  { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-phone { font-size: .75rem; color: var(--muted); font-family: monospace; }
.order-meta  { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.order-date  { font-size: .7rem; color: #4B5563; margin-top: 2px; }
.order-amount { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 800; color: var(--primary); }

/* ── STATUS BADGES ─────────────────────────────────────────── */
.status-badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 20px;
  font-size: .68rem; font-weight: 700; letter-spacing: .3px;
  text-transform: uppercase; margin-top: 4px;
}
.status-pending    { background: rgba(234,179,8,.12);  color: var(--warning); }
.status-processing { background: rgba(59,130,246,.12); color: var(--info); }
.status-dispatched,
.status-completed  { background: rgba(34,197,94,.12);  color: var(--success); }
.status-failed     { background: rgba(239,68,68,.12);  color: var(--danger); }

/* ── FILTER TABS ───────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-tab {
  padding: 7px 14px; border-radius: 20px;
  font-size: .78rem; font-weight: 600;
  background: var(--dark2); border: 1px solid var(--border);
  color: var(--muted); transition: all .2s;
  text-decoration: none;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ── BALANCE STRIP ─────────────────────────────────────────── */
.balance-strip {
  display: flex; align-items: center; gap: 8px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .82rem; color: var(--muted);
  margin-bottom: 20px;
}
.balance-val { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--primary); }
.balance-topup {
  margin-left: auto;
  font-size: .78rem; font-weight: 700; color: var(--primary);
  text-decoration: none;
}
.balance-topup:hover { text-decoration: underline; }

/* ── SECTION LABEL ─────────────────────────────────────────── */
.section-label {
  font-size: .72rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .7px;
  margin-bottom: 10px;
}

/* ── NETWORK SELECTOR ──────────────────────────────────────── */
.network-selector {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.network-btn {
  padding: 14px 8px; border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--dark2);
  font-family: 'Syne', sans-serif; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .3px;
  transition: all .2s; color: var(--muted);
}
.network-btn.mtn:hover,       .network-btn.mtn.active       { border-color: #FFC400; color: #FFC400; background: rgba(255,196,0,.08); }
.network-btn.telecel:hover,   .network-btn.telecel.active   { border-color: #F87171; color: #F87171; background: rgba(239,68,68,.08); }
.network-btn.airteltigo:hover,.network-btn.airteltigo.active{ border-color: #93C5FD; color: #93C5FD; background: rgba(59,130,246,.08); }
.net-btn-name { display: block; }

/* ── PLAN GRID ─────────────────────────────────────────────── */
.plan-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.plan-card {
  background: var(--dark2); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.plan-card:hover  { border-color: rgba(249,115,22,.4); }
.plan-card.selected { border-color: var(--primary); background: var(--primary-lt); }
.plan-data     { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--text); }
.plan-validity { font-size: .72rem; color: var(--muted); margin: 2px 0 8px; }
.plan-price    { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700; color: var(--primary); }
.loading-plans,
.no-plans      { text-align: center; padding: 24px; color: var(--muted); font-size: .82rem; grid-column: 1/-1; }

/* ── ORDER SUMMARY ─────────────────────────────────────────── */
.order-summary {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  margin-bottom: 16px;
  display: none;
}
.order-summary.visible { display: block; }
.summary-title { font-family: 'Syne', sans-serif; font-size: .82rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row.total strong { font-family: 'Syne', sans-serif; font-size: 1rem; }
.summary-row span { color: var(--muted); }
.primary { color: var(--primary) !important; }
.danger  { color: var(--danger)  !important; }

/* ── TOPUP PAGE ────────────────────────────────────────────── */
.balance-hero {
  background: linear-gradient(135deg, rgba(249,115,22,.15), rgba(234,88,12,.08));
  border: 1px solid rgba(249,115,22,.25);
  border-radius: var(--radius);
  text-align: center; padding: 24px;
  margin-bottom: 16px;
}
.balance-hero-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
.balance-hero-amount { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--primary); }

.topup-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  margin-bottom: 20px;
}
.topup-card-title { font-family: 'Syne', sans-serif; font-size: .88rem; font-weight: 700; margin-bottom: 14px; }
.quick-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.quick-amount {
  padding: 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--dark3);
  font-size: .82rem; font-weight: 700; color: var(--muted);
  transition: all .2s;
}
.quick-amount:hover,
.quick-amount.active {
  border-color: var(--primary); color: var(--primary); background: var(--primary-lt);
}

/* ── TRANSACTIONS ──────────────────────────────────────────── */
.txn-list { display: flex; flex-direction: column; gap: 8px; }
.txn-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
}
.txn-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; flex-shrink: 0;
}
.txn-icon.credit { background: rgba(34,197,94,.12); color: var(--success); }
.txn-icon.debit  { background: rgba(239,68,68,.12);  color: var(--danger); }
.txn-info { flex: 1; min-width: 0; }
.txn-desc { font-size: .84rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txn-date { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.txn-amount { font-family: 'Syne', sans-serif; font-size: .92rem; font-weight: 800; flex-shrink: 0; }
.txn-amount.credit { color: var(--success); }
.txn-amount.debit  { color: var(--danger); }

/* ── ORDER DETAIL ──────────────────────────────────────────── */
.order-status-banner {
  display: flex; align-items: flex-start; gap: 14px;
  border-radius: var(--radius); padding: 16px;
  margin-bottom: 16px; border: 1px solid;
}
.status-banner-dispatched,
.status-banner-completed { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); }
.status-banner-failed    { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.25); }
.status-banner-processing{ background: rgba(59,130,246,.08);border-color: rgba(59,130,246,.25);}
.status-banner-pending   { background: rgba(234,179,8,.08); border-color: rgba(234,179,8,.25); }
.status-banner-icon { font-size: 1.6rem; flex-shrink: 0; }
.status-banner-title { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700; }
.status-banner-msg   { font-size: .82rem; color: var(--muted); margin-top: 3px; }

.detail-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 16px;
}
.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }
.detail-lbl { font-size: .78rem; color: var(--muted); }
.detail-val { font-size: .88rem; font-weight: 600; text-align: right; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.net-tag {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
}
.net-tag.mtn       { background: rgba(255,196,0,.15); color: #FFC400; }
.net-tag.telecel   { background: rgba(239,68,68,.15);  color: #F87171; }
.net-tag.airteltigo{ background: rgba(59,130,246,.15); color: #93C5FD; }

/* ── PROFILE ───────────────────────────────────────────────── */
.profile-avatar-section { text-align: center; margin-bottom: 20px; }
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 6px 20px rgba(249,115,22,.35);
}
.profile-name  { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; }
.profile-email { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.profile-meta  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.profile-meta-item {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
  text-align: center;
}
.profile-meta-item span { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.profile-meta-item strong { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 800; }

/* ── NOTIFICATIONS FULL LIST ───────────────────────────────── */
.notif-full-list { display: flex; flex-direction: column; gap: 8px; }
.notif-full-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.notif-full-icon { font-size: 1.4rem; flex-shrink: 0; }
.notif-full-msg  { font-size: .88rem; font-weight: 500; line-height: 1.5; }
.notif-full-time { font-size: .72rem; color: var(--muted); margin-top: 4px; }

/* ── EMPTY / PAGINATION ────────────────────────────────────── */
.empty-card {
  text-align: center; padding: 48px 20px;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.empty-icon { font-size: 2.8rem; margin-bottom: 12px; opacity: .5; display: block; }
.empty-card p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

.pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 0;
}
.pagination a, .pagination .current {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  font-size: .82rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--dark2);
  color: var(--muted); text-decoration: none; transition: all .2s;
}
.pagination a:hover   { border-color: var(--primary); color: var(--primary); }
.pagination .current  { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── FOOTER ────────────────────────────────────────────────── */
.app-footer {
  text-align: center; padding: 20px;
  font-size: .72rem; color: #4B5563;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (min-width: 520px) {
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stats-row .stat-box.full { grid-column: auto; }
}
