
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



:root {
  --auth-orange: #E8500D;
  --auth-orange-dark: #C2410C;
  --auth-orange-light: #FF7A3D;
  --auth-orange-soft: #FFF1EC;
  --auth-bg: #ffffff;
  --auth-navy-card: #141C2E;
  --auth-navy-input: #1F2A3D;
  --auth-navy-border: rgba(255, 255, 255, 0.08);
  --auth-text-on-navy-muted: #94A3B8;
  --auth-text-on-navy-placeholder: #64748B;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: var(--auth-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.honda-auth-container {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.honda-auth-container.active {
  display: flex;
}

/* ===== NAVY CARD ===== */
.auth-page-inner {
  padding: 36px 26px;
  box-sizing: border-box;
  width: 100%;
  background: var(--auth-navy-card);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(20, 21, 26, 0.08),
              0 20px 45px rgba(20, 28, 46, 0.18);
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--auth-orange);
  text-align: center;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.auth-welcome-sub {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--auth-text-on-navy-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;
  letter-spacing: 0;
  text-transform: none;
  color: var(--auth-text-on-navy-muted);
  margin-bottom: 6px;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: var(--auth-navy-input);
  border: 1.5px solid var(--auth-navy-border);
  border-radius: 14px;
  padding: 14px 18px;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: var(--auth-orange);
  box-shadow: 0 0 0 3px rgba(232, 80, 13, 0.18);
}

.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-on-navy-placeholder);
}

.field-icon {
  color: var(--auth-text-on-navy-placeholder);
  font-size: 13px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon {
  cursor: pointer;
  color: var(--auth-text-on-navy-placeholder);
  font-size: 13px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon:hover {
  color: var(--auth-orange-light);
}

/* ===== BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 14px;
  background: var(--auth-orange);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  margin-top: 6px;
  box-shadow: 0 8px 18px rgba(232, 80, 13, 0.32);
  transition: background 0.2s, transform 0.1s;
}

.fieldmark-btn-submit:hover {
  background: var(--auth-orange-dark);
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

/* ===== DIVIDER (used on login page) ===== */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-navy-border);
}

.auth-divider span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--auth-text-on-navy-muted);
  white-space: nowrap;
}

/* ===== SECONDARY (bordered) BUTTON — login page only ===== */
.fieldmark-btn-secondary {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--auth-navy-border);
  border-radius: 14px;
  background: transparent;
  color: var(--auth-orange);
  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(232, 80, 13, 0.1);
  border-color: var(--auth-orange);
}

/* ===== SWITCH LINK (used on signup page) ===== */
.fieldmark-switch-action {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--auth-text-on-navy-muted);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: var(--auth-orange);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 30px 20px; }
  .auth-welcome-title { font-size: 24px; }
  .fieldmark-field-box { padding: 12px 16px; }
}

@media (max-height: 700px) {
  .auth-page-inner { padding: 24px 22px; }
  .auth-welcome-sub { margin-bottom: 20px; }
}



.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;
  overflow: hidden;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  max-width: 430px;
  margin: 0 auto;
  box-sizing: border-box;
  min-height: 90px;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-logo-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-right: 1px solid #f0f0f0;
}

.header-brand-name {
  font-size: 24px;
  font-weight: 800;
  color: #E07B00;
  font-family: 'Inter', sans-serif;
  padding-left: 14px;
}

.currency-switcher {
  margin-right: 16px;
}

.currency-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff7ef;
  border: 1.5px solid #f0dcc4;
  color: #E07B00;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 30px 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23E07B00' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.currency-select:hover {
  border-color: #E07B00;
}

.currency-select:focus {
  border-color: #E07B00;
  box-shadow: 0 0 0 3px rgba(224,123,0,0.12);
}

/* ── WELCOME CARD ── */
.qm-welcome-card {
  width: calc(100% - 24px); /* 🔧 12px each side — matches the reference
                                screenshots' near-edge-to-edge feel */
  margin: 0 12px 14px 12px;
  background: linear-gradient(135deg, #E07B00 0%, #FF9F2E 100%);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(224,123,0,0.3);
  box-sizing: border-box;
}

.qm-welcome-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.qm-welcome-number {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.qm-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
}

/* ── ACTION GRID ── */
/* 🔧 REMOVED the extra .main-container wrapper padding that used to
   stack on top of .mx-menu-wrapper's own padding — that double-inset
   (16px + 12px = 28px combined) was the main cause of the cramped,
   "compressed" feel around the icons. Now there's exactly one 12px
   edge margin, matching the welcome card above. */
.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: 20px 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(3, 1fr);
  gap: 18px 10px; /* 🔧 slightly more breathing room now that the
                       surrounding padding isn't doubled up */
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s;
}

.action-card:active { transform: scale(0.93); }

.mx-circle-badge {
  width: 52px;
  height: 52px;
  background: #FFF3E0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E07B00;
  font-size: 20px;
  transition: background 0.2s;
}

.mx-circle-active {
  background: #FFF3E0;
  border: 2px solid #E07B00;
}

.action-icon { font-size: 20px; }

.action-text {
  font-size: 12px;
  font-weight: 600;
  color: #333333;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.qm-active-text {
  color: #E07B00;
  font-weight: 700;
}

/* ── BANNER IMAGE ── */
/* 🔧 FIXED: aspect-ratio: 16/9 combined with object-fit: cover was
   force-cropping your banner into a fixed rectangle regardless of the
   image's real proportions — that's the "stretched" look. Removed
   both; the container now just sizes itself to the image's natural
   aspect ratio at full width, same as the reference screenshots. */
.gle-slim-card {
  border-radius: 18px;
  width: calc(100% - 24px);
  margin: 0 12px 16px 12px;
  box-sizing: border-box;
  overflow: hidden;
  display: block;
}

.gle-slim-card img {
  width: 100%;
  height: auto;
  display: block;
}



/* 🔧 FIXED: page was floating/centered in a small box instead of
   behaving like your other full pages. Forcing explicit sizing here
   so it doesn't depend on whatever generic .page rules exist elsewhere. */
#giftCodePage {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #ffffff;
  box-sizing: border-box;
  display: block; /* overrides any flex/centering .page rules elsewhere */
}

.gift-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
  box-sizing: border-box;
}

.gift-back-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #192231;
  cursor: pointer;
  padding: 4px;
}

.gift-page-header h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #192231;
  font-family: 'Inter', sans-serif;
}

.gift-content {
  padding: 24px 16px;
  width: 100%;
  box-sizing: border-box;
}

.gift-label {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.gift-input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

#giftCodeInput {
  width: 100%;
  padding: 16px 44px 16px 18px;
  border-radius: 12px;
  border: none;
  background: #3b4252;
  color: #ffffff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  box-sizing: border-box;
}

#giftCodeInput::placeholder {
  color: #9aa5b8;
}

#giftCodeInput:focus {
  box-shadow: 0 0 0 2px #E07B00;
}

.gift-input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa5b8;
  font-size: 16px;
  pointer-events: none;
}

.gift-receive-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: #E07B00;
  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 */
}

:root {
  --nav-black: #14151A;
  --nav-inactive: #14151A; /* 🔧 reference shows uniform black — no
                               separate inactive/active color distinction */
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid #eef1f6;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  z-index: 9999;
}

.nav-pill-container {
  position: relative;
  height: 62px;
  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: var(--nav-black);
  transition: transform 0.15s ease;
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
}

/* 🔧 REMOVED the colored circular highlight background — reference
   nav has no pill/circle behind the icon, just plain black icons */
.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.nav-icon-wrapper i {
  font-size: 19px;
  color: var(--nav-black);
}

.nav-label-text {
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--nav-black);
}

/* tap/press feedback only — no color change, just a slight scale */
.nav-item:active {
  transform: scale(0.93);
}


/* 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-orange: #f2711c;
  --brand-orange-light: #fbaf40;
  --brand-orange-soft: #fff1e6;
  --bg-main: #f6f7f9;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --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);
}

.pf-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 16px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.pf-header i {
  position: absolute;
  left: 16px;
  color: var(--text-dark);
  font-size: 18px;
  cursor: pointer;
}

.pf-header span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.profile-scroll-container {
  padding: 72px 0 calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* ===== BALANCE HERO CARD ===== */
.pf-info-card {
  background: linear-gradient(135deg, var(--brand-orange-light), var(--brand-orange));
  border-radius: 20px;
  margin: 16px 16px 0;
  padding: 22px 20px 0;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(242, 113, 28, 0.28);
  overflow: hidden;
}

.pf-info-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pf-info-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-info-avatar i {
  font-size: 17px;
  color: #ffffff;
}

.pf-info-phone {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pf-info-member {
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}

.pf-info-bottom {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}

.pf-info-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf-info-stat-right {
  margin-left: auto;
  align-items: flex-end;
}

.pf-info-stat-label {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}

.pf-info-stat-value {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.pf-info-stat-right .pf-info-stat-value {
  font-size: 18px;
}

/* Deposit/Withdraw split row — flush to card bottom, divided by a line */
.pf-quick-actions {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 0 -20px;
}

.pf-quick-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
}

.pf-quick-btn:first-child {
  border-right: 1px solid rgba(255,255,255,0.25);
}

.pf-quick-btn:active { background: rgba(255,255,255,0.08); }

.pf-quick-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  background: transparent;
  color: #ffffff;
}

.pf-quick-btn span {
  font-size: 14.5px;
  font-weight: 500;
  color: #ffffff;
}

/* ===== ACCOUNT SERVICES CARD (icon grid) ===== */
.pf-menu-card {
  margin: 0 16px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.pf-section-title {
  display: flex;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border-soft);
}

.pf-section-title span {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 8px;
  padding: 20px 14px 22px;
}

.pf-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
}

.pf-grid-item:active .pf-grid-icon {
  background: var(--brand-orange-soft);
}

.pf-grid-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-orange);
  font-size: 19px;
  transition: background 0.15s;
}

.pf-grid-icon.pf-icon-danger {
  color: var(--danger);
}

.pf-grid-item span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dark);
}

.pf-grid-item.pf-logout-item span {
  color: var(--danger);
}




@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bank-orange: #F4511E;
  --bank-orange-dark: #D8420F;
  --bank-orange-soft: #FFF1EC;
  --bank-bg-light: #ffffff;
  --bank-card-white: #ffffff;
  --bank-text-main: #14151A;
  --bank-text-muted: #64748b;
  --bank-text-hint: #9aa5b4;
  --bank-border-light: #e6e9ef;
}

.bank-page {
  background-color: var(--bank-bg-light);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--bank-text-main);
}

.bank-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--bank-card-white);
  border-bottom: 1px solid var(--bank-border-light);
  z-index: 100;
}

.bank-back-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--bank-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.bank-header h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 0 12px;
  color: var(--bank-text-main);
}

.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 76px 16px 40px;
}

/* No visible card wrapper — fields sit directly on the page, matching
   the reference (no background/shadow distinct from the page itself) */
.honda-bank-form {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: none;
}

.honda-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Labels removed from view to match the reference (placeholder text
   inside each field carries the label instead) — not deleted from the
   DOM, just hidden, so nothing else that reads them breaks */
.honda-input-group label {
  display: none;
}

.honda-bank-form input,
.honda-bank-form select {
  background: #ffffff;
  border: 1px solid var(--bank-border-light);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
  color: var(--bank-text-main);
}

.honda-bank-form select {
  color: var(--bank-text-hint);
}

.honda-bank-form input::placeholder {
  color: var(--bank-text-hint);
}

.honda-bank-form input:focus,
.honda-bank-form select:focus {
  border-color: var(--bank-orange);
  box-shadow: 0 0 0 3px rgba(232, 80, 13, 0.14);
}

.honda-select-wrapper select {
  width: 100%;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.honda-submit-btn {
  width: 100%;
  background: var(--bank-orange);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 18px rgba(232, 80, 13, 0.3);
  transition: transform 0.1s, background 0.2s;
}

.honda-submit-btn:hover {
  background: var(--bank-orange-dark);
}

.honda-submit-btn:active {
  transform: scale(0.98);
}




/* ================= RECHARGE PAGE ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --rech-yellow: #F4511E;
  --rech-yellow-dark: #D8420F;
  --rech-yellow-soft: #FFF1EC;
  --rech-border: #eceef2;
  --rech-text: #14151A;
  --rech-muted: #64748b;
  --rech-white: #ffffff;
  --rech-bg: #f6f7f9;
}

.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%;
  height: 56px;
  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: 16px;
  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: 32px;
  height: 32px;
}

.recharge-back-btn-v2:active {
  opacity: 0.5;
}

.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 16px calc(100px + env(safe-area-inset-bottom, 0px)) 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── CARDS ── */
.rech-card {
  background: var(--rech-white);
  border-radius: 16px;
  padding: 18px;
  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: 15px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0 0 14px 0;
}

/* ── AMOUNT GRID ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.amount-option {
  background: var(--rech-white);
  border: 1px solid var(--rech-border);
  padding: 14px 4px;
  border-radius: 12px;
  text-align: center;
  color: var(--rech-text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.amount-option s {
  text-decoration: line-through;
  text-decoration-color: var(--rech-muted);
}

.amount-option:hover {
  border-color: var(--rech-yellow);
  background: var(--rech-yellow-soft);
}

.amount-option.selected {
  background: var(--rech-yellow);
  border-color: var(--rech-yellow);
  box-shadow: 0 6px 16px rgba(244, 81, 30, 0.3);
}

.amount-option.selected s {
  color: #ffffff;
  text-decoration-color: rgba(255,255,255,0.7);
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  background: var(--rech-white);
  border: 1px solid var(--rech-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 52px;
  box-sizing: border-box;
}

.custom-amount-currency {
  color: var(--rech-muted);
  font-weight: 700;
  font-size: 15px;
}

#customAmount {
  background: transparent;
  border: none;
  color: var(--rech-text);
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: #a3adbd;
  font-weight: 400;
}

/* ── CONFIRM BUTTON ── */
.deposit-btn {
  width: 100%;
  background: var(--rech-yellow);
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease, background 0.2s ease;
  box-shadow: 0 10px 22px rgba(244, 81, 30, 0.3);
}

.deposit-btn:hover {
  background: var(--rech-yellow-dark);
}

.deposit-btn:active {
  transform: scale(0.97);
}

/* ── SUPPORT LINE ── */
.rech-support-line {
  text-align: center;
  font-size: 13px;
  color: var(--rech-muted);
  padding: 4px 8px 0;
  line-height: 1.5;
}

.rech-support-link {
  color: var(--rech-yellow);
  font-weight: 600;
  text-decoration: none;
}

.rech-support-link:active {
  opacity: 0.7;
}

/* ── PAYMENT METHOD (hidden in UI, kept for JS compatibility) ── */
.payment-method-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.payment-method-option.selected {
  border-color: var(--rech-yellow);
  background-color: var(--rech-yellow-soft);
}

.pm-icon-box {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.pm-label {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 360px) {
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}


:root {
  --brand-orange: #f2711c;
  --brand-orange-soft: #fdeee0;
  --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);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 16px;
  box-sizing: border-box;
}

.mx-unique-modal {
  background: #ffffff;
  width: 100%;
  max-width: 340px;
  border-radius: 22px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  box-sizing: border-box;
  padding: 44px 20px 24px;
  text-align: center;
}

.mx-close-x-btn {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9aa5b4;
  font-weight: 600;
  font-size: 15px;
  padding: 4px;
  line-height: 1;
}

.mx-logo-wrap {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border: 3px solid #ffffff;
}

.mx-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mx-modal-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.mx-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mx-update-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.mx-update-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.mx-update-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.mx-update-text strong {
  color: var(--text-dark);
  font-weight: 700;
}

.mx-update-text s {
  color: var(--text-muted);
}

.mx-action-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s;
  color: #ffffff;
  background: var(--brand-orange);
  margin-top: 4px;
}

.mx-btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.mx-action-btn:active { transform: scale(0.97); }

.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;
  }
}



:root {
  --brand-orange: #f2711c;
  --brand-orange-light: #fbaf40;
  --brand-orange-soft: #fff1e6;
  --brand-dark: #1f2430;
  --bg-page: #f6f7f9;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --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: 80px;
}

.invite-header-fixed-v2 {
  background: #ffffff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
  position: relative;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.invite-back-btn-v2 {
  position: absolute;
  left: 16px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CARDS */
.iv-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-sizing: border-box;
}

/* MAIN INVITE CARD */
.iv-heading {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 4px 0 4px;
}

.iv-subheading {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 20px;
}

.iv-field-group {
  margin-bottom: 12px;
}

.iv-field-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.iv-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 14px;
  padding: 14px 14px;
}

.iv-field-code .iv-field-row {
  background: var(--brand-orange-soft);
}

.iv-field-link .iv-field-row {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
}

.iv-field-value {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iv-code-value {
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-orange);
}

.iv-field-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  color: var(--text-muted);
  font-weight: 500;
}

.iv-copy-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
}

.iv-copy-btn:active {
  transform: scale(0.96);
}

.iv-copy-btn-orange {
  background: var(--brand-orange);
}

.iv-copy-btn-dark {
  background: var(--brand-dark);
}

/* SHARE BUTTONS */
.iv-share-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.iv-share-pill {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 13px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.iv-share-pill i {
  font-size: 16px;
}

.iv-share-pill:active {
  transform: scale(0.97);
}

.iv-share-wa { background: #25D366; }
.iv-share-tg { background: #229ED9; }

/* TEAM PERFORMANCE CARD */
.iv-perf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.iv-perf-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.iv-view-details {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-orange);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.iv-view-details i {
  font-size: 10px;
}

.iv-perf-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
  cursor: pointer;
}

.iv-perf-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.iv-perf-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.iv-perf-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.iv-perf-pct-pill {
  display: inline-block;
  width: fit-content;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-orange);
  background: var(--brand-orange-soft);
  padding: 3px 10px;
  border-radius: 20px;
}

.iv-perf-icon {
  color: var(--brand-orange-light);
  font-size: 18px;
  flex-shrink: 0;
}



#earningsPage {
  background: #f6f7f9;
  color: #14151A;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.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: 18px;
  font-weight: 700;
  color: #14151A;
}

.back-btn-white {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #14151A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

/* ===== TABS — segmented control, matching reference exactly ===== */
/* 🔧 REBUILT: was individual pill buttons each with their own border —
   now one flat gray rounded-rect container with a solid red inset for
   the active tab, plain text for inactive ones, no gaps/borders. */
.team-list-tabs {
  display: flex;
  background: #eceef2;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 0;
  gap: 0;
}

.team-tab-btn {
  flex: 1;
  padding: 12px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.team-tab-btn.active {
  background: #E15361;
  color: #ffffff;
}

/* ===== COLUMN HEADER — "User | Invest" row ===== */
.team-list-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #f1f2f5;
  border-radius: 10px;
  margin: 14px 0 10px;
}

.team-list-col-header span {
  font-size: 13.5px;
  font-weight: 600;
  color: #14151A;
}

/* ===== LIST — bigger rows, not thin ===== */
.team-list-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px; /* 🔧 was 14px — bigger, matching the request */
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eef1f6;
}

.team-list-number {
  font-size: 15px; /* 🔧 was 13.5px */
  font-weight: 600;
  color: #14151A;
}

.team-list-amount {
  font-size: 15px; /* 🔧 was 13.5px */
  font-weight: 700;
  color: #E15361;
}

/* ===== EMPTY STATE ===== */
.team-list-empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 90px 20px 0;
}

.team-list-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eceef2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.team-list-empty-icon i {
  font-size: 26px;
  color: #b0b8c4;
}

.team-list-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #14151A;
  margin: 0 0 6px 0;
}

.team-list-empty-sub {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  margin: 0;
}

#earningsPage.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}



/* ── WITHDRAWAL PAGE ── */
:root {
  --wd-yellow: #F4511E;
  --wd-yellow-dark: #D8420F;
  --wd-yellow-soft: #FFF1EC;
}

.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: 16px;
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.wd-back-btn {
  width: 30px;
  height: 30px;
  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-yellow-dark);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  padding: 0;
}

.wd-title {
  font-size: 17px;
  font-weight: 600;
  color: #14151A;
  margin: 0;
  text-align: center;
  flex: 1;
}

/* ── CONTAINER ── */
.wd-container {
  padding: 16px 16px 80px 16px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── SECTION CARDS ── */
.wd-section-card,
.wd-rules-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 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: 15px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 14px;
}

/* ── INPUT ── */
.wd-input-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #eef1f6;
  border-radius: 12px;
  padding: 0 16px;
  height: 52px;
  gap: 10px;
  transition: border-color 0.2s;
}

.wd-input-row:focus-within {
  border-color: var(--wd-yellow);
}

.wd-currency {
  font-size: 17px;
  font-weight: 500;
  color: #94a3b8;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: #14151A;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #a3adbd;
  font-weight: 400;
  font-size: 14.5px;
}

.wd-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 8px;
}

.wd-fee-note {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wd-fee-note i {
  color: var(--wd-yellow);
  font-size: 13px;
}

.wd-available-note {
  color: #64748b;
}

/* ── WITHDRAW BUTTON ── */
.wd-submit-btn {
  width: 100%;
  height: 52px;
  background: var(--wd-yellow);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 10px 22px rgba(244, 81, 30, 0.3);
  transition: transform 0.1s ease, background 0.2s ease;
}

.wd-submit-btn:hover {
  background: var(--wd-yellow-dark);
}

.wd-submit-btn:active {
  transform: scale(0.98);
}

/* ── CHECKMARK INFO LIST ── */
.wd-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wd-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.4;
}

.wd-check-list li i {
  color: var(--wd-yellow);
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ── VIEW BANK DETAILS BUTTON ── */
.wd-view-bank-btn {
  width: 100%;
  height: 48px;
  background: transparent;
  color: var(--wd-yellow);
  border: 1.5px solid var(--wd-yellow);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease;
}

.wd-view-bank-btn:active {
  background: var(--wd-yellow-soft);
}

/* ── legacy bank verified row styles (kept, element is hidden now) ── */
.wd-bank-verified-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--wd-yellow-soft);
  border-left: 3px solid var(--wd-yellow);
  border-radius: 14px;
  padding: 14px;
}

.wd-bank-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--wd-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wd-bank-icon i {
  color: #ffffff;
  font-size: 15px;
}

.wd-bank-details {
  flex: 1;
  min-width: 0;
}

.wd-bank-number {
  font-size: 14.5px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 2px;
}

.wd-bank-name {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wd-bank-verified-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--wd-yellow-dark);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.wd-bank-verified-tag i {
  font-size: 11px;
}

/* ── legacy gradient balance card styles (kept, element is hidden now) ── */
.wd-balance-card {
  position: relative;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border-radius: 18px;
  padding: 22px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.wd-bal-content {
  position: relative;
  z-index: 1;
}

.wd-bal-amount {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.wd-bal-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.wd-bal-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wd-bal-icon i {
  font-size: 18px;
  color: #ffffff;
}

/* ── MOBILE ── */
@media (max-width: 380px) {
  .wd-title { font-size: 15.5px; }
}

.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: 17px;
  font-weight: 700;
  color: #14151A;
  margin: 0;
  text-align: center;
}

/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 14px 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── RECORD CARD ── */
.record-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #eef1f6;
  box-shadow: 0 2px 8px rgba(20,21,26,0.04);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── ICON ── */
.record-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFF3E0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E07B00;
  font-size: 18px;
  flex-shrink: 0;
}

.record-icon-wrap.debit-icon {
  background: #FEF2F2;
  color: #E5484D;
}

.record-icon-wrap.credit-icon {
  background: #FFF3E0;
  color: #E07B00;
}

/* ── 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;
  margin-bottom: 4px;
}

.record-title {
  font-size: 15px;
  font-weight: 700;
  color: #14151A;
}

.record-amount-value {
  font-size: 16px;
  font-weight: 800;
  color: #1BA97F;
  white-space: nowrap;
  flex-shrink: 0;
}

.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;
}

.record-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.record-time {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── STATUS BADGE ── */
.record-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.status-approved { background: #E5F7F0; color: #1BA97F; }
.status-pending  { background: #FEF3E2; color: #D68910; }
.status-failed   { background: #FDECEC; color: #E5484D; }

/* ── SUBTITLE ── */
.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-orange: #E8500D;
  --brand-orange-dark: #C2410C;
  --brand-orange-soft: #FFF1EC;
  --inv-navy: #14213D;
  --inv-navy-muted: rgba(255,255,255,0.65);
  --inv-green: #1BA97F;
  --inv-green-soft: #E5F7F0;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
}

.investment-page {
  background: #f6f7f9;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.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: 15.5px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: #f1f4f9;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card-wrapper {
  flex: 1;
  padding: calc(56px + env(safe-area-inset-top, 0px) + 20px) 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── PAGE TITLE BLOCK ── */
.inv-page-title-block {
  padding: 4px 2px 0 2px;
}

.inv-page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.inv-page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ── TOTAL DAILY INCOME CARD ── */
.inv-total-card {
  background: var(--inv-navy);
  border-radius: 16px;
  padding: 20px 18px;
  box-sizing: border-box;
  border-bottom: 4px solid var(--brand-orange);
  box-shadow: 0 8px 20px rgba(20, 33, 61, 0.18);
}

.inv-total-amount {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.inv-total-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--inv-navy-muted);
}

/* Empty state */
.inv-empty-state {
  text-align: center;
  max-width: 320px;
  margin: 40px auto 0 auto;
}

.inv-empty-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-orange-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
  color: var(--brand-orange-dark);
}

.inv-empty-title {
  font-size: 17px;
  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 22px 0;
  line-height: 1.5;
}

.inv-browse-btn {
  background: var(--brand-orange);
  color: #ffffff;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(232, 80, 13, 0.3);
  transition: transform 0.15s;
  font-family: inherit;
}

.inv-browse-btn:active { transform: scale(0.97); }

#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── PRODUCT CARD (matches reference: no banner image, plain list rows) ── */
.premium-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 20px rgba(20, 21, 26, 0.04);
  padding: 18px;
  box-sizing: border-box;
}

.inv-card-header {
  margin-bottom: 14px;
}

.inv-plan-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 3px 0;
}

.inv-purchased-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ── DETAIL ROWS ── */
.inv-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.inv-row-label {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.inv-row-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
}

.inv-status-pill {
  display: inline-block;
  background: var(--inv-green);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}

.inv-status-pill.completed {
  background: var(--text-muted);
}

/* ── PROGRESS BAR ── */
.inv-progress-bar-bg {
  width: 100%;
  height: 5px;
  background: #f1f4f9;
  border-radius: 10px;
  overflow: hidden;
  margin-top: -2px;
}

.inv-progress-bar-fill {
  height: 100%;
  background: var(--inv-green);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* ── NEXT INCOME BAR ── */
.inv-next-income-bar {
  background: var(--brand-orange);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 13px 10px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(232, 80, 13, 0.28);
}


.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-orange: #E8500D;
  --pw-orange-dark: #C2410C;
  --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;
}

.pw-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--pw-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.pw-back-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--pw-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.pw-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pw-text-dark);
  margin: 0;
}

.pw-container {
  padding: 20px 16px 80px 16px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pw-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 20px rgba(20, 21, 26, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pw-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pw-input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--pw-text-dark);
}

.pw-field-box {
  display: flex;
  align-items: center;
  background: #f6f7f9;
  border: 1.5px solid var(--pw-border);
  border-radius: 12px;
  padding: 14px 16px;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.pw-field-box:focus-within {
  border-color: var(--pw-orange);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(232, 80, 13, 0.12);
}

.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;
}

.pw-eye-icon:hover {
  color: var(--pw-orange);
}

.pw-submit-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: var(--pw-orange);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  margin-top: 4px;
  box-shadow: 0 8px 18px rgba(232, 80, 13, 0.3);
  transition: transform 0.1s, background 0.2s;
}

.pw-submit-btn:hover {
  background: var(--pw-orange-dark);
}

.pw-submit-btn:active {
  transform: scale(0.98);
}

.pw-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


.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-orange: #E07B00;
  --brand-orange-dark: #C46A00;
  --brand-orange-soft: #FFF3E0;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
}

/* ── VIEW MY PRODUCTS BUTTON ── */
.mx-view-products-btn {
  display: block;
  width: 100%;
  background: var(--brand-orange);
  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(224,123,0,0.25);
  transition: background 0.2s;
  margin-bottom: 4px;
}
.mx-view-products-btn:active { background: var(--brand-orange-dark); }

/* ── PRODUCT LIST ── */
#dynamicProductList {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px 80px 16px;
  box-sizing: border-box;
}

/* ── PRODUCT CARD ── */
.mx-product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  box-sizing: border-box;
}

.mx-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* ── CARD IMAGE ── */
.mx-card-img-wrap {
  width: 110px;
  min-height: 100%;
  flex-shrink: 0;
  background: var(--brand-orange-soft);
  overflow: hidden;
}

.mx-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 140px;
}

/* ── CARD INFO ── */
.mx-card-info {
  flex: 1;
  padding: 14px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.mx-plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

/* ── INFO GRID ── */
.mx-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.mx-info-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mx-info-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.mx-info-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ── INVEST BUTTON ── */
.mx-add-to-portfolio-btn {
  width: 100%;
  background: var(--brand-orange);
  color: #ffffff;
  padding: 11px 14px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(224,123,0,0.25);
  transition: background 0.2s, transform 0.15s;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}
.mx-add-to-portfolio-btn:hover { background: var(--brand-orange-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;
}



/* 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: #ffffff;
  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;
}

.dots-loader-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot-bounce {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  animation: dotBounce 1.2s ease-in-out infinite;
}

.dot-bounce:nth-child(1) { animation-delay: 0s; }
.dot-bounce:nth-child(2) { animation-delay: 0.15s; }
.dot-bounce:nth-child(3) { animation-delay: 0.3s; }

@keyframes dotBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  30% {
    transform: translateY(-14px);
    opacity: 1;
  }
}



/* 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: 24px;
  right: 24px;
  left: auto;
  transform: translateX(110%);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toast-overlay.toast-show {
  opacity: 1;
  transform: translateX(0);
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 14px 18px;
  border-radius: 12px;
  border-left: 4px solid #f0b100;
  font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 320px;
}

.toast-type-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast-success .toast-type-icon { color: #16a34a; }
.toast-success { border-left-color: #16a34a; }

.toast-error   .toast-type-icon { color: #dc2626; }
.toast-error   { border-left-color: #dc2626; }

.toast-warning .toast-type-icon { color: #f0b100; }
.toast-warning { border-left-color: #f0b100; }

.toast-msg {
  line-height: 1.4;
  color: #333;
}

@media (max-width: 480px) {
  #toast-overlay {
    top: 16px;
    right: 16px;
    left: 16px;
    transform: translateY(-120%);
  }
  #toast-overlay.toast-show {
    transform: translateY(0);
  }
  .toast-inner {
    max-width: none;
  }
}





.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;
}