* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
a, button, .btn, [role="button"] { -webkit-tap-highlight-color: transparent; outline: none; }

/* ── PRESS FEEDBACK (replaces default blue tap flash with a real "press" feel) ── */
.auth-submit, .btn, .icon-circle, .share-receipt-btn, .download-pdf-btn,
.abank-verify-btn, .cpin-submit-btn, .abank-select-row {
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}
.auth-submit:active, .btn:active, .share-receipt-btn:active, .download-pdf-btn:active,
.abank-verify-btn:active, .cpin-submit-btn:active {
  transform: scale(0.97);
  filter: brightness(0.9);
  box-shadow: none;
}
.icon-circle:active, .abank-select-row:active {
  transform: scale(0.93);
  filter: brightness(0.95);
}
a:active {
  opacity: 0.6;
}

:root{
  --purple-1:#5B3DF5;
  --purple-2:#8B5CF6;
  --blue-1:#3B7CF5;

  --page-bg:#e7e8ee;
  --bg:#F3F4F8;
  --card-bg:#ffffff;
  --text-dark:#1A1B25;
  --text-gray:#6B7280;
  --text-light-gray:#9CA3AF;

  --border-soft:#F1F1F5;
  --you-row-bg:#F7F5FF;
  --currency-menu-bg:#ffffff;
  --currency-hover-bg:#F3F4F8;

  --shadow-sm:0 2px 6px rgba(0,0,0,0.04);
  --shadow-card:0 2px 10px rgba(0,0,0,0.04);
  --shadow-card2:0 2px 8px rgba(0,0,0,0.04);
  --shadow-phone:0 0 40px rgba(0,0,0,0.12);
  --shadow-nav:0 -2px 12px rgba(0,0,0,0.06);
  --shadow-menu:0 8px 24px rgba(0,0,0,0.18);
}

/* ── DARK MODE (auto-detected from device/OS setting, or forced via .dark class) ── */
@media (prefers-color-scheme: dark){
  :root:not(.light){
    --page-bg:#05060c;
    --bg:#0A0E1A;
    --card-bg:#141a2e;
    --text-dark:#F1F2F6;
    --text-gray:#9AA0AE;
    --text-light-gray:#6B7280;

    --border-soft:rgba(255,255,255,0.06);
    --you-row-bg:rgba(139,92,246,0.14);
    --currency-menu-bg:#1c2138;
    --currency-hover-bg:#232a45;

    --shadow-sm:0 2px 6px rgba(0,0,0,0.5);
    --shadow-card:0 2px 12px rgba(0,0,0,0.45);
    --shadow-card2:0 2px 10px rgba(0,0,0,0.45);
    --shadow-phone:0 0 40px rgba(0,0,0,0.6);
    --shadow-nav:0 -2px 16px rgba(0,0,0,0.5);
    --shadow-menu:0 8px 24px rgba(0,0,0,0.55);
  }
}
html.dark{
  --page-bg:#05060c;
  --bg:#0A0E1A;
  --card-bg:#141a2e;
  --text-dark:#F1F2F6;
  --text-gray:#9AA0AE;
  --text-light-gray:#6B7280;

  --border-soft:rgba(255,255,255,0.06);
  --you-row-bg:rgba(139,92,246,0.14);
  --currency-menu-bg:#1c2138;
  --currency-hover-bg:#232a45;

  --shadow-sm:0 2px 6px rgba(0,0,0,0.5);
  --shadow-card:0 2px 12px rgba(0,0,0,0.45);
  --shadow-card2:0 2px 10px rgba(0,0,0,0.45);
  --shadow-phone:0 0 40px rgba(0,0,0,0.6);
  --shadow-nav:0 -2px 16px rgba(0,0,0,0.5);
  --shadow-menu:0 8px 24px rgba(0,0,0,0.55);
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  min-height:100vh;
  min-height:100dvh;
}

/* ── PHONE CONTAINER (fills real device screen, no mock-frame) ── */
.phone{
  width:100%;
  max-width:100%;
  min-height:100vh;
  min-height:100dvh;
  background:var(--bg);
  overflow-x:hidden;
  overflow-y:auto;
  position:relative;
  box-shadow:none;
}

/* ── TOP NAVBAR ── */
.navbar{
  padding:20px 16px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.nav-left{display:flex;align-items:center;gap:10px;}
.logo-block{line-height:1.05;}
.logo-text{font-weight:800;font-size:17px;letter-spacing:0.3px;background:linear-gradient(90deg,#3B7CF5,#8B5CF6,#C084FC);-webkit-background-clip:text;background-clip:text;color:transparent;}
.logo-sub{font-size:7px;letter-spacing:1.5px;color:var(--text-light-gray);font-weight:600;margin-top:1px;}

.nav-right{display:flex;align-items:center;gap:8px;}
.bell-btn{position:relative;width:36px;height:36px;background:var(--card-bg);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-sm);flex-shrink:0;}
.bell-btn svg{width:16px;height:16px;color:var(--text-dark);}
.bell-badge{position:absolute;top:-2px;right:-2px;background:var(--purple-1);color:#fff;font-size:8px;font-weight:700;width:14px;height:14px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid var(--bg);}
.avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid var(--purple-1);flex-shrink:0;}

/* ── SCROLL BODY ── */
.scroll-body{
  padding:4px 16px 100px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Welcome */
.welcome-text{font-size:13px;color:var(--text-gray);}
.welcome-text b{color:var(--text-dark);}
h1.dashboard-title{font-size:21px;font-weight:600;margin-top:0;margin-bottom:0;color:var(--text-dark);}

/* Balance Card */
.balance-card-wrap{margin-top:-8px;position:relative;}
.balance-card{
  background:linear-gradient(120deg,#3B7CF5 0%,#6B4CE6 55%,#8B3DF0 100%);
  border-radius:18px;
  padding:14px;
  position:relative;
  overflow:hidden;
}

.tabs{display:flex;background:rgba(255,255,255,0.15);border-radius:11px;padding:3px;margin-bottom:16px;gap:3px;position:relative;z-index:2;}
.tab{flex:1;display:flex;align-items:center;justify-content:center;gap:3px;padding:7px 3px;border-radius:8px;font-size:8.8px;font-weight:600;color:rgba(255,255,255,0.85);cursor:pointer;transition:all 0.2s;white-space:nowrap;}
.tab svg{width:11px;height:11px;flex-shrink:0;}
.tab.active{background:#fff;color:var(--purple-1);}

.balance-top-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px;}
.balance-info{flex:1;min-width:0;}
.balance-decor{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0;}

.balance-watermark{width:72px;height:72px;opacity:1;}
.balance-watermark img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,0.15));}

.change-pill{display:inline-block;background:rgba(255,255,255,0.22);color:#fff;font-size:9px;font-weight:700;padding:3px 9px;border-radius:20px;}

.balance-label{display:flex;align-items:center;gap:4px;font-size:10px;color:#fff;opacity:0.85;margin-bottom:4px;}
.balance-label svg{width:11px;height:11px;}
.balance-amount{font-size:23px;font-weight:800;color:#fff;margin-bottom:2px;letter-spacing:-0.4px;}
.balance-desc{font-size:9.5px;color:#fff;opacity:0.75;}

.balance-actions{display:flex;gap:6px;margin-bottom:14px;}
.btn{display:flex;align-items:center;gap:5px;padding:9px 8px;border-radius:10px;font-size:10.5px;font-weight:600;cursor:pointer;border:none;flex:1;justify-content:center;}
.btn svg{width:12px;height:12px;}
.btn-fund{background:#fff;color:var(--purple-1);}
.btn-withdraw{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,0.5);}

.balance-bottom{display:flex;justify-content:space-between;align-items:center;}
.month-block{text-align:left;}
.month-label{font-size:9px;color:rgba(255,255,255,0.75);margin-bottom:1px;}
.month-amount{font-size:13px;font-weight:700;color:#fff;}

.currency-select{position:relative;flex-shrink:0;}
.ngn-pill{display:flex;align-items:center;gap:5px;background:rgba(255,255,255,0.2);border-radius:20px;padding:6px 10px;font-size:9.5px;font-weight:700;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.1);cursor:pointer;backdrop-filter:blur(2px);}
.ngn-pill svg{width:9px;height:9px;color:rgba(255,255,255,0.85);transition:transform 0.15s;}
.currency-select.open .ngn-pill svg{transform:rotate(180deg);}
.currency-menu{position:absolute;bottom:calc(100% + 6px);right:0;background:var(--currency-menu-bg);border-radius:12px;box-shadow:var(--shadow-menu);padding:5px;min-width:96px;z-index:50;display:none;}
.currency-select.open .currency-menu{display:block;}
.currency-option{display:flex;align-items:center;gap:7px;padding:8px 9px;border-radius:8px;font-size:11px;font-weight:600;color:var(--text-dark);cursor:pointer;}
.currency-option:hover{background:var(--currency-hover-bg);}

/* Currency pill variant for light/white cards (e.g. auth forms), vs the gradient banner it's normally on */
.currency-select.on-light .ngn-pill{background:var(--bg);color:var(--text-dark);box-shadow:var(--shadow-sm);}
.currency-select.on-light .ngn-pill svg{color:var(--text-gray);}

/* Stats grid */
.stats-card{background:var(--card-bg);border-radius:18px;padding:16px 8px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;box-shadow:var(--shadow-card);}
.stats-card > div{display:flex;flex-direction:column;align-items:center;text-align:center;}
.promo-banner-wrap{border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card);line-height:0;}
.promo-banner-img{display:block;width:100%;height:auto;border-radius:18px;}
.stat-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:7px;}
.stat-icon svg{width:13px;height:13px;}
.icon-teal{background:#DFF7F6;color:#0EA5A0;}
.icon-purple{background:#EFE7FE;color:#7C3AED;}
.stat-label{font-size:8.5px;color:var(--text-gray);margin-bottom:3px;line-height:1.2;}
.stat-value{font-size:13px;font-weight:700;line-height:1;margin-bottom:4px;color:var(--text-dark);}
.stat-sub{font-size:8px;color:var(--text-light-gray);line-height:1.2;}
.stat-link{font-size:8.5px;color:var(--purple-1);font-weight:600;display:flex;align-items:center;gap:1px;text-decoration:none;line-height:1.2;}
.stat-link svg{width:8.5px;height:8.5px;}

/* Section headers */
.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px;}
.section-title{font-size:15px;font-weight:700;color:var(--text-dark);}
.section-edit{font-size:12px;color:var(--purple-1);font-weight:600;display:flex;align-items:center;gap:4px;cursor:pointer;}
.section-edit svg{width:12px;height:12px;}
.section-seeall{font-size:12px;color:var(--purple-1);font-weight:600;display:flex;align-items:center;gap:2px;text-decoration:none;}
.section-seeall svg{width:12px;height:12px;}

/* Services (round icons) */
.services-card{background:var(--card-bg);border-radius:18px;padding:18px 10px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;box-shadow:var(--shadow-card);}
.svc-item{display:flex;flex-direction:column;align-items:center;gap:9px;cursor:pointer;}
.svc-circle{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.svc-circle svg{width:22px;height:22px;}
.svc-airtime{background:#EFE7FE;color:#8B5CF6;}
.svc-data{background:#FFE9DC;color:#F97316;}
.svc-sms{background:#FCE4EE;color:#EC4899;}
.svc-blog{background:#DBF5E9;color:#10B981;}
.svc-label{font-size:10.5px;color:var(--text-dark);font-weight:500;text-align:center;}

/* Quick actions */
.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.qa-icon.gold{background:#FEF3C7;color:#D97706;}

/* Referral link card */
.referral-card{background:var(--card-bg);border-radius:16px;padding:13px 14px;display:flex;align-items:center;gap:11px;box-shadow:var(--shadow-card2);}
.referral-icon{width:38px;height:38px;border-radius:50%;background:#EEF0FF;color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.referral-icon svg{width:17px;height:17px;}
.referral-text{flex:1;min-width:0;}
.referral-label{font-size:9.5px;color:var(--text-light-gray);margin-bottom:2px;}
.referral-link{font-size:12px;font-weight:600;color:var(--text-dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.referral-copy{width:34px;height:34px;border-radius:50%;background:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;}
.referral-copy svg{width:15px;height:15px;color:#fff;}
.qa-item{background:var(--card-bg);border-radius:14px;padding:14px 6px;display:flex;flex-direction:column;align-items:center;gap:7px;box-shadow:var(--shadow-card2);cursor:pointer;}
.qa-icon{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;}
.qa-icon svg{width:18px;height:18px;}
.qa-icon.teal{background:#DFF7F6;color:#0EA5A0;}
.qa-icon.purple-fill{background:var(--purple-1);color:#fff;}
.qa-icon.purple-light{background:#EFE7FE;color:#7C3AED;}
.qa-label{font-size:10.5px;color:var(--text-gray);font-weight:500;text-align:center;line-height:1.2;}

/* Tasks */
.task-card{background:var(--card-bg);border-radius:16px;padding:14px;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-card2);}
.task-icon{width:42px;height:42px;border-radius:11px;background:#000;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.task-icon svg{width:20px;height:20px;color:#fff;}
.task-info{flex:1;min-width:0;}
.task-title-row{display:flex;align-items:center;gap:6px;margin-bottom:2px;flex-wrap:wrap;}
.task-title{font-size:13px;font-weight:600;color:var(--text-dark);}
.task-badge{background:#FFEDD5;color:#EA580C;font-size:8.5px;font-weight:700;padding:2px 7px;border-radius:7px;}
.task-desc{font-size:10.5px;color:var(--text-light-gray);}
.task-right{text-align:right;flex-shrink:0;}
.task-amount{font-size:13.5px;font-weight:700;color:var(--purple-1);margin-bottom:7px;}
.task-btn{background:#3B7CF5;color:#fff;border:none;padding:8px 13px;border-radius:9px;font-size:11.5px;font-weight:600;cursor:pointer;}

/* Leaderboard */
.lb-card{background:var(--card-bg);border-radius:16px;padding:6px 14px;box-shadow:var(--shadow-card2);}
.lb-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--border-soft);}
.lb-row:last-child{border-bottom:none;}
.lb-row.lb-you{background:var(--you-row-bg);margin:0 -14px;padding:11px 14px;border-radius:12px;border-bottom:none;}
.lb-rank{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0;}
.lb-rank.gold{background:#F5B301;}
.lb-rank.silver{background:#B0B4BC;}
.lb-rank.bronze{background:#C4783C;}
.lb-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.lb-info{flex:1;min-width:0;}
.lb-name{font-size:12.5px;font-weight:600;color:var(--text-dark);}
.lb-sub{font-size:10px;color:var(--text-light-gray);}
.lb-earn{font-size:12px;font-weight:700;color:var(--purple-1);flex-shrink:0;}

/* ── BOTTOM NAV ── */
.bottom-nav{
  position:fixed; bottom:0; left:0; right:0;
  width:100%; max-width:100%;
  background:var(--card-bg); box-shadow:var(--shadow-nav);
  padding:10px 18px 14px; display:flex; align-items:center; justify-content:space-around;
  z-index:100;
}

.nav-item{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--text-light-gray);cursor:pointer;min-width:44px;}
.nav-item svg{width:19px;height:19px;}
.nav-item span{font-size:9px;font-weight:500;}
.nav-item.active{color:var(--purple-1);}
.nav-fab{width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#3B7CF5,#8B3DF0);display:flex;align-items:center;justify-content:center;margin-top:-26px;box-shadow:0 6px 16px rgba(91,61,245,0.4);border:4px solid var(--bg);}
.nav-fab svg{width:20px;height:20px;color:#fff;}

/* ══════════════ AUTH PAGES (Login / Register) ══════════════ */

html{transition:background 0.25s ease;}
body{padding:0;}

.auth-navbar{
  padding:20px 16px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.icon-circle{
  width:38px;height:38px;
  background:var(--card-bg);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-sm);
  border:none;
  cursor:pointer;
  flex-shrink:0;
  color:var(--text-dark);
  transition:background 0.2s;
}
.icon-circle svg{width:16px;height:16px;}

.auth-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:18px 30px 26px;
}
.auth-logo-img{width:56px;height:56px;object-fit:contain;margin-bottom:6px;}
.auth-logo-text{
  font-weight:800;
  font-size:19px;
  letter-spacing:1px;
  color:var(--text-dark);
  margin-bottom:20px;
}
.auth-icon-badge{
  width:64px;height:64px;
  border-radius:50%;
  background:var(--you-row-bg);
  display:flex;align-items:center;justify-content:center;
  position:relative;
  margin-bottom:14px;
}
.auth-icon-badge svg{width:28px;height:28px;color:var(--purple-1);}
.auth-icon-badge .badge-plus{
  position:absolute;bottom:-1px;right:-1px;
  width:22px;height:22px;border-radius:50%;
  background:var(--purple-1);color:#fff;
  display:flex;align-items:center;justify-content:center;
  border:2px solid var(--bg);
}
.auth-icon-badge .badge-plus svg{width:11px;height:11px;color:#fff;}

.auth-eyebrow{
  font-size:11px;font-weight:700;letter-spacing:1px;
  color:var(--purple-1);text-transform:uppercase;
  margin-bottom:6px;
}
.auth-title{font-size:21px;font-weight:700;color:var(--text-dark);margin-bottom:6px;}
.auth-subtitle{font-size:12.5px;color:var(--text-gray);line-height:1.5;}

.auth-card{
  background:var(--card-bg);
  border-radius:22px;
  box-shadow:var(--shadow-card);
  padding:22px 18px 24px;
  margin:0 16px;
}

.form-row{display:flex;gap:10px;}
.form-group{margin-bottom:16px;flex:1;min-width:0;}
.form-label{
  display:block;font-size:12.5px;font-weight:600;
  color:var(--text-dark);margin-bottom:7px;
}
.form-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;}
.form-label-row .form-label{margin-bottom:0;}
.forgot-link{font-size:11.5px;font-weight:600;color:var(--purple-1);text-decoration:none;}

.input-wrap{
  display:flex;align-items:center;gap:9px;
  background:var(--bg);
  border:1px solid var(--border-soft);
  border-radius:12px;
  padding:12px 13px;
}
.input-wrap svg{width:15px;height:15px;color:var(--text-light-gray);flex-shrink:0;}
.input-wrap input{
  border:none;background:transparent;outline:none;
  font-family:'Poppins',sans-serif;
  font-size:12.5px;color:var(--text-dark);
  width:100%;min-width:0;
}
.input-wrap input::placeholder{color:var(--text-light-gray);}
.input-wrap .toggle-eye{cursor:pointer;color:var(--text-light-gray);}
.input-wrap .toggle-eye svg{width:15px;height:15px;}

.check-row{display:flex;align-items:center;gap:7px;margin-bottom:18px;font-size:12px;color:var(--text-gray);}
.check-row a{color:var(--purple-1);font-weight:600;text-decoration:none;}
.checkbox{
  width:16px;height:16px;border-radius:4px;flex-shrink:0;
  border:1.5px solid var(--text-light-gray);
  background:var(--bg);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;appearance:none;-webkit-appearance:none;
}
.checkbox:checked{background:var(--purple-1);border-color:var(--purple-1);}
.checkbox:checked::after{
  content:'';display:block;width:9px;height:6px;
  border-left:2px solid #fff;border-bottom:2px solid #fff;
  transform:rotate(-45deg) translate(1px,-1px);
}

.auth-submit{
  width:100%;
  background:linear-gradient(90deg,var(--purple-1),var(--purple-2));
  color:#fff;border:none;border-radius:13px;
  padding:14px;font-size:14px;font-weight:600;
  display:flex;align-items:center;justify-content:center;gap:8px;
  cursor:pointer;font-family:'Poppins',sans-serif;
  box-shadow:0 8px 18px rgba(91,61,245,0.28);
}
.auth-submit svg{width:15px;height:15px;}
.auth-submit:disabled{opacity:0.9;cursor:not-allowed;}

.btn-spinner{
  position:relative;
  width:26px;height:26px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.btn-spinner img{
  width:16px;height:16px;object-fit:contain;
  border-radius:50%;
  background:#fff;
  padding:2px;
}
.btn-spinner::before{
  content:'';
  position:absolute;inset:0;
  border-radius:50%;
  border:2.5px solid rgba(255,255,255,0.3);
  border-top-color:#fff;
  animation:btnSpin 0.7s linear infinite;
}
@keyframes btnSpin{
  to{ transform:rotate(360deg); }
}

.auth-footer-link{
  text-align:center;font-size:12.5px;color:var(--text-gray);
  padding:18px 0 8px;
}
.auth-footer-link a{color:var(--purple-1);font-weight:600;text-decoration:none;}

.site-footer{
  text-align:center;padding:20px 16px 34px;
}
.site-footer .auth-logo-img{width:22px;height:22px;margin-bottom:0;display:inline-block;vertical-align:middle;}
.site-footer .foot-brand{
  display:flex;align-items:center;justify-content:center;gap:6px;
  font-weight:800;font-size:13px;color:var(--text-dark);margin-bottom:8px;
}
.site-footer .foot-copy{font-size:10.5px;color:var(--text-light-gray);margin-bottom:6px;}
.site-footer .foot-links{font-size:10.5px;color:var(--text-light-gray);}
.site-footer .foot-links a{color:var(--text-light-gray);text-decoration:none;margin:0 2px;}

  /* ── FUND WALLET PAGE (scoped additions) ── */
  .fw-head-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:6px 0 18px;}
  .fw-heading{font-size:24px;font-weight:800;color:var(--text-dark);margin-bottom:8px;letter-spacing:-0.3px;}
  .fw-subtext{font-size:12px;color:var(--text-gray);line-height:1.5;max-width:280px;}

  .fw-secure-card{
    background:var(--card-bg);border-radius:16px;padding:14px;
    display:flex;align-items:flex-start;gap:10px;box-shadow:var(--shadow-card2);
    flex-shrink:0;width:150px;
  }
  .fw-secure-icon{width:32px;height:32px;border-radius:10px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .fw-secure-icon svg{width:16px;height:16px;}
  .fw-secure-title{font-size:11px;font-weight:700;color:var(--purple-1);margin-bottom:3px;}
  .fw-secure-desc{font-size:9px;color:var(--text-light-gray);line-height:1.35;}

  .fw-option{
    border-radius:18px;padding:16px;background:var(--you-row-bg);
    border:1.5px solid transparent;cursor:pointer;margin-bottom:14px;
  }
  .fw-option.active{background:rgba(34,197,94,0.08);border-color:#22C55E;}
  .fw-option.locked{background:var(--card-bg);box-shadow:var(--shadow-card2);opacity:0.85;cursor:default;}

  .fw-option-top{display:flex;align-items:flex-start;gap:12px;}
  .fw-option-icon{width:46px;height:46px;border-radius:50%;background:rgba(91,61,245,0.14);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .fw-option-icon svg{width:21px;height:21px;}
  .fw-option-icon.green{background:rgba(34,197,94,0.16);color:#16A34A;}
  .fw-option-icon.gray{background:var(--border-soft);color:var(--text-light-gray);}

  .fw-option-body{flex:1;min-width:0;}
  .fw-option-title-row{display:flex;align-items:center;gap:8px;margin-bottom:4px;flex-wrap:wrap;}
  .fw-option-title{font-size:15px;font-weight:700;color:var(--text-dark);}
  .fw-option-pill{font-size:9px;font-weight:700;letter-spacing:0.3px;padding:3px 9px;border-radius:20px;}
  .fw-option-pill.instant{background:rgba(91,61,245,0.14);color:var(--purple-1);}
  .fw-option-pill.active-pill{background:rgba(34,197,94,0.16);color:#16A34A;}
  .fw-option-pill.locked-pill{background:var(--border-soft);color:var(--text-light-gray);}
  .fw-option-desc{font-size:11.5px;color:var(--text-gray);line-height:1.4;}
  .fw-option-chevron{color:var(--text-light-gray);flex-shrink:0;margin-top:4px;}
  .fw-option-chevron svg{width:18px;height:18px;}
  .fw-option.active .fw-option-chevron{color:#16A34A;}

  .fw-option-tags{
    display:flex;align-items:center;gap:6px;font-size:10.5px;font-weight:600;
    color:var(--purple-1);background:rgba(91,61,245,0.08);
    border-radius:10px;padding:9px 12px;margin-top:12px;
  }
  .fw-option.active .fw-option-tags{color:#16A34A;background:rgba(34,197,94,0.1);}
  .fw-option.locked .fw-option-tags{color:var(--text-light-gray);background:var(--bg);}
  .fw-option-tags svg{width:13px;height:13px;flex-shrink:0;}

  .fw-help-label{font-size:15px;font-weight:700;color:var(--text-dark);margin:6px 0 12px;}
  .fw-support-row{
    background:var(--card-bg);border-radius:16px;padding:14px;
    display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-card2);cursor:pointer;
  }
  .fw-support-icon{width:40px;height:40px;border-radius:12px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .fw-support-icon svg{width:18px;height:18px;}
  .fw-support-text{flex:1;min-width:0;}
  .fw-support-title{font-size:13px;font-weight:700;color:var(--text-dark);margin-bottom:2px;}
  .fw-support-desc{font-size:10.5px;color:var(--text-gray);}
  .fw-support-chevron{color:var(--text-light-gray);flex-shrink:0;}
  .fw-support-chevron svg{width:17px;height:17px;}

/* ══════════════ PLAN ACTIVATION PAGE ══════════════ */

/* Simple wallet balance card */
.wallet-simple-card{
  background:linear-gradient(120deg,#3B7CF5 0%,#6B4CE6 55%,#8B3DF0 100%);
  border-radius:18px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.wallet-simple-left{display:flex;align-items:center;gap:12px;min-width:0;}
.wallet-icon-box{width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,0.22);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.wallet-icon-box svg{width:21px;height:21px;color:#fff;}
.wallet-simple-text{min-width:0;}
.wallet-simple-label{font-size:10.5px;color:rgba(255,255,255,0.85);margin-bottom:4px;}
.wallet-simple-amount{font-size:19px;font-weight:800;color:#fff;letter-spacing:-0.3px;}
.wallet-deposit-btn{
  display:flex;align-items:center;gap:7px;
  background:#fff;color:var(--purple-1);
  border:none;border-radius:24px;
  padding:10px 16px 10px 8px;
  font-size:12.5px;font-weight:700;
  cursor:pointer;flex-shrink:0;white-space:nowrap;
  font-family:'Poppins',sans-serif;
}
.wallet-deposit-icon{width:20px;height:20px;border-radius:50%;background:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.wallet-deposit-icon svg{width:11px;height:11px;color:#fff;}

/* Plans card */
.plans-card{background:var(--card-bg);border-radius:20px;padding:18px 13px 6px;box-shadow:var(--shadow-card);}
.plans-heading{font-size:18px;font-weight:700;color:var(--text-dark);margin-bottom:3px;}
.plans-subtitle{font-size:11.5px;color:var(--text-gray);margin-bottom:14px;}

.plan-row{display:flex;align-items:center;gap:7px;padding:12px 10px;margin-bottom:10px;background:var(--card-bg);border:1px solid var(--border-soft);border-radius:15px;box-shadow:var(--shadow-card2);}
.plan-row:last-child{margin-bottom:0;}
.plan-icon{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.plan-icon svg{width:17px;height:17px;}
.plan-name-block{flex-shrink:0;width:56px;}
.plan-name{font-size:9.5px;font-weight:700;margin-bottom:2px;line-height:1.15;}
.plan-price{font-size:12.5px;font-weight:800;color:var(--text-dark);line-height:1.15;}
.plan-price span{font-size:7.3px;font-weight:500;color:var(--text-light-gray);}
.plan-stats{flex:1 1 auto;min-width:0;width:100%;display:flex;flex-direction:column;gap:3px;overflow:hidden;}
.plan-stat-row{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;}
.plan-stat-left{display:flex;align-items:center;gap:3px;font-size:7.6px;color:var(--text-light-gray);white-space:normal;line-height:1.2;min-width:0;}
.plan-stat-left svg{width:8.5px;height:8.5px;flex-shrink:0;}
.plan-stat-value{font-size:8.2px;font-weight:700;color:var(--text-dark);white-space:nowrap;flex-shrink:0;}
.plan-btn{border:none;border-radius:16px;padding:8px 4px;font-size:8.6px;font-weight:700;color:#fff;cursor:pointer;flex-shrink:0;width:60px;white-space:nowrap;font-family:'Poppins',sans-serif;text-align:center;}

/* Plan color themes */
.plan-icon.beg{background:#EDE9FE;} .plan-icon.beg svg{color:#6D5EF0;}
.plan-name.beg-t{color:#6D5EF0;} .plan-btn.beg-b{background:#6D5EF0;}
.plan-row.beg-row .plan-stat-left,.plan-row.beg-row .plan-stat-value{color:#6D5EF0;}

.plan-icon.nov{background:#DCE9FE;} .plan-icon.nov svg{color:#3B82F6;}
.plan-name.nov-t{color:#3B82F6;} .plan-btn.nov-b{background:#2F6FE8;}
.plan-row.nov-row .plan-stat-left,.plan-row.nov-row .plan-stat-value{color:#3B82F6;}

.plan-icon.mid{background:#D8F3E7;} .plan-icon.mid svg{color:#10B981;}
.plan-name.mid-t{color:#10B981;} .plan-btn.mid-b{background:#12B67F;}
.plan-row.mid-row .plan-stat-left,.plan-row.mid-row .plan-stat-value{color:#10B981;}

.plan-icon.pro{background:#FCE2DD;} .plan-icon.pro svg{color:#EF5A3C;}
.plan-name.pro-t{color:#EF5A3C;} .plan-btn.pro-b{background:#EF5A3C;}
.plan-row.pro-row .plan-stat-left,.plan-row.pro-row .plan-stat-value{color:#EF5A3C;}

.plan-icon.gold{background:#FBF0D6;} .plan-icon.gold svg{color:#E0A315;}
.plan-name.gold-t{color:#E0A315;} .plan-btn.gold-b{background:#E0A315;}
.plan-row.gold-row .plan-stat-left,.plan-row.gold-row .plan-stat-value{color:#E0A315;}

.plan-icon.max{background:#E7E3FB;} .plan-icon.max svg{color:#7C5CF0;}
.plan-name.max-t{color:#7C5CF0;} .plan-btn.max-b{background:#6D5EF0;}
.plan-row.max-row .plan-stat-left,.plan-row.max-row .plan-stat-value{color:#7C5CF0;}

/* Info footer strip */
.plan-info-card{
  background:var(--card-bg);border-radius:16px;padding:14px;
  display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-card2);
  cursor:pointer;
}
.plan-info-icon{width:38px;height:38px;border-radius:12px;background:#EEF0FF;color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.plan-info-icon svg{width:18px;height:18px;}
.plan-info-text{flex:1;min-width:0;}
.plan-info-title{font-size:12px;font-weight:600;color:var(--text-dark);margin-bottom:2px;}
.plan-info-sub{font-size:9.5px;color:var(--text-light-gray);line-height:1.35;}
.plan-info-chevron{color:var(--text-light-gray);flex-shrink:0;}
.plan-info-chevron svg{width:16px;height:16px;}

/* ══════════════ PROFILE PAGE ══════════════ */

.profile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.profile-head-text{min-width:0;}
h1.profile-title{font-size:22px;font-weight:700;color:var(--text-dark);margin-bottom:3px;}
.profile-subtitle{font-size:11.5px;color:var(--text-gray);}
.edit-profile-btn{
  display:flex;align-items:center;gap:6px;flex-shrink:0;
  background:var(--you-row-bg);color:var(--purple-1);
  border:1px solid rgba(91,61,245,0.18);
  border-radius:20px;padding:8px 13px;
  font-size:11.5px;font-weight:600;cursor:pointer;
  white-space:nowrap;font-family:'Poppins',sans-serif;
}
.edit-profile-btn svg{width:12px;height:12px;}

/* Profile info card */
.profile-card{background:var(--card-bg);border-radius:20px;padding:18px;box-shadow:var(--shadow-card);}
.profile-card-top{display:flex;align-items:center;gap:14px;margin-bottom:16px;}
.profile-avatar-wrap{position:relative;flex-shrink:0;}
.profile-avatar{
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg,var(--purple-2),var(--purple-1));
  display:flex;align-items:center;justify-content:center;
}
.profile-avatar svg{width:30px;height:30px;color:#fff;}
.profile-verified{
  position:absolute;bottom:0;right:0;width:19px;height:19px;border-radius:50%;
  background:#22C55E;border:2.5px solid var(--card-bg);
  display:flex;align-items:center;justify-content:center;
}
.profile-verified svg{width:9px;height:9px;color:#fff;}
.profile-info-text{min-width:0;}
.profile-name{font-size:16.5px;font-weight:700;color:var(--text-dark);margin-bottom:2px;}
.profile-username{font-size:11.5px;color:var(--text-gray);margin-bottom:8px;}
.plan-badge-free{
  display:inline-flex;align-items:center;gap:6px;
  background:#DDF7E7;color:#15803D;
  font-size:10.5px;font-weight:600;
  padding:5px 11px;border-radius:20px;
}
.plan-badge-free .dot{width:6px;height:6px;border-radius:50%;background:#22C55E;flex-shrink:0;}

.profile-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:16px;border-top:1px solid var(--border-soft);}
.profile-stat{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;}
.profile-stat-icon{width:32px;height:32px;border-radius:9px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.profile-stat-icon svg{width:14px;height:14px;}
.profile-stat-label{font-size:9px;color:var(--text-light-gray);margin-bottom:3px;line-height:1.2;}
.profile-stat-value{font-size:13px;font-weight:700;color:var(--text-dark);white-space:nowrap;}

/* Upgrade banner */
.upgrade-banner{
  background:linear-gradient(120deg,#3B7CF5 0%,#6B4CE6 55%,#8B3DF0 100%);
  border-radius:18px;padding:16px;
  display:flex;align-items:center;gap:12px;
}
.upgrade-icon{width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,0.2);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.upgrade-icon svg{width:20px;height:20px;color:#fff;}
.upgrade-text{flex:1;min-width:0;}
.upgrade-title{font-size:13.5px;font-weight:700;color:#fff;margin-bottom:3px;}
.upgrade-desc{font-size:10px;color:rgba(255,255,255,0.85);line-height:1.35;}
.upgrade-btn{
  display:flex;align-items:center;gap:5px;flex-shrink:0;
  background:#fff;color:var(--purple-1);border:none;
  border-radius:20px;padding:9px 13px;
  font-size:11px;font-weight:700;cursor:pointer;
  white-space:nowrap;font-family:'Poppins',sans-serif;
}
.upgrade-btn svg{width:11px;height:11px;}

/* List section (Account / Preferences) */
.list-section-label{font-size:11.5px;font-weight:600;color:var(--text-gray);padding:0 2px;}
.list-card{background:var(--card-bg);border-radius:18px;padding:4px 14px;box-shadow:var(--shadow-card);}
.list-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--border-soft);cursor:pointer;}
.list-row:last-child{border-bottom:none;}
.list-row-icon{width:38px;height:38px;border-radius:11px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.list-row-icon svg{width:17px;height:17px;}
.list-row-text{flex:1;min-width:0;}
.list-row-title{font-size:12.5px;font-weight:600;color:var(--text-dark);margin-bottom:2px;}
.list-row-desc{font-size:10px;color:var(--text-light-gray);line-height:1.3;}
.list-row-chevron{color:var(--text-light-gray);flex-shrink:0;}
.list-row-chevron svg{width:16px;height:16px;}
.theme-pill{
  display:flex;align-items:center;gap:5px;flex-shrink:0;
  background:var(--bg);color:var(--text-gray);
  border-radius:20px;padding:6px 10px;
  font-size:10.5px;font-weight:600;
}
.theme-pill svg{width:12px;height:12px;color:var(--purple-1);}

/* Logout */
.logout-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;background:#FDECEC;color:#EF4444;
  border:none;border-radius:16px;padding:15px;
  font-size:13px;font-weight:600;cursor:pointer;
  font-family:'Poppins',sans-serif;
}
.logout-btn svg{width:16px;height:16px;}

  /* ── PIN PAGE (scoped additions) ── */
  .pinpg-title{font-size:16px;font-weight:700;color:var(--text-dark);text-align:center;flex:1;}

  .pinpg-hero{
    background:linear-gradient(120deg,#3B7CF5 0%,#6B4CE6 55%,#8B3DF0 100%);
    border-radius:18px;padding:20px;display:flex;align-items:center;gap:14px;
    box-shadow:0 8px 20px rgba(91,61,245,0.25);
  }
  .pinpg-hero-text{flex:1;min-width:0;}
  .pinpg-hero-title{font-size:16px;font-weight:700;color:#fff;margin-bottom:6px;}
  .pinpg-hero-desc{font-size:11px;color:rgba(255,255,255,0.85);line-height:1.5;}
  .pinpg-hero-icon{
    width:64px;height:64px;border-radius:16px;background:rgba(255,255,255,0.14);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,0.15);
  }
  .pinpg-hero-icon svg{width:30px;height:30px;color:#fff;}

  .pinpg-status-card{
    background:var(--card-bg);border-radius:16px;padding:14px 16px;
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    box-shadow:var(--shadow-card2);
  }
  .pinpg-status-label{font-size:10px;color:var(--text-light-gray);margin-bottom:4px;}
  .pinpg-status-value{font-size:15px;font-weight:700;color:#22C55E;margin-bottom:3px;}
  .pinpg-status-sub{font-size:9.5px;color:var(--text-light-gray);}
  .pinpg-status-badge{
    width:42px;height:42px;border-radius:50%;background:#DDF7E7;color:#22C55E;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }
  .pinpg-status-badge svg{width:20px;height:20px;}

  .pinpg-toggle{
    position:relative;width:42px;height:24px;border-radius:20px;background:var(--purple-1);
    flex-shrink:0;cursor:pointer;transition:background 0.2s;
  }
  .pinpg-toggle.off{background:#D1D5DB;}
  .pinpg-toggle::after{
    content:'';position:absolute;top:3px;left:21px;width:18px;height:18px;border-radius:50%;
    background:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.25);transition:left 0.2s;
  }
  .pinpg-toggle.off::after{left:3px;}

  .list-row.danger .list-row-icon{background:#FDECEC;color:#EF4444;}
  .list-row.danger .list-row-title{color:#EF4444;}
  
/* ══════════════ TASKS PAGE ══════════════ */

.nav-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--purple-2),var(--purple-1));display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.nav-avatar svg{width:19px;height:19px;color:#fff;}

.tasks-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.tasks-head-text{min-width:0;}
h1.tasks-title{font-size:22px;font-weight:700;color:var(--text-dark);margin-bottom:3px;}
.tasks-subtitle{font-size:11.5px;color:var(--text-gray);}
.history-btn{
  display:flex;align-items:center;gap:6px;flex-shrink:0;
  background:var(--card-bg);color:var(--purple-1);
  border:1px solid var(--border-soft);
  border-radius:20px;padding:8px 13px;
  font-size:11.5px;font-weight:600;cursor:pointer;
  white-space:nowrap;font-family:'Poppins',sans-serif;
  box-shadow:var(--shadow-sm);
}
.history-btn svg{width:13px;height:13px;}

/* Progress banner */
.progress-banner{
  background:linear-gradient(120deg,#6D5EF0 0%,#7C5CF0 60%,#8B5CF6 100%);
  border-radius:18px;padding:18px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  position:relative;overflow:hidden;
}
.progress-left{display:flex;align-items:center;gap:13px;min-width:0;position:relative;z-index:2;}
.progress-icon-box{width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,0.22);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.progress-icon-box svg{width:20px;height:20px;color:#fff;}
.progress-label{font-size:10.5px;color:rgba(255,255,255,0.85);margin-bottom:3px;}
.progress-count{font-size:19px;font-weight:800;color:#fff;margin-bottom:2px;letter-spacing:-0.3px;}
.progress-sub{font-size:9.5px;color:rgba(255,255,255,0.75);}
.progress-ring-wrap{position:relative;width:64px;height:64px;flex-shrink:0;z-index:2;}
.progress-ring-wrap svg{transform:rotate(-90deg);width:64px;height:64px;}
.progress-ring-pct{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;color:#fff;
}

/* Task categories */
.cat-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px;}
.cat-title{font-size:16px;font-weight:700;color:var(--text-dark);}
.cat-viewall{font-size:12px;color:var(--purple-1);font-weight:600;display:flex;align-items:center;gap:2px;text-decoration:none;}
.cat-viewall svg{width:12px;height:12px;}

.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;}
.cat-card{
  background:var(--card-bg);border-radius:14px;padding:12px 4px 10px;
  display:flex;flex-direction:column;align-items:center;gap:8px;
  box-shadow:var(--shadow-card2);cursor:pointer;position:relative;
}
.cat-card.active{box-shadow:0 4px 14px rgba(91,61,245,0.28);}
.cat-card.active::after{
  content:'';position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);
  width:22px;height:3px;border-radius:3px;background:var(--purple-1);
}
.cat-icon{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cat-icon svg{width:17px;height:17px;color:#fff;}
.cat-icon.all{background:var(--purple-1);}
.cat-icon.social{background:#12B67F;}
.cat-icon.watch{background:#F5A700;}
.cat-icon.surveys{background:#3B82F6;}
.cat-icon.other{background:#EC4899;}
.cat-label{font-size:9px;font-weight:600;color:var(--text-dark);text-align:center;line-height:1.15;}
.cat-count{font-size:8.5px;font-weight:700;color:#fff;padding:2px 8px;border-radius:10px;}
.cat-count.all{background:var(--purple-1);}
.cat-count.social{background:#12B67F;}
.cat-count.watch{background:#F5A700;}
.cat-count.surveys{background:#3B82F6;}
.cat-count.other{background:#EC4899;}

/* Available tasks header */
.avail-header{display:flex;justify-content:space-between;align-items:center;}
.avail-title{font-size:16px;font-weight:700;color:var(--text-dark);}
.avail-right{display:flex;align-items:center;gap:8px;}
.avail-count{font-size:12px;font-weight:600;color:var(--purple-1);}
.filter-btn{width:32px;height:32px;border-radius:9px;background:var(--card-bg);border:1px solid var(--border-soft);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-sm);cursor:pointer;flex-shrink:0;color:var(--text-dark);}
.filter-btn svg{width:15px;height:15px;}

/* Task list cards */
.task-list-card{background:var(--card-bg);border-radius:16px;padding:14px;box-shadow:var(--shadow-card2);}
.task-list-top{display:flex;align-items:flex-start;gap:11px;margin-bottom:10px;}
.task-list-icon{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;}
.task-list-icon svg{width:20px;height:20px;}
.task-list-icon.tw{background:#000;}
.task-list-icon.tw svg{color:#fff;width:17px;height:17px;}
.task-list-icon.ig{background:radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);}
.task-list-icon.ig svg{color:#fff;}
.task-list-icon.yt{background:#FF0000;}
.task-list-icon.yt svg{color:#fff;}
.task-list-icon.doc{background:#12B67F;}
.task-list-icon.doc svg{color:#fff;}
.task-list-info{flex:1;min-width:0;}
.task-cat-tag{font-size:9.5px;font-weight:600;margin-bottom:3px;display:block;}
.task-cat-tag.social{color:#8B5CF6;}
.task-cat-tag.watch{color:#F5A700;}
.task-cat-tag.surveys{color:#3B82F6;}
.task-list-title{font-size:13.5px;font-weight:700;color:var(--text-dark);margin-bottom:3px;}
.task-list-desc{font-size:10px;color:var(--text-light-gray);line-height:1.35;}
.task-list-right{text-align:right;flex-shrink:0;}
.task-list-reward{font-size:14px;font-weight:800;color:var(--purple-1);margin-bottom:1px;white-space:nowrap;}
.task-list-reward-label{font-size:8.5px;color:var(--text-light-gray);}

.task-progress-row{display:flex;align-items:center;gap:10px;}
.task-progress-track{flex:1;height:6px;border-radius:6px;background:var(--bg);overflow:hidden;}
.task-progress-fill{height:100%;border-radius:6px;background:var(--purple-1);}
.task-progress-fill.done{background:#22C55E;}
.task-progress-fill.orange{background:#F5A700;}
.task-progress-frac{font-size:10px;color:var(--text-light-gray);font-weight:600;flex-shrink:0;}

.start-task-btn{
  background:var(--purple-1);color:#fff;border:none;
  padding:8px 16px;border-radius:9px;
  font-size:11.5px;font-weight:600;cursor:pointer;
  font-family:'Poppins',sans-serif;
}
.completed-pill{
  display:flex;align-items:center;gap:5px;
  background:#DDF7E7;color:#15803D;
  padding:8px 13px;border-radius:9px;
  font-size:11.5px;font-weight:600;
}
.completed-pill svg{width:13px;height:13px;}

/* ══════════════ WITHDRAW PAGE ══════════════ */

.withdraw-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
h1.withdraw-title{font-size:22px;font-weight:700;color:var(--text-dark);margin-bottom:3px;}
.withdraw-subtitle{font-size:11.5px;color:var(--text-gray);}

/* Balance banner */
.wd-balance-card{
  background:linear-gradient(120deg,#3B7CF5 0%,#6B4CE6 55%,#8B3DF0 100%);
  border-radius:18px;padding:18px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  position:relative;overflow:hidden;
}
.wd-balance-text{position:relative;z-index:2;min-width:0;}
.wd-balance-label{font-size:11px;color:rgba(255,255,255,0.85);margin-bottom:6px;}
.wd-balance-amount{font-size:23px;font-weight:800;color:#fff;margin-bottom:4px;letter-spacing:-0.4px;}
.wd-balance-desc{font-size:10px;color:rgba(255,255,255,0.75);}
.wd-balance-illustration{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,0.18);display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:2;}
.wd-balance-illustration svg{width:26px;height:26px;color:#fff;}

/* Step labels */
.wd-step-label{font-size:14px;font-weight:700;color:var(--text-dark);margin-bottom:2px;}

/* Wallet select grid */
.wallet-select-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.wallet-select-card{
  background:var(--card-bg);border-radius:15px;padding:13px 11px;
  box-shadow:var(--shadow-card2);border:1.5px solid var(--border-soft);
  position:relative;cursor:pointer;
}
.wallet-select-card.checked{border-color:var(--purple-1);}
.wallet-radio{position:absolute;top:10px;right:10px;width:17px;height:17px;border-radius:50%;border:1.5px solid var(--border-soft);background:var(--bg);}
.wallet-radio.checked{background:var(--purple-1);border-color:var(--purple-1);display:flex;align-items:center;justify-content:center;}
.wallet-radio.checked svg{width:9px;height:9px;color:#fff;}
.wallet-select-icon{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;}
.wallet-select-icon svg{width:16px;height:16px;color:#fff;}
.wallet-select-icon.affiliate{background:var(--purple-1);}
.wallet-select-icon.task{background:#12B67F;}
.wallet-select-icon.blog{background:#F5820C;}
.wallet-select-name{font-size:10px;font-weight:600;color:var(--text-dark);margin-bottom:4px;line-height:1.2;}
.wallet-select-amount{font-size:12.5px;font-weight:800;margin-bottom:4px;}
.wallet-select-amount.affiliate{color:var(--purple-1);}
.wallet-select-amount.task{color:#12B67F;}
.wallet-select-amount.blog{color:#F5820C;}
.wallet-select-min{font-size:8px;color:var(--text-light-gray);}

/* Bank details card */
.bank-card{background:var(--card-bg);border-radius:16px;padding:14px;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-card2);}
.bank-icon-box{width:42px;height:42px;border-radius:12px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.bank-icon-box svg{width:19px;height:19px;}
.bank-info{flex:1;min-width:0;}
.bank-name-row{display:flex;align-items:center;gap:7px;margin-bottom:3px;flex-wrap:wrap;}
.bank-name{font-size:12.5px;font-weight:700;color:var(--text-dark);}
.verified-pill{background:#DDF7E7;color:#15803D;font-size:8.5px;font-weight:700;padding:2px 8px;border-radius:8px;}
.bank-sub{font-size:10.5px;color:var(--text-gray);}
.change-bank-btn{
  flex-shrink:0;background:var(--you-row-bg);color:var(--purple-1);
  border:1px solid rgba(91,61,245,0.18);border-radius:20px;
  padding:8px 13px;font-size:10.5px;font-weight:600;cursor:pointer;
  white-space:nowrap;font-family:'Poppins',sans-serif;
}

/* Amount card */
.amount-card{background:var(--card-bg);border-radius:16px;padding:14px;box-shadow:var(--shadow-card2);}
.amount-card-label{font-size:10.5px;color:var(--text-gray);margin-bottom:8px;}
.amount-input-row{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border-soft);border-radius:12px;padding:12px 13px;margin-bottom:10px;}
.amount-input-row input{flex:1;min-width:0;border:none;background:transparent;outline:none;font-family:'Poppins',sans-serif;font-size:15px;font-weight:700;color:var(--text-dark);}
.amount-currency{font-size:15px;font-weight:700;color:var(--text-dark);}
.use-all-btn{flex-shrink:0;background:transparent;color:var(--purple-1);border:1.5px solid var(--purple-1);border-radius:9px;padding:7px 12px;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap;font-family:'Poppins',sans-serif;}
.amount-meta-row{display:flex;justify-content:space-between;align-items:center;}
.amount-receive{font-size:11px;color:var(--text-gray);}
.amount-receive b{color:var(--purple-1);font-weight:700;}
.amount-fee{font-size:11px;color:var(--text-gray);display:flex;align-items:center;gap:4px;}
.amount-fee svg{width:11px;height:11px;color:var(--text-light-gray);}

/* PIN section */
.pin-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px;}
.forgot-pin-link{font-size:11px;font-weight:600;color:var(--purple-1);text-decoration:none;}
.pin-row{display:flex;align-items:center;gap:8px;}
.pin-dots{display:flex;gap:8px;flex:1;}
.pin-dot{
  flex:1;height:42px;border-radius:11px;background:var(--card-bg);
  border:1px solid var(--border-soft);box-shadow:var(--shadow-card2);
  display:flex;align-items:center;justify-content:center;
}
.pin-dot::after{content:'';width:8px;height:8px;border-radius:50%;background:var(--text-dark);}
.pin-shield{width:42px;height:42px;border-radius:11px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.pin-shield svg{width:18px;height:18px;}

/* Confirm button */
.confirm-withdraw-btn{
  width:100%;background:linear-gradient(90deg,var(--purple-1),var(--blue-1));
  color:#fff;border:none;border-radius:26px;
  padding:8px 8px 8px 22px;font-size:14px;font-weight:600;
  display:flex;align-items:center;justify-content:space-between;
  cursor:pointer;font-family:'Poppins',sans-serif;
  box-shadow:0 8px 18px rgba(91,61,245,0.28);
}
.confirm-withdraw-btn .arrow-circle{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,0.22);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.confirm-withdraw-btn .arrow-circle svg{width:16px;height:16px;color:#fff;}

/* Withdrawal progress stepper */
.wd-stepper-card{background:var(--card-bg);border-radius:16px;padding:18px 10px 14px;box-shadow:var(--shadow-card2);}
.wd-stepper{display:flex;align-items:flex-start;justify-content:space-between;position:relative;}
.wd-stepper::before{
  content:'';position:absolute;top:18px;left:10%;right:10%;height:2px;
  background:repeating-linear-gradient(90deg,var(--border-soft) 0 6px,transparent 6px 11px);
  z-index:0;
}
.wd-step{display:flex;flex-direction:column;align-items:center;gap:7px;flex:1;position:relative;z-index:1;}
.wd-step-icon{width:36px;height:36px;border-radius:50%;background:var(--bg);border:2px solid var(--border-soft);color:var(--text-light-gray);display:flex;align-items:center;justify-content:center;}
.wd-step-icon svg{width:15px;height:15px;}
.wd-step.active .wd-step-icon{background:var(--purple-1);border-color:var(--purple-1);color:#fff;}
.wd-step-name{font-size:8.5px;font-weight:700;color:var(--text-light-gray);text-align:center;line-height:1.2;}
.wd-step.active .wd-step-name{color:var(--purple-1);}
.wd-step-sub{font-size:7.5px;color:var(--text-light-gray);text-align:center;}
.wd-step.active .wd-step-sub{color:var(--purple-1);}

/* Info strip */
.wd-info-card{background:var(--you-row-bg);border-radius:16px;padding:14px;display:flex;align-items:center;gap:12px;}
.wd-info-icon{width:38px;height:38px;border-radius:12px;background:var(--purple-1);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.wd-info-icon svg{width:17px;height:17px;}
.wd-info-text{flex:1;min-width:0;}
.wd-info-title{font-size:12px;font-weight:600;color:var(--text-dark);margin-bottom:2px;}
.wd-info-sub{font-size:9.5px;color:var(--text-gray);line-height:1.4;}
.wd-info-sub b{color:var(--purple-1);font-weight:700;}

/* ══════════════ WITHDRAWAL RECEIPT PAGE ══════════════ */

.receipt-navbar{padding:20px 16px 0;display:flex;align-items:center;justify-content:space-between;}
.receipt-navbar-title{flex:1;text-align:center;font-size:15px;font-weight:700;color:var(--text-dark);}

.receipt-success-wrap{display:flex;flex-direction:column;align-items:center;padding:26px 20px 6px;position:relative;}
.success-dots{position:absolute;inset:0;pointer-events:none;}
.success-dot{position:absolute;border-radius:50%;}
.success-circle-outer{
  width:104px;height:104px;border-radius:50%;background:#DDF7E7;
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;position:relative;z-index:2;
}
.success-circle-inner{width:72px;height:72px;border-radius:50%;background:#22C55E;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(34,197,94,0.35);}
.success-circle-inner svg{width:32px;height:32px;color:#fff;}
.receipt-title{font-size:19px;font-weight:700;color:var(--text-dark);margin-bottom:8px;text-align:center;}
.receipt-subtitle{font-size:11.5px;color:var(--text-gray);text-align:center;line-height:1.5;margin-bottom:14px;max-width:280px;}
.eta-pill{display:flex;align-items:center;gap:6px;background:#DDF7E7;color:#15803D;font-size:11px;font-weight:600;padding:7px 14px;border-radius:20px;}
.eta-pill svg{width:13px;height:13px;}

/* Receipt card */
.receipt-card{background:var(--card-bg);border-radius:18px;padding:18px;box-shadow:var(--shadow-card);position:relative;overflow:hidden;}
.receipt-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--purple-1),var(--blue-1));}

.receipt-ref-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:10px;}
.receipt-ref-label{font-size:10px;color:var(--text-light-gray);margin-bottom:4px;}
.receipt-ref-code-row{display:flex;align-items:center;gap:8px;}
.receipt-ref-code{font-size:15px;font-weight:800;color:var(--text-dark);}
.receipt-copy-btn{width:24px;height:24px;border-radius:7px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;}
.receipt-copy-btn svg{width:12px;height:12px;}

.receipt-row{display:flex;align-items:center;gap:12px;padding:11px 0;cursor:pointer;}
.receipt-row-icon{width:36px;height:36px;border-radius:10px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.receipt-row-icon svg{width:16px;height:16px;}
.receipt-row-text{flex:1;min-width:0;}
.receipt-row-label{font-size:9.5px;color:var(--text-light-gray);margin-bottom:2px;}
.receipt-row-value{font-size:12.5px;font-weight:700;color:var(--text-dark);}
.receipt-row-chevron{color:var(--text-light-gray);flex-shrink:0;}
.receipt-row-chevron svg{width:15px;height:15px;}

.receipt-divider{border-top:1px dashed var(--border-soft);margin:4px 0;}

.receipt-amount-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;gap:10px;}
.receipt-amount-left{display:flex;align-items:center;gap:10px;min-width:0;}
.receipt-amount-icon{width:26px;height:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.receipt-amount-icon svg{width:12px;height:12px;}
.receipt-amount-icon.green{background:#DDF7E7;color:#15803D;}
.receipt-amount-icon.red{background:#FDECEC;color:#EF4444;}
.receipt-amount-icon.purple{background:var(--you-row-bg);color:var(--purple-1);}
.receipt-amount-icon.blue{background:#DCE9FE;color:#3B82F6;}
.receipt-amount-label{font-size:11.5px;color:var(--text-gray);}
.receipt-amount-value{font-size:12.5px;font-weight:700;color:var(--text-dark);white-space:nowrap;}
.receipt-amount-value.green{color:#15803D;}
.receipt-amount-value.strike{text-decoration:line-through;color:var(--text-light-gray);font-weight:600;}

.share-receipt-btn{
  width:100%;background:linear-gradient(90deg,var(--purple-1),var(--blue-1));
  color:#fff;border:none;border-radius:26px;padding:15px;
  font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:9px;
  cursor:pointer;font-family:'Poppins',sans-serif;
  box-shadow:0 8px 18px rgba(91,61,245,0.28);
}
.share-receipt-btn svg{width:16px;height:16px;}
.download-pdf-btn{
  width:100%;background:var(--card-bg);color:var(--purple-1);
  border:1.5px solid var(--border-soft);border-radius:26px;padding:15px;
  font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:9px;
  cursor:pointer;font-family:'Poppins',sans-serif;box-shadow:var(--shadow-sm);
}
.download-pdf-btn svg{width:16px;height:16px;}

.receipt-footer{display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 0 10px;font-size:10.5px;color:var(--text-light-gray);}
.receipt-footer svg{width:12px;height:12px;flex-shrink:0;}
.receipt-footer .foot-logo{font-weight:800;background:linear-gradient(90deg,#3B7CF5,#8B5CF6,#C084FC);-webkit-background-clip:text;background-clip:text;color:transparent;}

  /* ── CHANGE PIN PAGE (scoped additions) ── */
  .cpin-title{font-size:18px;font-weight:700;color:var(--text-dark);text-align:center;margin:18px 0 20px;}

  /* Stepper (numbered, reuses abank-stepper look) */
  .cpin-stepper{display:flex;align-items:flex-start;justify-content:space-between;position:relative;padding:0 6px;margin-bottom:22px;}
  .cpin-stepper::before{
    content:'';position:absolute;top:16px;left:14%;right:14%;height:2px;
    background:repeating-linear-gradient(90deg,var(--border-soft) 0 6px,transparent 6px 11px);
    z-index:0;
  }
  .cpin-step{display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;z-index:1;}
  .cpin-step-num{
    width:32px;height:32px;border-radius:50%;background:var(--bg);border:1.5px solid var(--border-soft);
    color:var(--text-light-gray);font-size:13px;font-weight:700;
    display:flex;align-items:center;justify-content:center;
  }
  .cpin-step.active .cpin-step-num{background:var(--purple-1);border-color:var(--purple-1);color:#fff;}
  .cpin-step-label{font-size:9.5px;font-weight:600;color:var(--text-light-gray);text-align:center;}
  .cpin-step.active .cpin-step-label{color:var(--purple-1);}

  /* Field blocks */
  .cpin-field{margin-bottom:20px;}
  .cpin-field-label{font-size:12.5px;font-weight:600;color:var(--text-dark);margin-bottom:9px;}
  .cpin-input-row{
    display:flex;align-items:center;gap:10px;background:var(--card-bg);
    border:1px solid var(--border-soft);border-radius:14px;padding:6px 6px 6px 6px;
    box-shadow:var(--shadow-card2);
  }
  .cpin-input-badge{width:34px;height:34px;border-radius:10px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:4px;}
  .cpin-input-badge svg{width:15px;height:15px;}
  .cpin-input-row input{
    flex:1;min-width:0;border:none;background:transparent;outline:none;
    font-family:'Poppins',sans-serif;font-size:20px;letter-spacing:9px;color:var(--text-dark);padding:11px 0;
  }
  .cpin-input-row input::placeholder{color:var(--text-light-gray);letter-spacing:normal;font-size:12px;}
  .cpin-input-eye{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--text-light-gray);cursor:pointer;background:none;border:none;margin-right:4px;}
  .cpin-input-eye svg{width:17px;height:17px;}
  .cpin-hint{font-size:10px;color:var(--text-light-gray);margin-top:7px;}

  /* Strength meter */
  .cpin-strength-row{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--text-light-gray);margin-top:12px;margin-bottom:8px;}
  .cpin-strength-row b{font-weight:700;}
  .cpin-strength-row b.strong{color:#22C55E;}
  .cpin-strength-row b.medium{color:#F59E0B;}
  .cpin-strength-row b.weak{color:#EF4444;}
  .cpin-strength-bar{display:flex;gap:5px;margin-bottom:10px;}
  .cpin-strength-seg{flex:1;height:5px;border-radius:4px;background:var(--border-soft);}
  .cpin-strength-seg.on{background:#22C55E;}

  .cpin-check-list{display:flex;flex-direction:column;gap:6px;}
  .cpin-check-item{display:flex;align-items:center;gap:7px;font-size:10.5px;color:var(--text-gray);}
  .cpin-check-item svg{width:14px;height:14px;color:#22C55E;flex-shrink:0;}

  .cpin-submit-btn{
    width:100%;background:linear-gradient(90deg,var(--purple-1),var(--blue-1));
    color:#fff;border:none;border-radius:26px;padding:16px;
    font-size:14px;font-weight:600;cursor:pointer;font-family:'Poppins',sans-serif;
    box-shadow:0 8px 18px rgba(91,61,245,0.28);margin-top:6px;
  }
  
  /* ── Bank picker dropdown (page-scoped, reuses indd.css vars) ── */
  .bank-picker-wrap{position:relative;}
  .bank-picker-menu{
    position:absolute;top:calc(100% + 6px);left:0;right:0;
    background:var(--card-bg);border-radius:14px;box-shadow:var(--shadow-menu);
    padding:8px;z-index:60;display:none;max-height:260px;overflow-y:auto;
  }
  .bank-picker-menu.open{display:block;}
  .bank-picker-search{
    width:100%;border:1px solid var(--border-soft);background:var(--bg);
    border-radius:10px;padding:9px 11px;font-family:'Poppins',sans-serif;
    font-size:12px;color:var(--text-dark);outline:none;margin-bottom:6px;
  }
  .bank-picker-search::placeholder{color:var(--text-light-gray);}
  .bank-picker-option{
    padding:9px 10px;border-radius:9px;font-size:12px;font-weight:500;
    color:var(--text-dark);cursor:pointer;
  }
  .bank-picker-option:hover{background:var(--you-row-bg);color:var(--purple-1);}
  .bank-picker-empty{padding:12px 10px;font-size:11.5px;color:var(--text-light-gray);text-align:center;}
  .abank-select-placeholder.filled{color:var(--text-dark);font-weight:600;}
  .abank-verify-btn:disabled{opacity:0.55;cursor:not-allowed;}

  /* ── Inline verify message (below Account Number field) ── */
  .abank-verify-msg{
    display:none;align-items:center;gap:8px;border-radius:10px;
    padding:9px 12px;margin-top:8px;font-size:11px;font-weight:600;
    font-family:'Poppins',sans-serif;line-height:1.4;
  }
  .abank-verify-msg.show{display:flex;}
  .abank-verify-msg svg{width:14px;height:14px;flex-shrink:0;}
  .abank-verify-msg.success{background:#DDF7E7;color:#15803D;}
  .abank-verify-msg.error{background:#FDECEC;color:#EF4444;}

  
/* ══════════════ ADD BANK ACCOUNT PAGE ══════════════ */

.abank-header-row{display:flex;align-items:center;gap:14px;padding:20px 16px 0;}
.abank-title{font-size:18px;font-weight:700;color:var(--text-dark);text-align:center;margin:18px 0 20px;}

/* Stepper (numbered) */
.abank-stepper{display:flex;align-items:flex-start;justify-content:space-between;position:relative;padding:0 6px;}
.abank-stepper::before{
  content:'';position:absolute;top:16px;left:14%;right:14%;height:2px;
  background:repeating-linear-gradient(90deg,var(--border-soft) 0 6px,transparent 6px 11px);
  z-index:0;
}
.abank-step{display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;z-index:1;}
.abank-step-num{
  width:32px;height:32px;border-radius:50%;background:var(--bg);border:1.5px solid var(--border-soft);
  color:var(--text-light-gray);font-size:13px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.abank-step.active .abank-step-num{background:var(--purple-1);border-color:var(--purple-1);color:#fff;}
.abank-step-label{font-size:9.5px;font-weight:600;color:var(--text-light-gray);text-align:center;}
.abank-step.active .abank-step-label{color:var(--purple-1);}

.abank-subtitle{font-size:11.5px;color:var(--text-gray);text-align:center;margin:16px 0 4px;}

/* Form card */
.abank-card{background:var(--card-bg);border-radius:20px;padding:18px;box-shadow:var(--shadow-card);}
.abank-field{margin-bottom:16px;}
.abank-field:last-of-type{margin-bottom:0;}
.abank-label{font-size:12px;font-weight:600;color:var(--text-dark);margin-bottom:8px;}

.abank-select-row{
  display:flex;align-items:center;gap:11px;background:var(--bg);
  border:1px solid var(--border-soft);border-radius:12px;padding:11px 13px;cursor:pointer;
}
.abank-select-icon{width:32px;height:32px;border-radius:9px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.abank-select-icon svg{width:16px;height:16px;}
.abank-select-placeholder{flex:1;font-size:12px;color:var(--text-light-gray);}
.abank-select-chevron{color:var(--text-light-gray);flex-shrink:0;}
.abank-select-chevron svg{width:15px;height:15px;}

.abank-input-row{
  display:flex;align-items:center;gap:8px;background:var(--bg);
  border:1px solid var(--border-soft);border-radius:12px;padding:4px 4px 4px 13px;
}
.abank-input-row input{
  flex:1;min-width:0;border:none;background:transparent;outline:none;
  font-family:'Poppins',sans-serif;font-size:12px;color:var(--text-dark);padding:9px 0;
}
.abank-input-row input::placeholder{color:var(--text-light-gray);}
.abank-input-row input:disabled{color:var(--text-light-gray);}
.abank-input-badge{width:34px;height:34px;border-radius:9px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.abank-input-badge svg{width:15px;height:15px;}
.abank-input-eye{width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--text-light-gray);cursor:pointer;background:none;border:none;}
.abank-input-eye svg{width:17px;height:17px;}
.abank-input-plain{background:var(--bg);border:1px solid var(--border-soft);border-radius:12px;padding:11px 13px;}
.abank-input-plain input{width:100%;border:none;background:transparent;outline:none;font-family:'Poppins',sans-serif;font-size:12px;color:var(--text-light-gray);}

.abank-info-box{
  display:flex;align-items:flex-start;gap:11px;background:var(--you-row-bg);
  border-radius:14px;padding:13px;margin-bottom:16px;
}
.abank-info-icon{width:26px;height:26px;border-radius:50%;background:var(--purple-1);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.abank-info-icon svg{width:13px;height:13px;}
.abank-info-text{font-size:10.5px;color:var(--purple-1);line-height:1.5;}

.abank-verify-btn{
  width:100%;background:linear-gradient(90deg,var(--purple-1),var(--blue-1));
  color:#fff;border:none;border-radius:14px;padding:15px;
  font-size:13.5px;font-weight:600;cursor:pointer;font-family:'Poppins',sans-serif;
  box-shadow:0 8px 18px rgba(91,61,245,0.28);margin-top:2px;
}
.abank-secure-note{
  display:flex;align-items:center;justify-content:center;gap:6px;
  font-size:10px;color:var(--text-light-gray);margin-top:12px;
}
.abank-secure-note svg{width:12px;height:12px;}

/* ── Reading-rewards home page (scoped to rh- prefix) ── */

.rh-scroll{ gap:18px; padding-top:2px; }

/* Navbar variant for this page */
.rh-logo-mark{ width:30px; height:30px; flex-shrink:0; }
.rh-logo-mark svg{ width:100%; height:100%; }
.rh-wordmark{ font-weight:800; font-size:18px; letter-spacing:0.3px; color:var(--text-dark); }

/* Hero */
.rh-hero{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:6px; }
.rh-hero-text{ flex:1; min-width:0; }
.rh-hero-title{ font-size:26px; line-height:1.12; font-weight:800; color:var(--text-dark); letter-spacing:-0.3px; }
.rh-hero-accent{ background:linear-gradient(90deg,var(--purple-1),#8B3DF0); -webkit-background-clip:text; background-clip:text; color:transparent; }
.rh-hero-sub{ margin-top:9px; font-size:12px; line-height:1.5; color:var(--text-gray); max-width:190px; }

.rh-hero-art{ position:relative; width:130px; height:130px; flex-shrink:0; }
.rh-art-book{ position:absolute; right:6px; top:14px; width:78px; height:96px; color:var(--purple-1); filter:drop-shadow(0 10px 16px rgba(91,61,245,0.35)); transform:rotate(6deg); }
.rh-art-book svg{ width:100%; height:100%; }
.rh-art-cup{ position:absolute; left:0; bottom:6px; width:34px; height:44px; background:linear-gradient(180deg,#3B3F4C,#23262F); border-radius:4px 4px 8px 8px; box-shadow:0 6px 12px rgba(0,0,0,0.18); }
.rh-art-lid{ position:absolute; top:-5px; left:-2px; width:38px; height:8px; background:#1A1B25; border-radius:4px; }
.rh-art-coin{ position:absolute; right:-4px; bottom:0; width:38px; height:38px; border-radius:50%; background:linear-gradient(160deg,#FFD873,#F5A623); display:flex; align-items:center; justify-content:center; box-shadow:0 6px 14px rgba(245,166,35,0.45); }
.rh-art-coin svg{ width:18px; height:18px; }
.rh-art-dot{ position:absolute; border-radius:50%; }
.rh-art-dot.d1{ width:7px; height:7px; background:#8B5CF6; top:2px; left:24px; opacity:0.7; }
.rh-art-dot.d2{ width:5px; height:5px; background:#F5A623; top:34px; right:2px; opacity:0.7; }
.rh-art-dot.d3{ width:9px; height:9px; background:#3B7CF5; bottom:30px; left:6px; opacity:0.35; }

/* Today's Reading Rewards card */
.rh-rewards-card{ background:var(--card-bg); border-radius:18px; padding:16px; box-shadow:var(--shadow-card); }
.rh-rewards-head{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.rh-gift-icon{ width:32px; height:32px; border-radius:50%; background:#EEF0FF; color:var(--purple-1); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.rh-gift-icon svg{ width:16px; height:16px; }
.rh-rewards-title{ font-size:13.5px; font-weight:700; color:var(--text-dark); display:flex; align-items:center; gap:5px; flex:1; }
.rh-rewards-title svg{ width:13px; height:13px; color:var(--text-light-gray); }
.rh-chevron{ width:16px; height:16px; color:var(--text-light-gray); flex-shrink:0; }
.rh-rewards-stats{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; text-align:center; margin-bottom:14px; }
.rh-rstat-label{ font-size:9px; color:var(--text-light-gray); margin-bottom:5px; line-height:1.25; }
.rh-rstat-value{ font-size:16px; font-weight:800; margin-bottom:2px; }
.rh-rstat-value.purple{ color:var(--purple-1); }
.rh-rstat-value.green{ color:#22C55E; }
.rh-rstat-sub{ font-size:8px; color:var(--text-light-gray); }
.rh-progress{ height:6px; border-radius:4px; background:var(--border-soft); overflow:hidden; }
.rh-progress-fill{ height:100%; border-radius:4px; background:linear-gradient(90deg,var(--purple-1),#8B3DF0); }
.rh-progress-caption{ margin-top:7px; font-size:10px; color:var(--text-light-gray); text-align:right; }

/* Categories */
.rh-cat-row{ display:flex; gap:8px; overflow-x:auto; padding:4px 2px 2px; scrollbar-width:none; }
.rh-cat-row::-webkit-scrollbar{ display:none; }
.rh-cat-pill{ flex-shrink:0; display:flex; align-items:center; gap:6px; padding:9px 13px; border-radius:20px; background:var(--card-bg); color:var(--text-dark); font-size:11.5px; font-weight:600; box-shadow:var(--shadow-card2); white-space:nowrap; }
.rh-cat-pill svg{ width:14px; height:14px; flex-shrink:0; }
.rh-cat-pill.active{ background:var(--purple-1); color:#fff; box-shadow:0 4px 12px rgba(91,61,245,0.35); }

/* Recommended articles */
.rh-article-row{ display:flex; gap:12px; overflow-x:auto; padding:2px 2px 6px; scrollbar-width:none; }
.rh-article-row::-webkit-scrollbar{ display:none; }
.rh-article-card{ flex-shrink:0; width:210px; background:var(--card-bg); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-card); }
.rh-article-img{ position:relative; height:110px; background-size:cover; background-position:center; }
.rh-tag{ position:absolute; top:9px; left:9px; font-size:9px; font-weight:700; padding:4px 9px; border-radius:20px; color:#fff; }
.rh-tag.popular{ background:#7C3AED; }
.rh-tag.new{ background:#22C55E; }
.rh-tag.trending{ background:#F97316; }
.rh-duration{ position:absolute; bottom:8px; right:8px; display:flex; align-items:center; gap:3px; font-size:9px; font-weight:600; color:#fff; background:rgba(0,0,0,0.55); padding:3px 7px; border-radius:20px; }
.rh-duration svg{ width:10px; height:10px; }
.rh-article-body{ padding:12px; }
.rh-article-title{ font-size:12.5px; font-weight:700; color:var(--text-dark); line-height:1.3; margin-bottom:5px; min-height:32px; }
.rh-article-desc{ font-size:10px; color:var(--text-light-gray); line-height:1.4; margin-bottom:11px; min-height:28px; }
.rh-article-foot{ display:flex; align-items:flex-end; justify-content:space-between; gap:6px; }
.rh-article-meta{ display:flex; gap:10px; }
.rh-article-reward, .rh-article-readers{ font-size:11.5px; font-weight:700; color:var(--text-dark); display:flex; flex-direction:column; gap:1px; }
.rh-article-reward span, .rh-article-readers span{ font-size:8px; font-weight:500; color:var(--text-light-gray); }
.rh-earn-btn{ border:none; background:var(--purple-1); color:#fff; font-size:10.5px; font-weight:600; padding:8px 12px; border-radius:10px; white-space:nowrap; cursor:pointer; }

/* Streak + Weekly challenge */
.rh-two-col{ display:flex; flex-direction:row; gap:12px; align-items:stretch; }
.rh-streak-card{ flex:1.35; min-width:0; background:var(--card-bg); border-radius:18px; padding:16px 14px; box-shadow:var(--shadow-card); display:flex; flex-direction:column; align-items:flex-start; }
.rh-streak-icon{ width:44px; height:44px; border-radius:50%; background:#EEF0FF; color:var(--purple-1); display:flex; align-items:center; justify-content:center; margin-bottom:8px; }
.rh-streak-icon svg{ width:20px; height:20px; }
.rh-streak-num{ font-size:13.5px; color:var(--text-dark); }
.rh-streak-num b{ font-size:19px; font-weight:800; }
.rh-streak-label{ font-size:10.5px; color:var(--text-light-gray); margin-top:1px; }
.rh-streak-cta{ font-size:10.5px; color:var(--purple-1); font-weight:600; margin-top:6px; margin-bottom:12px; }
.rh-streak-days{ display:flex; gap:4px; width:100%; justify-content:space-between; }
.rh-day-col{ display:flex; flex-direction:column; align-items:center; gap:4px; flex-shrink:0; }
.rh-day-col span{ font-size:7.5px; color:var(--text-light-gray); font-weight:500; }
.rh-day{ position:relative; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.rh-day.done{ background:var(--purple-1); }
.rh-day.done::before{ content:''; width:7px; height:4px; border-left:1.6px solid #fff; border-bottom:1.6px solid #fff; transform:rotate(-45deg) translate(1px,-1px); }
.rh-day.pending{ background:var(--border-soft); border:1.6px solid var(--purple-1); }
.rh-day.miss{ background:var(--border-soft); }
.rh-day.miss::before{ content:'✕'; font-size:8px; color:var(--text-light-gray); }

.rh-challenge-card{ flex:1; min-width:0; background:linear-gradient(135deg,#FFEFDD,#FDE3C8); border-radius:18px; padding:14px 12px; box-shadow:var(--shadow-card); display:flex; flex-direction:column; }
html.dark .rh-challenge-card{ background:linear-gradient(135deg,#3a2a16,#2e2010); }
.rh-challenge-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.rh-challenge-title{ font-size:14px; font-weight:700; color:#7A4A12; }
html.dark .rh-challenge-title{ color:#F0C48A; }
.rh-challenge-trophy{ font-size:20px; }
.rh-challenge-desc{ font-size:11px; color:#9A6A2E; margin-bottom:10px; }
html.dark .rh-challenge-desc{ color:#C9A06A; }
.rh-challenge-bar{ height:6px; border-radius:4px; background:rgba(154,106,46,0.18); overflow:hidden; margin-bottom:6px; }
.rh-challenge-fill{ height:100%; border-radius:4px; background:linear-gradient(90deg,#F5A623,#F97316); }
.rh-challenge-count{ font-size:10px; font-weight:700; color:#7A4A12; text-align:right; margin-bottom:12px; }
html.dark .rh-challenge-count{ color:#F0C48A; }
.rh-challenge-reward{ display:flex; align-items:center; gap:9px; font-size:9.5px; color:#9A6A2E; line-height:1.4; }
html.dark .rh-challenge-reward{ color:#C9A06A; }
.rh-challenge-reward b{ font-size:12.5px; color:#7A4A12; }
html.dark .rh-challenge-reward b{ color:#F0C48A; }
.rh-gift-emoji{ font-size:20px; }

/* Continue Reading */
.rh-continue-card{ background:var(--card-bg); border-radius:16px; padding:10px; display:flex; align-items:center; gap:11px; box-shadow:var(--shadow-card2); }
.rh-continue-card + .rh-continue-card{ margin-top:10px; }
.rh-continue-img{ position:relative; width:66px; height:66px; border-radius:12px; background-size:cover; background-position:center; flex-shrink:0; }
.rh-continue-time{ position:absolute; bottom:4px; left:4px; right:4px; text-align:center; font-size:7.5px; font-weight:700; color:#fff; background:rgba(0,0,0,0.55); border-radius:6px; padding:2px 0; }
.rh-continue-body{ flex:1; min-width:0; }
.rh-continue-title{ font-size:12.5px; font-weight:700; color:var(--text-dark); margin-bottom:4px; line-height:1.25; }
.rh-continue-desc{ font-size:9.5px; color:var(--text-light-gray); line-height:1.35; }
.rh-continue-side{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex-shrink:0; }
.rh-continue-reward{ font-size:12px; font-weight:700; color:var(--purple-1); display:flex; flex-direction:column; align-items:flex-end; gap:0; }
.rh-continue-reward span{ font-size:8px; font-weight:500; color:var(--text-light-gray); }
.rh-continue-btn{ display:flex; align-items:center; gap:5px; border:1.5px solid var(--purple-1); background:transparent; color:var(--purple-1); font-size:10px; font-weight:600; padding:7px 11px; border-radius:20px; white-space:nowrap; cursor:pointer; }
.rh-continue-btn svg{ width:11px; height:11px; }

@media (max-width:359px){
  .rh-hero-title{ font-size:22px; }
}

/* ── Article reading page (scoped to ar- prefix) ── */

.ar-topbar{ padding:18px 16px; display:flex; align-items:center; justify-content:space-between; }
.ar-topbar-right{ display:flex; align-items:center; gap:10px; }
.ar-icon-btn{ width:36px; height:36px; border-radius:50%; background:var(--card-bg); box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center; color:var(--text-dark); flex-shrink:0; }
.ar-icon-btn svg{ width:17px; height:17px; }

.ar-scroll{ padding-bottom:96px; }

.ar-hero{ width:100%; height:230px; background-size:cover; background-position:center; position:relative; }
.ar-duration{ position:absolute; top:14px; left:16px; display:flex; align-items:center; gap:5px; font-size:11px; font-weight:600; color:#fff; background:rgba(0,0,0,0.5); padding:6px 12px; border-radius:20px; }
.ar-duration svg{ width:12px; height:12px; }

.ar-body{ padding:20px 18px 4px; }

.ar-title{ font-size:21px; font-weight:800; line-height:1.3; color:var(--text-dark); margin-bottom:16px; letter-spacing:-0.2px; }

.ar-author-row{ display:flex; align-items:center; gap:11px; margin-bottom:18px; }
.ar-avatar{ width:38px; height:38px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.ar-author-name{ font-size:13px; font-weight:700; color:var(--text-dark); display:flex; align-items:center; gap:5px; }
.ar-verified{ width:14px; height:14px; border-radius:50%; background:#3B7CF5; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ar-verified svg{ width:8px; height:8px; }
.ar-author-sub{ font-size:11px; color:var(--text-light-gray); margin-top:2px; }

.ar-reward-banner{ display:flex; align-items:center; gap:11px; background:var(--you-row-bg); border-radius:16px; padding:13px 14px; margin-bottom:22px; }
.ar-gift-icon{ width:36px; height:36px; border-radius:50%; background:var(--purple-1); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ar-gift-icon svg{ width:17px; height:17px; }
.ar-reward-text{ flex:1; min-width:0; }
.ar-reward-title{ font-size:12.5px; font-weight:700; color:var(--text-dark); line-height:1.3; }
.ar-reward-sub{ font-size:10px; color:var(--text-light-gray); margin-top:2px; }
.ar-reward-pill{ background:#22C55E; color:#fff; font-size:11px; font-weight:700; padding:7px 12px; border-radius:16px; flex-shrink:0; }

.ar-h2{ font-size:16px; font-weight:700; color:var(--text-dark); margin:20px 0 10px; }
.ar-p{ font-size:13px; line-height:1.75; color:var(--text-gray); }

.ar-quote{ background:var(--you-row-bg); border-radius:16px; padding:18px 18px 16px; margin:20px 0; position:relative; }
.ar-quote-mark{ width:22px; height:22px; color:var(--purple-1); opacity:0.5; margin-bottom:4px; }
.ar-quote-text{ font-size:14px; font-style:italic; font-weight:600; color:var(--text-dark); line-height:1.6; }
.ar-quote-attr{ font-size:11.5px; color:var(--text-light-gray); margin-top:10px; }

/* Dynamic article body (from DB) — plain tags styled to match .ar-h2/.ar-p */
.ar-teaser h2, .ar-rest h2{ font-size:16px; font-weight:700; color:var(--text-dark); margin:20px 0 10px; }
.ar-teaser h3, .ar-rest h3{ font-size:14.5px; font-weight:700; color:var(--text-dark); margin:16px 0 8px; }
.ar-teaser p, .ar-rest p{ font-size:13px; line-height:1.75; color:var(--text-gray); margin:0 0 10px; }
.ar-teaser ul, .ar-rest ul, .ar-teaser ol, .ar-rest ol{ font-size:13px; line-height:1.75; color:var(--text-gray); margin:0 0 10px; padding-left:20px; }
.ar-teaser li, .ar-rest li{ margin-bottom:4px; }
.ar-teaser strong, .ar-rest strong{ color:var(--text-dark); font-weight:700; }
.ar-teaser blockquote, .ar-rest blockquote{ background:var(--you-row-bg); border-radius:16px; padding:18px 18px 16px; margin:20px 0; font-size:14px; font-style:italic; font-weight:600; color:var(--text-dark); line-height:1.6; }
.ar-teaser > *:first-child, .ar-rest > *:first-child{ margin-top:0; }

.ar-progress-block{ background:var(--card-bg); border-radius:16px; padding:16px; box-shadow:var(--shadow-card2); margin:22px 0 12px; }
.ar-progress-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; }
.ar-progress-label{ font-size:12.5px; font-weight:700; color:var(--text-dark); }
.ar-progress-time{ font-size:11.5px; font-weight:600; color:var(--text-gray); }
.ar-progress-bar{ height:6px; border-radius:4px; background:var(--border-soft); overflow:hidden; }
.ar-progress-fill{ height:100%; border-radius:4px; background:linear-gradient(90deg,var(--purple-1),#8B3DF0); }
.ar-progress-pct{ font-size:10.5px; color:var(--text-light-gray); margin-top:7px; }

.ar-cta-wrap{ position:fixed; left:50%; transform:translateX(-50%); bottom:0; width:360px; padding:14px 18px 20px; background:linear-gradient(180deg,rgba(243,244,248,0),var(--bg) 30%); }
.ar-cta-btn{ width:100%; border:none; background:linear-gradient(90deg,var(--purple-1),#8B3DF0); color:#fff; font-size:14.5px; font-weight:700; padding:15px; border-radius:16px; cursor:pointer; box-shadow:0 8px 20px rgba(91,61,245,0.35); }

/* ── Congratulations / reward page (scoped to cg- prefix) ── */

.cg-phone{ background:#0A0E24; }

.cg-top{ position:relative; background:radial-gradient(120% 100% at 50% 0%,#1A1F45 0%,#0A0E24 65%); padding:22px 24px 34px; text-align:center; overflow:hidden; }

.cg-close{ position:absolute; top:20px; right:20px; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; }
.cg-close svg{ width:15px; height:15px; }

.cg-confetti{ position:absolute; inset:0; pointer-events:none; }
.cg-confetti span{ position:absolute; width:9px; height:9px; border-radius:2px; opacity:0.9; }
.cg-confetti span.cg-diamond{ border-radius:2px; transform:rotate(45deg); }

.cg-badge{ margin:26px auto 22px; width:150px; height:150px; position:relative; }
.cg-badge-ring{ width:150px; height:150px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#B39CFF,#6D3BF0 60%,#5223D6 100%); display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 10px rgba(139,92,246,0.15), 0 0 60px rgba(139,92,246,0.55); }
.cg-badge-ring svg{ width:60px; height:60px; }

.cg-title{ font-size:26px; font-weight:800; color:#fff; margin-bottom:10px; }
.cg-sub{ font-size:13px; color:#B9BBD6; line-height:1.6; }

.cg-body{ padding:22px 18px 30px; display:flex; flex-direction:column; gap:14px; }

.cg-earn-card{ background:var(--card-bg); border-radius:22px; padding:22px 18px; text-align:center; box-shadow:0 10px 30px rgba(0,0,0,0.35); }
.cg-earn-label{ font-size:13px; font-weight:700; color:var(--text-dark); margin-bottom:6px; }
.cg-earn-amount{ font-size:40px; font-weight:800; color:#22C55E; margin-bottom:8px; }
.cg-cash-art{ display:flex; justify-content:center; margin-bottom:14px; }
.cg-stats-row{ display:flex; align-items:center; justify-content:center; gap:22px; padding-top:14px; border-top:1px solid var(--border-soft); }
.cg-stat{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.cg-stat-icon{ width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.cg-stat-icon svg{ width:13px; height:13px; }
.cg-stat-icon.time{ background:#EEF0FF; color:var(--purple-1); }
.cg-stat-icon.done{ background:#DCFCE7; color:#22C55E; }
.cg-stat-label{ font-size:10px; color:var(--text-light-gray); }
.cg-stat-value{ font-size:15px; font-weight:800; color:var(--text-dark); }
.cg-stat-divider{ width:1px; height:34px; background:var(--border-soft); }

.cg-claim-btn{ width:100%; border:none; background:linear-gradient(90deg,var(--purple-1),#8B3DF0); color:#fff; font-size:14.5px; font-weight:700; padding:15px; border-radius:16px; cursor:pointer; box-shadow:0 8px 20px rgba(91,61,245,0.4); }
.cg-back-btn{ width:100%; border:none; background:rgba(255,255,255,0.06); color:#fff; font-size:14px; font-weight:600; padding:14px; border-radius:16px; cursor:pointer; }

.cg-streak-card{ background:var(--card-bg); border-radius:18px; padding:16px 16px 14px; box-shadow:0 6px 20px rgba(0,0,0,0.25); }
.cg-streak-title{ font-size:13px; font-weight:700; color:var(--text-dark); margin-bottom:8px; }
.cg-streak-num{ font-size:14px; color:var(--text-dark); }
.cg-streak-num b{ font-size:19px; font-weight:800; }
.cg-streak-sub{ font-size:11px; color:var(--text-light-gray); margin:2px 0 12px; }
.cg-streak-days{ display:flex; gap:4px; justify-content:space-between; }
.cg-day-col{ display:flex; flex-direction:column; align-items:center; gap:5px; }
.cg-day-col span{ font-size:8px; color:var(--text-light-gray); font-weight:500; }
.cg-day{ width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; position:relative; }
.cg-day.done{ background:var(--purple-1); }
.cg-day.done::before{ content:''; width:7px; height:4px; border-left:1.6px solid #fff; border-bottom:1.6px solid #fff; transform:rotate(-45deg) translate(1px,-1px); }
.cg-day.pending{ background:var(--border-soft); border:1.6px solid var(--purple-1); }

.cg-challenge-card{ background:var(--card-bg); border-radius:18px; padding:16px; box-shadow:0 6px 20px rgba(0,0,0,0.25); }
.cg-challenge-row{ display:flex; align-items:center; gap:12px; }
.cg-challenge-main{ flex:1; min-width:0; }
.cg-challenge-title{ font-size:13px; font-weight:700; color:var(--text-dark); margin-bottom:9px; }
.cg-challenge-desc{ font-size:11px; color:var(--text-gray); margin-bottom:9px; }
.cg-challenge-bar{ height:6px; border-radius:4px; background:var(--border-soft); overflow:hidden; margin-bottom:6px; }
.cg-challenge-fill{ height:100%; border-radius:4px; background:linear-gradient(90deg,var(--purple-1),#8B3DF0); }
.cg-challenge-count{ font-size:10px; font-weight:700; color:var(--text-light-gray); text-align:right; margin-bottom:10px; }
.cg-challenge-reward{ display:flex; align-items:center; gap:6px; font-size:10.5px; font-weight:600; color:var(--text-dark); }
.cg-challenge-reward svg{ width:13px; height:13px; color:var(--purple-1); flex-shrink:0; }
.cg-trophy{ font-size:34px; flex-shrink:0; }

  /* Page heading + wallet banner — copied verbatim from up.php so sizing matches exactly */
  .ap-head-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:2px;}
  .ap-head-text{min-width:0;}
  h1.ap-title{font-size:22px;font-weight:700;color:var(--text-dark);margin-bottom:3px;}
  .ap-subtitle{font-size:11.5px;color:var(--text-gray);}
  .ap-secure-badge{
    display:flex;align-items:center;gap:5px;flex-shrink:0;
    color:var(--purple-1);font-size:10.5px;font-weight:600;
    white-space:nowrap;margin-top:3px;
  }
  .ap-secure-badge svg{width:13px;height:13px;}

  .ap-wallet-card{
    background:linear-gradient(120deg,#3B7CF5 0%,#6B4CE6 55%,#8B3DF0 100%);
    border-radius:18px;padding:16px;
  }
  .ap-wallet-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
  .ap-wallet-left{display:flex;align-items:center;gap:12px;min-width:0;}
  .ap-wallet-icon{width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,0.22);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .ap-wallet-icon svg{width:21px;height:21px;color:#fff;}
  .ap-wallet-label{font-size:11px;color:rgba(255,255,255,0.85);margin-bottom:3px;}
  .ap-wallet-amount{font-size:20px;font-weight:800;color:#fff;letter-spacing:-0.3px;}
  .ap-wallet-btn{
    display:flex;align-items:center;gap:7px;flex-shrink:0;
    background:#fff;color:var(--purple-1);
    border:none;border-radius:24px;
    padding:10px 16px 10px 8px;
    font-size:12px;font-weight:700;
    cursor:pointer;white-space:nowrap;
    font-family:'Poppins',sans-serif;
  }
  .ap-wallet-btn-icon{width:20px;height:20px;border-radius:50%;background:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .ap-wallet-btn-icon svg{width:11px;height:11px;color:#fff;}
  .ap-wallet-desc{font-size:10px;color:rgba(255,255,255,0.75);margin-top:8px;padding-left:58px;line-height:1.4;}

  /* Tighter vertical rhythm — exact match to up.php's compact overrides */
  .navbar{padding:12px 16px 8px;}
  .bell-btn{width:32px;height:32px;}
  .bell-btn svg{width:14px;height:14px;}
  .scroll-body{padding:0 16px 84px;gap:8px;}
  .ap-wallet-card{padding:12px;}
  .ap-wallet-icon{width:38px;height:38px;border-radius:11px;}
  .ap-wallet-icon svg{width:17px;height:17px;}
  .ap-wallet-desc{padding-left:50px;margin-top:5px;}

  /* ── Section heading ─────────────────────────────────────── */
  .sec-head{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:700; color:var(--text-dark); }
  .sec-head .num{
    width:20px;height:20px;border-radius:50%;background:var(--purple-1);color:#fff;
    display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0;
  }
  .sec-head.plain{ font-size:14px; }

  /* ── Tabs (Airtime / PIN) ────────────────────────────────── */
  .mode-tabs{
    display:flex; background:var(--card-bg); border:1px solid var(--border-soft);
    border-radius:16px; padding:4px; gap:4px;
  }
  .mode-tab{
    flex:1; display:flex; align-items:center; justify-content:center; gap:7px;
    padding:11px 0; border-radius:12px; font-size:13px; font-weight:700; color:var(--text-gray);
    cursor:pointer; border:1.5px solid transparent;
  }
  .mode-tab svg{ width:15px; height:15px; }
  .mode-tab.active{ background:var(--you-row-bg); color:var(--purple-1); border-color:var(--purple-1); }
  .mode-hint{ font-size:11.5px; color:var(--text-light-gray); text-align:center; margin-top:-8px; }

  /* ── Network grid ─────────────────────────────────────────── */
  .network-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
  .network-card{
    position:relative; background:var(--card-bg); border:1.5px solid var(--border-soft);
    border-radius:16px; padding:12px 6px 10px; display:flex; flex-direction:column;
    align-items:center; gap:8px; cursor:pointer;
  }
  .network-card.active{ border-color:var(--purple-1); }
  .network-logo{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
  .network-name{ font-size:11px; font-weight:600; color:var(--text-dark); }
  .network-check{
    position:absolute; top:-7px; right:-7px; width:19px; height:19px; border-radius:50%;
    background:var(--purple-1); color:#fff; display:none; align-items:center; justify-content:center;
  }
  .network-card.active .network-check{ display:flex; }
  .network-check svg{ width:11px; height:11px; }

  /* MTN / Airtel / Glo / 9mobile brand marks */
  .brand-mtn{ background:#FFCB05; }
  .brand-mtn span{ color:#00539F; font-weight:800; font-size:11px; font-style:italic; letter-spacing:-0.5px; }
  .brand-airtel{ background:#fff; border:1px solid var(--border-soft); }
  .brand-airtel svg{ width:26px; height:26px; }
  .brand-glo{ background:#00A651; }
  .brand-glo span{ color:#fff; font-weight:800; font-size:13px; }
  .brand-9m{ background:#000; }
  .brand-9m span{ color:#8DC63F; font-weight:800; font-size:15px; }

  /* ── Field card / input ──────────────────────────────────── */
  .field-card{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:16px;
    padding:13px 14px; display:flex; align-items:center; gap:10px;
    max-width:100%; overflow:hidden;
  }
  .field-icon{ width:34px; height:34px; border-radius:50%; background:var(--you-row-bg); color:var(--purple-1);
    display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .field-icon svg{ width:16px; height:16px; }
  .field-input{ flex:1; min-width:0; border:none; outline:none; font-family:'Poppins',sans-serif; font-size:14.5px; font-weight:600; color:var(--text-dark); background:transparent; }
  .field-input::placeholder{ color:var(--text-light-gray); font-weight:500; }
  .field-trail-icon{ width:34px; height:34px; border-radius:10px; background:var(--you-row-bg); color:var(--purple-1);
    display:flex; align-items:center; justify-content:center; flex-shrink:0; cursor:pointer; }
  .field-trail-icon svg{ width:16px; height:16px; }

  .check-box{
    width:18px; height:18px; border-radius:6px; background:var(--purple-1); color:#fff;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; cursor:pointer;
  }
  .check-box svg{ width:11px; height:11px; }

  /* ── Amount grid ──────────────────────────────────────────── */
  .amount-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
  .amount-pill{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:14px;
    padding:14px 0; text-align:center; font-size:13.5px; font-weight:700; color:var(--text-dark); cursor:pointer;
  }
  .amount-pill.active{ border-color:var(--purple-1); color:var(--purple-1); background:var(--you-row-bg); }
  .amount-other-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
  .amount-other{
    grid-column:span 2; background:var(--card-bg); border:1.5px solid var(--purple-1); border-radius:14px;
    padding:14px 12px; display:flex; align-items:center; justify-content:space-between;
    font-size:13.5px; font-weight:700; color:var(--purple-1); cursor:pointer;
  }
  .amount-other svg{ width:15px; height:15px; }
  .amount-custom-input{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:14px;
    padding:13px 14px; display:flex; align-items:center; gap:8px;
  }
  .amount-custom-input span{ color:var(--text-light-gray); font-weight:700; font-size:14px; }
  .amount-custom-input input{ border:none; outline:none; background:transparent; font-family:'Poppins',sans-serif; font-size:14px; font-weight:600; color:var(--text-dark); width:100%; }
  .amount-custom-input input::placeholder{ color:var(--text-light-gray); font-weight:500; }

  /* ── Denomination grid (PIN tab) ──────────────────────────── */
  .denom-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
  .denom-pill{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:14px;
    padding:14px 0; text-align:center; font-size:13.5px; font-weight:700; color:var(--text-dark); cursor:pointer;
  }
  .denom-pill.active{ border-color:var(--purple-1); color:var(--purple-1); background:var(--you-row-bg); }

  /* ── Quantity stepper ─────────────────────────────────────── */
  .qty-card{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:16px;
    padding:14px 16px; display:flex; align-items:center; justify-content:space-between;
  }
  .qty-btn{
    width:36px; height:36px; border-radius:10px; background:var(--you-row-bg); color:var(--purple-1);
    border:none; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700; cursor:pointer;
  }
  .qty-value{ font-size:22px; font-weight:800; color:var(--text-dark); }
  .qty-note{ font-size:11.5px; color:var(--text-light-gray); text-align:center; }

  /* ── Payment method row ───────────────────────────────────── */
  .pay-row{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:16px;
    padding:13px 14px; display:flex; align-items:center; gap:12px; cursor:pointer;
  }
  .pay-icon{
    width:38px; height:38px; border-radius:12px; background:var(--purple-1); color:#fff;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .pay-icon svg{ width:18px; height:18px; }
  .pay-body{ flex:1; min-width:0; }
  .pay-title{ font-size:13.5px; font-weight:700; color:var(--text-dark); }
  .pay-sub{ font-size:11px; color:var(--text-light-gray); margin-top:2px; }
  .pay-check{
    width:23px; height:23px; border-radius:50%; background:var(--purple-1); color:#fff;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .pay-check svg{ width:12px; height:12px; }
  .pay-chevron{ width:16px; height:16px; color:var(--text-light-gray); flex-shrink:0; }

  /* ── Summary card ─────────────────────────────────────────── */
  .summary-card{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:18px;
    padding:18px 16px;
  }
  .summary-title{ font-size:14px; font-weight:800; color:var(--text-dark); margin-bottom:13px; }
  .summary-row{ display:flex; align-items:center; justify-content:space-between; padding:7px 0; }
  .summary-row.dotted{ border-bottom:1px dashed var(--border-soft); }
  .summary-label{ font-size:12.5px; color:var(--text-gray); font-weight:500; display:flex; align-items:center; gap:4px; }
  .summary-label svg{ width:12px; height:12px; color:var(--text-light-gray); }
  .summary-value{ font-size:12.5px; font-weight:700; color:var(--text-dark); }
  .summary-value.strike{ color:#EF4444; text-decoration:line-through; margin-right:6px; }
  .summary-value.free{ color:var(--green,#22C55E); }
  .summary-divider{ height:1px; background:var(--border-soft); margin:8px 0 10px; }
  .summary-total-row{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
  .summary-total-label{ font-size:15px; font-weight:800; color:var(--text-dark); }
  .summary-total-value{ font-size:17px; font-weight:800; color:var(--purple-1); }

  .cta-btn{
    width:100%; border:none; border-radius:16px; padding:16px; cursor:pointer;
    background:linear-gradient(90deg,var(--purple-1),var(--purple-2));
    color:#fff; font-size:14.5px; font-weight:700; font-family:'Poppins',sans-serif;
    display:flex; align-items:center; justify-content:center; gap:8px;
    box-shadow:0 10px 24px rgba(91,61,245,0.32);
  }
  .cta-btn svg{ width:16px; height:16px; }
  .secure-note{ display:flex; align-items:center; justify-content:center; gap:5px; font-size:11px; color:var(--text-light-gray); font-weight:500; margin-top:10px; }
  .secure-note svg{ width:12px; height:12px; color:var(--purple-1); }

  /* ── Recent purchases ─────────────────────────────────────── */
  .recent-head{ display:flex; align-items:center; justify-content:space-between; }
  .recent-head h2{ font-size:15px; font-weight:800; color:var(--text-dark); }
  .view-all{ font-size:12.5px; font-weight:700; color:var(--purple-1); display:flex; align-items:center; gap:3px; }
  .view-all svg{ width:12px; height:12px; }

  .recent-list{ display:flex; flex-direction:column; gap:10px; }
  .recent-row{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:16px;
    padding:12px 14px; display:flex; align-items:center; gap:11px;
  }
  .recent-logo{ width:38px; height:38px; border-radius:11px; flex-shrink:0; display:flex; align-items:center; justify-content:center; overflow:hidden; }
  .recent-body{ flex:1; min-width:0; }
  .recent-title{ font-size:13px; font-weight:700; color:var(--text-dark); }
  .recent-sub{ font-size:11px; color:var(--text-light-gray); margin-top:2px; }
  .recent-side{ display:flex; flex-direction:column; align-items:flex-end; gap:5px; flex-shrink:0; }
  .recent-amount{ font-size:13px; font-weight:700; color:var(--text-dark); }
  .recent-pill{ font-size:9.5px; font-weight:700; color:var(--green,#22C55E); background:var(--green-bg,#E9FBF0); padding:3px 9px; border-radius:20px; }
  .recent-pin-link{ font-size:10.5px; font-weight:700; color:var(--purple-1); display:flex; align-items:center; gap:2px; }
  .recent-pin-link svg{ width:9px; height:9px; }

  .tab-panel{ display:none; flex-direction:column; gap:18px; }
  .tab-panel.active{ display:flex; }
  
  /* ── Bulk SMS page — additions on top of indd.css's shared components ── */
  .sms-card{
    background:var(--card-bg); border:1.5px solid var(--border-soft); border-radius:18px;
    padding:16px; display:flex; flex-direction:column; gap:16px;
  }
  .sms-block{ display:flex; flex-direction:column; gap:10px; }
  .sms-label-row{ display:flex; align-items:center; justify-content:space-between; }
  .sms-label{ font-size:13px; font-weight:700; color:var(--text-dark); }
  .sms-sub{ font-size:10.5px; color:var(--text-light-gray); margin-top:-4px; }
  .sms-badge{
    font-size:10.5px; font-weight:700; color:var(--purple-1); background:var(--you-row-bg);
    padding:4px 11px; border-radius:20px; flex-shrink:0;
  }
  .sms-counter{ font-size:10.5px; font-weight:600; color:var(--text-light-gray); flex-shrink:0; }

  .sms-input, .sms-textarea{
    width:100%; border:1.5px solid var(--border-soft); border-radius:14px; background:var(--bg);
    font-family:'Poppins',sans-serif; color:var(--text-dark); outline:none; resize:none;
  }
  .sms-input{ padding:13px 14px; font-size:14px; font-weight:600; }
  .sms-input::placeholder{ color:var(--text-light-gray); font-weight:500; }
  .sms-textarea{ padding:14px; font-size:13.5px; font-weight:500; line-height:1.5; min-height:96px; }
  .sms-textarea::placeholder{ color:var(--text-light-gray); font-weight:500; }
  .sms-textarea.msg{ min-height:130px; }
  .sms-input:focus, .sms-textarea:focus{ border-color:var(--purple-1); }

  .guideline-head{ display:flex; align-items:center; gap:8px; margin-bottom:4px; }
  .guideline-head-icon{
    width:26px; height:26px; border-radius:9px; background:var(--you-row-bg); color:var(--purple-1);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .guideline-head-icon svg{ width:13px; height:13px; }
  .guideline-head span{ font-size:14px; font-weight:800; color:var(--text-dark); }

  .guideline-row{ display:flex; align-items:flex-start; gap:12px; }
  .guideline-icon{
    width:32px; height:32px; border-radius:10px; background:var(--you-row-bg); color:var(--purple-1);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .guideline-icon svg{ width:15px; height:15px; }
  .guideline-title{ font-size:12.5px; font-weight:700; color:var(--text-dark); margin-bottom:2px; }
  .guideline-desc{ font-size:11px; color:var(--text-light-gray); line-height:1.45; }

  /* Toast (identical pattern to up.php's) */
  .ap-toast{
    position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(20px);
    background:#1A1B25;color:#fff;padding:11px 18px;border-radius:12px;
    font-size:12.5px;font-weight:600;opacity:0;pointer-events:none;
    transition:all 0.3s ease;z-index:300;white-space:nowrap;max-width:88%;text-align:center;
  }
  .ap-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
  .ap-toast.error{background:#c0392b;}
  .cta-btn:disabled{opacity:0.75;cursor:not-allowed;}

  /* ── Recent Sends list ─────────────────────────────────────── */
  .send-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--border-soft);}
  .send-row:last-child{border-bottom:none;}
  .send-row-icon{width:38px;height:38px;border-radius:11px;background:var(--you-row-bg);color:var(--purple-1);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .send-row-icon svg{width:16px;height:16px;}
  .send-row-text{flex:1;min-width:0;}
  .send-row-title{font-size:12.5px;font-weight:600;color:var(--text-dark);margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .send-row-desc{font-size:10px;color:var(--text-light-gray);line-height:1.3;}
  .send-history-btn{
    display:flex;align-items:center;gap:5px;flex-shrink:0;
    background:var(--bg);color:var(--purple-1);border:1px solid var(--border-soft);
    border-radius:16px;padding:7px 11px;font-size:10.5px;font-weight:600;cursor:pointer;
    white-space:nowrap;font-family:'Poppins',sans-serif;
  }
  .send-history-btn svg{width:12px;height:12px;}
  .send-empty{padding:24px 4px;text-align:center;font-size:12px;color:var(--text-light-gray);}

  /* ── Status badge (shared by list + modal) ───────────────────── */
  .status-badge{display:inline-flex;align-items:center;gap:4px;font-size:9.5px;font-weight:700;padding:3px 8px;border-radius:10px;text-transform:capitalize;flex-shrink:0;}
  .status-badge.st-gray{background:#EEF0F4;color:#6B7280;}
  .status-badge.st-green{background:#DDF7E7;color:#16A34A;}
  .status-badge.st-red{background:#FDECEC;color:#EF4444;}
  .status-badge.st-yellow{background:#FEF3C7;color:#B45309;}
  html.dark .status-badge.st-gray{background:rgba(156,163,175,0.18);}
  html.dark .status-badge.st-green{background:rgba(34,197,94,0.16);}
  html.dark .status-badge.st-red{background:rgba(239,68,68,0.16);}
  html.dark .status-badge.st-yellow{background:rgba(245,158,11,0.16);}

  /* ── History modal ────────────────────────────────────────────
     No modal component exists yet in indd.css, so this is scoped
     to this page (same approach as the .ap-toast block above) —
     built from the app's existing tokens (--card-bg, --shadow-menu,
     --border-soft, etc.) so it reads as native to the app. */
  .hist-overlay{
    position:fixed;inset:0;background:rgba(10,10,20,0.55);
    display:flex;align-items:flex-end;justify-content:center;
    z-index:400;opacity:0;pointer-events:none;transition:opacity 0.22s ease;
  }
  .hist-overlay.show{opacity:1;pointer-events:auto;}
  .hist-sheet{
    width:100%;max-width:460px;max-height:82vh;background:var(--card-bg);
    border-radius:22px 22px 0 0;box-shadow:var(--shadow-menu);
    display:flex;flex-direction:column;overflow:hidden;
    transform:translateY(24px);transition:transform 0.22s ease;
  }
  .hist-overlay.show .hist-sheet{transform:translateY(0);}
  .hist-handle{width:36px;height:4px;border-radius:3px;background:var(--border-soft);margin:10px auto 0;flex-shrink:0;}
  .hist-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 18px 12px;border-bottom:1px solid var(--border-soft);flex-shrink:0;}
  .hist-head-title{font-size:14.5px;font-weight:800;color:var(--text-dark);margin-bottom:3px;}
  .hist-head-sub{font-size:10.5px;color:var(--text-light-gray);}
  .hist-close{width:28px;height:28px;border-radius:50%;background:var(--bg);color:var(--text-gray);display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;border:none;}
  .hist-close svg{width:14px;height:14px;}
  .hist-body{overflow-y:auto;padding:8px 18px 20px;flex:1;}
  .hist-state{padding:34px 10px;text-align:center;font-size:12.5px;color:var(--text-light-gray);}
  .hist-spinner{width:26px;height:26px;margin:0 auto 12px;border-radius:50%;border:3px solid var(--border-soft);border-top-color:var(--purple-1);animation:hist-spin 0.7s linear infinite;}
  @keyframes hist-spin{to{transform:rotate(360deg);}}

  .hist-recip{border-bottom:1px solid var(--border-soft);}
  .hist-recip:last-child{border-bottom:none;}
  .hist-recip-row{display:flex;align-items:center;gap:10px;padding:12px 2px;cursor:pointer;}
  .hist-recip-num{flex:1;min-width:0;font-size:12.5px;font-weight:600;color:var(--text-dark);}
  .hist-recip-chevron{color:var(--text-light-gray);flex-shrink:0;transition:transform 0.18s ease;}
  .hist-recip-chevron svg{width:14px;height:14px;display:block;}
  .hist-recip.open .hist-recip-chevron{transform:rotate(180deg);}

  .hist-timeline{display:none;padding:0 2px 14px 4px;}
  .hist-recip.open .hist-timeline{display:block;}
  .hist-tl-item{position:relative;padding:0 0 14px 18px;border-left:2px solid var(--border-soft);}
  .hist-tl-item:last-child{padding-bottom:0;}
  .hist-tl-item::before{content:'';position:absolute;left:-5px;top:2px;width:8px;height:8px;border-radius:50%;background:var(--purple-1);}
  .hist-tl-status{font-size:11.5px;font-weight:700;color:var(--text-dark);text-transform:capitalize;margin-bottom:2px;}
  .hist-tl-time{font-size:10px;color:var(--text-light-gray);margin-bottom:2px;}
  .hist-tl-note{font-size:10.5px;color:var(--text-gray);line-height:1.4;}

/* â”€â”€ Shared support-flow styles â”€â”€ */

.sp-header{ display:flex; align-items:center; gap:14px; padding:20px 16px 4px; }
.sp-header-title{ flex:1; text-align:center; font-size:16px; font-weight:700; color:var(--text-dark); margin-right:38px; }
.sp-header .bell-btn{ margin-left:0; }

.sp-scroll{ padding:14px 16px 100px; display:flex; flex-direction:column; gap:16px; }
.sp-scroll.no-nav{ padding-bottom:24px; }

/* Hero */
.sp-hero-title{ font-size:26px; font-weight:800; color:var(--text-dark); margin-bottom:4px; }
.sp-hero-sub{ font-size:12.5px; color:var(--text-gray); }

/* Search */
.sp-search{ display:flex; align-items:center; gap:9px; background:var(--card-bg); border:1px solid var(--border-soft); border-radius:14px; padding:13px 15px; box-shadow:var(--shadow-card2); }
.sp-search svg{ width:16px; height:16px; color:var(--text-light-gray); flex-shrink:0; }
.sp-search input{ border:none; outline:none; background:transparent; font-family:'Poppins',sans-serif; font-size:12.5px; color:var(--text-dark); width:100%; }
.sp-search input::placeholder{ color:var(--text-light-gray); }

/* Stat banner */
.sp-stat-banner{ display:flex; align-items:center; gap:12px; background:#DCFCE7; border-radius:16px; padding:15px; }
html.dark .sp-stat-banner{ background:#123420; }
.sp-stat-icon{ width:34px; height:34px; border-radius:50%; background:#22C55E; color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sp-stat-icon svg{ width:17px; height:17px; }
.sp-stat-text{ font-size:12px; font-weight:700; color:#166534; line-height:1.4; flex:1; }
html.dark .sp-stat-text{ color:#86EFAC; }
.sp-stat-art{ font-size:26px; flex-shrink:0; opacity:0.85; }

/* Quick action grid */
.sp-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.sp-card{ position:relative; border-radius:16px; padding:15px; box-shadow:var(--shadow-card2); cursor:pointer; }
.sp-card-icon{ width:36px; height:36px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.sp-card-icon svg{ width:18px; height:18px; }
.sp-card-title{ font-size:13px; font-weight:700; color:var(--text-dark); margin-bottom:3px; }
.sp-card-sub{ font-size:10.5px; color:var(--text-gray); line-height:1.4; }
.sp-card-chevron{ position:absolute; bottom:14px; right:14px; width:15px; height:15px; }
.sp-card.purple{ background:#EEF0FF; } html.dark .sp-card.purple{ background:#231D45; }
.sp-card.purple .sp-card-icon{ background:var(--purple-1); color:#fff; } .sp-card.purple .sp-card-chevron{ color:var(--purple-1); }
.sp-card.blue{ background:#E4EEFE; } html.dark .sp-card.blue{ background:#152840; }
.sp-card.blue .sp-card-icon{ background:#3B7CF5; color:#fff; } .sp-card.blue .sp-card-chevron{ color:#3B7CF5; }
.sp-card.orange{ background:#FEEEDC; } html.dark .sp-card.orange{ background:#3A2712; }
.sp-card.orange .sp-card-icon{ background:#F97316; color:#fff; } .sp-card.orange .sp-card-chevron{ color:#F97316; }
.sp-card.pink{ background:#FDE4EE; } html.dark .sp-card.pink{ background:#3A1626; }
.sp-card.pink .sp-card-icon{ background:#EC4899; color:#fff; } .sp-card.pink .sp-card-chevron{ color:#EC4899; }

/* FAQ accordion */
.sp-faq-item{ background:var(--card-bg); border-radius:14px; box-shadow:var(--shadow-card2); overflow:hidden; }
.sp-faq-q{ display:flex; align-items:center; gap:11px; padding:14px 14px; cursor:pointer; }
.sp-faq-icon{ width:26px; height:26px; border-radius:8px; background:#EEF0FF; color:var(--purple-1); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
html.dark .sp-faq-icon{ background:#231D45; }
.sp-faq-icon svg{ width:13px; height:13px; }
.sp-faq-q span{ flex:1; font-size:12.5px; font-weight:600; color:var(--text-dark); }
.sp-faq-chev{ width:15px; height:15px; color:var(--text-light-gray); flex-shrink:0; transition:transform 0.2s; }
.sp-faq-item.open .sp-faq-chev{ transform:rotate(180deg); }
.sp-faq-a{ max-height:0; overflow:hidden; transition:max-height 0.25s ease; }
.sp-faq-item.open .sp-faq-a{ max-height:200px; }
.sp-faq-a-inner{ padding:0 14px 15px 51px; font-size:11.5px; color:var(--text-gray); line-height:1.55; }

/* Info banner (used across sub-pages) */
.sp-info-banner{ display:flex; align-items:flex-start; gap:11px; background:var(--you-row-bg); border-radius:14px; padding:14px; }
.sp-info-icon{ width:32px; height:32px; border-radius:10px; background:var(--purple-1); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sp-info-icon svg{ width:16px; height:16px; }
.sp-info-text{ font-size:11.5px; color:var(--text-gray); line-height:1.5; padding-top:3px; }

/* Select */
.sp-select-wrap{ position:relative; }
.sp-select{ width:100%; appearance:none; -webkit-appearance:none; background:var(--bg); border:1px solid var(--border-soft); border-radius:12px; padding:13px 38px 13px 14px; font-family:'Poppins',sans-serif; font-size:12.5px; font-weight:500; color:var(--text-dark); cursor:pointer; }
.sp-select-chev{ position:absolute; right:14px; top:50%; transform:translateY(-50%); width:15px; height:15px; color:var(--text-light-gray); pointer-events:none; }

/* Textarea */
.sp-textarea-wrap{ position:relative; background:var(--bg); border:1px solid var(--border-soft); border-radius:12px; padding:13px 14px 26px; }
.sp-textarea{ width:100%; border:none; outline:none; background:transparent; resize:none; font-family:'Poppins',sans-serif; font-size:12.5px; color:var(--text-dark); min-height:100px; }
.sp-textarea::placeholder{ color:var(--text-light-gray); }
.sp-char-count{ position:absolute; bottom:9px; right:14px; font-size:10px; color:var(--text-light-gray); }

/* Upload box */
.sp-upload{ border:1.5px dashed var(--border-soft); border-radius:12px; padding:20px 14px; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; cursor:pointer; }
.sp-upload svg{ width:18px; height:18px; color:var(--purple-1); }
.sp-upload-title{ font-size:12px; font-weight:600; color:var(--purple-1); }
.sp-upload-sub{ font-size:10px; color:var(--text-light-gray); }

/* Submit button */
.sp-submit-btn{ width:100%; border:none; background:linear-gradient(90deg,var(--purple-1),#8B3DF0); color:#fff; font-size:14px; font-weight:700; padding:15px; border-radius:14px; cursor:pointer; box-shadow:0 8px 20px rgba(91,61,245,0.32); }

/* Filter pills (My Tickets) */
.sp-filter-row{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
.sp-filter-row::-webkit-scrollbar{ display:none; }
.sp-filter-pill{ flex-shrink:0; padding:9px 16px; border-radius:20px; background:var(--card-bg); color:var(--text-dark); font-size:11.5px; font-weight:600; box-shadow:var(--shadow-card2); white-space:nowrap; cursor:pointer; }
.sp-filter-pill.active{ background:var(--purple-1); color:#fff; }

/* Ticket cards */
.sp-ticket{ position:relative; display:flex; gap:12px; background:var(--card-bg); border-radius:14px; padding:14px; box-shadow:var(--shadow-card2); border-left:4px solid var(--border-soft); cursor:pointer; }
.sp-ticket.resolved{ border-left-color:#22C55E; }
.sp-ticket.waiting{ border-left-color:#F97316; }
.sp-ticket.open{ border-left-color:#EF4444; }
.sp-ticket-icon{ width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sp-ticket-icon svg{ width:16px; height:16px; }
.sp-ticket.resolved .sp-ticket-icon{ background:#DCFCE7; color:#22C55E; }
.sp-ticket.waiting .sp-ticket-icon{ background:#FEEEDC; color:#F97316; }
.sp-ticket.open .sp-ticket-icon{ background:#FDE2E2; color:#EF4444; }
.sp-ticket-body{ flex:1; min-width:0; }
.sp-ticket-top{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:3px; }
.sp-ticket-id{ font-size:12.5px; font-weight:700; color:var(--text-dark); }
.sp-ticket-status{ font-size:9.5px; font-weight:700; padding:3px 9px; border-radius:10px; white-space:nowrap; }
.sp-ticket-status.resolved{ background:#DCFCE7; color:#15803D; }
.sp-ticket-status.waiting{ background:#FEEEDC; color:#C2410C; }
.sp-ticket-status.open{ background:#FDE2E2; color:#B91C1C; }
.sp-ticket-desc{ font-size:11.5px; color:var(--text-gray); margin-bottom:3px; }
.sp-ticket-time{ font-size:10px; color:var(--text-light-gray); }
.sp-ticket-chev{ position:absolute; right:14px; top:50%; transform:translateY(-50%); width:15px; height:15px; color:var(--text-light-gray); }

.sp-footer-note{ text-align:center; font-size:11.5px; color:var(--text-gray); margin-top:4px; }
.sp-footer-note .sp-refresh{ display:flex; align-items:center; justify-content:center; gap:5px; font-size:10.5px; color:var(--text-light-gray); margin-top:6px; }
.sp-footer-note .sp-refresh svg{ width:12px; height:12px; }

/* Contact rows */
.sp-contact-row{ display:flex; align-items:center; gap:12px; background:var(--card-bg); border-radius:14px; padding:14px; box-shadow:var(--shadow-card2); }
.sp-contact-icon{ width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#fff; }
.sp-contact-icon svg{ width:18px; height:18px; }
.sp-contact-icon.telegram{ background:#29A9EA; }
.sp-contact-icon.email{ background:var(--purple-1); }
.sp-contact-icon.clock{ background:var(--text-light-gray); }
.sp-contact-text{ flex:1; min-width:0; }
.sp-contact-title{ font-size:12.5px; font-weight:700; color:var(--text-dark); margin-bottom:2px; }
.sp-contact-sub{ font-size:10.5px; color:var(--text-gray); }
.sp-contact-btn{ border:none; background:var(--purple-1); color:#fff; font-size:11px; font-weight:600; padding:9px 14px; border-radius:12px; white-space:nowrap; cursor:pointer; flex-shrink:0; }

/* Chat page */
.ch-header{ display:flex; align-items:center; gap:12px; padding:16px; border-bottom:1px solid var(--border-soft); }
.ch-avatar{ width:38px; height:38px; border-radius:50%; background:var(--purple-1); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; flex-shrink:0; }
.ch-header-info{ flex:1; min-width:0; }
.ch-header-name{ font-size:13.5px; font-weight:700; color:var(--text-dark); display:flex; align-items:center; gap:5px; }
.ch-header-name svg{ width:13px; height:13px; color:#3B7CF5; }
.ch-header-status{ font-size:10.5px; color:#22C55E; font-weight:500; margin-top:1px; }
.ch-more{ color:var(--text-dark); cursor:pointer; }
.ch-more svg{ width:18px; height:18px; }

.ch-scroll{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:12px; }
.ch-date{ text-align:center; font-size:10.5px; color:var(--text-light-gray); margin-bottom:4px; }
.ch-row{ display:flex; gap:8px; max-width:80%; }
.ch-row.me{ align-self:flex-end; flex-direction:row-reverse; }
.ch-row.them{ align-self:flex-start; }
.ch-bubble-avatar{ width:26px; height:26px; border-radius:50%; background:var(--purple-1); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:11px; flex-shrink:0; }
.ch-bubble{ border-radius:16px; padding:11px 14px; font-size:12.5px; line-height:1.5; }
.ch-row.me .ch-bubble{ background:linear-gradient(135deg,var(--purple-1),#8B3DF0); color:#fff; border-bottom-right-radius:4px; }
.ch-row.them .ch-bubble{ background:var(--card-bg); color:var(--text-dark); border-bottom-left-radius:4px; box-shadow:var(--shadow-card2); }
.ch-bubble p + p{ margin-top:8px; }
.ch-time{ font-size:9.5px; color:rgba(255,255,255,0.75); margin-top:6px; display:flex; align-items:center; gap:3px; justify-content:flex-end; }
.ch-row.them .ch-time{ color:var(--text-light-gray); justify-content:flex-start; }
.ch-time svg{ width:11px; height:11px; }

.ch-input-bar{ display:flex; align-items:center; gap:9px; padding:12px 16px 18px; border-top:1px solid var(--border-soft); background:var(--card-bg); }
.ch-input-icon{ color:var(--text-light-gray); flex-shrink:0; cursor:pointer; }
.ch-input-icon svg{ width:19px; height:19px; }
.ch-input-field{ flex:1; background:var(--bg); border:1px solid var(--border-soft); border-radius:20px; padding:10px 15px; display:flex; align-items:center; gap:8px; }
.ch-input-field input{ flex:1; border:none; outline:none; background:transparent; font-family:'Poppins',sans-serif; font-size:12.5px; color:var(--text-dark); min-width:0; }
.ch-input-field input::placeholder{ color:var(--text-light-gray); }
.ch-input-field svg{ width:17px; height:17px; color:var(--text-light-gray); cursor:pointer; flex-shrink:0; }
.ch-send-btn{ width:38px; height:38px; border-radius:50%; background:var(--purple-1); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; border:none; cursor:pointer; }
.ch-send-btn svg{ width:16px; height:16px; }

.phone.ch-phone{ display:flex; flex-direction:column; }