
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --auth-purple: #7B68F0;
  --auth-purple-dark: #5B3FE0;
  --auth-purple-deep: #4A2FC0;
  --auth-glass-bg: rgba(255, 255, 255, 0.08);
  --auth-glass-border: rgba(255, 255, 255, 0.18);
  --auth-text-muted: rgba(255, 255, 255, 0.75);
  --auth-text-placeholder: rgba(255, 255, 255, 0.45);
}

.honda-auth-container {
  display: none;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(160deg, #6C5CE7 0%, #5B3FE0 45%, #4A2FC0 100%);
  overflow-y: auto;
  z-index: 9999;
}

.honda-auth-container.active {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Ambient glow fixed cleanly behind everything */
.honda-auth-container::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(190, 170, 255, 0.2) 50%, rgba(190, 170, 255, 0) 70%);
  filter: blur(10px);
  mix-blend-mode: screen;
  animation: authGlowPulse 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes authGlowPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
  50%      { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}


.auth-page-inner {
  position: relative;
  z-index: 2;
  padding: 34px 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: 430px;
  margin: 0;
  background: var(--auth-glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid var(--auth-glass-border);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(20, 10, 60, 0.35);
}



/* ===== ICON BADGE ===== */
.auth-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--auth-purple), var(--auth-purple-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(74, 47, 192, 0.5);
}

.auth-icon-badge i {
  font-size: 26px;
  color: #ffffff;
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.auth-welcome-sub {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--auth-text-muted);
  text-align: center;
  margin: 0 0 26px 0;
}

/* ===== INPUTS ===== */
.fieldmark-input-group {
  margin-bottom: 14px;
}

.fieldmark-input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--auth-text-muted);
  margin-bottom: 6px;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid var(--auth-glass-border);
  border-radius: 14px;
  padding: 14px 18px;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
}

.fieldmark-field-box input::placeholder {
  color: var(--auth-text-placeholder);
}

.field-icon {
  color: var(--auth-text-placeholder);
  font-size: 13px;
  flex-shrink: 0;
}

.eye-icon {
  cursor: pointer;
  color: var(--auth-text-placeholder);
  font-size: 15px;
  flex-shrink: 0;
}

.eye-icon:hover {
  color: #ffffff;
}

/* ===== BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--auth-purple), var(--auth-purple-deep));
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 8px 20px rgba(74, 47, 192, 0.4);
  transition: transform 0.1s;
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

.fieldmark-btn-submit i {
  font-size: 14px;
}

/* ===== DIVIDER ===== */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-glass-border);
}

.auth-divider span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--auth-text-muted);
  white-space: nowrap;
}

/* ===== SECONDARY BUTTON ===== */
.fieldmark-btn-secondary {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--auth-glass-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 14.5px;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.fieldmark-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ===== SWITCH LINK ===== */
.fieldmark-switch-action {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--auth-text-muted);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 28px 20px; margin: 40px auto; }
  .auth-welcome-title { font-size: 24px; }
  .fieldmark-field-box { padding: 12px 16px; }
}

.dashboard {
  width: 100%;
  max-width: 430px; /* 🔧 unified with the header/inner containers below,
                        instead of 800px — that mismatch was part of
                        what made things feel inconsistently compressed */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0 auto;
  padding: 90px 0 24px 0; /* 🔧 no side padding here anymore — each
                              section below controls its own edge margin
                              directly, so nothing is double-padded */
  box-sizing: border-box;
  background: #f8f9fa;
  background-attachment: fixed;
  color: #192231;
}


.dashboard-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  max-width: 430px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.header-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #14151A;
  font-family: 'Inter', sans-serif;
}

/* ── ACTION GRID ── */
.main-container {
  width: 100%;
  box-sizing: border-box;
}

.mx-menu-wrapper {
  width: calc(100% - 24px);
  margin: 0 12px 14px 12px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f5f5f5;
  box-sizing: border-box;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.15s;
}

.action-card:active { transform: scale(0.93); }

.mx-circle-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: background 0.2s;
}

.badge-recharge { background: #EAF1FF; color: #3B82F6; }
.badge-withdraw { background: #EAF1FF; color: #3B82F6; }
.badge-gift     { background: #FFF3E0; color: #F59E0B; }
.badge-team     { background: #E8FBF0; color: #16A34A; }

.action-icon { font-size: 17px; }

.action-text {
  font-size: 11.5px;
  font-weight: 500;
  color: #4b4b4b;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.gle-slim-card {
  border-radius: 18px;
  width: calc(100% - 24px);
  margin: 0px 12px 16px 12px;
  box-sizing: border-box;
  overflow: hidden;
  display: block;
}

.gle-slim-card img {
  width: 100%;
  height: auto;
  display: block;
}



#giftCodePage {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f6f6fa;
  box-sizing: border-box;
  display: block;
}

.gift-page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18px 16px;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
}

.gift-back-btn {
  position: absolute;
  left: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.gift-page-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #14151A;
  font-family: 'Inter', sans-serif;
}

.gift-content {
  padding: 20px 16px;
  width: 100%;
  box-sizing: border-box;
}

/* ── GRADIENT BANNER ── */
.gift-banner {
  background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  border-radius: 20px;
  padding: 36px 20px;
  text-align: center;
  margin-bottom: 26px;
  box-shadow: 0 10px 26px rgba(79,70,229,0.28);
}

.gift-banner-icon {
  font-size: 34px;
  color: #ffffff;
  margin-bottom: 14px;
  display: block;
}

.gift-banner-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

.gift-label {
  display: block;
  font-size: 14px;
  color: #14151A;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.gift-input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

#giftCodeInput {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1.5px solid #e6e9ef;
  background: #ffffff;
  color: #14151A;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  outline: none;
  box-sizing: border-box;
}

#giftCodeInput::placeholder {
  color: #a3adbd;
  text-transform: uppercase;
}

#giftCodeInput:focus {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.14);
}

.gift-receive-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: #4F46E5;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
}

.gift-receive-btn:hover {
  filter: brightness(1.08);
}

.gift-receive-btn:active {
  transform: scale(0.98);
}

.gift-receive-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.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 */
}


.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #eef1f6;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  z-index: 9999;
}

.nav-pill-container {
  height: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.nav-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
  gap: 4px;
  transition: transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-item svg {
  color: #9ca3af;
  transition: color 0.2s;
}

.nav-item .nav-label-text {
  font-size: 11px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: #9ca3af;
  transition: color 0.2s;
}

/* ── ACTIVE STATE ── */
.nav-item.active svg {
  color: #4F46E5;
}

.nav-item.active .nav-label-text {
  color: #4F46E5;
  font-weight: 700;
}

.nav-item:active {
  transform: scale(0.92);
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}


/* 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%); }
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-purple: #7B68F0;
  --brand-purple-dark: #5B3FE0;
  --brand-purple-deep: #4A2FC0;
  --brand-purple-soft: #F0EEFE;
  --bg-main: #f6f7f9;
  --text-dark: #1e2233;
  --text-muted: #8a90a3;
  --border-soft: #eef1f6;
  --danger: #E5484D;
  --danger-soft: #FDECEC;
}

body {
  background-color: var(--bg-main);
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
}

.profile-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: var(--bg-main);
  max-width: 430px;
  margin: 0 auto;
}

/* ===== HEADER — logo + app name ===== */
.pf-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.pf-header-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.pf-header span {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.profile-scroll-container {
  padding: 54px 0 calc(90px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

/* ===== BALANCE HERO CARD — 3D multi-stop gradient ===== */
.pf-info-card {
  background: linear-gradient(150deg, var(--brand-purple) 0%, var(--brand-purple-dark) 55%, var(--brand-purple-deep) 100%);
  border-radius: 18px;
  margin: 12px 14px 0;
  padding: 16px 16px 0;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(91, 63, 224, 0.3), inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
}

/* Soft diagonal light sheen for a "3D" glossy feel */
.pf-info-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
}

.pf-info-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.pf-info-avatar {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}

.pf-info-label-inline {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.pf-info-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.pf-info-stat-value {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: block;
}

.pf-coin-badge {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
  flex-shrink: 0;
}

/* "Invest to Earn More" strip — flush to card bottom */
.pf-invest-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin: 0 -16px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.pf-invest-strip span {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}

.pf-invest-strip i {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

/* ===== STANDALONE Recharge / Withdraw buttons — separate row,
   NOT attached to the balance card ===== */
.pf-action-row {
  display: flex;
  gap: 10px;
  margin: 14px 14px 0;
}

.pf-info-recharge-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.pf-action-btn {
  flex: 1;
  padding: 13px 0;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}

.pf-action-btn.pf-action-primary {
  background: var(--brand-purple-dark);
  color: #ffffff;
}

.pf-action-btn.pf-action-secondary {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-soft);
}

/* ===== ACCOUNT SERVICES — slim list rows ===== */
.pf-menu-card {
  margin: 0 14px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.pf-section-title {
  padding: 12px 16px 8px;
}

.pf-section-title span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.pf-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-soft);
  cursor: pointer;
  text-decoration: none;
  background: none;
  box-sizing: border-box;
}

.pf-list-item:active {
  background: #fafafa;
}

.pf-list-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-purple-soft);
  color: var(--brand-purple-dark);
  font-size: 14px;
}

.pf-list-icon.pf-icon-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.pf-list-label {
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
}

.pf-logout-item .pf-list-label {
  color: var(--danger);
}

.pf-list-chevron {
  color: #c8cad6;
  font-size: 12px;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bank-purple: #564AE8;
  --bank-purple-dark: #3F35A8;
  --bank-purple-soft: #EEECFD;
  --bank-bg-light: #f6f7f9;
  --bank-card-white: #ffffff;
  --bank-text-main: #14151A;
  --bank-text-muted: #64748b;
  --bank-text-hint: #9aa5b4;
  --bank-border-light: #eef1f6;
}

.bank-page {
  background-color: var(--bank-bg-light);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--bank-text-main);
}

/* ===================== HERO HEADER ===================== */
.bank-hero {
  position: relative;
  background: linear-gradient(135deg, #5A3FE8, #3F35A8);
  padding: 20px 20px 70px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.bank-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.bank-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.bank-back-btn {
  position: absolute;
  top: 20px;
  left: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  z-index: 2;
}

.bank-hero h2 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 4px;
  position: relative;
  z-index: 1;
}

.bank-hero-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  position: relative;
  z-index: 1;
}

.bank-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
}

.bank-hero-icon i {
  font-size: 24px;
  color: #ffffff;
}

/* ===================== FLOATING CHANNEL CARDS ===================== */
.bankdisp-container {
  max-width: 430px;
  margin: -50px auto 0;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.bankdisp-card {
  background: #ffffff;
  border: 1px solid var(--bank-border-light);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 16px 36px rgba(86, 74, 232, 0.10),
              0 4px 12px rgba(20, 21, 26, 0.03);
}

.bankdisp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bankdisp-channel-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bankdisp-channel-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bank-purple-soft);
  color: var(--bank-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.bankdisp-channel-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bank-text-main);
}

.bankdisp-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f2f2f4;
  color: #6b7280;
}

.bankdisp-status-pill.linked {
  background: #e6f6ec;
  color: #16a34a;
}

.bankdisp-empty {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 10px 0;
}

.bankdisp-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #f4f4f5;
}
.bankdisp-row:last-child { border-bottom: none; }

.bankdisp-label { color: var(--bank-text-muted); }
.bankdisp-value { color: var(--bank-text-main); font-weight: 700; }

.bankdisp-hint {
  font-size: 12px;
  color: var(--bank-text-hint);
  text-align: center;
  line-height: 1.5;
  padding: 4px 8px 0;
}

.bank-action-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: var(--bank-purple);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(86, 74, 232, 0.25);
  transition: background 0.2s;
}
.bank-action-btn:hover {
  background: var(--bank-purple-dark);
}

/* ===================== INLINE 3D FORM STYLING ===================== */
.inline-bank-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--bank-border-light);
}

.mybank-modal-form {
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.mybank-modal-form label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  margin-bottom: 4px !important;
  display: block !important;
}

.mybank-modal-form select,
.mybank-modal-form input {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  font-family: 'Inter', sans-serif !important;
  background-color: #ffffff !important;
  color: #14151A !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.2s ease-in-out !important;
}

.mybank-modal-form select:focus,
.mybank-modal-form input:focus {
  border-color: var(--bank-purple) !important;
  box-shadow: 0 0 0 4px var(--bank-purple-soft) !important;
}

.inline-form-actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.ft-swal-confirm,
.ft-swal-cancel {
  flex: 1 !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  border: none !important;
  transition: all 0.15s ease !important;
  text-align: center;
}

.ft-swal-confirm {
  background: linear-gradient(135deg, #5A3FE8 0%, #3F35A8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 0 #2b237c, 0 8px 16px rgba(86, 74, 232, 0.3) !important;
}

.ft-swal-confirm:active {
  box-shadow: 0 1px 0 #2b237c, 0 2px 6px rgba(86, 74, 232, 0.2) !important;
  transform: translateY(3px) !important;
}

.ft-swal-cancel {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  color: #4b5563 !important;
  box-shadow: 0 4px 0 #cbd5e1, 0 8px 12px rgba(0, 0, 0, 0.03) !important;
}

.ft-swal-cancel:active {
  box-shadow: 0 1px 0 #cbd5e1, 0 2px 4px rgba(0, 0, 0, 0.03) !important;
  transform: translateY(3px) !important;
}


/* ================= RECHARGE PAGE ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand-purple: #7B68F0;
  --brand-purple-dark: #5B3FE0;
  --brand-purple-deep: #4A2FC0;
  --brand-purple-soft: #F0EEFE;
  --rech-border: #eceef2;
  --rech-text: #14151A;
  --rech-muted: #8a90a3;
  --rech-white: #ffffff;
  --rech-bg: #f6f7f9;
  --pill-bg: #f3f4f6;
}

.recharge-page {
  font-family: 'Inter', sans-serif;
  background-color: var(--rech-bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: var(--rech-text);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* ── FIXED HEADER ── */
.recharge-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  right: 0;
  height: 52px;
  background: var(--rech-white);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 1px solid var(--rech-border);
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recharge-header-fixed h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0;
}

.recharge-back-btn-v2 {
  background: transparent;
  border: none;
  color: var(--rech-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  width: 28px;
  height: 28px;
}

.recharge-back-btn-v2:active { opacity: 0.5; }

.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 66px 14px calc(90px + env(safe-area-inset-bottom, 0px)) 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── CARDS ── */
.rech-card {
  background: var(--rech-white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03), 0 8px 20px rgba(20, 21, 26, 0.04);
}

.rech-card-title-plain {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0 0 12px 0;
}

/* ── AMOUNT GRID — soft pill cards ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.amount-option {
  background: var(--pill-bg);
  border: 1.5px solid transparent;
  padding: 13px 4px;
  border-radius: 14px;
  text-align: center;
  color: var(--rech-text);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.18s ease;
}

.amount-option:active { transform: scale(0.96); }

.amount-option.active,
.amount-option.selected {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
  border-color: var(--brand-purple-dark);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(91, 63, 224, 0.32);
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  background: var(--rech-white);
  border: 1.5px solid var(--rech-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 48px;
  box-sizing: border-box;
}

.custom-amount-wrapper:focus-within {
  border-color: var(--brand-purple);
}

.custom-amount-currency {
  color: var(--rech-muted);
  font-weight: 700;
  font-size: 14px;
}

#customAmount {
  background: transparent;
  border: none;
  color: var(--rech-text);
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: #a3adbd;
  font-weight: 400;
}

.rech-min-note {
  font-size: 11.5px;
  color: var(--rech-muted);
  margin: 8px 2px 0;
}

/* ── PAYMENT CHANNEL — signature card selector, not a plain grid ── */
.channel-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #fafafa;
  border: 1.5px solid var(--rech-border);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,104,240,0.06), rgba(74,47,192,0.02));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.channel-card.selected {
  background: #ffffff;
  border-color: var(--brand-purple);
  box-shadow: 0 6px 18px rgba(91, 63, 224, 0.16);
}

.channel-card.selected::before { opacity: 1; }

.channel-card-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.channel-card[data-method="channel1"] .channel-card-icon {
  background: linear-gradient(135deg, #7B68F0, #4A2FC0);
}
.channel-card[data-method="channel2"] .channel-card-icon {
  background: linear-gradient(135deg, #2DD4BF, #0E9488);
}
.channel-card[data-method="channel3"] .channel-card-icon {
  background: linear-gradient(135deg, #FDBA74, #EA580C);
}

.channel-card-info {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.channel-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rech-text);
}

.channel-card-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--rech-muted);
}

.channel-card-badge {
  position: relative;
  z-index: 1;
  font-size: 9.5px;
  font-weight: 700;
  color: #EA580C;
  background: #FFF1EC;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.channel-card-radio {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  min-width: 21px;
  border-radius: 50%;
  border: 2px solid #d7dbe3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 10px;
  transition: all 0.2s ease;
}

.channel-card.selected .channel-card-radio {
  border-color: var(--brand-purple);
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
  color: #ffffff;
}

/* ── MANUAL TRANSFER CARD ── */
.manual-subtext {
  font-size: 12.5px;
  color: var(--rech-muted);
  margin: -4px 0 12px 0;
  line-height: 1.4;
}

.bank-details-box {
  background: #fafafa;
  border: 1px dashed #dbe0e8;
  border-radius: 14px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.bank-label { color: var(--rech-muted); font-weight: 500; }
.bank-value { color: var(--rech-text); font-weight: 700; }

.bank-row.highlight-acc {
  background: var(--brand-purple-soft);
  border: 1px solid rgba(91, 63, 224, 0.18);
  padding: 10px 12px;
  border-radius: 12px;
}

.acc-num {
  display: block;
  font-size: 16px;
  color: var(--brand-purple-dark);
  letter-spacing: 0.5px;
}

.copy-acc-btn {
  background: var(--brand-purple);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.copy-acc-btn:active { transform: scale(0.95); }

.proof-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}

.proof-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rech-text);
}

.proof-input {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--rech-border);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
}

.proof-input:focus { border-color: var(--brand-purple); }

.file-upload-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-upload-dropzone:hover { border-color: var(--brand-purple); }

.proof-file-input {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.dropzone-icon { font-size: 22px; color: var(--brand-purple); }

.dropzone-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rech-muted);
}

/* ── CONFIRM BUTTON ── */
.deposit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
  color: #ffffff;
  border: none;
  padding: 15px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease;
  box-shadow: 0 10px 22px rgba(91, 63, 224, 0.32);
}

.deposit-btn:active { transform: scale(0.97); }

.deposit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── INFO BOX ── */
.rech-info-box {
  display: flex;
  gap: 10px;
  background: var(--brand-purple-soft);
  border-radius: 16px;
  padding: 14px 15px;
}

.rech-info-icon {
  font-size: 16px;
  color: var(--brand-purple-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

.rech-info-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-purple-deep);
  margin: 0 0 3px 0;
}

.rech-info-text {
  font-size: 12px;
  font-weight: 500;
  color: #5B4FE8;
  line-height: 1.4;
  margin: 0;
}

/* ── SUPPORT LINE ── */
.rech-support-line {
  text-align: center;
  font-size: 12px;
  color: var(--rech-muted);
  padding: 2px 8px 0;
  line-height: 1.5;
}

.rech-support-link {
  color: var(--brand-purple-dark);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 360px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

:root {
  --brand-indigo: #4F46E5;
  --rewards-bg: #EEF0FC;
  --text-dark: #14151A;
  --text-muted: #5c6a7e;
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999998;
  box-sizing: border-box;
}

/* ── BOTTOM SHEET: slides up, covers ~half the page, sits above the nav bar ── */
.mx-unique-modal {
  background: #ffffff;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  box-sizing: border-box;
  padding: 28px 18px 20px;
  z-index: 999999;
  animation: mx-slide-up 0.3s ease-out;
}

@keyframes mx-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.mx-close-x-btn {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9aa5b4;
  font-weight: 600;
  font-size: 16px;
  padding: 4px;
  line-height: 1;
}

.mx-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  overflow: hidden;
  margin: 0 auto 12px;
  background: #14151A;
}

.mx-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mx-welcome-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: left;
  margin: 0 0 14px;
}

.mx-welcome-text strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ── REFERRAL REWARDS BOX ── */
.mx-rewards-box {
  background: var(--rewards-bg);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.mx-rewards-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #2E2A8C;
  letter-spacing: 0.4px;
  margin: 0 0 9px;
  text-align: left;
}

.mx-rewards-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 9px;
}

.mx-reward-line {
  font-size: 13px;
  font-weight: 600;
  color: #5B4FE0;
  margin: 0;
  text-align: left;
}

.mx-rewards-row {
  padding: 8px 0 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
  font-weight: 700;
  color: #2E2A8C;
  text-align: left;
}

.mx-rewards-row s {
  color: #2E2A8C;
}

/* ── BUTTONS ── */
.mx-action-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 11px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s;
  color: #ffffff;
  background: var(--brand-indigo);
  margin-top: 6px;
}

.mx-btn-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.mx-action-btn:active { transform: scale(0.97); }

#welcomePopup {
  display: none; /* Changed from none to flex for visibility during testing */
}


.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=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand-purple: #7B68F0;
  --brand-purple-dark: #5B3FE0;
  --brand-purple-deep: #4A2FC0;
  --brand-purple-soft: #F0EEFE;
  --bg-page: #f6f7f9;
  --text-dark: #14151A;
  --text-muted: #8a90a3;
  --border-soft: #eef1f6;
}

.invite-page {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  background-color: var(--bg-page);
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 30px;
}

.invite-header-fixed-v2 {
  background: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
  position: relative;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.invite-back-btn-v2 {
  position: absolute;
  left: 16px;
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.iv-main-card {
  background: linear-gradient(150deg, var(--brand-purple) 0%, var(--brand-purple-dark) 55%, var(--brand-purple-deep) 100%) !important;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 12px 26px rgba(91, 63, 224, 0.32), inset 0 1px 0 rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
}


.iv-main-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
}

.iv-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
  text-align: left;
}

.iv-heading i {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

.iv-subheading { display: none; }

.iv-field-group {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.iv-field-group:last-of-type { margin-bottom: 0; }

.iv-field-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 7px;
}

.iv-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 13px;
  padding: 12px 13px;
  background: rgba(255,255,255,0.14);
}

.iv-field-value {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.iv-code-value {
  font-size: 15px;
}

.iv-field-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  color: #ffffff;
  font-weight: 600;
  font-size: 12.5px;
}

/* Small icon-only copy button */
.iv-copy-btn {
  border: none;
  border-radius: 9px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 12px;
}

.iv-copy-btn span { display: none; }

.iv-copy-btn:active { transform: scale(0.92); }

.iv-copy-btn-orange,
.iv-copy-btn-dark {
  background: rgba(255,255,255,0.2);
}

.iv-share-row { display: none; }

/* ===== TEAM CARDS — Direct Referral / Level 2 Team ===== */
.iv-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03), 0 8px 20px rgba(20, 21, 26, 0.04);
}

.iv-perf-card { display: none; } /* replaced by the two split cards below */

.iv-team-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03), 0 8px 20px rgba(20, 21, 26, 0.04);
}

.iv-team-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 13px;
}

.iv-team-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  background: var(--brand-purple-soft);
  color: var(--brand-purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.iv-team-header h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.iv-team-body {
  display: flex;
  gap: 10px;
}

.iv-pct-box {
  flex: 1;
  background: var(--brand-purple-soft);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 8px;
}

.iv-pct-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-purple-dark);
  letter-spacing: -0.5px;
}

.iv-pct-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.iv-view-team-btn {
  flex: 1.4;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(91, 63, 224, 0.28);
  font-family: 'Inter', sans-serif;
}

.iv-view-team-btn:active { transform: scale(0.97); }

.iv-view-team-btn i { font-size: 12px; }



#earningsPage {
  background: #f0f1f5;
  color: #14151A;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

#earningsPage.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

.team-page-container {
  padding: 70px 16px 40px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── HEADER ── */
.team-header-main {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
  z-index: 1000;
  box-sizing: border-box;
}

.team-header-main span {
  font-size: 17px;
  font-weight: 700;
  color: #14151A;
}

.back-btn-white {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #14151A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

/* ── TABS ── */
.team-list-tabs {
  display: flex;
  background: #e4e6eb;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 0;
}

.team-tab-btn {
  flex: 1;
  padding: 12px 8px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.team-tab-btn.active {
  background: #4F46E5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79,70,229,0.25);
}

/* ── COLUMN HEADER ── */
.team-list-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin: 14px 0 8px;
}

.team-list-col-header span {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.5px;
}

/* ── LIST ROWS ── */
.team-list-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eef1f6;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.team-list-number {
  font-size: 14px;
  font-weight: 600;
  color: #14151A;
}

.team-list-amount {
  font-size: 14px;
  font-weight: 700;
  color: #4F46E5;
}

.team-list-empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef1f6;
  padding: 30px 20px;
  margin-top: 8px;
}

.team-list-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eceef2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.team-list-empty-icon i {
  font-size: 20px;
  color: #b0b8c4;
}

.team-list-empty-title {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}

/* ── WITHDRAWAL PAGE ── */
:root {
  --wd-purple: #7B68F0;
  --wd-purple-dark: #5B3FE0;
  --wd-purple-deep: #4A2FC0;
  --wd-purple-soft: #F0EEFE;
}

.withdraw-page {
  background: #f6f7f9;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* ── HEADER ── */
.wd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.wd-back-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #14151A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.wd-history-btn {
  border: none;
  background: transparent;
  color: var(--wd-purple-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  padding: 0;
}

.wd-title {
  font-size: 15px;
  font-weight: 700;
  color: #14151A;
  margin: 0;
  text-align: center;
  flex: 1;
}

/* ── CONTAINER ── */
.wd-container {
  padding: 14px 14px 70px 14px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── SLIM BALANCE CARD — 3D purple gradient ── */
.wd-hero-balance {
  background: linear-gradient(150deg, var(--wd-purple) 0%, var(--wd-purple-dark) 55%, var(--wd-purple-deep) 100%);
  border-radius: 18px;
  padding: 18px 18px;
  box-sizing: border-box;
  box-shadow: 0 10px 22px rgba(91, 63, 224, 0.3), inset 0 1px 0 rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
}

.wd-hero-balance::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
}

.wd-hero-label {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}

.wd-hero-amount {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.wd-hero-sub {
  position: relative;
  z-index: 1;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

/* ── SECTION CARDS ── */
.wd-section-card,
.wd-rules-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 18px rgba(20, 21, 26, 0.04);
}

.wd-section-title-plain,
.wd-rules-title-plain {
  font-size: 13.5px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 12px;
}

/* ── INPUT ── */
.wd-input-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #eef1f6;
  border-radius: 12px;
  padding: 0 14px;
  height: 48px;
  gap: 8px;
  transition: border-color 0.2s;
}

.wd-input-row:focus-within {
  border-color: var(--wd-purple);
}

.wd-currency {
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: #14151A;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #a3adbd;
  font-weight: 400;
  font-size: 13.5px;
}

.wd-min-note {
  font-size: 11.5px;
  color: #8a90a3;
  margin: 8px 2px 12px;
}

/* ── FEE BREAKDOWN BOX ── */
.wd-fee-box {
  background: #f8f8fa;
  border-radius: 12px;
  padding: 4px 14px;
}

.wd-fee-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
}

.wd-fee-line + .wd-fee-line {
  border-top: 1px solid #eceef2;
}

.wd-fee-line-label {
  color: #64748b;
  font-weight: 500;
}

.wd-fee-line-value {
  color: #14151A;
  font-weight: 700;
}

.wd-fee-line-value.wd-receive-value {
  color: var(--wd-purple-dark);
  font-size: 14.5px;
}

/* ── WITHDRAW BUTTON — matches balance card gradient ── */
.wd-submit-btn {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--wd-purple), var(--wd-purple-dark));
  color: #ffffff;
  border: none;
  border-radius: 13px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 10px 22px rgba(91, 63, 224, 0.32);
  transition: transform 0.1s ease;
}

.wd-submit-btn:active {
  transform: scale(0.98);
}

.wd-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── CHANNEL SELECTOR — 3D card style, matching deposit page ── */
.wd-channel-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2px;
}

.wd-channel-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 15px;
  background: #fafafa;
  border: 1.5px solid #eceef2;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.wd-channel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,104,240,0.06), rgba(74,47,192,0.02));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wd-channel-item.selected {
  background: #ffffff;
  border-color: var(--wd-purple);
  box-shadow: 0 6px 16px rgba(91, 63, 224, 0.16);
}

.wd-channel-item.selected::before { opacity: 1; }

.wd-channel-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  background: linear-gradient(135deg, #7B68F0, #4A2FC0);
}

.wd-channel-item[data-channel="nekpay"] .wd-channel-icon {
  background: linear-gradient(135deg, #2DD4BF, #0E9488);
}

.wd-channel-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1px;
}

.wd-channel-name {
  font-size: 13px;
  font-weight: 700;
  color: #14151A;
}

.wd-channel-sub {
  font-size: 11px;
  font-weight: 500;
  color: #8a90a3;
}

.wd-channel-radio {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid #d7dbe3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 9.5px;
  transition: all 0.2s ease;
}

.wd-channel-item.selected .wd-channel-radio {
  border-color: var(--wd-purple);
  background: linear-gradient(135deg, var(--wd-purple), var(--wd-purple-dark));
  color: #ffffff;
}

.wd-channel-note {
  font-size: 11.5px;
  color: #8a90a3;
  margin: 9px 2px 0;
}

.wd-channel-item.channel-disabled {
  opacity: 0.45;
  filter: grayscale(60%);
  pointer-events: none;
  cursor: not-allowed;
  position: relative;
}

.wd-channel-item.channel-disabled::after {
  content: "Unavailable";
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9.5px;
  font-weight: 700;
  color: #ef4444;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ── EMPTY BANK STATE — "No Bank Account Added" ── */
.wd-empty-bank-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03), 0 8px 18px rgba(20, 21, 26, 0.04);
  text-align: center;
}

.wd-empty-bank-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--wd-purple-soft);
  color: var(--wd-purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.wd-empty-bank-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 6px;
}

.wd-empty-bank-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: #8a90a3;
  margin-bottom: 18px;
  line-height: 1.4;
}

.wd-empty-bank-btn {
  background: linear-gradient(135deg, var(--wd-purple), var(--wd-purple-dark));
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 18px rgba(91, 63, 224, 0.28);
}

.wd-empty-bank-btn:active { transform: scale(0.97); }

/* ── LINKED BANK VERIFIED ROW ── */
.wd-bank-verified-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--wd-purple-soft);
  border-left: 3px solid var(--wd-purple);
  border-radius: 14px;
  padding: 13px;
}

.wd-bank-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--wd-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wd-bank-icon i {
  color: #ffffff;
  font-size: 14px;
}

.wd-bank-details {
  flex: 1;
  min-width: 0;
}

.wd-bank-number {
  font-size: 13.5px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 2px;
}

.wd-bank-name {
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wd-bank-verified-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--wd-purple-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.wd-bank-verified-tag i { font-size: 10.5px; }

/* ── WITHDRAWAL GUIDELINES INFO BOX ── */
.wd-guidelines-box {
  display: flex;
  gap: 10px;
  background: var(--wd-purple-soft);
  border-radius: 16px;
  padding: 15px 16px;
}

.wd-guidelines-icon {
  font-size: 16px;
  color: var(--wd-purple-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

.wd-guidelines-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--wd-purple-deep);
  margin: 0 0 8px 0;
}

.wd-guidelines-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wd-guidelines-list li {
  font-size: 12px;
  font-weight: 500;
  color: #5B4FE8;
  line-height: 1.4;
}

/* ── MOBILE ── */
@media (max-width: 380px) {
  .wd-title { font-size: 14px; }
}

.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }



.bank-page {
  background-color: #f6f7f9;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #14151A;
  box-sizing: border-box;
}

/* ── HEADER ── */
.records-hero {
  background: #ffffff;
  padding: 16px 20px;
  border-bottom: 1px solid #eef1f6;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 10;
}

.records-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.records-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f6f7f9;
  border: none;
  color: #14151A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.records-hero-title {
  font-size: 16px;
  font-weight: 700;
  color: #14151A;
  margin: 0;
  text-align: center;
}

/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 16px 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── TOTAL TRANSACTIONS BANNER — purple gradient, matching reference ── */
.records-total-banner {
  background: linear-gradient(135deg, #7C3AED, #4C1D95);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.28);
}

.records-total-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.records-total-count {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── RECORD CARD — lighter weights, 3D shadow ── */
.record-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: none;
  box-shadow: 0 4px 6px rgba(20, 21, 26, 0.03),
              0 10px 24px rgba(20, 21, 26, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── ICON — diagonal arrow, matching reference's soft green circle ── */
.record-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E5F7EC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16A34A;
  flex-shrink: 0;
}

.record-icon-wrap.credit-icon {
  background: #E5F7EC;
  color: #16A34A;
}

.record-icon-wrap.debit-icon {
  background: #FEECEC;
  color: #E5484D;
}

/* ── CARD BODY ── */
.record-card-body {
  flex: 1;
  min-width: 0;
}

.record-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.record-title {
  font-size: 14px;
  font-weight: 600; /* 🔧 was 700 — lighter, matching reference */
  color: #14151A;
  display: block;
}

.record-date {
  font-size: 12px;
  font-weight: 400;
  color: #9aa5b4;
  margin-top: 2px;
  display: block;
}

.record-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.record-amount-value {
  font-size: 15px;
  font-weight: 600; /* 🔧 was 800 — lighter, matching reference */
  color: #14151A;   /* 🔧 neutral dark, matching reference's plain amount text */
  white-space: nowrap;
}

.record-amount-value.debit-amount { color: #E5484D; }
.record-amount-value.pending-amount { color: #D68910; }
.record-amount-value.failed-amount {
  color: #94a3b8;
  text-decoration: line-through;
}

/* ── STATUS BADGE — lighter weight ── */
.record-status-badge {
  font-size: 11px;
  font-weight: 600; /* 🔧 was 700 */
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.status-approved { background: #E5F7EC; color: #16A34A; }
.status-pending  { background: #FEF3E2; color: #D68910; }
.status-failed   { background: #FDECEC; color: #E5484D; }

.record-subtitle-row {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}


/* ================= 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;
}

}


:root {
  --brand-blue: #2563eb;
  --brand-blue-soft: #eff6ff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-soft: #f1f5f9;
}

.investment-page {
  background: #f8fafc;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 10000;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 15px;
}

.card-wrapper {
  flex: 1;
  padding: calc(56px + env(safe-area-inset-top, 0px) + 20px) 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* ── EMPTY STATE ── */
.inv-empty-state {
  background: #ffffff;
  border-radius: 20px;
  padding: 45px 20px;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  margin-top: 10px;
}

.inv-empty-icon {
  width: 64px;
  height: 64px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 22px;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

.inv-empty-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px 0;
}

.inv-empty-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 20px 0;
}

.inv-browse-btn {
  background: #eef2ff;
  color: #4f46e5;
  border: none;
  padding: 12px 28px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── PRODUCT CARD (Screenshot Style Matching) ── */
.premium-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  padding: 20px;
  box-sizing: border-box;
}

.inv-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.inv-plan-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.inv-price-badge {
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

.inv-grid-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.inv-mini-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #f1f5f9;
}

.inv-mini-box.full-width {
  grid-column: span 2;
  background: var(--brand-blue-soft);
  border-color: #dbeafe;
}

.inv-mini-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.inv-mini-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.inv-mini-box.full-width .inv-mini-value {
  color: #1d4ed8;
  font-size: 16px;
}

.inv-countdown-footer {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.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: #0241b8 !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(2, 65, 184, 0.25) !important;
}

.gle-swal-confirm:hover {
  background: #022e8a !important;
}

.gle-swal-icon {
  border-color: #eaf0fe !important;
}




:root {
  --pw-purple: #564AE8;
  --pw-purple-dark: #3F35A8;
  --pw-purple-light: #EEECFD;
  --pw-text-dark: #14151A;
  --pw-text-muted: #64748b;
  --pw-border: #eef1f6;
}

.password-page {
  background: #f6f7f9;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* ===================== HERO HEADER ===================== */
.pw-hero {
  position: relative;
  background: linear-gradient(135deg, #5A3FE8, #3F35A8);
  padding: 20px 20px 70px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* subtle decorative glow blobs */
.pw-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.pw-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.pw-back-btn {
  position: absolute;
  top: 20px;
  left: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.pw-hero h2 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 4px;
  position: relative;
  z-index: 1;
}

.pw-hero-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  position: relative;
  z-index: 1;
}

.pw-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
}

.pw-hero-icon i {
  font-size: 26px;
  color: #ffffff;
}

/* ===================== FLOATING FORM CARD ===================== */
.pw-container {
  padding: 0 16px 80px;
  max-width: 480px;
  margin: -50px auto 0; /* overlaps the hero */
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.pw-form {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 20px 22px;
  box-shadow: 0 16px 40px rgba(86, 74, 232, 0.15),
              0 4px 12px rgba(20, 21, 26, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pw-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pw-input-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--pw-text-dark);
}

.pw-field-box {
  display: flex;
  align-items: center;
  background: #f6f7f9;
  border: 1.5px solid var(--pw-border);
  border-radius: 14px;
  padding: 14px 16px;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pw-field-box:focus-within {
  border-color: var(--pw-purple);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--pw-purple-light);
}

.pw-lock-icon {
  font-size: 13px;
  color: #a3adbd;
  flex-shrink: 0;
  transition: color 0.2s;
}

.pw-field-box:focus-within .pw-lock-icon {
  color: var(--pw-purple);
}

.pw-field-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--pw-text-dark);
  width: 100%;
  font-family: inherit;
}

.pw-field-box input::placeholder {
  color: #a3adbd;
  font-weight: 400;
}

.pw-eye-icon {
  cursor: pointer;
  color: #a3adbd;
  font-size: 14px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.pw-eye-icon:hover {
  color: var(--pw-purple);
}

/* ===================== SUBMIT BUTTON ===================== */
.pw-submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #5A3FE8, #3F35A8);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  margin-top: 6px;
  box-shadow: 0 10px 24px rgba(86, 74, 232, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pw-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(86, 74, 232, 0.45);
}

.pw-submit-btn:active {
  transform: scale(0.98);
}

.pw-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.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);
}




:root {
  --brand-purple: #5B4FE0;
  --brand-purple-dark: #4A3FC7;
  --brand-purple-soft: #F0EEFF;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
}

/* ── HEADER ROW ── */
.mx-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 4px 16px;
  box-sizing: border-box;
}

.mx-products-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.mx-products-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ── VIEW MY PRODUCTS BUTTON ── */
.mx-view-products-btn {
  display: block;
  width: 100%;
  background: var(--brand-purple);
  color: #ffffff;
  text-align: center;
  padding: 14px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  box-shadow: 0 6px 16px rgba(91,79,224,0.25);
  transition: background 0.2s;
  margin-bottom: 4px;
}
.mx-view-products-btn:active { background: var(--brand-purple-dark); }

/* ── PRODUCT LIST — responsive grid: 1 col on mobile, multi-col on wider screens ── */
#dynamicProductList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 12px 16px 80px 16px;
  box-sizing: border-box;
}

/* ── PRODUCT CARD ── */
.mx-product-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(20,21,26,0.04),
              0 10px 26px rgba(20,21,26,0.08),
              0 1px 0 rgba(255,255,255,0.6) inset;
}

.mx-card-inner {
  display: flex;
  flex-direction: column;
}

.mx-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: var(--brand-purple-soft);
  overflow: hidden;
}

.mx-card-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.mx-card-term-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* ── CARD INFO ── */
.mx-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.mx-plan-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 10px 0;
}

/* ── INFO ROWS (vertical list, not grid) ── */
.mx-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mx-info-row:last-of-type {
  border-bottom: none;
}

.mx-info-label-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.mx-info-label-wrap i {
  color: var(--brand-purple);
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.mx-info-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}


.mx-info-val.price-val {
  color: var(--text-dark);
}

.mx-info-val.income-val {
  color: #1BA97F;
}

.mx-info-val.return-val {
  color: var(--brand-purple);
}

/* ── INVEST BUTTON ── */
.mx-add-to-portfolio-btn {
  width: 100%;
  background: var(--brand-purple);
  color: #ffffff;
  padding: 13px 14px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(91,79,224,0.28);
  transition: background 0.2s, transform 0.15s;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  margin-top: 8px;
}
.mx-add-to-portfolio-btn:hover { background: var(--brand-purple-dark); }
.mx-add-to-portfolio-btn:active { transform: scale(0.97); }

.mx-loader, .mx-error {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 14px;
  grid-column: 1 / -1;
}


/* No hover state defined, so it will remain static */

/* 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);
}


#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85); /* Dim white background */
  backdrop-filter: blur(6px);            /* Soft frosted-glass blur */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.neon-loader-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.neon-spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid rgba(168, 85, 247, 0.15); /* Faint track */
  border-top-color: #a855f7;                    /* Neon purple head */
  border-right-color: #c084fc;                  /* Lighter purple gradient effect */
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4); /* Neon glow effect */
  animation: neonRotate 0.9s linear infinite;
}

.neon-loading-text {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #7e22ce; /* Deep neon purple for high readability on white */
}

@keyframes neonRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



/* 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;
}

.toast-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 24px 26px;
  border-radius: 16px;
  font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  max-width: 240px;
  min-width: 160px;
  box-sizing: border-box;
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

#toast-overlay.toast-show .toast-inner {
  transform: scale(1);
}

.toast-type-icon {
  font-size: 30px;
  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 {
  line-height: 1.4;
  color: #ffffff;
}

@media (max-width: 480px) {
  .toast-inner {
    max-width: 260px;
  }
}

.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 {
  --tsk-gold: #F5A623;
  --tsk-gold-dark: #D68910;
  --tsk-gold-soft: #FEF3E2;
  --tsk-bg: #f6f7f9;
  --tsk-text-dark: #14151A;
  --tsk-text-muted: #64748b;
  --tsk-border: #eef1f6;
}

#tasksPage {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0;
  right: 0;
  box-sizing: border-box;
}

.tsk-wrapper {
  background: var(--tsk-bg);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  padding-bottom: 100px;
}

/* ── SIMPLE HEADER ── */
.tsk-header {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--tsk-border);
  box-sizing: border-box;
  position: relative;
}

.tsk-back-btn {
  position: absolute;
  left: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--tsk-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}

.tsk-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--tsk-text-dark);
  margin: 0;
}

/* ── STAT ROW ── */
.tsk-stat-row {
  display: flex;
  gap: 10px;
  padding: 16px;
  box-sizing: border-box;
}

.tsk-stat-box {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--tsk-border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
}

.tsk-stat-label {
  font-size: 11px;
  color: var(--tsk-text-muted);
  font-weight: 500;
}

.tsk-stat-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--tsk-text-dark);
}

/* ── SECTION LABEL ── */
.tsk-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tsk-text-muted);
  padding: 0 16px 10px;
}

.tsk-section-label i {
  color: var(--tsk-gold-dark);
  font-size: 11px;
}

/* ── TASK LIST ── */
.tsk-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
}

/* ── TASK CARD (compact, matches reference layout) ── */
.tsk-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--tsk-border);
  border-radius: 14px;
  padding: 14px;
  box-sizing: border-box;
  width: 100%;
}

.tsk-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.tsk-card-desc {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tsk-text-dark);
  line-height: 1.35;
  flex: 1;
}

/* Reward pill doubles as the claim button */
.tsk-reward-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.tsk-reward-badge i {
  font-size: 11px;
}

.tsk-reward-badge.locked {
  background: var(--tsk-gold-soft);
  color: var(--tsk-gold-dark);
  opacity: 0.65;
  cursor: not-allowed;
}

.tsk-reward-badge.ready {
  background: var(--tsk-gold);
  color: #ffffff;
}

.tsk-reward-badge.ready:active {
  transform: scale(0.96);
  background: var(--tsk-gold-dark);
}

.tsk-reward-badge.received {
  background: #E5F7F0;
  color: #1BA97F;
  cursor: default;
}

/* ── progress numbers row ── */
.tsk-progress-numbers-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tsk-progress-numbers {
  font-size: 11px;
  color: var(--tsk-text-muted);
  font-weight: 500;
}

.tsk-progress-pct {
  font-size: 11px;
  color: var(--tsk-text-muted);
  font-weight: 600;
}

.tsk-progress-bar-bg {
  width: 100%;
  height: 5px;
  background: #f1f4f9;
  border-radius: 10px;
  overflow: hidden;
}

.tsk-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tsk-gold-dark), var(--tsk-gold));
  border-radius: 10px;
  transition: width 0.4s ease;
}