/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600&display=swap');

.scr {
  --bg: #FAF9F6;
  --ink: #00338D;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --soft: rgba(0, 51, 141, .62);
  --edge: rgba(0, 51, 141, .14);
  --track: #EFEDE6;

  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
}
.scr.active { display: flex; }
.scr, .scr * { box-sizing: border-box; }
.scr button, .scr input { font-family: inherit; }
.scr button { -webkit-tap-highlight-color: transparent; }

.scr-in {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top, 0px)) 22px 32px;
}

.scr .home {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--soft);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.scr .tile {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  box-shadow: 0 6px 16px rgba(0, 51, 141, .08);
}
.scr .tile img { width: 40px; height: 40px; object-fit: contain; display: block; }

.scr .hd {
  margin: 26px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.1;
  color: var(--ink);
}
.scr .sub {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--soft);
}

/* Log in / Sign up switch */
.scr .seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 28px;
  padding: 5px;
  border-radius: 16px;
  background: var(--track);
}
.scr .seg-btn {
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--soft);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.scr .seg-btn.is-on {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 51, 141, .1);
  cursor: default;
}

/* fields */
.scr .lab {
  display: block;
  margin: 22px 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
}
.scr .fld {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  transition: border-color .15s, box-shadow .15s;
}
.scr .fld:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .22);
}
.scr .fld input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
}
.scr .fld input::placeholder { color: rgba(0, 51, 141, .38); }
.scr .cc {
  flex-shrink: 0;
  margin-right: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* Show / Hide text (works with your togglePw adding .is-on) */
.scr .pw-toggle {
  flex-shrink: 0;
  padding: 0 0 0 10px;
  background: none;
  border: 0;
  color: var(--gold-d);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.scr .pw-toggle::before { content: 'Show'; }
.scr .pw-toggle.is-on::before { content: 'Hide'; }

/* main button */
.scr .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin-top: 28px;
  border: 0;
  border-radius: 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.scr .cta:hover { background: var(--gold-d); }
.scr .cta:active { transform: scale(.985); }
.scr .cta:disabled { opacity: .65; pointer-events: none; }
.scr .cta .t-load { display: none; }
.scr .cta.is-loading .t-main { display: none; }
.scr .cta.is-loading .t-load { display: inline; }

/* links under the button */
.scr .forgot {
  display: block;
  margin: 18px auto 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold-d);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.scr .alt {
  margin: 22px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--soft);
}
.scr .alt button {
  margin-left: 2px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold-d);
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
}


/* HOME — PEAK. Every rule starts with #dashboard so older stylesheets can't override it. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bottom-nav-h: 60px;
}
#dashboard.dashboard {
  --pk-bg:        #FAF9F6;   
  --pk-blue:      #00338D;   
  --pk-blue-dark: #00205C;
  --pk-gold:      #D4AF37;   
  --pk-gold-dark: #A8861A;
  --pk-gold-soft: rgba(212,175,55,.16);
  --pk-gold-light:#EBD27A;
  --pk-blue-soft: rgba(0,51,141,.07);
  --pk-muted:     #6F7FA3;
  --pk-line:      rgba(0,51,141,.09);

  --hm-nav-gap: 16px;

  width: 100%;
  max-width: 480px;
  display: none;               
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0 auto;
  padding-top: 0;
  padding-right: env(safe-area-inset-right, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + var(--hm-nav-gap));
  background: var(--pk-bg);
  color: var(--pk-blue);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
#dashboard.dashboard,
#dashboard *,
#dashboard *::before,
#dashboard *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
#dashboard img { max-width: 100%; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
#dashboard button { font-family: inherit; }
#dashboard .hm-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2.7 / 1;
  min-height: 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% -10%, rgba(212,175,55,.5) 0 26%, transparent 27%),
    linear-gradient(135deg, #0A3FA6, #00205C);
  touch-action: pan-y;
}
#dashboard .hm-hero-track { display: flex; height: 100%; transition: transform .6s ease; will-change: transform; }
#dashboard .hm-hero-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#dashboard .hm-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,32,92,.5) 0%, rgba(0,32,92,0) 45%);
}
#dashboard .hm-hero-brand {
  position: absolute;
  left: 14px;
  top: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
#dashboard .hm-hero-name {
  font-size: clamp(19px, 5.6vw, 24px);
  font-weight: 800;
  letter-spacing: 4px;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
#dashboard .hm-hero-line {
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--pk-gold);
}
#dashboard .hm-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
#dashboard .hm-hero-dot {
  width: 5px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  transition: width .3s, background .3s;
}
#dashboard .hm-hero-dot.is-active { width: 16px; background: var(--pk-gold); }
#dashboard .hm-ticker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 12px 0;
  padding: 7px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--pk-line);
  box-shadow: 0 6px 16px rgba(0,51,141,.06);
  overflow: hidden;
}
#dashboard .hm-live {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--pk-blue);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
}
#dashboard .hm-live svg { width: 14px; height: 14px; color: var(--pk-gold); }
#dashboard .hm-ticker-viewport { flex: 1; min-width: 0; overflow: hidden; }
#dashboard .hm-ticker-track {
  display: flex;
  width: max-content;
  animation: hm-ticker-scroll 18s linear infinite;
}
#dashboard .hm-ticker-item {
  flex-shrink: 0;
  padding-right: 30px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--pk-blue);
  white-space: nowrap;
}
@keyframes hm-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
#dashboard .hm-bell {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pk-gold-soft);
  color: var(--pk-gold-dark);
}
#dashboard .hm-bell svg { width: 15px; height: 15px; }
#dashboard .hm-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 14px 9px;
}
#dashboard .hm-eyebrow {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--pk-gold-dark);
}
#dashboard .hm-heading {
  margin: 3px 0 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--pk-blue);
}
#dashboard .hm-arrow-btn {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--pk-line);
  background: #FFFFFF;
  color: var(--pk-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 12px rgba(0,51,141,.06);
  cursor: pointer;
}
#dashboard .hm-arrow-btn svg { width: 17px; height: 17px; }
#dashboard .hm-arrow-btn:active { transform: scale(.96); }
#dashboard .hm-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 0 12px;
}
#dashboard .hm-qcard {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 11px 4px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F4EC 100%);
  border: 1px solid var(--pk-line);
  box-shadow: 0 6px 16px rgba(0,51,141,.05);
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .12s, box-shadow .2s;
}
#dashboard .hm-qcard::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pk-gold-soft);
  pointer-events: none;
}
#dashboard .hm-qcard:active { transform: scale(.97); }
#dashboard .hm-qcard:focus-visible { outline: 2px solid var(--pk-gold); outline-offset: 2px; }
#dashboard .hm-qico {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #FFFFFF;
  box-shadow: 0 5px 12px rgba(0,51,141,.12);
}
#dashboard .hm-qico svg { width: 19px; height: 19px; }
#dashboard .hm-qico.is-blue { background: #E4ECFA; color: var(--pk-blue); }
#dashboard .hm-qico.is-gold { background: #F7EDC6; color: var(--pk-gold-dark); }
#dashboard .hm-qtitle {
  position: relative;
  z-index: 1;
  font-size: clamp(11px, 3.1vw, 12.5px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--pk-blue);
}
#dashboard .hm-qsub {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  font-size: 10px;
  color: var(--pk-muted);
}
#dashboard .hm-about {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  padding: 15px 15px 14px;
  border-radius: 20px;
  color: #FFFFFF;
  background:
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.28) 0 22%, transparent 23%),
    radial-gradient(circle at 70% 120%, rgba(255,255,255,.10) 0 42%, transparent 43%),
    linear-gradient(145deg, #0A3FA6 0%, #00338D 45%, #00205C 100%);
  box-shadow: 0 12px 24px rgba(0,51,141,.24);
}
#dashboard .hm-about-ico {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--pk-gold);
}
#dashboard .hm-about-ico svg { width: 20px; height: 20px; }
#dashboard .hm-about-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--pk-gold);
}
#dashboard .hm-about-title {
  margin: 8px 0 6px;
  max-width: 75%;
  font-size: clamp(18px, 5.2vw, 21px);
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.15;
  color: var(--pk-gold-light);
}
#dashboard .hm-about-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}
#dashboard .hm-about-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#dashboard .hm-btn-gold,
#dashboard .hm-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
#dashboard .hm-btn-gold svg,
#dashboard .hm-btn-ghost svg { width: 14px; height: 14px; }
#dashboard .hm-btn-gold {
  border: 0;
  background: linear-gradient(135deg, #E8CD6A, var(--pk-gold));
  color: #2E2400;
  box-shadow: 0 6px 14px rgba(212,175,55,.34);
}
#dashboard .hm-btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #FFFFFF;
}
#dashboard .hm-btn-gold:active,
#dashboard .hm-btn-ghost:active { transform: scale(.97); }
#dashboard .hm-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 0 12px;
}
#dashboard .hm-card {
  position: relative;
  aspect-ratio: 1.35 / 1;
  min-height: 104px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #2A63C9, #00338D);
  box-shadow: 0 10px 20px rgba(0,51,141,.16);
}
#dashboard .hm-card.is-alt { background: linear-gradient(160deg, #B8962C, #6E5410); }
#dashboard .hm-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#dashboard .hm-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,32,92,.28) 0%, rgba(0,32,92,0) 40%, rgba(0,32,92,.72) 100%);
}
#dashboard .hm-card.is-alt::after {
  background: linear-gradient(180deg, rgba(40,28,0,.28) 0%, rgba(40,28,0,0) 40%, rgba(40,28,0,.72) 100%);
}
#dashboard .hm-card-top {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 9px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#dashboard .hm-card-ico,
#dashboard .hm-card-go {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#dashboard .hm-card-ico { width: 30px; height: 30px; border-radius: 10px; }
#dashboard .hm-card-ico svg { width: 16px; height: 16px; }
#dashboard .hm-card-go { width: 24px; height: 24px; border-radius: 8px; }
#dashboard .hm-card-go svg { width: 12px; height: 12px; }
#dashboard .hm-card-text {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 9px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
#dashboard .hm-card-value {
  max-width: 100%;
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 800;
  letter-spacing: -.2px;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#dashboard .hm-card-label {
  margin-top: 1px;
  font-size: 10px;
  color: rgba(255,255,255,.88);
}
@media (hover: hover) {
#dashboard .hm-qcard:hover { box-shadow: 0 10px 22px rgba(0,51,141,.1); transform: translateY(-2px); }
#dashboard .hm-btn-gold:hover { filter: brightness(1.05); }
}
@media (max-width: 350px) {
#dashboard .hm-ticker,
#dashboard .hm-about { margin-left: 8px; margin-right: 8px; }
#dashboard .hm-quick,
#dashboard .hm-cards { padding: 0 8px; }
#dashboard .hm-section { margin-left: 10px; margin-right: 10px; }
#dashboard .hm-heading { font-size: 15px; }
#dashboard .hm-about-title { max-width: 68%; }
}

/* =========================================================
   GIFT CODE — WHITE / RED
   Change --gc-red to match your exact brand red.
   ========================================================= */

#giftCodePage{
  --gc-red:#e11d2e;
  --gc-red-dark:#b91424;
  --gc-red-soft:rgba(225,29,46,.14);
  --gc-ink:#16181a;
  --gc-muted:#8a8f94;
  --gc-line:#e4e6e8;
  --gc-bar:#f1f1f1;

  width:100%;
  max-width:430px;
  margin:0 auto;
  min-height:100vh;
  min-height:100dvh;
  background:#ffffff;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
  color:var(--gc-ink);
}
#giftCodePage *{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

/* ── HEADER ── */
#giftCodePage .gift-page-header{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  height:56px;
  padding:0 14px;
  background:var(--gc-bar);
}
#giftCodePage .gift-back-btn{
  position:absolute;
  left:10px;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:50%;
  background:transparent;
  color:var(--gc-ink);
  cursor:pointer;
}
#giftCodePage .gift-back-btn:active{ background:rgba(0,0,0,.06); }
#giftCodePage .gift-header-title{
  font-size:17px;
  font-weight:400;
  color:var(--gc-ink);
}

/* ── BANNER (edge to edge) ── */
#giftCodePage .gift-banner{
  width:100%;
  height:224px;
  min-height:224px;
  overflow:hidden;
  background:var(--gc-red);
}
#giftCodePage .gift-banner-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ── CONTENT ── */
#giftCodePage .gift-content{
  width:100%;
  padding:14px 20px 40px;
}

/* ── TELEGRAM BUTTON ── */
#giftCodePage .gift-telegram-btn{
  display:flex;
  align-items:center;
  width:86%;
  max-width:320px;
  height:56px;
  margin:0 auto;
  padding:0 14px;
  border-radius:10px;
  background:#000000;
  color:#ffffff;
  text-decoration:none;
}
#giftCodePage .gift-telegram-btn:active{ opacity:.85; }
#giftCodePage .gift-telegram-icon{
  flex-shrink:0;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#229ed9;
}
#giftCodePage .gift-telegram-icon svg{ margin-right:2px; }
#giftCodePage .gift-telegram-text{
  flex:1;
  text-align:center;
  font-size:15px;
  font-weight:400;
}
#giftCodePage .gift-telegram-chevron{
  flex-shrink:0;
  color:rgba(255,255,255,.45);
}

/* ── INPUT ── */
#giftCodePage .gift-input-wrapper{
  display:flex;
  align-items:center;
  height:56px;
  margin-top:46px;
  padding:0 16px;
  border:1px solid var(--gc-line);
  border-radius:14px;
  background:#ffffff;
  transition:border-color .15s ease, box-shadow .15s ease;
}
#giftCodePage .gift-input-wrapper:focus-within{
  border-color:var(--gc-red);
  box-shadow:0 0 0 3px var(--gc-red-soft);
}
#giftCodePage #giftCodeInput{
  flex:1;
  min-width:0;
  height:100%;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--gc-ink);
  font-family:inherit;
  font-size:15px;
  font-weight:400;
}
#giftCodePage #giftCodeInput::placeholder{
  color:var(--gc-muted);
  font-weight:400;
}

/* ── RECEIVE BUTTON ── */
#giftCodePage .gift-receive-btn-row{
  margin-top:48px;
  padding:0 8%;
}
#giftCodePage .gift-receive-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:52px;
  border:0;
  border-radius:999px;
  background:var(--gc-red);
  color:#ffffff;
  font-family:inherit;
  font-size:16px;
  font-weight:400;
  cursor:pointer;
  transition:transform .1s ease, background .15s ease;
}
#giftCodePage #giftReceiveBtn,
#giftCodePage #giftReceiveBtn:active,
#giftCodePage #giftReceiveBtn:disabled{
  font-weight:400 !important;
  -webkit-text-stroke:0 !important;
  text-shadow:none !important;
  letter-spacing:0;
}
#giftCodePage .gift-receive-btn:active{
  transform:scale(.98);
  background:var(--gc-red-dark);
}
#giftCodePage .gift-receive-btn:disabled{
  background:#e3e5e7;
  color:#9a9ea3;
  cursor:not-allowed;
}

@media (max-width:380px){
  #giftCodePage .gift-banner{ height:180px; }
  #giftCodePage .gift-content{ padding:12px 14px 30px; }
}


.record-id {
  font-weight: 700;           /* Makes it bold */
  font-family: 'Courier New', Courier, monospace; /* Monospace for numbers */
  color: #000000;                /* Slightly darker for readability */
  background: #f0f0f0;        /* Light grey background badge */
  padding: 2px 6px;           /* Space inside the badge */
  border-radius: 4px;         /* Rounded corners */
  display: inline-block;      /* Keeps the background tight to the text */
  margin-top: 4px;            /* Space from the time above */
  font-size: 11px;            /* Keeps it small but clear */
  letter-spacing: 0.5px;      /* Spacing between numbers */
  user-select: all;           /* Allows user to select full ID with one tap */
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&display=swap');

:root {
  --nav-bg: #FAF9F6;
  --nav-ink: #00338D;
  --nav-soft: rgba(0, 51, 141, .5);
  --nav-gold-bg: rgba(212, 175, 55, .22);
}

/* full-width holder: only centres the pill and never blocks taps around it */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 0 12px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  z-index: 9999;
  pointer-events: none;
}
.bottom-nav,
.bottom-nav * { box-sizing: border-box; }

/* the pill itself */
.nav-pill-container {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 4px;
  width: 100%;
  max-width: 456px;
  height: auto;
  margin: 0 auto;
  padding: 8px;
  background: var(--nav-bg);
  border: 1px solid rgba(0, 51, 141, .1);
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0, 51, 141, .14);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 56px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--nav-soft);
  -webkit-tap-highlight-color: transparent;
  transition: background .2s, color .2s;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.nav-item svg {
  width: 24px;
  height: 24px;
  color: inherit;
}

.nav-item .nav-label-text {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  color: inherit;
}

/* current tab */
.nav-item.active {
  background: var(--nav-gold-bg);
  color: var(--nav-ink);
}
.nav-item.active .nav-label-text { font-weight: 700; }

.nav-item:active { opacity: .7; }

/* Default state */
#bottomNav {
    display: none; 
}

/* Visibility state */
.nav-visible {
    display: flex !important;
}




.ticker-search-bar {
  width: 90%;
  max-width: 400px;
  margin: 15px auto; /* Spacing between flyer and action buttons */
  height: 45px;
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite; /* Adjust speed here */
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6a7e;
  gap: 8px;
}

.user-icon {
  width: 24px;
  height: 24px;
  background: #9d4edd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}






  .rsl-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 24, 35, .35);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .rsl-overlay.show { display: flex; }

  .rsl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    min-width: 150px;
    padding: 16px 20px 14px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(20, 24, 35, .22);
    animation: rsl-pop .2s ease-out;
  }
  .rsl-net { animation: rsl-spin 1.6s linear infinite; }
  .rsl-text {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .2px;
    color: #5B6270;
    text-align: center;
  }

  @keyframes rsl-spin { to { transform: rotate(360deg); } }
  @keyframes rsl-pop {
    from { transform: scale(.94); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }

  /* phones set to reduce animations see the loader without the spin */
  @media (prefers-reduced-motion: reduce) {
    .rsl-net  { animation: none; }
    .rsl-card { animation: none; }
  }



@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

#profilePage {
  --bg: #FAF9F6;
  --ink: #00338D;
  --ink-2: #1F52B3;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --gold-text: #A67C00;
  --soft: rgba(0, 51, 141, .6);
  --edge: rgba(0, 51, 141, .1);

  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  z-index: 500;
}
#profilePage *,
#profilePage *::before,
#profilePage *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

#profilePage .ac-wrap { max-width: 480px; margin: 0 auto; }
#profilePage .ac-wrap::after { content: ''; display: block; height: calc(130px + env(safe-area-inset-bottom, 0px)); }
#profilePage .ac-hidden { display: none; }

/* ---- header ---- */
#profilePage .ac-head {
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 16px;
  border-radius: 0 0 28px 28px;
  background: var(--ink);
  color: #FFFFFF;
}
#profilePage .ac-bar { display: flex; align-items: center; justify-content: space-between; }
#profilePage .ac-bar h2 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}
#profilePage .ac-round {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #FFFFFF;
  cursor: pointer;
}
#profilePage .ac-round svg { width: 18px; height: 18px; }
#profilePage .ac-round-ghost { visibility: hidden; }

#profilePage .ac-user { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
#profilePage .ac-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid rgba(255, 255, 255, .3);
  color: var(--ink);
}
#profilePage .ac-avatar svg { width: 30px; height: 30px; }
#profilePage .ac-user-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#profilePage .ac-phone {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}
#profilePage .ac-phone::before { content: "+234 "; }
#profilePage .ac-lv {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

#profilePage .ac-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  padding: 12px 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  text-align: center;
}
#profilePage .ac-stats > div { padding: 0 8px; min-width: 0; }
#profilePage .ac-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .18); }
#profilePage .ac-stats b {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#profilePage .ac-stats span { display: block; margin-top: 3px; font-size: 12px; color: rgba(255, 255, 255, .75); }

/* ---- actions ---- */
#profilePage .ac-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 14px 0; }
#profilePage .ac-act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
#profilePage .ac-act svg { width: 20px; height: 20px; }
#profilePage .ac-act-gold { background: var(--gold); border-color: var(--gold); }
#profilePage .ac-act:active { transform: scale(.98); }

/* ---- list ---- */
#profilePage .ac-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 18px 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
#profilePage .ac-title i { width: 4px; height: 18px; border-radius: 3px; background: var(--gold); }

#profilePage .ac-list {
  margin: 0 14px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 51, 141, .05);
}
#profilePage .ac-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 14px;
  cursor: pointer;
}
#profilePage .ac-row:active { background: #F6F5F0; }
#profilePage .ac-row + .ac-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 64px;
  right: 14px;
  height: 1px;
  background: var(--edge);
}
#profilePage .ac-ico {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: #FFFFFF;
}
#profilePage .ac-ico svg { width: 19px; height: 19px; }
#profilePage .ac-ico.ac-gold { background: var(--gold); color: var(--ink); }
#profilePage .ac-ico.ac-grey { background: #D9D8D2; color: #5E6577; }
#profilePage .ac-label { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); }
#profilePage .ac-chev { flex-shrink: 0; width: 16px; height: 16px; color: var(--soft); }

@media (max-width: 360px) {
  #profilePage .ac-phone { font-size: 16px; }
  #profilePage .ac-stats b { font-size: 15px; }
}


@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --tsk-bg: #FAF9F6;
  --tsk-ink: #00338D;
  --tsk-gold: #D4AF37;
  --tsk-gold-d: #BF9B2C;
  --tsk-gold-text: #A67C00;
  --tsk-soft: rgba(0, 51, 141, .6);
  --tsk-edge: rgba(0, 51, 141, .1);
  --tsk-well: #F1EFE8;
}

#tasksPage {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0;
  right: 0;
  box-sizing: border-box;
}
#tasksPage *,
#tasksPage *::before,
#tasksPage *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

.tsk-wrapper {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--tsk-bg);
  color: var(--tsk-ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
}

/* ---- header ---- */
.tsk-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px;
  background: var(--tsk-bg);
}
.tsk-header-title {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--tsk-ink);
}
.tsk-back-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tsk-ink);
  cursor: pointer;
}
.tsk-back-btn:active { background: rgba(0, 51, 141, .08); }
.tsk-ghost { visibility: hidden; }

/* ---- hero ---- */
.tsk-hero {
  padding: 20px 20px 56px;
  border-radius: 0 0 28px 28px;
  background: var(--tsk-ink);
  color: #FFFFFF;
}
.tsk-hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
}
.tsk-hero p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .8); }

/* ---- hero stat ---- */
.tsk-hero-stat {
  position: relative;
  z-index: 2;
  margin: -36px 14px 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid var(--tsk-edge);
  box-shadow: 0 6px 20px rgba(0, 51, 141, .08);
}
.tsk-hero-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tsk-hero-label { font-size: 13px; color: var(--tsk-soft); }
.tsk-hero-value {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--tsk-gold-text);
}
.tsk-hero-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tsk-well);
  color: var(--tsk-ink);
}

/* ---- stat row ---- */
.tsk-stat-row { display: flex; gap: 10px; padding: 12px 14px 0; }
.tsk-stat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 6px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--tsk-edge);
  text-align: center;
}
.tsk-stat-value {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--tsk-ink);
}
.tsk-stat-value.tsk-red { color: var(--tsk-gold-text); }
.tsk-stat-label { font-size: 12px; color: var(--tsk-soft); }

/* ---- section label ---- */
.tsk-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 18px 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--tsk-ink);
}
.tsk-section-label > span:first-child { display: flex; align-items: center; gap: 8px; }
.tsk-section-label i { width: 4px; height: 18px; border-radius: 3px; background: var(--tsk-gold); }
.tsk-section-fraction {
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, .2);
  color: var(--tsk-gold-text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

/* ---- list ---- */
.tsk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 14px;
  width: 100%;
  scroll-margin-top: 12px;
}

/* ---- card ---- */
.tsk-card {
  padding: 14px;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1.5px solid var(--tsk-edge);
  box-shadow: 0 4px 14px rgba(0, 51, 141, .05);
}
.tsk-card:has(.tsk-status-btn.ready) {
  border-color: var(--tsk-gold);
  background: linear-gradient(180deg, rgba(212, 175, 55, .12) 0%, #FFFFFF 60%);
}
.tsk-card:has(.tsk-status-btn.received) { background: #F7F6F1; }

.tsk-card-head { display: flex; align-items: center; gap: 12px; }
.tsk-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tsk-well);
  color: var(--tsk-ink);
}
.tsk-ico svg { width: 22px; height: 22px; }
.tsk-card:has(.tsk-status-btn.ready) .tsk-ico { background: var(--tsk-gold); }

.tsk-card-title {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--tsk-ink);
}
.tsk-card-subtitle { margin: 3px 0 0; font-size: 13px; color: var(--tsk-soft); }

.tsk-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  padding: 12px 4px;
  border-radius: 16px;
  background: var(--tsk-well);
  text-align: center;
}
.tsk-facts b {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tsk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tsk-facts span { display: block; margin-top: 3px; font-size: 12px; color: var(--tsk-soft); }

.tsk-progress-bar-bg {
  width: 100%;
  height: 8px;
  margin-top: 12px;
  border-radius: 10px;
  background: var(--tsk-well);
  overflow: hidden;
}
.tsk-progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--tsk-gold);
  transition: width .4s ease;
}
.tsk-progress-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--tsk-soft);
}

/* ---- status button ---- */
.tsk-status-btn {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .1s, background .15s;
}
.tsk-status-btn.locked {
  background: var(--tsk-well);
  color: var(--tsk-ink);
  cursor: not-allowed;
}
.tsk-status-btn.ready { background: var(--tsk-gold); color: var(--tsk-ink); }
.tsk-status-btn.ready:hover { background: var(--tsk-gold-d); }
.tsk-status-btn.ready:active { transform: scale(.985); }
.tsk-status-btn.received {
  background: #E4E2DB;
  color: #8C8C94;
  cursor: default;
}

@media (max-width: 360px) {
  .tsk-facts b { font-size: 13px; }
  .tsk-hero-value { font-size: 24px; }
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

.bk-page,
.bk-page * { box-sizing: border-box; }

.bk-page {
  --bg: #FAF9F6;
  --ink: #00338D;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --soft: rgba(0, 51, 141, .6);
  --faint: rgba(0, 51, 141, .36);
  --edge: rgba(0, 51, 141, .12);

  min-height: 100vh;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 110px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bk-page #bankFormView { max-width: 460px; margin: 0 auto; }

/* ---- header card ---- */
.bk-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-radius: 30px;
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(0, 51, 141, .22);
}
.bk-back,
.bk-head-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #FFFFFF;
}
.bk-back { cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.bk-back svg { width: 20px; height: 20px; }
.bk-head-ico { color: var(--gold); }
.bk-head-ico svg { width: 22px; height: 22px; }

.bk-head-text { flex: 1; min-width: 0; }
.bk-kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.bk-head h2 {
  margin: 4px 0 6px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}
.bk-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .78);
}

/* ---- section label ---- */
.bk-section {
  margin: 26px 4px 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---- rows card ---- */
.bk-card {
  background: #FFFFFF;
  border: 1px solid var(--edge);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 51, 141, .05);
}
.bk-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid var(--edge);
}
.bk-row:last-child { border-bottom: 0; }
.bk-row label {
  flex: 0 0 104px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--soft);
}
.bk-row input,
.bk-row select {
  flex: 1;
  min-width: 0;
  height: 62px;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
}
.bk-row input::placeholder { color: var(--faint); font-weight: 400; }
.bk-row select:invalid { color: var(--ink); }
.bk-row select option { color: var(--ink); }
.bk-row:focus-within { background: rgba(212, 175, 55, .08); }

/* saved / locked account */
.bk-row input:disabled,
.bk-row select:disabled {
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  opacity: 1;
  cursor: not-allowed;
}

/* ---- save button ---- */
.bk-save {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 26px;
  border: 0;
  border-radius: 18px;
  background: var(--gold);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, transform .1s;
}
.bk-save:hover { background: var(--gold-d); }
.bk-save:active { transform: scale(.985); }
.bk-save:disabled {
  background: #E4E2DB;
  color: #8C8C94;
  cursor: not-allowed;
}

@media (max-width: 360px) {
  .bk-head h2 { font-size: 24px; }
  .bk-row label { flex-basis: 92px; font-size: 13.5px; }
}


@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

.dc-page {
  --bg: #FAF9F6;
  --ink: #00338D;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --gold-text: #A67C00;
  --soft: rgba(0, 51, 141, .6);
  --edge: rgba(0, 51, 141, .1);
  --well: #F4F2EB;

  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 500;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dc-page *,
.dc-page *::before,
.dc-page *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

.dc-page .dc-wrap { max-width: 480px; margin: 0 auto; }
.dc-page .dc-wrap::after { content: ''; display: block; height: calc(130px + env(safe-area-inset-bottom, 0px)); }

/* ---- top bar ---- */
.dc-page .dc-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px;
  background: var(--bg);
}
.dc-page .dc-title {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.dc-page .dc-back-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.dc-page .dc-back-btn svg { width: 22px; height: 22px; }
.dc-page .dc-back-btn:active { background: rgba(0, 51, 141, .08); }
.dc-page .dc-ghost { visibility: hidden; }

/* ---- hero ---- */
.dc-page .dc-hero {
  padding: 22px 20px 58px;
  border-radius: 0 0 28px 28px;
  background: var(--ink);
  color: #FFFFFF;
}
.dc-page .dc-hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}
.dc-page .dc-hero p { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ---- stats ---- */
.dc-page .dc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -40px 14px 0;
  padding: 16px 0;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  box-shadow: 0 6px 20px rgba(0, 51, 141, .08);
  text-align: center;
}
.dc-page .dc-stats > div { padding: 0 8px; min-width: 0; }
.dc-page .dc-stats > div + div { border-left: 1px solid var(--edge); }
.dc-page .dc-stats b {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dc-page .dc-stats b.dc-gold { color: var(--gold-text); }
.dc-page .dc-stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--soft); }

/* ---- button ---- */
.dc-page .dc-checkin-btn {
  display: block;
  width: calc(100% - 28px);
  height: 50px;
  margin: 16px 14px 0;
  border: 0;
  border-radius: 16px;
  background: var(--gold);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background .15s, transform .1s;
}
.dc-page .dc-checkin-btn:hover { background: var(--gold-d); }
.dc-page .dc-checkin-btn:active { transform: scale(.985); }
.dc-page .dc-checkin-btn:disabled { background: #E4E2DB; color: #8C8C94; cursor: not-allowed; }

/* ---- calendar ---- */
.dc-page .dc-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 18px 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.dc-page .dc-sub i { width: 4px; height: 18px; border-radius: 3px; background: var(--gold); }

.dc-page .dc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 0 14px;
  padding: 12px;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  box-shadow: 0 4px 14px rgba(0, 51, 141, .05);
}
.dc-page .dc-day {
  padding: 8px 0;
  border-radius: 12px;
  background: var(--well);
  border: 2px solid transparent;
  text-align: center;
}
.dc-page .dc-day b {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.dc-page .dc-day span { display: block; margin-top: 2px; font-size: 10px; color: var(--soft); }
.dc-page .dc-day.is-today { border-color: var(--ink); }
.dc-page .dc-day.is-done { background: var(--gold); }
.dc-page .dc-day.is-done span { color: var(--ink); }

/* ---- rules ---- */
.dc-page .dc-rules {
  margin: 16px 14px 0;
  padding: 14px 16px 4px;
  border-radius: 18px;
  background: rgba(212, 175, 55, .16);
  border: 1px solid rgba(212, 175, 55, .35);
}
.dc-page .dc-rules p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--ink); }

@media (max-width: 360px) {
  .dc-page .dc-grid { gap: 4px; padding: 10px; }
  .dc-page .dc-day b { font-size: 12.5px; }
  .dc-page .dc-day span { font-size: 9px; }
}


@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

#rechargePage{
  --bg:#FAF9F6;
  --ink:#00338D;
  --gold:#D4AF37;
  --gold-d:#BF9B2C;
  --gold-text:#A67C00;
  --soft:rgba(0,51,141,.6);
  --edge:rgba(0,51,141,.12);

  position:fixed;
  inset:0;
  width:100%;
  height:100vh;
  height:100dvh;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  background:var(--bg);
  color:var(--ink);
  z-index:10000;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;
  padding:calc(10px + env(safe-area-inset-top,0px)) 14px 0;
}
#rechargePage *{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
#rechargePage .rx-wrap{ max-width:480px; margin:0 auto; }
#rechargePage .rx-wrap::after{ content:''; display:block; height:calc(110px + env(safe-area-inset-bottom,0px)); }

/* ---- hero ---- */
#rechargePage .rx-hero{
  padding:14px 14px 16px;
  border-radius:24px;
  background:var(--ink);
  color:#FFFFFF;
  box-shadow:0 8px 18px rgba(0,51,141,.2);
}
#rechargePage .rx-top{ display:flex; align-items:center; gap:10px; }
#rechargePage .rx-back{
  flex-shrink:0;
  width:36px;
  height:36px;
  padding:0;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#FFFFFF;
  cursor:pointer;
}
#rechargePage .rx-back svg{ width:17px; height:17px; }
#rechargePage .rx-top-text{ flex:1; min-width:0; }
#rechargePage .rx-kicker{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:var(--gold);
}
#rechargePage .rx-top h2{
  margin:2px 0 4px;
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:21px;
  font-weight:700;
  line-height:1.15;
  color:#FFFFFF;
}
#rechargePage .rx-top p{ margin:0; font-size:12px; line-height:1.35; color:rgba(255,255,255,.78); }
#rechargePage .rx-history{
  flex-shrink:0;
  display:flex;
  align-items:center;
  gap:6px;
  height:36px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#FFFFFF;
  font-family:inherit;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
}
#rechargePage .rx-history svg{ width:15px; height:15px; }

#rechargePage .rx-amount-label{
  display:block;
  margin:16px 2px 2px;
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,.85);
}
#rechargePage .rx-amount-row{ display:flex; align-items:center; gap:8px; }
#rechargePage .rx-naira{
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:28px;
  font-weight:700;
  color:var(--gold);
}
#rechargePage .rx-amount{
  flex:1;
  min-width:0;
  height:50px;
  padding:0;
  background:transparent;
  border:0;
  outline:0;
  color:#FFFFFF;
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:32px;
  font-weight:700;
}
#rechargePage .rx-amount::placeholder{ color:rgba(255,255,255,.35); }
#rechargePage .rx-bal{ margin:2px 2px 0; font-size:12.5px; color:rgba(255,255,255,.75); }

/* ---- quick amounts ---- */
#rechargePage .quick-amount-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:12px;
}
#rechargePage .amount-option{
  height:36px;
  padding:0 2px;
  border-radius:999px;
  background:#FFFFFF;
  border:1px solid var(--edge);
  color:var(--ink);
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:.15s ease;
}
#rechargePage .amount-option:active{ transform:scale(.97); }
#rechargePage .amount-option.active,
#rechargePage .amount-option.selected{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--ink);
}
#rechargePage .rx-min{ margin:8px 4px 0; font-size:12px; color:var(--soft); }

/* ---- notice ---- */
#rechargePage .rech-pending-link{
  display:block;
  width:100%;
  margin:12px 0 0;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(212,175,55,.18);
  border:1px solid rgba(212,175,55,.35);
  color:var(--ink);
  font-family:inherit;
  font-size:12px;
  line-height:1.5;
  text-align:left;
  cursor:pointer;
}
#rechargePage .rech-pending-link:active{ opacity:.85; }

/* ---- section titles ---- */
#rechargePage .rx-title{
  margin:20px 4px 10px;
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:17px;
  font-weight:700;
  color:var(--ink);
}

/* ---- channels ---- */
#rechargePage .channel-select-list{ display:flex; flex-direction:column; gap:10px; }
#rechargePage .channel-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:20px;
  background:#FFFFFF;
  border:1.5px solid var(--edge);
  box-shadow:0 4px 14px rgba(0,51,141,.05);
  cursor:pointer;
  transition:.15s ease;
}
#rechargePage .channel-card.selected{
  background:rgba(212,175,55,.16);
  border-color:var(--gold);
}
#rechargePage .rx-ch-ico{
  flex-shrink:0;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(0,51,141,.08);
  color:var(--ink);
}
#rechargePage .channel-card.selected .rx-ch-ico{ background:rgba(212,175,55,.3); color:var(--gold-text); }
#rechargePage .rx-ch-ico svg{ width:20px; height:20px; }
#rechargePage .rx-ch-text{ flex:1; min-width:0; }
#rechargePage .rx-ch-text b{
  display:block;
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:15.5px;
  font-weight:700;
  color:var(--ink);
}
#rechargePage .rx-ch-text span{ display:block; margin-top:2px; font-size:12px; color:var(--soft); }
#rechargePage .rx-check{
  flex-shrink:0;
  width:24px;
  height:24px;
  border-radius:50%;
  border:2px solid var(--edge);
  display:grid;
  place-items:center;
}
#rechargePage .channel-card.selected .rx-check{ background:var(--gold); border-color:var(--gold); }
#rechargePage .channel-card.selected .rx-check::after{
  content:'';
  width:6px;
  height:11px;
  margin-top:-2px;
  border:solid var(--ink);
  border-width:0 2.5px 2.5px 0;
  transform:rotate(45deg);
}

/* ---- summary ---- */
#rechargePage .rx-sum{
  margin-top:12px;
  padding:12px 16px;
  border-radius:20px;
  background:#FFFFFF;
  border:1px solid var(--edge);
}
#rechargePage .rx-sum p{
  display:flex;
  justify-content:space-between;
  margin:0;
  padding:5px 0;
  font-size:14px;
}
#rechargePage .rx-sum span{ color:var(--soft); }
#rechargePage .rx-sum b{ color:var(--ink); font-weight:700; }

/* ---- main button ---- */
#rechargePage .deposit-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:50px;
  margin-top:14px;
  border:0;
  border-radius:16px;
  background:var(--gold);
  color:var(--ink);
  font-family:inherit;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:background .15s, transform .1s;
}
#rechargePage .deposit-btn:hover{ background:var(--gold-d); }
#rechargePage .deposit-btn:active{ transform:scale(.985); }
#rechargePage .deposit-btn:disabled{ background:#E4E2DB; color:#8C8C94; cursor:not-allowed; }

/* ---- instructions ---- */
#rechargePage .rech-instr-card{
  padding:14px 14px 4px;
  border-radius:20px;
  background:#FFFFFF;
  border:1px solid var(--edge);
}
#rechargePage .rech-instr-card p{
  margin:0 0 10px;
  font-size:12.5px;
  line-height:1.55;
  color:var(--soft);
}

/* ---- how to deposit modal ---- */
#rechargePage .rech-how-overlay{
  position:fixed;
  inset:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,20,60,.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}
#rechargePage .rech-how-overlay.open{ opacity:1; pointer-events:auto; }
#rechargePage .rech-how-modal{
  width:100%;
  max-width:330px;
  max-height:88vh;
  overflow-y:auto;
  padding:18px 16px 14px;
  border-radius:22px;
  background:var(--bg);
}
#rechargePage .rech-how-title{
  margin:0 0 12px;
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:17px;
  color:var(--ink);
}
#rechargePage .rech-how-steps{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
#rechargePage .rech-how-steps li{ display:flex; gap:10px; align-items:flex-start; }
#rechargePage .rech-how-num{
  flex-shrink:0;
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--gold);
  color:var(--ink);
  font-size:12px;
  font-weight:700;
}
#rechargePage .rech-how-steps b{ display:block; font-size:13px; font-weight:600; color:var(--ink); }
#rechargePage .rech-how-steps p{ margin:2px 0 0; font-size:12px; line-height:1.5; color:var(--soft); }
#rechargePage .rech-how-ok{
  width:100%;
  height:44px;
  margin-top:14px;
  border:0;
  border-radius:14px;
  background:var(--gold);
  color:var(--ink);
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

/* ---- hidden compatibility ---- */
#rechargePage #manualTransferCard,
#rechargePage #rechargeRulesBox{ display:none!important; }

/* =========================================================
   SECURE-PAYMENT LOADER
   ========================================================= */
.rsl-overlay{
  position:fixed;
  inset:0;
  z-index:10001;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,20,60,.5);
}
.rsl-overlay.show{ display:flex; }
.rsl-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:20px 26px;
  border-radius:20px;
  background:#FAF9F6;
  box-shadow:0 18px 44px rgba(0,51,141,.2);
}
.rsl-net{ animation:rsl-spin 1.6s linear infinite; }
.rsl-text{ font-size:12.5px; font-weight:600; color:#00338D; }
@keyframes rsl-spin{ to{ transform:rotate(360deg); } }

/* =========================================================
   OLD PAYMENT LOADER POPUP
   ========================================================= */
.gle-payment-loader-popup{
  width:min(240px, calc(100vw - 70px)) !important;
  padding:0 !important;
  border-radius:20px !important;
  overflow:hidden !important;
  background:#FAF9F6 !important;
  border:1px solid rgba(0,51,141,.12) !important;
  box-shadow:0 18px 44px rgba(0,51,141,.2) !important;
}
.gle-payment-loader{ padding:24px 18px 18px; text-align:center; color:#00338D; }
.gle-loader-brand{
  display:flex; align-items:center; justify-content:center; gap:6px;
  margin-bottom:16px; color:rgba(0,51,141,.45); font-size:8.5px; font-weight:600; letter-spacing:1px;
}
.gle-loader-brand-dot{ width:4px; height:4px; border-radius:50%; background:#D4AF37; }
.gle-loader-orbit{
  width:56px; height:56px; margin:0 auto 14px; position:relative;
  display:flex; align-items:center; justify-content:center;
}
.gle-loader-orbit::before{ content:""; position:absolute; inset:0; border-radius:50%; border:3px solid rgba(0,51,141,.1); }
.gle-loader-orbit::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:3px solid transparent; border-top-color:#D4AF37; border-right-color:#E6C65A;
  animation:recharge-loader-spin .9s cubic-bezier(.5,.1,.5,.9) infinite;
}
.gle-loader-core{
  width:34px; height:34px; border-radius:50%; position:relative; z-index:2;
  display:flex; align-items:center; justify-content:center;
  background:rgba(212,175,55,.2);
}
.gle-loader-core-icon{ color:#A67C00; font-size:12px; }
.gle-loader-title{ margin:0 0 4px; color:#00338D; font-size:13px; font-weight:700; }
.gle-loader-subtitle{ max-width:200px; margin:0 auto; color:rgba(0,51,141,.6); font-size:10.5px; line-height:1.5; }
.gle-loader-dots{ display:flex; align-items:center; justify-content:center; gap:5px; margin-top:13px; }
.gle-loader-dots span{ width:5px; height:5px; border-radius:50%; background:#D4AF37; animation:recharge-loader-dot 1.2s ease-in-out infinite; }
.gle-loader-dots span:nth-child(2){ background:#E6C65A; animation-delay:.15s; }
.gle-loader-dots span:nth-child(3){ background:#F0DC95; animation-delay:.3s; }
.gle-loader-security{
  display:flex; align-items:center; justify-content:center; gap:5px;
  margin-top:14px; padding-top:11px; border-top:1px solid rgba(0,51,141,.1);
  color:rgba(0,51,141,.5); font-size:9px;
}
.gle-loader-security i{ color:#A67C00; font-size:9px; }
@keyframes recharge-loader-spin{ to{ transform:rotate(360deg); } }
@keyframes recharge-loader-dot{
  0%,70%,100%{ opacity:.3; transform:translateY(0); }
  35%{ opacity:1; transform:translateY(-3px); }
}

@media (max-width:360px){
  #rechargePage .rx-top h2{ font-size:18px; }
  #rechargePage .rx-amount{ font-size:28px; }
  #rechargePage .amount-option{ font-size:12px; }
}


:root {
  --vfs-black: #0b0f0d;
  --vfs-black-soft: #12151a;
  --vfs-green: #00e676;
  --vfs-green-dark: #00a854;
  --vfs-green-soft: #e6fff2;
  --vfs-ash: #eef0f3;
  --vfs-ash-border: #e5e7eb;
  --vfs-muted: #6b7280;
  --vfs-ink: #12151a;
  --vfs-gradient: linear-gradient(135deg, #0b0f0d 0%, #0f2e1c 45%, #00c853 100%);
}

.manual-checkout-page {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: 'Inter', sans-serif;
  color: var(--vfs-ink);
  box-sizing: border-box;
  padding-bottom: 90px; /* room for fixed bottom button */
}

.manual-checkout-page * { box-sizing: border-box; }

/* ── DARK HEADER BAR ── */
.mcp-header-dark {
  background: var(--vfs-black);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mcp-close-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mcp-header-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mcp-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.mcp-header-sub {
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mcp-header-chevron,
.mcp-header-dots {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  flex-shrink: 0;
}

/* ── WRAP ── */
.mcp-wrap {
  max-width: 430px;
  margin: 0 auto;
  padding: 20px 18px 0;
}

/* ── MERCHANT ROW ── */
.mcp-merchant-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.mcp-merchant-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--vfs-green-dark);
  letter-spacing: 0.4px;
}

.mcp-merchant-logo {
  display: flex;
  align-items: center;
}

/* ── AMOUNT ── */
.mcp-amount-value {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--vfs-black);
  margin-bottom: 16px;
}

/* ── CHANGE PAYMENT METHOD ── */
.mcp-change-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--vfs-green-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
  font-family: inherit;
}

.mcp-divider {
  height: 1px;
  background: var(--vfs-ash-border);
  margin: 4px 0;
}

/* ── PAY WITH BANK TRANSFER ROW ── */
.mcp-method-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--vfs-ash-border);
  margin: 14px 0;
}

.mcp-method-row.selected {
  border-color: var(--vfs-green);
  background: var(--vfs-green-soft);
}

.mcp-method-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--vfs-black);
  color: var(--vfs-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.mcp-method-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--vfs-ink);
}

/* ── CAPTION ── */
.mcp-caption {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--vfs-muted);
  letter-spacing: 0.3px;
  margin: 4px 0 10px;
}
.mcp-caption strong { color: var(--vfs-ink); }

/* ── DETAIL ROWS ── */
.mcp-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--vfs-ash-border);
}

.mcp-beneficiary-row {
  border-bottom: none;
}

.mcp-detail-label {
  font-size: 13px;
  color: var(--vfs-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.mcp-detail-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mcp-detail-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--vfs-ink);
  text-align: right;
}

.mcp-value-green { color: var(--vfs-green-dark); }

.mcp-beneficiary-value {
  text-align: right;
  line-height: 1.35;
  max-width: 220px;
}

.mcp-copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  border: none;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  color: var(--vfs-black);
  background: var(--vfs-ash);
  cursor: pointer;
  font-family: inherit;
}
.mcp-copy-btn:active { background: var(--vfs-green-soft); color: var(--vfs-green-dark); }

/* ── NOTE ── */
.mcp-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--vfs-muted);
  line-height: 1.6;
  margin: 18px 0 6px;
}
.mcp-note span { color: var(--vfs-black); font-weight: 700; }


/* ── SUBMIT BUTTON — inline now, centered, compact width ── */
.mcp-submit-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 30px;
}

.mcp-submit-btn {
  width: auto;
  padding: 13px 32px;
  border: none;
  border-radius: 8px;
  background: var(--vfs-gradient);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.mcp-submit-btn:active { filter: brightness(0.9); }

/* =========================================================
   PROOF FORM — BOTTOM SHEET
   ========================================================= */

.mcp-form-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(11, 15, 13, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mcp-form-card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 10px 22px 28px;
  box-sizing: border-box;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: mcpSheetUp 0.25s ease-out;
  max-height: 88vh;
  overflow-y: auto;
}

@keyframes mcpSheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.mcp-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--vfs-ash-border);
  margin: 6px auto 16px;
}

.mcp-form-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--vfs-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 10px 22px -6px rgba(0, 168, 84, 0.5);
}

.mcp-form-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--vfs-ink);
}

.mcp-form-sub {
  margin: 0 0 20px;
  font-size: 12.5px;
  color: var(--vfs-muted);
}

.mcp-form-label {
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--vfs-ink);
  margin-bottom: 7px;
}

.mcp-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 48px;
  border: 1.5px solid var(--vfs-ash-border);
  border-radius: 12px;
  background: #FAFCFB;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}

.mcp-input-wrap:focus-within {
  border-color: var(--vfs-green);
  background: #ffffff;
}

.mcp-input-wrap i {
  color: var(--vfs-green-dark);
  font-size: 13px;
}

.mcp-form-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--vfs-ink);
  font-family: inherit;
}

.mcp-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px;
  border: 1.5px dashed var(--vfs-ash-border);
  border-radius: 14px;
  color: var(--vfs-muted);
  font-size: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  background: #FAFCFB;
  transition: border-color 0.2s, background 0.2s;
}

.mcp-upload-box:hover {
  border-color: var(--vfs-green);
  background: var(--vfs-green-soft);
}

.mcp-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vfs-green-soft);
  color: var(--vfs-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.mcp-upload-box.has-file {
  border-style: solid;
  border-color: var(--vfs-green);
  color: var(--vfs-green-dark);
  background: var(--vfs-green-soft);
}

.mcp-complete-pill {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: var(--vfs-gradient);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 26px -8px rgba(0, 168, 84, 0.55);
}
.mcp-complete-pill:active { filter: brightness(0.95); }
.mcp-complete-pill:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

.mcp-form-cancel {
  width: 100%;
  padding: 11px;
  border: none;
  background: transparent;
  color: var(--vfs-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}


/* =========================================================
   SUCCESS STATE
   ========================================================= */

.mcp-verifying {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.mcp-success-icon {
  font-size: 54px;
  color: var(--vfs-green-dark);
  margin-bottom: 16px;
}

.mcp-verifying h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--vfs-ink);
}

.mcp-verifying p {
  margin: 0;
  font-size: 13px;
  color: var(--vfs-muted);
}



.channel-card-icon-manual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}


.record-card {
  position: relative;
}

.record-channel-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #111111;
  color: #FFD400;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}




/* ── iOS-style alert — transparent black backdrop, frosted white card ── */
.ft-alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 20px;
}
.ft-alert-overlay.show {
  opacity: 1;
  visibility: visible;
}

.ft-alert-card {
  width: 270px;
  max-width: 100%;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transform: scale(0.85);
  transition: transform 0.2s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.ft-alert-overlay.show .ft-alert-card {
  transform: scale(1);
}

.ft-alert-icon {
  margin: 18px auto 4px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-alert-icon.success { color: #34C759; }
.ft-alert-icon.error   { color: #FF3B30; }
.ft-alert-icon.warning { color: #FF9500; }
.ft-alert-icon.info    { color: #007AFF; }

.ft-alert-title {
  margin: 4px 16px 2px;
  font-size: 15.5px;
  font-weight: 700;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

.ft-alert-text {
  margin: 0 16px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #3c3c43;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

.ft-alert-html {
  margin: 0 14px 12px;
  text-align: left;
}

.ft-alert-btn-row {
  display: flex;
  border-top: 1px solid rgba(60, 60, 67, 0.29);
}

.ft-alert-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 0;
  font-size: 15.5px;
  font-weight: 400;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.ft-alert-btn:active {
  background: rgba(60, 60, 67, 0.08);
}

.ft-alert-btn-ok {
  color: #007AFF;
  font-weight: 600;
}

.ft-alert-btn-cancel {
  color: #007AFF;
  font-weight: 400;
  border-right: 1px solid rgba(60, 60, 67, 0.29);
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Inter:wght@400;500;600;700&display=swap');

.wm-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 20, 60, .62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.wm-overlay *, .wm-overlay *::before, .wm-overlay *::after { box-sizing: border-box; }

.wm-card {
  --ink: #00338D;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --soft: rgba(0, 51, 141, .66);
  --edge: rgba(0, 51, 141, .14);

  width: 100%;
  max-width: 340px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: #FAF9F6;
  color: var(--ink);
  text-align: center;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  animation: wm-in .22s ease-out;
}
@keyframes wm-in {
  from { transform: scale(.95); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.wm-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
}
.wm-icon svg { width: 22px; height: 22px; }

.wm-title {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.wm-list p {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--soft);
}

.wm-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.wm-btn {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 13px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .1s, background .15s;
}
.wm-btn:active { transform: scale(.98); }
.wm-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.wm-btn-gold {
  flex: 1.1;
  border: 0;
  background: var(--gold);
  color: var(--ink);
}
.wm-btn-gold:hover { background: var(--gold-d); }

.wm-btn-plain {
  border: 1px solid var(--edge);
  background: #FFFFFF;
  color: var(--ink);
}

.mx-ok-btn:hover { filter: brightness(1.25); }
#welcomePopup {
  display: none; /* Changed from none to flex for visibility during testing */
}


.ft-alert-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(11, 15, 25, 0.55);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  box-sizing: border-box;
}

.ft-alert-overlay.show {
  display: flex;
}

.ft-alert-card {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
  animation: ft-alert-pop 0.2s ease-out;
  font-family: 'Inter', sans-serif;
}

@keyframes ft-alert-pop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.ft-alert-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ft-alert-icon.warning { background: #fff7e6; color: #d99a06; }
.ft-alert-icon.error   { background: #fdecec; color: #e5484d; }
.ft-alert-icon.success { background: #eaf6ec; color: #1a9c4a; }
.ft-alert-icon.info    { background: #eaf6ec; color: #16a34a; }

.ft-alert-title {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 8px;
}

.ft-alert-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.56);
  margin: 0 0 20px;
}

/* review details block (used by ftConfirm's `html` option) */
.ft-alert-html {
  text-align: left;
  font-size: 13.5px;
  line-height: 1.7;
  color: #111111;
  margin: -10px 0 20px;
}

/* side-by-side confirm/cancel layout */
.ft-alert-btn-row {
  display: flex;
  gap: 10px;
}

.ft-alert-btn-row .ft-alert-btn {
  flex: 1;
  margin: 0; /* was width:100% standalone before, now shares the row */
}

.ft-alert-btn {
  border: none;
  background: #16A34A;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}

/* neutral cancel styling, sits next to the confirm button */
.ft-alert-btn-cancel {
  background: #F1F1F1;
  color: #111111;
}

.ft-alert-btn:active { transform: scale(0.98); }


.referral-promo-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid #e7edfb;
  box-shadow: 0 8px 24px rgba(3, 87, 238, 0.08);
  max-width: 500px;
  
  /* 🌟 CHANGE THIS LINE: Adds negative top margin to shift it up, and pushes the bottom up */
  margin: -20px auto 35px auto; 
  
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.referral-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(3, 87, 238, 0.16);
}

.referral-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.referral-text-col { flex: 1; }

.referral-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0357EE;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.referral-headline {
  font-size: 21px;
  font-weight: 800;
  color: #0b1220;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.referral-subtext {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.referral-icon-badge {
  width: 42px;
  height: 42px;
  background: #eaf0fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #0357EE;
  flex-shrink: 0;
  border: 1px solid #d7e3fb;
}

.referral-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.referral-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 30px;
  white-space: nowrap;
}

.referral-pill.green {
  background: #e8f8ef;
  color: #16a34a;
  border: 1px solid #c8ede0;
}

.referral-pill.amber {
  background: #fff6e6;
  color: #b45309;
  border: 1px solid #fbe3b0;
}

.referral-cta-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 13px;
  background: #0357EE;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(3, 87, 238, 0.25);
  transition: background 0.2s, transform 0.15s;
}

.referral-cta-btn:hover {
  background: #0241b8;
}

.referral-cta-btn:active {
  transform: scale(0.97);
}

@media (max-width: 380px) {
  .referral-headline { font-size: 19px; }
  .referral-icon-badge { width: 38px; height: 38px; border-radius: 10px; font-size: 15px; }
}


/* DAILY LOADER OVERLAY */
.daily-loader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9999;
}

/* 3D SPINNER */
.spinner-3d{
  width:60px;
  height:60px;
  border:6px solid rgba(255,255,255,0.2);
  border-top:6px solid #00c2ff;
  border-radius:50%;
  animation:spin3d 1s linear infinite;
  margin-bottom:15px;
}

@keyframes spin3d{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

.daily-loader p{
  color:white;
  font-weight:600;
  font-size:16px;
}


/* ===== PRODUCT PAGE ===== */
.product-page {
  width: 100%;
  padding: 20px;
  padding-bottom: 80px;
  padding-top: 65px; /* space for fixed header */
  background: #ffffff; /* white background */
  min-height: 100vh;
  color: #ffffff;      /* white text */
  display: none;       /* show when active */
}

/* ===== FIXED HEADER ===== */
.product-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e40ff; /* blue header */
  padding: 12px 0;
  z-index: 1000;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;      /* white text */
  box-shadow: 0 3px 8px rgba(30, 64, 255, 0.2); /* subtle blue shadow */
}

.product-header i {
  margin-right: 8px;
  color: #ffffff; /* white icon */
}

/* ===== PREMIUM PRODUCT CARD - REDESIGNED ===== */
.premium-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  margin-top: -12px;
  margin-bottom: 16px;
  border: 1px solid #ede9f6;
  box-shadow: 0 4px 18px rgba(75, 0, 130, 0.07);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ── TOP STRIP ── */
.inv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
}

.inv-vip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.inv-vip-badge i {
  color: #e9d5ff;
  font-size: 14px;
}

.inv-days-pill {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── BODY: IMAGE + STATS GRID ── */
.inv-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.inv-product-img {
  width: 85px;
  height: 85px;
  min-width: 85px;
  border-radius: 12px;
  background: #f5f0ff;
  border: 1px solid #ede9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inv-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inv-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.inv-stat-box {
  background: #faf7ff;
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #ede9f6;
}

.inv-stat-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inv-stat-label i {
  color: #9d4edd;
  font-size: 9px;
}

.inv-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #9d4edd;
}

.inv-stat-val.dark {
  color: #0f172a;
}

.inv-stat-val.green {
  color: #16a34a;
}

/* ── FOOTER: DATE + PROGRESS BAR ── */
.inv-card-footer {
  padding: 0 16px 14px 16px;
  border-top: 1px solid #f3eeff;
  padding-top: 12px;
}

.inv-date-range {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 8px;
}

.inv-date-range i {
  color: #9d4edd;
}

.inv-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #ede9f6;
  border-radius: 99px;
  overflow: hidden;
}

.inv-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4b0082, #9d4edd);
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* ── COUNTDOWN ROW ── */
.inv-countdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #faf7ff;
  border-top: 1px solid #f3eeff;
}

.inv-next-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

.inv-countdown-timer {
  font-family: monospace;
  font-weight: 700;
  color: #4b0082;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .inv-product-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }
  .inv-stat-val {
    font-size: 12px;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

.iv-page,
.iv-page * { box-sizing: border-box; }

.iv-page {
  --bg: #FAF9F6;
  --ink: #00338D;
  --ink-2: #1F52B3;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --gold-text: #A67C00;
  --soft: rgba(0, 51, 141, .6);
  --edge: rgba(0, 51, 141, .12);
  --well: #F4F2EB;

  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0;
}

.iv-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.iv-wrap::after {
  content: '';
  display: block;
  height: calc(200px + env(safe-area-inset-bottom, 0px));
}

/* ---- header card ---- */
.iv-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 22px;
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(0, 51, 141, .2);
}
.iv-back,
.iv-head-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #FFFFFF;
}
.iv-back { cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.iv-back svg { width: 17px; height: 17px; }
.iv-head-ico { color: var(--gold); }
.iv-head-ico svg { width: 18px; height: 18px; }
.iv-head-text { flex: 1; min-width: 0; }
.iv-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
}
.iv-head h2 {
  margin: 2px 0 4px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}
.iv-head p { margin: 0; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .78); }

/* ---- invite link card ---- */
.iv-link-card {
  margin-top: 10px;
  padding: 14px 12px 12px;
  border-radius: 22px;
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(0, 51, 141, .2);
}
.iv-label {
  display: block;
  margin: 0 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.iv-link-box {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 12.5px;
  text-overflow: ellipsis;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-text-fill-color: #FFFFFF;
  opacity: 1;
}
.iv-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 44px;
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.iv-copy:hover { background: var(--gold-d); }
.iv-copy:active { transform: scale(.985); }
.iv-copy svg { width: 17px; height: 17px; }

.iv-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}
.iv-code-label { display: block; font-size: 11px; color: rgba(255, 255, 255, .65); }
.iv-code {
  display: block;
  margin-top: 1px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gold);
}
.iv-code-btn {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ---- stat grids ---- */
.iv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.iv-stat {
  min-height: 84px;
  padding: 12px;
  border-radius: 20px;
  color: #FFFFFF;
}
.iv-stat-gold { background: var(--gold); color: var(--ink); }
.iv-stat-blue { background: var(--ink-2); }
.iv-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  opacity: .85;
}
.iv-stat b {
  display: block;
  margin-top: 8px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.iv-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  box-shadow: 0 4px 14px rgba(0, 51, 141, .05);
}
.iv-mini-ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.iv-mini-ico svg { width: 20px; height: 20px; }
.iv-ico-blue { background: rgba(0, 51, 141, .1); color: var(--ink); }
.iv-ico-gold { background: rgba(212, 175, 55, .2); color: var(--gold-text); }
.iv-mini b {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.1;
  color: var(--ink);
}
.iv-mini span { display: block; margin-top: 1px; font-size: 12px; color: var(--soft); }

/* ---- commission tiers ---- */
.iv-tiers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 2px 8px;
}
.iv-tiers-head h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.iv-tiers-head button {
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold-text);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.iv-tiers {
  background: #FFFFFF;
  border: 1px solid var(--edge);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 51, 141, .05);
}
.iv-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--edge);
}
.iv-tier:last-child { border-bottom: 0; }
.iv-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.iv-num-1 { background: rgba(212, 175, 55, .2); color: var(--gold-text); }
.iv-num-2 { background: rgba(0, 51, 141, .1); color: var(--ink); }
.iv-num-3 { background: var(--well); color: var(--soft); }

.iv-tier-body { flex: 1; min-width: 0; }
.iv-tier-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.iv-tier-title em { margin-left: 5px; font-family: 'Inter', sans-serif; font-size: 12px; font-style: normal; font-weight: 600; }
.iv-tag-1 { color: var(--gold-text); }
.iv-tag-2 { color: var(--ink-2); }
.iv-tag-3 { color: var(--soft); }
.iv-tier-body p { margin: 2px 0 0; font-size: 12px; line-height: 1.35; color: var(--soft); }
.iv-tier-body p.iv-earned { font-weight: 700; color: var(--gold-text); }

.iv-pct {
  flex-shrink: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 21px;
  font-weight: 700;
}
.iv-pct-1 { color: var(--gold-text); }
.iv-pct-2 { color: var(--ink-2); }
.iv-pct-3 { color: var(--soft); }

/* ---- write-up ---- */
.iv-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(212, 175, 55, .18);
  border: 1px solid rgba(212, 175, 55, .35);
}
.iv-note-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--gold-text);
}
.iv-note p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 360px) {
  .iv-head h2 { font-size: 19px; }
  .iv-tier-title { font-size: 14px; }
  .iv-pct { font-size: 18px; }
  .iv-stat b { font-size: 17px; }
}


/* =========================================================
   TEAM PAGE — creamy off-white · royal blue · gold
   Compact cards. Every rule starts with #earningsPage so
   older stylesheets can't override it.
   ========================================================= */

#earningsPage {
  --team-bg:        #FAF9F6;   /* creamy off-white */
  --team-blue:      #00338D;   /* deep royal blue  */
  --team-gold:      #D4AF37;   /* rich gold        */
  --team-gold-dark: #A8861A;
  --team-gold-light:#EBD27A;
  --team-gold-soft: rgba(212,175,55,.16);
  --team-blue-soft: rgba(0,51,141,.07);
  --team-muted:     #6F7FA3;
  --team-faint:     #9AA6C2;
  --team-line:      rgba(0,51,141,.09);

  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--team-bg);
  color: var(--team-blue);
  font-family: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  overflow-x: hidden;
}
#earningsPage * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* ---------- HEADER ---------- */
#earningsPage .team-header-main {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--team-bg);
  border-bottom: 1px solid var(--team-line);
}
#earningsPage .team-header-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.1px;
  color: var(--team-blue);
}
#earningsPage .back-btn-white {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--team-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#earningsPage .back-btn-white:active { opacity: .55; }

/* ---------- CONTAINER ---------- */
#earningsPage .team-page-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 0 100px;
}

/* ---------- LEVEL TABS (3 small cards) ---------- */
#earningsPage .team-level-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 12px 0;
  background: transparent;
  border: 0;
}
#earningsPage .team-tab-btn {
  position: relative;
  min-width: 0;
  padding: 10px 4px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--team-line);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 6px 14px rgba(0,51,141,.05);
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .12s;
}
#earningsPage .team-tab-btn strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(12.5px, 3.7vw, 15px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--team-blue);
}
#earningsPage .team-tab-btn .lvl {
  white-space: nowrap;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--team-gold-dark);
}
#earningsPage .team-tab-btn em {
  margin-top: 1px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--team-blue-soft);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--team-blue);
}
#earningsPage .team-tab-btn:active { transform: scale(.97); }

/* active tab: filled royal blue with gold accents */
#earningsPage .team-tab-btn.active {
  background: linear-gradient(145deg, #0A3FA6, #00338D 55%, #00205C);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(0,51,141,.28);
}
#earningsPage .team-tab-btn.active strong { color: #FFFFFF; }
#earningsPage .team-tab-btn.active .lvl   { color: var(--team-gold-light); }
#earningsPage .team-tab-btn.active em     { background: var(--team-gold); color: #2E2400; }

/* ---------- LIST (separate small cards) ---------- */
#earningsPage .team-list-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 12px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

/* ---------- MEMBER ROW: four fixed columns ----------
   icon | number | time (centered, takes the rest) | amount (right)
   The amount column width is set by JS (--amt-ch) from the longest
   amount, so every row has identical column positions. */
#earningsPage .team-list-row {
  display: grid;
  grid-template-columns: 30px max-content minmax(0, 1fr) calc(var(--amt-ch, 7) * 1ch);
  align-items: center;
  column-gap: 10px;
  min-height: 56px;
  padding: 0 12px 0 10px;
  font-size: 13.5px;
  background: #FFFFFF;
  border: 1px solid var(--team-line);
  border-radius: 16px;
  box-shadow: 0 5px 12px rgba(0,51,141,.045);
}
#earningsPage .team-list-row:last-child { border-bottom: 1px solid var(--team-line); }

#earningsPage .team-row-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--team-blue-soft);
  color: var(--team-blue);
}
#earningsPage .team-row-icon svg { width: 16px; height: 16px; }

#earningsPage .team-list-number {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--team-blue);
}

#earningsPage .team-row-time {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--team-faint);
}
#earningsPage .team-row-time span { display: inline; }

#earningsPage .team-list-amount {
  text-align: right;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--team-gold-dark);
}

/* phones: stack date over time on EVERY row so nothing shifts */
@media (max-width: 420px) {
  #earningsPage .team-row-time span { display: block; }
  #earningsPage .team-list-row { column-gap: 8px; padding: 0 10px 0 8px; }
}
@media (max-width: 340px) {
  #earningsPage .team-list-number { font-size: 12.5px; }
  #earningsPage .team-list-amount { font-size: 12.5px; }
  #earningsPage .team-row-time { font-size: 10px; }
}

/* ---------- EMPTY STATE ---------- */
#earningsPage .team-list-nodata {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 70px;
  text-align: center;
}
#earningsPage .team-box-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
  color: var(--team-gold-dark);
}
#earningsPage .team-box-shadow {
  width: 64px;
  height: 10px;
  margin-top: 2px;
  background: radial-gradient(ellipse at center, rgba(0,51,141,.12), transparent 72%);
  border-radius: 50%;
}
#earningsPage .team-list-nodata span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--team-faint);
}

/* ---------- LOADING / ERROR ---------- */
#earningsPage .team-list-empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 22px;
}
#earningsPage .team-list-empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--team-gold-soft);
  color: var(--team-gold-dark);
}
#earningsPage .team-error-state .team-list-empty-icon {
  background: rgba(194,57,47,.10);
  color: #C2392F;
}
#earningsPage .team-list-empty-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--team-blue);
}
#earningsPage .team-list-empty-sub {
  max-width: 250px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--team-muted);
}
#earningsPage .team-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 44px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--team-muted);
}
#earningsPage .team-loading-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--team-gold-soft);
  color: var(--team-gold-dark);
}
#earningsPage .team-loading-icon svg { animation: team-spin .8s linear infinite; }
@keyframes team-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #earningsPage .team-loading-icon svg { animation-duration: 2s; }
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

.wx-page,
.wx-page * { box-sizing: border-box; }

.wx-page {
  --bg: #FAF9F6;
  --ink: #00338D;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --gold-text: #A67C00;
  --soft: rgba(0, 51, 141, .6);
  --edge: rgba(0, 51, 141, .12);

  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0;
}
.wx-wrap { max-width: 480px; margin: 0 auto; }
.wx-wrap::after {
  content: '';
  display: block;
  height: calc(200px + env(safe-area-inset-bottom, 0px));
}
.wx-keep { display: none; }

/* ---- hero card ---- */
.wx-hero {
  padding: 14px 14px 18px;
  border-radius: 24px;
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(0, 51, 141, .2);
}
.wx-top { display: flex; align-items: center; gap: 10px; }
.wx-back {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #FFFFFF;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wx-back svg { width: 17px; height: 17px; }
.wx-top-text { flex: 1; min-width: 0; }
.wx-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
}
.wx-top h2 {
  margin: 2px 0 4px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}
.wx-top p { margin: 0; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .78); }

.wx-history {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wx-history svg { width: 15px; height: 15px; }

.wx-amount-label {
  display: block;
  margin: 18px 2px 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}
.wx-amount-row { display: flex; align-items: center; gap: 8px; }
.wx-naira {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
}
.wx-amount {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #FFFFFF;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 700;
  -moz-appearance: textfield;
}
.wx-amount::placeholder { color: rgba(255, 255, 255, .35); }
.wx-amount::-webkit-inner-spin-button,
.wx-amount::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.wx-avail { margin: 4px 2px 0; font-size: 12.5px; color: rgba(255, 255, 255, .75); }

/* ---- min bar ---- */
.wx-min {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* ---- destination ---- */
.wx-section {
  margin: 20px 4px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--soft);
}
.wx-dest {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  box-shadow: 0 4px 14px rgba(0, 51, 141, .05);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wx-dest-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(212, 175, 55, .2);
  color: var(--gold-text);
}
.wx-dest-ico svg { width: 22px; height: 22px; }
.wx-dest-text { flex: 1; min-width: 0; }
.wx-dest-text b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.wx-dest-text span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--soft); }
.wx-chev { flex-shrink: 0; width: 18px; height: 18px; color: var(--soft); }

/* ---- rules ---- */
.wx-rules {
  margin-top: 12px;
  padding: 14px 16px 6px;
  border-radius: 20px;
  background: rgba(212, 175, 55, .18);
  border: 1px solid rgba(212, 175, 55, .35);
}
.wx-rules p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--ink);
}
.wx-rules svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--gold-text); }

/* ---- button ---- */
.wx-go {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: var(--gold);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, transform .1s;
}
.wx-go:hover { background: var(--gold-d); }
.wx-go:active { transform: scale(.985); }
.wx-go:disabled {
  background: #E4E2DB;
  color: #8C8C94;
  cursor: not-allowed;
}

@media (max-width: 360px) {
  .wx-top h2 { font-size: 19px; }
  .wx-amount { font-size: 30px; }
}

/* =========================================================
   RECORDS — creamy off-white · royal blue · gold
   Scoped to #recordsPage so it can't clash with the bank page.
   ========================================================= */

#recordsPage {
  --bg:        #FAF9F6;   /* creamy off-white */
  --blue:      #00338D;   /* deep royal blue  */
  --gold:      #D4AF37;   /* rich gold        */
  --gold-dark: #A8861A;
  --gold-soft: rgba(212,175,55,.16);
  --blue-soft: rgba(0,51,141,.07);
  --muted:     #6F7FA3;
  --faint:     #9AA6C2;
  --line:      rgba(0,51,141,.08);
  --ok:        #1E8E5A;
  --ok-soft:   rgba(30,142,90,.12);
  --wait:      #8F7010;
  --wait-soft: rgba(212,175,55,.24);
  --bad:       #C2392F;
  --bad-soft:  rgba(194,57,47,.10);

  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 500;
  background: var(--bg);
  color: var(--blue);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-sizing: border-box;
}
#recordsPage * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* ── HEADER ── */
#recordsPage .records-hero-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  height: 54px;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg);
}
#recordsPage .records-back-btn {
  width: 48px;
  height: 54px;
  border: none;
  background: transparent;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#recordsPage .records-back-btn:active { opacity: .55; }
#recordsPage .records-hero-title {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--blue);
}
#recordsPage .records-hero-spacer { width: 48px; }

/* ── CONTENT ── */
#recordsPage .records-content-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 4px 14px 110px;
}

/* ── INFO CARD ── */
#recordsPage .records-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F2DF 100%);
  border: 1px solid rgba(212,175,55,.35);
  box-shadow: 0 10px 26px rgba(0,51,141,.06);
}
#recordsPage .records-info-ico {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--blue);
  box-shadow: 0 6px 16px rgba(0,51,141,.10);
}
#recordsPage .records-info-ico svg { width: 28px; height: 28px; }
#recordsPage .records-info-text h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--blue);
}
#recordsPage .records-info-text p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ── SEGMENTED TABS ── */
#recordsPage .records-tabs-wrap {
  position: sticky;
  top: calc(54px + env(safe-area-inset-top, 0px));
  z-index: 9;
  padding: 14px 0 10px;
  background: var(--bg);
}
#recordsPage .records-tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 18px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
}
#recordsPage .records-tab-btn {
  position: relative;
  height: 38px;
  padding: 0 4px;
  border: none;
  border-radius: 14px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
#recordsPage .records-tab-btn::after {
  content: '';
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
#recordsPage .records-tab-btn.active {
  background: #FFFFFF;
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,51,141,.10);
}
#recordsPage .records-tab-btn.active::after { transform: scaleX(1); }

/* ── CARDS ── */
#recordsPage #recordsContainer { display: flex; flex-direction: column; }

#recordsPage .record-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0,51,141,.05);
  animation: recRowIn .25s ease both;
}
@keyframes recRowIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* round-square icon */
#recordsPage .rec-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#recordsPage .rec-ico svg { width: 21px; height: 21px; }
#recordsPage .rec-ico.in  { background: var(--gold-soft); color: var(--gold-dark); }
#recordsPage .rec-ico.out { background: var(--blue-soft); color: var(--blue); }

#recordsPage .rec-body { flex: 1; min-width: 0; }

/* title + status pill */
#recordsPage .rec-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}
#recordsPage .rec-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--blue);
}
#recordsPage .rec-tag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}
#recordsPage .rec-tag.status-approved { background: var(--ok-soft);   color: var(--ok); }
#recordsPage .rec-tag.status-pending  { background: var(--wait-soft); color: var(--wait); }
#recordsPage .rec-tag.status-failed   { background: var(--bad-soft);  color: var(--bad); }

#recordsPage .rec-date {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}

/* amount + side note */
#recordsPage .rec-mid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}
#recordsPage .rec-amount {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
  font-variant-numeric: tabular-nums;
}
#recordsPage .rec-amount.plus  { color: var(--ok); }
#recordsPage .rec-amount.minus { color: var(--blue); }
#recordsPage .rec-side {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

/* order number */
#recordsPage .rec-ref {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 10.5px;
  color: var(--faint);
  word-break: break-all;
}

/* failed rows: never struck-through */
#recordsPage .record-card.is-failed,
#recordsPage .record-card.is-failed * { text-decoration: none; }

/* ── FOOTER / EMPTY ── */
#recordsPage .records-empty-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 10px 0;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--faint);
}
#recordsPage .records-empty-text::before,
#recordsPage .records-empty-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
#recordsPage .records-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px 10px;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}
#recordsPage .records-empty-box .ico {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  color: var(--gold-dark);
}
#recordsPage .records-empty-box .ico svg { width: 30px; height: 30px; }

/* ── SKELETON ── */
#recordsPage .rec-skel {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
}
#recordsPage .rec-skel .sk {
  border-radius: 8px;
  background: linear-gradient(90deg, #EFEBDD 25%, #FAF7EC 50%, #EFEBDD 75%);
  background-size: 200% 100%;
  animation: recShimmer 1.3s linear infinite;
}
#recordsPage .rec-skel .sk-ico { width: 44px; height: 44px; border-radius: 14px; flex: none; }
#recordsPage .rec-skel .sk-col { flex: 1; display: flex; flex-direction: column; gap: 9px; }
#recordsPage .rec-skel .sk-a { height: 12px; width: 55%; }
#recordsPage .rec-skel .sk-b { height: 10px; width: 38%; }
#recordsPage .rec-skel .sk-c { height: 16px; width: 30%; }
@keyframes recShimmer { to { background-position: -200% 0; } }

@media (max-width: 380px) {
  #recordsPage .records-tab-btn { font-size: 12px; }
  #recordsPage .rec-amount { font-size: 16.5px; }
}

/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

/* ================= MODAL CARD ================= */
.modal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= INNER CARD ================= */
.slim-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRODUCT ROW ================= */
.product-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon-container {
  width: 48px;
  height: 48px;
  background: #2D6BEF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= PRODUCT DETAILS ================= */
.product-details strong {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin-top: 3px;
}

/* ================= DIVIDER ================= */
.divider-line {
  height: 1px;
  background: #e5e5e5;
  margin: 14px 0;
}

/* ================= BALANCE ================= */
.account-balance-row {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* ================= PURCHASE BUTTON ================= */
.purchase-btn {
  background: #2D6BEF;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}



/* =========================================================
   MY PRODUCTS — creamy off-white · royal blue · gold
   ========================================================= */

.investment-page {
  --mp-bg:        #FAF9F6;   /* creamy off-white */
  --mp-blue:      #00338D;   /* deep royal blue  */
  --mp-gold:      #D4AF37;   /* rich gold        */
  --mp-gold-dark: #A8861A;
  --mp-gold-soft: rgba(212,175,55,.16);
  --mp-blue-soft: rgba(0,51,141,.07);
  --mp-muted:     #6F7FA3;
  --mp-faint:     #9AA6C2;
  --mp-line:      rgba(0,51,141,.09);
  --mp-ok:        #1E8E5A;
  --mp-ok-soft:   rgba(30,142,90,.13);

  position: relative;
  background: var(--mp-bg);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  color: var(--mp-blue);
}
.investment-page * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* ── HEADER ── */
.mp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px 6px;
  background: var(--mp-bg);
  border-bottom: 1px solid var(--mp-line);
}
.mp-back {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  color: var(--mp-blue);
  cursor: pointer;
}
.mp-back:active { opacity: .55; }
.mp-header-text { flex: 1; min-width: 0; }
.mp-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: var(--mp-gold-dark);
}
.mp-header-title {
  margin: 2px 0 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--mp-blue);
}
.mp-header-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-blue);
  color: var(--mp-gold);
  box-shadow: 0 8px 18px rgba(0,51,141,.22);
}
.mp-header-ico svg { width: 22px; height: 22px; }

/* ── WRAP ── */
.mp-wrap {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 14px 110px;
  display: flex;
  flex-direction: column;
}

/* ── HERO ── */
.mp-hero {
  position: relative;
  height: 172px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% -10%, rgba(212,175,55,.45) 0 28%, transparent 29%),
    linear-gradient(135deg, #0A3FA6, #00225F);
  box-shadow: 0 14px 30px rgba(0,51,141,.20);
}
.mp-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mp-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,34,95,0) 35%, rgba(0,34,95,.55) 100%);
}

.mp-stats {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mp-stat {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.30);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
}
.mp-stat-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--mp-blue);
}
.mp-stat-ico.is-gold { background: var(--mp-gold); color: #3A2D00; }
.mp-stat-ico svg { width: 18px; height: 18px; }
.mp-stat-text { display: flex; flex-direction: column; min-width: 0; }
.mp-stat-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: .92;
  white-space: nowrap;
}
.mp-stat-text b {
  margin-top: 1px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── INFO NOTE ── */
.mp-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--mp-line);
  box-shadow: 0 8px 22px rgba(0,51,141,.05);
}
.mp-note-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-gold-soft);
  color: var(--mp-gold-dark);
}
.mp-note-ico svg { width: 22px; height: 22px; }
.mp-note p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mp-muted);
}
.mp-note p b { color: var(--mp-blue); font-weight: 800; }

/* ── SECTION HEADING ── */
.mp-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 22px 2px 10px;
}
.mp-section small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: var(--mp-gold-dark);
}
.mp-section h2 {
  margin: 3px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--mp-blue);
}
.mp-section-count {
  min-width: 28px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-gold-soft);
  color: var(--mp-gold-dark);
  font-size: 12px;
  font-weight: 800;
}

/* ── PRODUCT CARD ── */
#investmentCardsList { display: flex; flex-direction: column; }
.mp-cards { display: flex; flex-direction: column; gap: 12px; }

.mp-card {
  padding: 16px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid var(--mp-line);
  box-shadow: 0 12px 28px rgba(0,51,141,.07);
  animation: mpIn .25s ease both;
}
@keyframes mpIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mp-card-head { display: flex; align-items: center; gap: 12px; }
.mp-card-ico {
  position: relative;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-gold-soft);
  color: var(--mp-gold-dark);
}
.mp-card-ico svg { width: 26px; height: 26px; }
.mp-card-ico img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-card-id { flex: 1; min-width: 0; }
.mp-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--mp-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-card-sub { margin-top: 3px; font-size: 12.5px; color: var(--mp-muted); }

.mp-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--mp-ok-soft);
  color: var(--mp-ok);
}
.mp-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.mp-pill.is-done { background: var(--mp-blue-soft); color: var(--mp-blue); }

/* details grid */
.mp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--mp-line);
  border-bottom: 1px solid var(--mp-line);
}
.mp-cell small { display: block; font-size: 12px; color: var(--mp-muted); }
.mp-cell b {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mp-blue);
  font-variant-numeric: tabular-nums;
}
.mp-cell b.is-gold { color: var(--mp-gold-dark); }

/* countdown */
.mp-timer {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,51,141,.045);
}
.mp-timer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mp-timer-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mp-blue);
}
.mp-timer-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mp-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.25);
}
.mp-timer-clock {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--mp-blue);
  font-variant-numeric: tabular-nums;
}
.mp-bar {
  height: 6px;
  margin: 11px 0 10px;
  border-radius: 999px;
  background: var(--mp-blue-soft);
  overflow: hidden;
}
.mp-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #E8CD6A, var(--mp-gold));
  transition: width .9s linear;
}
.mp-timer-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mp-muted);
}
.mp-timer-note b { color: var(--mp-blue); font-weight: 700; }

/* completed card */
.mp-card.is-completed { background: #FDFCF9; }
.mp-done-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--mp-blue-soft);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mp-muted);
}
.mp-done-note b { color: var(--mp-blue); }

/* ── EMPTY STATE ── */
.mp-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}
.mp-empty-ico {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-gold-soft);
  color: var(--mp-gold-dark);
}
.mp-empty-ico svg { width: 30px; height: 30px; }
.mp-empty-text { margin: 0; font-size: 13px; color: var(--mp-faint); }

/* smaller phones */
@media (max-width: 370px) {
  .mp-hero { height: 160px; }
  .mp-stat { padding: 8px; gap: 7px; }
  .mp-stat-text b { font-size: 13.5px; }
  .mp-timer-clock { font-size: 18px; }
  .mp-card { padding: 14px; }
}

.channel-card.channel-disabled {
  filter: blur(1px);
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.channel-card-disabled-badge {
  display: none;
  font-size: 10px;
  font-weight: 700;
  color: #ef4444;
  margin-top: 2px;
}

.channel-card.channel-disabled .channel-card-disabled-badge {
  display: block;
}



/* =========================================================
   SWAL POPUP (unchanged)
   ========================================================= */

.gle-swal-popup {
  border-radius: 20px !important;
  padding: 28px 22px !important;
  box-shadow: 0 20px 50px rgba(2, 65, 184, 0.15) !important;
}

.gle-swal-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0b1220 !important;
}

.gle-swal-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  color: #64748b !important;
}

.gle-swal-confirm {
  background: #0032A0 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(0, 50, 160, 0.25) !important;
}

.gle-swal-confirm:hover {
  background: #001F66 !important;
}

.gle-swal-icon {
  border-color: #eaf0fe !important;
}


@media (max-width: 380px) {
  .inv-hero-value { font-size: 23px; }
  .inv-hero-stat-divider { margin: 0 8px; }
  .premium-card { padding: 15px; }
  .inv-price-badge { font-size: 11px; padding: 6px 11px; }
}



.password-page {
  --pw-neon:#22c55e;
  --pw-neon-dark:#16a34a;
  --pw-ink:#111111;
  --pw-ink-muted:#6B6B6B;
  --pw-line:#ECECEC;
  --pw-panel:#ffffff;
  --pw-bg:#F5F6F7;

  background: var(--pw-bg);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}
.password-page * { box-sizing: border-box; }

/* ===================== HEADER ===================== */
.pw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  background: var(--pw-panel);
  border-bottom: 1px solid var(--pw-line);
  border-radius: 0 0 20px 20px;
}

.pw-back-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #F1F5F3;
  color: var(--pw-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
}
.pw-back-btn:active { background: #E4EAE7; }

.pw-topbar-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--pw-ink);
}

/* ===================== CONTAINER ===================== */
.pw-container {
  max-width: 460px;
  margin: 0 auto;
  padding: 18px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===================== FORM CARD ===================== */
.pw-card {
  background: var(--pw-panel);
  border: 1px solid var(--pw-line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.pw-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pw-field-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pw-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pw-ink);
}

.pw-bullet {
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--pw-neon);
  display: inline-block;
  flex-shrink: 0;
}

.pw-field-group {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--pw-line);
  border-radius: 10px;
  background: var(--pw-bg);
}

.pw-lock-icon {
  position: absolute;
  left: 14px;
  font-size: 12px;
  color: var(--pw-neon-dark);
}

.pw-field-group input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--pw-ink);
  width: 100%;
  font-family: inherit;
  padding: 14px 40px 14px 38px;
}

.pw-field-group input::placeholder {
  color: #9CA3AF;
}

.pw-field-group:focus-within {
  border-color: var(--pw-neon);
  background: #ffffff;
}

.pw-eye-icon {
  position: absolute;
  right: 14px;
  cursor: pointer;
  color: var(--pw-ink-muted);
  font-size: 13px;
}
.pw-eye-icon:hover { color: var(--pw-ink); }

/* ===================== PASSWORD STRENGTH ===================== */
.pw-strength-row {
  margin-top: -2px;
}

.pw-strength-bar {
  display: flex;
  gap: 5px;
}

.pw-strength-seg {
  flex: 1;
  height: 4px;
  border-radius: 3px;
  background: var(--pw-line);
  transition: background .2s ease;
}

.pw-strength-seg.weak   { background: #EF4444; }
.pw-strength-seg.medium { background: #F59E0B; }
.pw-strength-seg.strong { background: var(--pw-neon); }

/* ===================== SUBMIT BUTTON — black → green gradient ===================== */
.pw-submit-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #0a0a0a 0%, #111111 45%, var(--pw-neon-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  margin-top: 4px;
  box-shadow: 0 6px 16px rgba(34,197,94,.18);
}

.pw-submit-btn:active { filter: brightness(1.1); }
.pw-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===================== SECURITY TIPS CARD ===================== */
.pw-tips-card {
  background: var(--pw-panel);
  border: 1px solid var(--pw-line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.pw-tips-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pw-ink);
}

.pw-tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pw-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pw-ink-muted);
}

.pw-tip-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--pw-neon);
  flex-shrink: 0;
  margin-top: 1px;
}

.pw-tips-list li strong {
  color: var(--pw-ink);
  font-weight: 800;
}






/* =========================================================
   ABOUT US — white header, ash page, white card, red accent
   Change --ab-red to match the exact red on the redtech website.
   ========================================================= */
.about-page {
  --ab-red: #E11D2E;
  --ab-ink: #1A1A1A;
  --ab-text: #2B2B2B;
  --ab-line: #E4E4E6;
  --ab-ash: #F1F1F2;

  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 500;
  background: var(--ab-ash);
  color: var(--ab-ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-sizing: border-box;
}
.about-page * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* ── HEADER ── */
.about-page .ab-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 46px;
  background: #FFFFFF;
}
.about-page .ab-back-btn {
  width: 44px;
  height: 46px;
  border: none;
  background: transparent;
  color: var(--ab-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}
.about-page .ab-back-btn:active { opacity: .6; }
.about-page .ab-topbar-title {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ab-ink);
}
.about-page .ab-topbar-spacer { width: 44px; }

/* ── WHITE CARD ── */
.about-page .ab-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 4px calc(40px + env(safe-area-inset-bottom, 0px));
}

.about-page .ab-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 14px 12px 12px;
}

.about-page .ab-intro {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ab-text);
}

/* section headings: plain, small */
.about-page .ab-section-title {
  margin: 10px 0 4px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ab-ink);
}
.about-page .ab-section-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 11px;
  margin-right: 7px;
  border-radius: 2px;
  background: var(--ab-red);
  vertical-align: -1px;
}

/* lines of text, no bullets, like the reference */
.about-page .ab-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}
.about-page .ab-list li {
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ab-text);
}
.about-page .ab-list b {
  font-weight: 500;
  color: var(--ab-ink);
}

.about-page .ab-compat-hidden { display: none; }



@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&family=Inter:wght@400;500;600&display=swap');

/* ── these two blocks are unchanged from your old file ── */
.gle-whatsapp-fab {
  position: fixed;
  bottom: 180px;
  right: 18px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.gle-whatsapp-fab:active {
  transform: scale(0.92);
}

#pfWithdrawActionBtn .pf-action-icon { color: #30d158 !important; }


.pk-page,
.pk-page * { box-sizing: border-box; }

.pk-page {
  --bg: #FAF9F6;
  --ink: #00338D;
  --gold: #D4AF37;
  --gold-d: #BF9B2C;
  --gold-text: #A67C00;
  --soft: rgba(0, 51, 141, .6);
  --edge: rgba(0, 51, 141, .12);
  --well: #F4F2EB;

  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding-bottom: 110px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---- top bar ---- */
.pk-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--edge);
}
.pk-back {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pk-back svg { width: 24px; height: 24px; }
.pk-top-title {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}

/* ---- intro row ---- */
.pk-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 6px;
  font-size: 15px;
  color: var(--soft);
}
.pk-intro b { font-weight: 700; color: var(--gold-text); }

/* ---- list + card ---- */
.pk-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 0;
}
.pk-card {
  padding: 18px 16px 16px;
  border-radius: 26px;
  background: #FFFFFF;
  border: 1px solid var(--edge);
  box-shadow: 0 6px 20px rgba(0, 51, 141, .06);
}

.pk-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pk-pic {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--well);
}
.pk-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pk-info { flex: 1; min-width: 0; }
.pk-name {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.pk-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, .18);
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 700;
}
.pk-price {
  flex-shrink: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-text);
}

/* ---- stats well ---- */
.pk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 6px;
  border-radius: 18px;
  background: var(--well);
  text-align: center;
}
.pk-stats b {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.pk-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--soft);
}

/* ---- button ---- */
.pk-btn {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: var(--gold);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.pk-btn:active { transform: scale(.985); }
.pk-btn:disabled { cursor: not-allowed; }
.pk-btn.is-sold {
  background: #E4E2DB;
  color: #8C8C94;
}
.pk-btn.is-locked {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
}

/* locked card: picture dims */
.pk-card.is-locked .pk-pic img { filter: grayscale(1) brightness(.6); }
/* admin-disabled card: blurred, not clickable */
.pk-card.is-off {
  filter: blur(1.5px);
  opacity: .55;
  pointer-events: none;
}

/* ---- loading / error ---- */
.pk-state {
  display: flex;
  justify-content: center;
  padding: 50px 16px;
  font-size: 14px;
  color: var(--soft);
  text-align: center;
}
.pk-spin {
  width: 28px;
  height: 28px;
  border: 3px solid var(--edge);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: pk-turn .7s linear infinite;
}
@keyframes pk-turn { to { transform: rotate(360deg); } }

@media (max-width: 360px) {
  .pk-pic { flex-basis: 64px; width: 64px; height: 64px; }
  .pk-name, .pk-price { font-size: 17px; }
  .pk-stats b { font-size: 14px; }
}


/* This targets the <a> tag wrapping your settings item */
a.settings-link-wrapper {
    text-decoration: none !important; /* Forces the underline to disappear */
    color: inherit !important;        /* Forces the text to stay your app's color */
    display: block;                   /* Makes the whole row clickable */
    -webkit-tap-highlight-color: transparent; /* Removes the gray box on mobile tap */
}

/* Optional: Add a slight hover or active effect so the user knows it's a button */
a.settings-link-wrapper:active {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* ================= CUSTOM ALERT ================= */
.custom-alert {
  position: fixed !important;

  top: 50% !important;
  left: 50% !important;

  transform: translate(-50%, -50%) !important;

  background: rgba(0, 0, 0, 0.85);
  color: #fff;

  padding: 14px 24px;
  border-radius: 12px;

  font-size: 15px;
  text-align: center;

  max-width: 90%;
  width: max-content;

  box-shadow: 0 8px 20px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;

  z-index: 999999; /* higher than EVERYTHING */
}

.custom-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) !important;
}
.custom-alert {
  right: auto;
  margin: 0;
}

.custom-alert.show {
  animation: alertPop 0.3s ease;
}

@keyframes alertPop {
  0% {
    transform: translate(-50%, -60%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}


/* ================= EMPTY STATE UI (PRODUCT STYLE) ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  padding: 40px 20px; 
  margin: 15px;
  text-align: center;
  
  /* Card Design: Stretch like an ATM card */
  background: #ffffff;
  border-radius: 16px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  
  width: auto; 
  max-width: 100%; 
  box-sizing: border-box;
}

.empty-icon-circle {
  width: 70px; /* Slightly larger for product focus */
  height: 70px;
  background: #f8f9fa; /* Clean grey/white tint */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon-circle i {
  font-size: 28px;
  color: #121b1e; /* Bold dark icon */
}

.empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

.empty-subtitle {
  margin: 8px 0 25px 0;
  font-size: 14px;
  color: #777;
  font-weight: 400;
  line-height: 1.5;
  max-width: 280px; /* Keeps text centered and readable */
}

/* THE BUTTON - Full width button */
.browse-plans-btn {
  background: #4b0082; 
  color: #ffffff;
  border: none;
  width: 100%; 
  max-width: 300px; /* Adjusted for better card balance */
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.browse-plans-btn:active {
  transform: scale(0.97);
}








.brand-redirect-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--brand-white, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
}

#pageLoader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Small network-style pinwheel spinner */
.network-spinner {
  position: relative;
  width: 28px;
  height: 28px;
}

.network-spinner span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  background: #1a73e8;
  border-radius: 1px;
  transform-origin: 1px 14px;
  animation: spokeFade 1s linear infinite;
}

.network-spinner span:nth-child(1) { transform: rotate(0deg);   animation-delay: -0.875s; }
.network-spinner span:nth-child(2) { transform: rotate(45deg);  animation-delay: -0.75s; }
.network-spinner span:nth-child(3) { transform: rotate(90deg);  animation-delay: -0.625s; }
.network-spinner span:nth-child(4) { transform: rotate(135deg); animation-delay: -0.5s; }
.network-spinner span:nth-child(5) { transform: rotate(180deg); animation-delay: -0.375s; }
.network-spinner span:nth-child(6) { transform: rotate(225deg); animation-delay: -0.25s; }
.network-spinner span:nth-child(7) { transform: rotate(270deg); animation-delay: -0.125s; }
.network-spinner span:nth-child(8) { transform: rotate(315deg); animation-delay: 0s; }

@keyframes spokeFade {
  0%   { opacity: 1; }
  100% { opacity: 0.15; }
}

/* Header Image */
.product-header-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}


.debit-amount  { color: #ef4444; font-weight: 700; }
.pending-amount { color: #f59e0b; font-weight: 700; }
.failed-amount  { color: #94a3b8; font-weight: 700; text-decoration: line-through; }
.record-amount-value { color: #16a34a; font-weight: 700; }

/* Reviews Ticker Wrapper - fills remaining viewport height */
.reviews-ticker-wrapper {
  width: 100%;
  height: calc(100vh - 250px); /* adjust based on your header/image height */
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff; /* blue background */
  padding: 10px;
  box-sizing: border-box;
}

/* Ticker container */
.reviews-ticker {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: scrollReviews 300s linear infinite; /* very slow scroll */
}

/* Each review item */
.review-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #ffffff; /* white card background */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 80px; /* make each review taller */
}

/* User logo / icon */
.review-item .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* keeps image from shrinking */
}

/* Review text */
.review-item .review-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #79a2e5; /* blue text */
}

/* Smooth scroll animation */
@keyframes scrollReviews {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}



/* Full-width black box around dashboard image */
.dashboard-image-box-full {
    width: 100%;                 /* full width of parent container */
    background-color: #000000;   /* black box (you can change to green) */
    padding: 15px;               /* space inside box for image */
    border-radius: 16px;         /* rounded corners */
    box-sizing: border-box;
    text-align: center;          /* center image */
    margin: 20px 0;              /* vertical spacing only, no horizontal shift */
    overflow: hidden;            /* prevent any overflow */
}

/* Dashboard image inside the box */
.dashboard-image {
    max-width: 100%;             /* fit inside green box */
    height: auto;
    border-radius: 12px;         /* slightly rounded corners */
    display: inline-block;       /* center properly */
}




/* ===== PAYMENT TYPE ===== */
.payment-type {
  margin: 15px 0;
  text-align: left;
  width: 100%;
  position: relative;
  font-family: sans-serif;
}

.payment-type label {
  display: block;
  margin-bottom: 6px;
  color: #f4b400; /* green label */
  font-weight: 600;
  font-size: 14px;
}

/* The clickable box */
.payment-box {
  width: 100%;
  background: #ffffff;          /* white box */
  color: #000000;               /* green text */
  border: 1px solid #c0c0c0;   /* silver edge */
  border-radius: 12px;
  padding: 12px 15px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.payment-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-box .arrow {
  font-size: 14px;
}



/* Options list hidden by default */
.payment-options {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 48px; /* below the box */
  width: 100%;
  background: #ffffff;
  border: 1px solid #c0c0c0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none; /* hidden initially */
  z-index: 100;
}

.payment-options li {
  padding: 10px 15px;
  cursor: pointer;
  color: #000000;
  font-weight: 500;
  transition: background 0.2s;
}

.payment-options li:hover {
  background: rgba(15,157,88,0.1); /* light green hover */
}


/* Selected Amount Display */
.selected-amount {
  font-weight: bold;
  color: #000000;   /* black */
  font-size: 20px;
  margin-top: 8px;
  text-align: center;
}



#paymentCountdown {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ff0707; /* green */
}


#paymentStatusMessage {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  display: none;
}


.status-pending {
  background: #f0fff6;
  color: #d29922;
}

.status-approved {
  background: #e6fff1;
  color: #1faa59;
}

.status-declined {
  background: #ffecec;
  color: #d62828;
}

.status-timeout {
  background: #fff6e5;
  color: #c77700;
}




/* ================= FLOATING TELEGRAM (PROFILE PAGE) ================= */
.profile-page .telegram-float-profile {
  position: fixed;
  bottom: 90px;              /* above bottom nav */
  right: 16px;               /* move to right */
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: #0088cc;       /* Telegram blue */
  color: #ffffff;            /* white icon/text */

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,136,204,0.35);  /* subtle blue shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover / tap */
.profile-page .telegram-float-profile:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0,136,204,0.45); /* stronger blue shadow */
}

/* Mobile safe */
@media (max-width: 480px) {
  .profile-page .telegram-float-profile {
    bottom: 100px;
    right: 12px;            /* adjust right for mobile */
  }
}



#toast-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#toast-overlay.toast-show {
  opacity: 1;
}

/* Small wide rectangle — not a tall square, matching the reference */
.toast-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;

  padding: 12px 20px;
  border-radius: 10px;

  font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;

  max-width: 260px;
  width: max-content;
  box-sizing: border-box;

  transform: scale(0.94);
  transition: transform 0.25s ease;
}

#toast-overlay.toast-show .toast-inner {
  transform: scale(1);
}

/* Small inline icon, not a big centered graphic */
.toast-type-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.toast-success .toast-type-icon { color: #16a34a; }
.toast-error   .toast-type-icon { color: #dc2626; }
.toast-warning .toast-type-icon { color: #f0b100; }
.toast-info    .toast-type-icon { color: #ffffff; }

.toast-msg {
  color: #ffffff;
}

@media (max-width: 480px) {
  .toast-inner {
    max-width: 82vw;
    padding: 11px 18px;
    font-size: 12.5px;
  }
}

.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}


.payment-confirm-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 24px;
}

.pc-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.pc-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #f2e9c9;
  border-top-color: #f0b100;
  animation: pc-spin 0.9s linear infinite;
  margin-bottom: 20px;
}

@keyframes pc-spin {
  to { transform: rotate(360deg); }
}

.pc-icon-success, .pc-icon-fail {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 20px;
}

.pc-icon-success { background: #16a34a; }
.pc-icon-fail { background: #dc2626; }

.pc-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.pc-sub {
  font-size: 13.5px;
  color: #8a8a8a;
  margin: 0 0 24px;
  line-height: 1.5;
}

.pc-btn {
  background: #f0b100;
  color: #1a1a1a;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}


.record-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.status-approved {
  background: #dcfce7;
  color: #16a34a;
}
.status-pending {
  background: #fef9c3;
  color: #ca8a04;
}
.status-failed {
  background: #fee2e2;
  color: #dc2626;
}



:root {
  --tc-ink: #1A1A1A;
  --tc-muted: #6B6B6B;
  --tc-bg: #F7F8FA;
  --tc-white: #FFFFFF;
  --tc-line: #DCE6F5;
  --tc-green: #3AA13B;
  --tc-orange: #F07B1C;
  --tc-red: #E22B2B;
  --tc-blue: #2F6FED;
  --tc-yellow: #F2B705;
}

.tc-page,
.tc-page * {
  box-sizing: border-box;
}

.tc-page {
  width: 100%;
  min-height: 100vh;
  background: var(--tc-bg);
  font-family: 'Inter', sans-serif;
  color: var(--tc-ink);
  padding: 18px 18px 90px;
}

/* ── TOP ROW ── */
.tc-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.tc-recharge-btn {
  background: var(--tc-ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.tc-recharge-btn:active { opacity: 0.85; }

.tc-balance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tc-ink);
}

.tc-balance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.6px solid var(--tc-ink);
  font-size: 10.5px;
  font-weight: 800;
}

/* ── BACK BUTTON ── */
.tc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--tc-muted);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 10px 0 0;
}

/* ── TITLE ── */
.tc-title-block {
  text-align: center;
  padding: 14px 0 18px;
}

.tc-title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--tc-ink);
}

.tc-subtitle {
  margin: 0;
  font-size: 13.5px;
  color: var(--tc-muted);
}

.tc-subtitle strong { color: var(--tc-ink); }

/* ── ACTIVATION BANNER ── */
.tc-activate-banner {
  background: var(--tc-white);
  border: 1.5px dashed var(--tc-blue);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}

.tc-activate-banner p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--tc-muted);
  line-height: 1.5;
}

.tc-activate-btn {
  background: var(--tc-blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.tc-activate-btn:active { opacity: 0.88; }

.tc-activate-banner.tc-hidden { display: none; }

/* ── DIVIDER ── */
.tc-divider {
  border: none;
  border-top: 1.5px solid var(--tc-blue);
  opacity: 0.5;
  margin: 18px 0;
}

/* ── GAME ROW — text left, graphic right ── */
.tc-game-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.tc-game-row.tc-locked {
  opacity: 0.45;
  pointer-events: none;
}

.tc-game-text h2 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
}

.tc-game-text p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--tc-muted);
}

.tc-play-btn {
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  min-width: 150px;
}
.tc-play-btn:active { transform: scale(0.97); }
.tc-play-btn:disabled {
  background: #C9CDD3 !important;
  cursor: not-allowed;
  transform: none;
}

.tc-btn-green  { background: var(--tc-green); }
.tc-btn-orange { background: var(--tc-orange); }
.tc-btn-red    { background: var(--tc-red); }

/* Countdown label shown on a disabled button */
.tc-play-btn .tc-cooldown-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 2px;
}

.tc-game-visual {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═════════════════ SPIN WHEEL ═════════════════ */
.tc-wheel-wrap {
  position: relative;
  width: 150px;
  height: 150px;
}

.tc-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid var(--tc-ink);
  position: relative;
  background: conic-gradient(
    var(--tc-blue) 0deg 90deg,
    var(--tc-yellow) 90deg 180deg,
    var(--tc-green) 180deg 270deg,
    var(--tc-green) 270deg 360deg
  );
  transition: transform 3.2s cubic-bezier(0.17, 0.67, 0.2, 1);
}

.tc-wheel-num {
  position: absolute;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.tc-wn-1 { top: 20%; left: 50%; transform: translateX(-50%); }
.tc-wn-2 { top: 50%; right: 12%; transform: translateY(-50%); }
.tc-wn-3 { bottom: 16%; left: 50%; transform: translateX(-50%); }
.tc-wn-4 { top: 50%; left: 12%; transform: translateY(-50%); }

.tc-wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 14px solid var(--tc-ink);
  z-index: 3;
}

.tc-wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--tc-ink);
  z-index: 2;
}

/* ═════════════════ DICE ═════════════════ */
.tc-dice-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-die {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.tc-die-black { background: #1A1A1A; }
.tc-die-white { background: #FFFFFF; border: 1.5px solid #E0E0E0; }

.tc-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  align-self: center;
  justify-self: center;
  opacity: 0;
}
.tc-die-black .tc-pip { background: #fff; }
.tc-die-white .tc-pip { background: #1A1A1A; }

/* Grid positions for pip layouts 1-6, toggled via face-N class */
.p1 { grid-area: 1 / 1; } .p2 { grid-area: 1 / 3; }
.p3 { grid-area: 2 / 1; } .p4 { grid-area: 2 / 3; }
.p5 { grid-area: 3 / 1; } .p6 { grid-area: 3 / 3; }
.tc-die .pc { grid-area: 2 / 2; }

.tc-die.face-1 .p1 { grid-area: 2 / 2; opacity: 1; }
.tc-die.face-2 .p1, .tc-die.face-2 .p5 { opacity: 1; }
.tc-die.face-3 .p1, .tc-die.face-3 .p5 { opacity: 1; }
.tc-die.face-3 .p3 { grid-area: 2/2; opacity: 1; }
.tc-die.face-4 .p1, .tc-die.face-4 .p2, .tc-die.face-4 .p5, .tc-die.face-4 .p6 { opacity: 1; }
.tc-die.face-5 .p1, .tc-die.face-5 .p2, .tc-die.face-5 .p5, .tc-die.face-5 .p6 { opacity: 1; }
.tc-die.face-5 .p3 { grid-area: 2/2; opacity: 1; }
.tc-die.face-6 .p1, .tc-die.face-6 .p2, .tc-die.face-6 .p3,
.tc-die.face-6 .p4, .tc-die.face-6 .p5, .tc-die.face-6 .p6 { opacity: 1; }

.tc-die.tc-rolling {
  animation: tc-dice-roll 0.15s linear infinite;
}

@keyframes tc-dice-roll {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(12deg) scale(0.94); }
  100% { transform: rotate(-10deg) scale(1); }
}

/* ═════════════════ SAFE BOX ═════════════════ */
.tc-safe {
  position: relative;
  width: 110px;
  height: 100px;
  background: linear-gradient(160deg, #3A3F47, #1E2125);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-safe-dial {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2A2E34;
  border: 2px solid #55595F;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.tc-safe-dial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CD137;
  box-shadow: 0 0 6px #4CD137;
}

.tc-safe-keypad {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-gap: 4px;
}
.tc-safe-keypad span {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #55595F;
}

.tc-safe-handle {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 34px;
  border-radius: 3px;
  background: #55595F;
}

.tc-safe.tc-shaking {
  animation: tc-safe-shake 0.4s ease-in-out infinite;
}

@keyframes tc-safe-shake {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25%      { transform: translateX(-3px) rotate(-2deg); }
  75%      { transform: translateX(3px) rotate(2deg); }
}

.tc-safe.tc-opened .tc-safe-dial-dot {
  background: #FFD400;
  box-shadow: 0 0 10px #FFD400;
}

/* ═════════════════ REWARD OVERLAY ═════════════════ */
.tc-reward-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(17, 17, 17, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tc-reward-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px 24px;
  text-align: center;
  width: 100%;
  max-width: 280px;
  animation: tc-reward-pop 0.25s ease-out;
}

@keyframes tc-reward-pop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.tc-reward-icon { font-size: 40px; margin-bottom: 6px; }

.tc-reward-label {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--tc-muted);
  font-weight: 600;
}

.tc-reward-amount {
  font-size: 30px;
  font-weight: 800;
  color: var(--tc-green);
  margin-bottom: 18px;
}

.tc-reward-claim-btn {
  width: 100%;
  background: var(--tc-ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.tc-reward-claim-btn:active { opacity: 0.85; }

@media (max-width: 380px) {
  .tc-title { font-size: 25px; }
  .tc-game-visual { width: 120px; height: 120px; }
  .tc-wheel-wrap { width: 120px; height: 120px; }
  .tc-safe { width: 92px; height: 84px; }
}





/* =========================================================================
   DESKTOP / TABLET RESPONSIVE LAYER
   -------------------------------------------------------------------------
   Nothing above this point was changed — every existing mobile rule and
   breakpoint in this file still applies exactly as before, at every width.
   Everything below only ACTIVATES at 768px and up, and only does 3 things:

     1. Fills the browser background behind the app on wide screens, so it
        no longer looks like a thin phone-width strip floating in blank
        white space.
     2. Widens the full-screen pages (dashboard, recharge, withdraw, bank,
        profile, tasks, etc.) and their inner content containers a
        moderate, readable amount — not edge-to-edge, since unbounded
        line-length at 1920px would be unreadable, but enough to visibly
        use the extra space and look intentional.
     3. Nudges base type size up slightly for comfortable reading at
        desktop viewing distance.
   ========================================================================= */

/* ---- 1. Desktop background behind the centered app ---- */
@media (min-width: 768px) {
  html, body {
    min-height: 100vh;
    background: linear-gradient(160deg, #f4f7fd 0%, #e9eefb 100%);
  }
}

/* ---- 2a. Full-screen page wrappers: framed + centered, tablet ---- */
@media (min-width: 768px) {
  .dashboard,
  #giftCodePage,
  #profilePage,
  .bank-page,
  #rechargePage,
  .recharge-page,
  .payment-confirm-page,
  .product-page,
  #earningsPage,
  .withdraw-page,
  .investment-page,
  .password-page,
  .tsk-wrapper,
  #tasksPage {
    max-width: 560px;
    margin: 0 auto;
    box-shadow:
      0 30px 80px rgba(3, 87, 238, 0.10),
      0 0 0 1px rgba(3, 87, 238, 0.05);
  }
}

/* ---- 2b. Same wrappers, wider again at true desktop sizes ---- */
@media (min-width: 1024px) {
  .dashboard,
  #giftCodePage,
  #profilePage,
  .bank-page,
  #rechargePage,
  .recharge-page,
  .payment-confirm-page,
  .product-page,
  #earningsPage,
  .withdraw-page,
  .investment-page,
  .password-page,
  .tsk-wrapper,
  #tasksPage {
    max-width: 640px;
  }
}

/* ---- 2c. Inner content containers: more breathing room on desktop ---- */
@media (min-width: 1024px) {
  .auth-page-inner,
  .header-top-row,
  #profilePage .profile-scroll-container,
  .bankdisp-container,
  #rechargePage .recharge-page-container,
  .records-content-container,
  .wd-container,
  .team-page-container,
  .ticker-search-bar {
    max-width: 560px;
  }

  .referral-promo-card,
  .premium-card,
  .referral-container,
  .card-wrapper {
    max-width: 640px;
  }

  .pw-container,
  .modal-card {
    max-width: 480px;
  }
}

/* ---- 2d. Popups/modals/alerts: stay compact, don't stretch ---- */
@media (min-width: 1024px) {
  .mx-unique-modal,
  .ft-alert-card {
    max-width: 400px;
  }
}

/* ---- 2e. Bottom nav follows the same widened frame ---- */
@media (min-width: 768px) {
  .bottom-nav {
    max-width: 560px;
  }
}

@media (min-width: 1024px) {
  .bottom-nav {
    max-width: 640px;
  }
}

/* ---- 3. Slightly larger base type for desktop reading distance ---- */
@media (min-width: 1024px) {
  body {
    font-size: 15.5px;
  }
}


.wd-account-item {
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.wd-account-check {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s, transform 0.15s;
}

.wd-account-item.selected {
  border-color: #0057FF;
  background: #E5F0FF;
}

.wd-account-item.selected .wd-account-check {
  opacity: 1;
  transform: scale(1);
  color: #0057FF;
}

.wd-account-item.channel-disabled {
  opacity: 0.5;
  pointer-events: none;
}



/* ── FILL SCREEN: dashboard stretches down to the bottom nav ── */
:root {
  --nav-h: calc(58px + env(safe-area-inset-bottom, 0px));
}

/* JS shows the dashboard with an inline display value, which kills flex growth.
   This forces it back to a flex column whenever it's visible. */
.dashboard[style*="block"],
.dashboard[style*="flex"] {
  display: flex !important;
  flex-direction: column !important;
}

.dashboard {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  height: auto;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Stat cards absorb the spare height */
.mx-stats-row {
  flex: 1 1 auto;
  min-height: 180px;
}

.mx-stat-card {
  height: auto !important;
  min-height: 180px;
}

.mx-stat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 380px) {
  .mx-stat-card { min-height: 160px; }
}


/* ---------- spinner (navy + gold) ---------- */
.simple-loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(0, 51, 141, .15);   /* faint navy track */
  border-top-color: #D4AF37;                 /* gold spinning part */
  animation: simpleSpin .8s linear infinite;
}
@keyframes simpleSpin { to { transform: rotate(360deg); } }

/* ---------- confetti burst ---------- */
.loader-confetti {
  position: relative;
  display: grid;
  place-items: center;
}
.cb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cb i {
  position: absolute;
  left: -4px;
  top: -6px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  background: var(--c);
  opacity: 0;
  animation: cbFly 1.2s cubic-bezier(.15, .7, .3, 1) forwards;
}
@keyframes cbFly {
  0%   { transform: translate(0, 0) rotate(0) scale(.5); opacity: 1; }
  60%  { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); opacity: 1; }
  100% { transform: translate(calc(var(--x) * 1.15), calc(var(--y) + 46px)) rotate(calc(var(--r) * 1.6)) scale(.9); opacity: 0; }
}

/* colours: navy #00338D, gold #D4AF37, light gold #E9CF72, soft blue #7C9AD1 */
.cb i:nth-child(1)  { --x: 0px;   --y: -90px;  --r: 200deg;  --c: #D4AF37; }
.cb i:nth-child(2)  { --x: 50px;  --y: -78px;  --r: -150deg; --c: #00338D; }
.cb i:nth-child(3)  { --x: 84px;  --y: -40px;  --r: 260deg;  --c: #E9CF72; }
.cb i:nth-child(4)  { --x: 96px;  --y: 8px;    --r: -90deg;  --c: #7C9AD1; }
.cb i:nth-child(5)  { --x: 78px;  --y: 56px;   --r: 180deg;  --c: #D4AF37; }
.cb i:nth-child(6)  { --x: 40px;  --y: 86px;   --r: -240deg; --c: #00338D; }
.cb i:nth-child(7)  { --x: 0px;   --y: 98px;   --r: 120deg;  --c: #E9CF72; }
.cb i:nth-child(8)  { --x: -42px; --y: 84px;   --r: -180deg; --c: #7C9AD1; }
.cb i:nth-child(9)  { --x: -80px; --y: 52px;   --r: 300deg;  --c: #D4AF37; }
.cb i:nth-child(10) { --x: -98px; --y: 6px;    --r: -120deg; --c: #00338D; }
.cb i:nth-child(11) { --x: -84px; --y: -38px;  --r: 210deg;  --c: #E9CF72; }
.cb i:nth-child(12) { --x: -48px; --y: -76px;  --r: -270deg; --c: #7C9AD1; }
.cb i:nth-child(13) { --x: 22px;  --y: -110px; --r: 160deg;  --c: #D4AF37; }
.cb i:nth-child(14) { --x: -24px; --y: -108px; --r: -200deg; --c: #00338D; }

@media (prefers-reduced-motion: reduce) { .cb { display: none; } }






/* PEAK 3D layer. Load AFTER style.css; style.css itself is not modified.
   Palette stays the same: navy 0,51,141 / gold #D4AF37. Depth is subtle on purpose. */

:root { --d3-ink: 0, 51, 141; }

/* 1. RAISED SURFACES: cards sit on the page with a lit top edge and a layered drop */
.hm-card, .hm-qcard, .hm-about, .hm-ticker,
.tsk-stat-box, .iv-tier, .iv-link-card, .iv-stat, .iv-mini,
.bk-card, .ab-card, .pw-card, .pw-tips-card,
.rech-instr-card, .rech-rules-box, .records-info-card, .mp-note,
.slim-card, .scr .tile, #dynamicProductList > * {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    0 1px 0 rgba(var(--d3-ink), .07),
    0 3px 0 rgba(var(--d3-ink), .05),
    0 10px 16px -10px rgba(var(--d3-ink), .28),
    0 24px 34px -22px rgba(var(--d3-ink), .30) !important;
}

/* 2. ICON CHIPS: beveled like enamel tiles */
.hm-card-ico, .hm-qico, .mp-stat-ico, .ac-ico, .iv-head-ico, .iv-mini-ico,
.bk-head-ico, .tsk-hero-icon, .mp-header-ico, .records-info-ico, .wm-icon,
.mcp-method-icon, .check-icon, .pw-lock-icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -2px 0 rgba(0, 0, 0, .12),
    0 3px 6px -2px rgba(var(--d3-ink), .32) !important;
}

/* 3. PRIMARY BUTTONS: keycaps. The dark band is inset, so it tints whatever color the button is. */
.cta, .hm-btn-gold, .wm-btn-gold, .dc-gold, .ac-act-gold, .purchase-btn,
.pw-submit-btn, .mcp-submit-btn, .bk-save, .deposit-btn, .gift-receive-btn,
.dc-checkin-btn, .mcp-complete-pill, .ft-alert-btn-ok, .rech-how-ok,
#withdrawSubmitBtn, #finalDepositBtn, #bankFormSubmitBtn {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -4px 0 rgba(0, 0, 0, .17),
    0 2px 0 rgba(var(--d3-ink), .10),
    0 10px 16px -8px rgba(var(--d3-ink), .38) !important;
  transition: transform .1s ease, box-shadow .12s ease, background-color .15s ease !important;
}
.cta:active, .hm-btn-gold:active, .wm-btn-gold:active, .dc-gold:active, .ac-act-gold:active,
.purchase-btn:active, .pw-submit-btn:active, .mcp-submit-btn:active, .bk-save:active,
.deposit-btn:active, .gift-receive-btn:active, .dc-checkin-btn:active, .mcp-complete-pill:active,
.ft-alert-btn-ok:active, .rech-how-ok:active, #withdrawSubmitBtn:active,
#finalDepositBtn:active, #bankFormSubmitBtn:active {
  transform: translateY(3px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    inset 0 -1px 0 rgba(0, 0, 0, .17),
    0 3px 6px -4px rgba(var(--d3-ink), .38) !important;
}

/* 4. SECONDARY BUTTONS AND ROUND CHIPS: light raise, same press behavior */
.hm-btn-ghost, .wm-btn-plain, .dc-ghost, .ac-round-ghost, .tsk-ghost,
.ft-alert-btn-cancel, .mcp-form-cancel, .rech-pending-link,
.mp-back, .records-back-btn, .tsk-back-btn, .dc-back-btn, .ab-back-btn, .gift-back-btn,
.pw-back-btn, .rx-back, .wx-back, .iv-back, .bk-back, .back-btn-white, .home,
.hm-arrow-btn, .hm-bell {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 3px 0 rgba(0, 0, 0, .14),
    0 8px 12px -8px rgba(var(--d3-ink), .35) !important;
  transition: transform .1s ease, box-shadow .12s ease !important;
}
.hm-btn-ghost:active, .wm-btn-plain:active, .dc-ghost:active, .ac-round-ghost:active,
.tsk-ghost:active, .ft-alert-btn-cancel:active, .mcp-form-cancel:active,
.mp-back:active, .records-back-btn:active, .tsk-back-btn:active, .dc-back-btn:active,
.ab-back-btn:active, .gift-back-btn:active, .pw-back-btn:active, .rx-back:active,
.wx-back:active, .iv-back:active, .bk-back:active, .back-btn-white:active, .home:active,
.hm-arrow-btn:active {
  transform: translateY(2px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 0 rgba(0, 0, 0, .14) !important;
}

/* 5. INPUTS: sunk into the surface */
.fld, .gift-input-wrapper, .mcp-input-wrap, .mcp-form-input {
  box-shadow:
    inset 0 2px 5px rgba(var(--d3-ink), .10),
    inset 0 -1px 0 rgba(255, 255, 255, .9),
    0 1px 0 rgba(255, 255, 255, .9) !important;
}
.fld:focus-within, .gift-input-wrapper:focus-within, .mcp-input-wrap:focus-within {
  box-shadow:
    inset 0 2px 5px rgba(var(--d3-ink), .10),
    0 0 0 3px rgba(212, 175, 55, .30) !important;
}

/* 6. SEGMENTED TABS: sunken track, raised active tab */
.scr .seg, .records-tab-bar, .team-level-switcher {
  box-shadow: inset 0 2px 5px rgba(var(--d3-ink), .12), 0 1px 0 rgba(255, 255, 255, .9) !important;
}
.seg-btn.is-on, .records-tab-btn.active, .team-tab-btn.active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 1px 0 rgba(var(--d3-ink), .10),
    0 5px 8px -4px rgba(var(--d3-ink), .28) !important;
}

/* 7. BOTTOM NAV: floating slab */
.nav-pill-container {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -1px 0 rgba(var(--d3-ink), .06),
    0 3px 0 rgba(var(--d3-ink), .08),
    0 18px 28px -10px rgba(var(--d3-ink), .34) !important;
}
.nav-item:active .nav-icon-wrapper { transform: translateY(2px) scale(.95); }

/* 8. HERO: extruded PEAK wordmark */
#dashboard .hm-hero-name {
  text-shadow:
    0 1px 0 #D4AF37, 0 2px 0 #BF9B2C, 0 3px 0 #A8861A, 0 4px 0 #8F7316,
    0 10px 14px rgba(0, 0, 0, .35) !important;
}
#dashboard .hm-hero-brand, #dashboard .hm-hero-dots { z-index: 2; }

/* 9. WEBGL CANVAS (scene3d.js moves it into the hero or login screen) */
#d3Canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none; z-index: 1;
}
.scr > #d3Canvas {            /* login and signup: soft backdrop behind the form */
  position: fixed; inset: 0 0 auto 0; height: 42vh; z-index: -1; opacity: .4;
}

/* 10. DEPTH ON ENTRY: modals rise from below, screens settle in from slightly behind */
@keyframes d3-rise {
  from { opacity: 0; transform: perspective(900px) translateY(28px) rotateX(14deg) scale(.96); }
  to   { opacity: 1; transform: perspective(900px) translateY(0) rotateX(0) scale(1); }
}
@keyframes d3-settle {
  from { opacity: 0; transform: perspective(1200px) translateZ(-40px) rotateX(2deg); }
  to   { opacity: 1; transform: none; }
}
.modal-card, .ft-alert-card, .wm-card, .mcp-form-card, .rech-how-modal {
  transform-origin: 50% 100%;
  animation: d3-rise .45s cubic-bezier(.2, .8, .2, 1) both;
}
.tsk-wrapper, .mp-wrap, .records-content-container, .dc-wrap, .iv-wrap, .rx-wrap,
.wx-wrap, .ac-wrap, .ab-container, .team-page-container, .pw-container, .gift-content {
  transform-origin: 50% 0;
  animation: d3-settle .4s cubic-bezier(.2, .8, .2, 1) both;
}

/* 11. POINTER TILT (class is added by scene3d.js to cards on hover or touch) */
.d3-tilt {
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .2s;
  will-change: transform;
}
.d3-tilt.d3-live { transition: transform .06s linear, box-shadow .2s; }

@media (prefers-reduced-motion: reduce) {
  .modal-card, .ft-alert-card, .wm-card, .mcp-form-card, .rech-how-modal,
  .tsk-wrapper, .mp-wrap, .records-content-container, .dc-wrap, .iv-wrap, .rx-wrap,
  .wx-wrap, .ac-wrap, .ab-container, .team-page-container, .pw-container, .gift-content { animation: none; }
  .d3-tilt { transform: none; }
}


#nl-badge-frame {
display: none !important;
}