
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



:root {
  --brand-blue: #0032A0;
  --brand-blue-bright: #3E7BFF;
  --auth-bg: #ffffff;
  --text-dark: #14151A;
  --text-muted: #7A8494;
  --line: #E4EAF6;
  --pill-bg: #F2F6FF;
  --weak: #E11D48;
  --medium: #F59E0B;
  --strong: #16A34A;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: var(--auth-bg);
}

.honda-auth-container {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #ffffff;
  min-height: 100vh;
}

.honda-auth-container.active {
  display: flex;
}

.auth-page-inner {
  width: 100%;
  box-sizing: border-box;
}


/* =========================================================
   HERO WRAP — the image itself is clipped to a rounded-bottom
   box, but the badge sits OUTSIDE that clip so it renders as
   a full, uncut circle straddling the seam (fixes the "half
   circle" bug — that was overflow:hidden on the wrong element).
   ========================================================= */

.auth-hero-wrap {
  position: relative;
  width: 100%;
}

.auth-hero-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-blue-bright) 0%, var(--brand-blue) 100%);
}

.auth-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.55) 78%, #ffffff 100%);
  pointer-events: none;
}

/* Language pill, top-right over the photo — matches the reference */
.auth-lang-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;

  padding: 9px 18px;
  border-radius: 999px;
  border: none;

  background: #ffffff;
  color: var(--brand-blue);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

/* Full, uncut circular badge — a direct child of .auth-hero-wrap
   (not .auth-hero-banner), so nothing clips it. */
.auth-logo-badge {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);

  width: 88px;
  height: 88px;
  border-radius: 50%;

  background: linear-gradient(160deg, var(--brand-blue-bright), var(--brand-blue));
  border: 4px solid #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.4),
    inset 0 -6px 8px rgba(0, 0, 0, 0.14),
    0 14px 30px -8px rgba(0, 50, 160, 0.5);

  z-index: 4;
}

.auth-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   CARD
   ========================================================= */

.auth-card {
  padding: 60px 24px 28px;
  box-sizing: border-box;
}

.auth-welcome-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-blue);
  text-align: center;
  margin: 0 0 24px 0;
  letter-spacing: -0.3px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.fieldmark-input-group {
  margin-bottom: 14px;
}

.fieldmark-input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.optional-tag {
  font-weight: 500;
  color: #a3adbd;
  font-size: 12px;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: var(--pill-bg);
  border: 1.5px solid transparent;
  border-radius: 30px;
  padding: 14px 18px;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: var(--brand-blue-bright);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(62, 123, 255, 0.14);
}

.prefix {
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 10px;
  border-right: 1.5px solid #D6E2F7;
}

.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
}

.fieldmark-field-box input::placeholder {
  color: #a3adbd;
}

.eye-icon {
  cursor: pointer;
  color: #a3adbd;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon:hover {
  color: var(--brand-blue-bright);
}

.pw-strength-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 0 4px;
}

.pw-strength-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.pw-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--weak);
  transition: width 0.25s ease, background 0.25s ease;
}

.pw-strength-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 52px;
  text-align: right;
}


/* =========================================================
   BUTTON
   ========================================================= */

.fieldmark-btn-submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--brand-blue-bright) 0%, var(--brand-blue) 100%);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 14px 30px -8px rgba(0, 50, 160, 0.5);
  transition: transform 0.1s, box-shadow 0.2s, filter 0.2s;
}

.fieldmark-btn-submit .btn-content,
.fieldmark-btn-submit .btn-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.fieldmark-btn-submit .btn-spinner { display: none; }
.fieldmark-btn-submit.is-loading .btn-content { display: none; }
.fieldmark-btn-submit.is-loading .btn-spinner { display: flex; }
.fieldmark-btn-submit.is-loading { cursor: not-allowed; filter: brightness(0.96); }
.fieldmark-btn-submit:disabled { pointer-events: none; }

.fieldmark-btn-submit:hover { filter: brightness(1.05); }
.fieldmark-btn-submit:active { transform: scale(0.98); }


/* =========================================================
   SWITCH / TERMS
   ========================================================= */

.fieldmark-switch-action {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
}

.fieldmark-link-btn:hover { text-decoration: underline; }

.auth-terms-text {
  text-align: center;
  font-size: 11px;
  color: #b6bec9;
  margin-top: 16px;
  line-height: 1.4;
  padding: 0 8px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 380px) {
  .auth-hero-banner { height: 260px; }
  .auth-logo-badge { width: 76px; height: 76px; bottom: -34px; }
  .auth-card { padding: 52px 20px 24px; }
  .auth-welcome-title { font-size: 21px; }
  .fieldmark-field-box { padding: 12px 16px; }
}

@media (max-height: 700px) {
  .auth-hero-banner { height: 220px; }
}



:root {
  --brand-blue: #0032A0;
  --brand-blue-bright: #3E7BFF;
  --line: #E4EAF6;
  --ink: #14151A;
  --ink-muted: #64748b;
}

.dashboard {
  width: 100%;
  max-width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 24px 0;
  box-sizing: border-box;
  background: #ffffff;
  color: var(--ink);
}


/* =========================================================
   SWIPEABLE BANNER — full-bleed, scroll-snap slider + dots
   ========================================================= */

.dash-slider-wrap {
  position: relative;
  width: 100%;
}

.dash-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 220px;
  scrollbar-width: none;
}

.dash-slider::-webkit-scrollbar { display: none; }

.dash-slide {
  min-width: 100%;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.dash-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dash-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.dash-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.25s ease, background 0.25s ease;
}

.dash-dot.active {
  width: 18px;
  background: #ffffff;
}


/* =========================================================
   ACTION BUTTONS — 2x2, full-bleed, edge to edge
   ========================================================= */

.dash-action-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 12px 6px;
  box-sizing: border-box;
}

.dash-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-blue-bright), var(--brand-blue));
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 20px -8px rgba(0, 50, 160, 0.4);
  transition: transform 0.15s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.dash-action-btn:active {
  transform: scale(0.96);
}

.dash-action-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  font-size: 14px;
}

.dash-action-label {
  font-size: 14.5px;
  font-weight: 700;
}


/* =========================================================
   PRODUCT LIST — full-bleed, no section header
   ========================================================= */

.dash-product-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px 12px 20px;
  box-sizing: border-box;
}


.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 {
  --brand-blue: #0032A0;
  --brand-blue-bright: #3E7BFF;
  --brand-blue-soft: #EAF1FF;
  --nav-text: #14151A;
  --nav-inactive: #94a3b8;
  --nav-line: #eef1f6;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid var(--nav-line);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  z-index: 9999;
}

.nav-pill-container {
  position: relative;
  height: 46px; /* Reduced from 54px */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
  padding: 0 4px;
  box-sizing: border-box;
}

.nav-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px; /* Reduced spacing */

  height: 36px; /* Reduced from 40px */
  padding: 0 8px;
  border-radius: 999px;

  color: var(--nav-inactive);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-wrapper i {
  font-size: 13.5px; /* Slightly reduced icon size */
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

.nav-label-text {
  font-size: 8.5px; /* Slightly reduced text size */
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
  line-height: 1;
}

/* active state — pill wraps icon + label together */
.nav-item.active {
  background: var(--brand-blue-soft);
}

.nav-item.active .nav-icon-wrapper i {
  color: var(--brand-blue);
}

.nav-item.active .nav-label-text {
  color: var(--brand-blue);
  font-weight: 700;
}

/* tap/press feedback */
.nav-item:active {
  transform: scale(0.94);
}

/* 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;800&display=swap');

:root {
  --brand-blue: #1668FF;
  --brand-blue-soft: #EAF1FF;
  --brand-blue-dark: #0D4FCC;
  --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);
}

.profile-scroll-container {
  padding-top: 0;
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* ===== PHOTO BANNER — sits flush at the very top, no header above it =====
   🖼️ Put your background photo here: replace the background-image url
   below with your own image, or set it via JS:
   document.querySelector('.pf-photo-banner').style.backgroundImage = "url('your-photo.jpg')";
*/
.pf-photo-banner {
  position: relative;
  width: 100%;
  min-height: 230px;
  background-image:
    linear-gradient(rgba(22,104,255,0.35), rgba(13,79,204,0.55)),
    url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=800&q=60');
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  padding: 44px 18px 44px;
  overflow: visible;
}

.pf-photo-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, transparent, var(--bg-main));
  pointer-events: none;
}

.pf-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pf-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.pf-avatar-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pf-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-avatar-fallback-icon {
  font-size: 28px;
  color: #ffffff;
}

.pf-vip-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--brand-blue-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.pf-banner-id {
  min-width: 0;
}

.pf-info-phone {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.pf-id-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255,255,255,0.22);
  padding: 3px 11px;
  border-radius: 20px;
}

.pf-progress-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.pf-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 999px;
  overflow: hidden;
}

.pf-progress-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 999px;
}

.pf-progress-text {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

/* ===== STATS BAR — overlaps the banner bottom ===== */
.pf-stats-bar {
  position: relative;
  z-index: 2;
  margin: -26px 16px 14px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: 16px;
  padding: 18px 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 24px rgba(22,104,255,0.3);
}

.pf-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pf-stat-value {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.pf-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

.pf-stat-divider {
  width: 1px;
  align-self: stretch;
  margin: 2px 0;
  background: rgba(255,255,255,0.3);
}

/* ===== FLAT LIST ===== */
.pf-flat-list {
  margin: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-flat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  background: var(--brand-blue-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.pf-flat-item:active { background: #dbe9ff; }

.pf-flat-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pf-flat-icon {
  font-size: 16px;
  color: var(--text-dark);
  width: 20px;
  text-align: center;
}

.pf-flat-icon-danger {
  color: var(--danger);
}

.pf-flat-left span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.pf-logout-text {
  color: var(--danger);
  font-weight: 600;
}

.pf-chevron {
  color: #9ca8bd;
  font-size: 12px;
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand-blue: #1668FF;
  --brand-blue-dark: #0D4FCC;
  --brand-blue-soft: #EAF1FF;
  --bg-light: #1668FF;
  --card-white: #ffffff;
  --text-main: #14151A;
  --text-muted: #64748b;
  --text-hint: #9aa5b4;
  --border-light: #eef1f6;
}

.bank-page {
  background-color: var(--bg-light);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
}

.bank-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: transparent;
  z-index: 100;
  box-sizing: border-box;
}

.bank-back-btn {
  position: absolute;
  left: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.bank-header h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* TOP ATM CARD PREVIEW FROM SCREENSHOT */
.iv-card-top-preview {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-radius: 18px;
  padding: 22px 20px;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  box-sizing: border-box;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.iv-card-bank-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.iv-card-number {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 8px 0;
}

.iv-card-chip {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 5px;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}

.iv-card-holder-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.iv-card-holder-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.honda-bank-form {
  background: var(--card-white);
  border-radius: 20px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(13, 79, 204, 0.15);
}

.honda-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.honda-input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.honda-bank-form input,
.honda-bank-form select {
  background: #ffffff;
  border: 1px solid #e6e9ef;
  border-radius: 30px;
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  box-sizing: border-box;
  width: 100%;
}

.honda-bank-form select {
  color: var(--text-hint);
}

.honda-bank-form input::placeholder {
  color: var(--text-hint);
}

.honda-bank-form input:focus,
.honda-bank-form select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 104, 255, 0.14);
}

.honda-select-wrapper {
  position: relative;
  width: 100%;
}

.honda-select-wrapper select {
  width: 100%;
  appearance: none;
  -webkit-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(--brand-blue);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 18px rgba(22, 104, 255, 0.3);
  transition: transform 0.1s, background 0.2s;
}

.honda-submit-btn:hover {
  background: var(--brand-blue-dark);
}

.honda-submit-btn:active {
  transform: scale(0.98);
}


/* ================= RECHARGE PAGE — WHITE & ELECTRIC BLUE ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --eb-blue: #0357EE;
  --eb-blue-hover: #0243be;
  --eb-blue-soft: #eff6ff;
  --eb-border: #e2e8f0;
  --eb-text: #0f172a;
  --eb-muted: #64748b;
  --eb-white: #ffffff;
  --eb-bg: #f8fafc;
}

.recharge-page, .payment-confirm-page {
  font-family: 'Inter', sans-serif;
  background-color: var(--eb-bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: var(--eb-text);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 1000;
}

/* Fixed Header */
.recharge-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--eb-white);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1010;
  border-bottom: 1px solid var(--eb-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(--eb-text);
  margin: 0;
}

.recharge-back-btn-v2 {
  background: transparent;
  border: none;
  color: var(--eb-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: 70px 16px calc(40px + env(safe-area-inset-bottom, 0px)) 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Balance Card */
.rech-balance-card {
  background: var(--eb-white);
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(3, 87, 238, 0.04);
}

.rech-balance-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eb-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rech-balance-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.rech-balance-icon {
  width: 32px;
  height: 32px;
  background: var(--eb-blue-soft);
  color: var(--eb-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.rech-balance-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--eb-text);
  margin: 0;
}

/* Custom Input Card */
.rech-card {
  background: var(--eb-white);
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.custom-amount-wrapper {
  background: var(--eb-blue-soft);
  border: 1.5px solid #dbeafe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 56px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.custom-amount-wrapper:focus-within {
  border-color: var(--eb-blue);
  background: var(--eb-white);
  box-shadow: 0 0 0 4px rgba(3, 87, 238, 0.1);
}

.custom-amount-currency {
  color: var(--eb-blue);
  font-weight: 800;
  font-size: 18px;
}

#customAmount {
  background: transparent;
  border: none;
  color: var(--eb-text);
  font-size: 16px;
  font-family: inherit;
  font-weight: 700;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: var(--eb-muted);
  font-weight: 500;
}

/* Channels Grid (Deposit - A active, others blurred) */
.deposit-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.deposit-channel-option {
  position: relative;
  background: var(--eb-white);
  border: 2px solid var(--eb-border);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.deposit-channel-option.active {
  border-color: var(--eb-blue);
  background: var(--eb-blue-soft);
  box-shadow: 0 4px 14px rgba(3, 87, 238, 0.12);
  cursor: pointer;
}

.deposit-channel-option.blurred {
  opacity: 0.45;
  filter: blur(0.6px);
  background: #f1f5f9;
  border-color: #cbd5e1;
  pointer-events: none;
}

.dch-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--eb-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.deposit-channel-option.blurred .dch-icon {
  background: #94a3b8;
}

.dch-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--eb-text);
  flex: 1;
}

.dch-check {
  width: 20px;
  height: 20px;
  background: var(--eb-blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* Pay Button */
.deposit-btn {
  width: 100%;
  background: var(--eb-blue);
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(3, 87, 238, 0.3);
}

.deposit-btn:active {
  transform: scale(0.98);
  background: var(--eb-blue-hover);
}

.deposit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Info Box */
.rech-info-box {
  background: var(--eb-white);
  border: 1px solid var(--eb-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rech-security-warning {
  font-size: 12px;
  line-height: 1.5;
  color: var(--eb-muted);
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.rech-security-warning i {
  color: var(--eb-blue);
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.rech-limit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-top: 8px;
  border-top: 1px solid var(--eb-border);
  color: var(--eb-muted);
}

.rech-limit-row strong {
  color: var(--eb-text);
  font-weight: 700;
}

.rech-highlight-blue {
  color: var(--eb-blue) !important;
}

/* Order Summary Hero for Transfer Page */
.rech-order-hero {
  background: linear-gradient(135deg, #0357EE 0%, #012b79 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(3, 87, 238, 0.25);
  box-sizing: border-box;
  color: #ffffff;
}

.rech-order-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rech-order-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.rech-session-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.rech-order-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.rech-order-currency {
  font-size: 18px;
  font-weight: 700;
}

.rech-order-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.rech-order-ref-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.rech-order-ref-row span:last-child {
  color: #ffffff;
  font-weight: 700;
  font-family: monospace;
}

.rech-session-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  overflow: hidden;
}

.rech-session-progress-fill {
  height: 100%;
  width: 100%;
  background: #ffffff;
  border-radius: 999px;
  transition: width 1s linear;
}

/* Manual Transfer Details Box */
.rech-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--eb-text);
  margin: 0 0 12px 0;
}
.rech-card-title i { color: var(--eb-blue); }

.manual-bank-box {
  background: var(--eb-bg);
  border: 1px dashed var(--eb-border);
  border-radius: 12px;
  padding: 14px;
}

.manual-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
}

.manual-bank-row-main { color: var(--eb-muted); }
.manual-bank-row-main strong { color: var(--eb-text); }

.manual-bank-row-highlight {
  background: var(--eb-blue-soft);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 4px 0;
}

.manual-bank-row-highlight strong {
  font-size: 15px;
  color: var(--eb-blue);
  font-family: monospace;
  letter-spacing: 0.5px;
}

.manual-bank-copy-wrap { display: flex; align-items: center; gap: 8px; }

#copyManualAccBtn {
  background: var(--eb-blue);
  border: none;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.manual-field-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eb-text);
  margin-bottom: 6px;
}

.manual-field-group input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--eb-border);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.manual-field-group input[type="text"]:focus { border-color: var(--eb-blue); }

.manual-upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: 1.5px dashed var(--eb-border);
  border-radius: 10px;
  background: var(--eb-bg);
  cursor: pointer;
  font-size: 13px;
  color: var(--eb-muted);
  box-sizing: border-box;
}
.manual-upload-dropzone:hover { border-color: var(--eb-blue); }
.manual-upload-dropzone i { color: var(--eb-blue); }



.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}

.recharge-page, .payment-confirm-page {
  font-family: 'Inter', 'Noto Sans', 'Segoe UI', Roboto, Arial, sans-serif;

}



:root {
  --brand-blue: #0032A0;
  --brand-blue-bright: #3E7BFF;
  --row-tint: #DDEBFF;
  --red: #d92b2b;
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.mx-unique-modal {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  padding: 20px 14px 14px;
}

.mx-close-x-btn {
  position: absolute;
  top: -14px; right: -6px;
  background: var(--brand-blue-bright);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 50, 160, 0.4);
  z-index: 3;
}

.mx-modal-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--brand-blue);
  text-align: center;
  margin: 0 0 10px 0;
}

.mx-rule-grid {
  border: 1px solid var(--row-tint);
  border-radius: 4px;
  overflow: hidden;
}

.mx-rule-row {
  padding: 6px 10px;
  text-align: center;
  background: #ffffff;
}

.mx-rule-row:nth-child(even) {
  background: var(--row-tint);
}

.mx-rule-text {
  font-size: 10.5px;
  color: var(--brand-blue);
  line-height: 1.25;
}

.mx-red {
  color: var(--red);
  font-weight: 700;
}

.mx-modal-note {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-blue);
  text-align: center;
  line-height: 1.3;
  margin: 10px 4px 0;
}

.mx-action-btn {
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 10.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s;
  color: #ffffff;
  flex-shrink: 0;
  font-family: inherit;
}

.mx-btn-primary {
  background: var(--brand-blue-bright);
  box-shadow: 0 8px 18px rgba(62, 123, 255, 0.35);
}

.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-blue: #1668FF;
  --brand-blue-dark: #0D4FCC;
  --brand-blue-soft: #EAF1FF;
  --bg-page: #f6f7f9;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --text-hint: #9aa5b4;
  --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;
  /* Updated background to stay electric blue throughout instead of fading to page background */
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  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: transparent;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-sizing: border-box;
  position: relative;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.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: #ffffff;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 4px 16px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CARDS — white, floating on the blue backdrop */
.iv-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(13, 79, 204, 0.12);
}

/* INTRO CARD */
.iv-intro-card {
  text-align: center;
  padding: 22px 20px;
}

.iv-intro-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.iv-intro-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* QR CARD */
.iv-qr-card {
  text-align: center;
}

.iv-qr-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.iv-qr-frame {
  display: flex;
  justify-content: center;
}

.iv-qr-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

/* LINK / CODE ROWS */
.iv-field-row-plain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-page);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.iv-field-row-plain .iv-field-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iv-copy-btn {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.iv-copy-btn:active { transform: scale(0.96); }

.iv-share-note {
  font-size: 13.5px;
  color: #0a0a0a; /* Adjusted to white so it stands out nicely against the electric blue backdrop */
  line-height: 1.6;
  text-align: center;
  margin: 14px 0 16px;
}

/* TIER TABLE */
.iv-tier-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.iv-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #ffffff;
}

.iv-tier-row-alt {
  background: var(--brand-blue-soft);
}

.iv-tier-level {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-blue-dark);
}

.iv-tier-value {
  font-size: 16px;
  font-weight: 800;
  color: #E5484D;
}





:root {
  --brand-blue: #1668FF;
  --brand-blue-dark: #0D4FCC;
  --brand-blue-soft: #EAF1FF;
}

#earningsPage {
  background: #f6f7f9;
  color: #14151A;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

#earningsPage.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

/* ===== HEADER ===== */
.team-header-main {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  box-sizing: border-box;
}

.team-header-main span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.back-btn-white {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}

/* ===== HERO IMAGE ===== */
.team-hero-wrap {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  overflow: hidden;
}

.team-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-page-container {
  padding: 16px 16px 40px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ===== STAT CARDS ===== */
.team-stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.team-stat-card {
  flex: 1;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(22,104,255,0.2);
}

.team-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.team-stat-value {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

/* ===== TABS ===== */
.team-list-tabs {
  display: flex;
  gap: 4px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 18px;
}

.team-tab-btn {
  flex: 1;
  padding: 10px 6px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: background 0.2s, color 0.2s;
}

.team-tab-level {
  font-size: 14px;
  font-weight: 800;
}

.team-tab-income {
  font-size: 10.5px;
  font-weight: 500;
}

.team-tab-btn.active {
  background: #ffffff;
  color: var(--brand-blue-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-tab-btn.active .team-tab-income {
  color: var(--brand-blue);
}

/* ===== LIST CONTAINER ===== */
.team-list-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== TEAM ITEM CARDS (Chunky with icons and status badges) ===== */
.team-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 6px 16px rgba(0, 40, 130, 0.05),
              0 1px 3px rgba(0, 40, 130, 0.03);
  box-sizing: border-box;
}

.team-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-icon-box {
  width: 38px;
  height: 38px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.team-info-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-list-number {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

/* ===== STATUS BADGES ===== */
.team-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.team-status-badge.active {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981; /* Green for active */
}

.team-status-badge.inactive {
  background: rgba(229, 72, 77, 0.12);
  color: #E5484D; /* Red for inactive */
}

.team-row-right {
  display: flex;
  align-items: center;
}

.team-amount-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-wallet-icon {
  font-size: 13px;
  color: var(--brand-blue);
}

.team-list-amount {
  font-size: 16px;
  font-weight: 900;
  color: var(--brand-blue);
}

/* ===== EMPTY STATE ===== */
.team-list-empty-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 20px 0;
}

.team-list-empty-wrap span {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #cbd5e1;
  text-transform: uppercase;
}



/* ── WITHDRAWAL PAGE — white & electric blue ── */
:root {
  --wd-blue: #0057FF;
  --wd-blue-dark: #003FBF;
  --wd-blue-soft: #E5F0FF;
}

.withdraw-page {
  background: #eef2fb;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* ── HEADER — solid flat blue, matching reference ── */
.wd-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--wd-blue);
  box-sizing: border-box;
}

.wd-back-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.wd-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  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;
}

/* ── AMOUNT CARD ── */
.wd-section-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 4px 10px rgba(0, 40, 130, 0.05),
              0 16px 32px rgba(0, 40, 130, 0.08);
}

.wd-amount-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 10px;
}

.wd-input-row {
  display: flex;
  align-items: center;
  background: #f4f7fc;
  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-blue);
  background: #ffffff;
}

.wd-currency {
  font-size: 17px;
  font-weight: 700;
  color: #94a3b8;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  font-weight: 600;
  color: #14151A;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #a3adbd;
  font-weight: 400;
}

.wd-balance-line {
  font-size: 13.5px;
  color: #64748b;
  margin: 10px 2px 16px;
}

.wd-balance-value {
  color: #14151A;
  font-weight: 700;
}

/* ── SUBMIT BUTTON — electric blue, matching reference's gradient feel ── */
.wd-submit-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #0057FF, #003FBF);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 10px 22px rgba(0, 87, 255, 0.3);
  transition: transform 0.1s ease;
}

.wd-submit-btn:active {
  transform: scale(0.98);
}
/* ── BANK DETAILS CARD — stacked rows with dividers, matching reference ── */
.wd-bank-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 6px 16px 16px !important;
  box-shadow: 0 4px 10px rgba(0, 40, 130, 0.05),
              0 16px 32px rgba(0, 40, 130, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.wd-bank-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

.wd-bank-row.wd-bank-row-last {
  border-bottom: none !important;
}

.wd-bank-row-label {
  font-size: 13.5px !important;
  color: #64748b !important;
  flex-shrink: 0 !important;
}

.wd-bank-row-value {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #14151A !important;
  text-align: right !important;
  word-break: break-word !important;
}

.wd-bind-btn {
  width: 100% !important;
  margin-top: 6px !important;
  background: #f4f7fc !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 14px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--wd-blue, var(--brand-blue, #1668FF)) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: 'Inter', sans-serif !important;
  box-sizing: border-box !important;
}

.wd-bind-btn:active {
  background: var(--wd-blue-soft, var(--brand-blue-soft, #EAF1FF)) !important;
}
/* ── INFO STRIPS — colored left-bar boxes, matching reference exactly ── */
.wd-info-strip {
  background: var(--wd-blue-soft);
  border-left: 4px solid var(--wd-blue);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wd-blue-dark);
  line-height: 1.6;
}

.wd-info-strip strong {
  color: var(--wd-blue-dark);
  font-weight: 800;
}

/* ── MOBILE ── */
@media (max-width: 380px) {
  .wd-title { font-size: 16px; }
}

.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }

.bank-page {
  background-color: #f6f8fc;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #14151A;
  box-sizing: border-box;
}

/* ── SOLID HEADER BAR ── */
.records-hero {
  background: #0057FF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
}

.records-back-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.records-hero-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  flex: 1;
  text-align: center;
  padding-right: 28px;
}

/* ── TAB PILLS ── */
.records-filter-row {
  display: flex;
  gap: 10px;
  padding: 16px 14px 0;
  max-width: 430px;
  margin: 0 auto;
  box-sizing: border-box;
}

.records-filter-pill {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #dbe6ff;
  border-radius: 12px;
  padding: 13px 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0057FF;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.records-filter-pill.active {
  background: #0057FF;
  border-color: #0057FF;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 87, 255, 0.3);
}

/* ── MAIN CONTENT CONTAINER ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 14px 14px 100px 14px;
  box-sizing: border-box;
}

/* ── CONTAINER FOR CARDS ── */
#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 18px; /* High spacing between cards */
}

/* ── HEAVY, TALL SQUARE TRANSACTION CARD ── */
.tx-row {
  width: 100%;
  min-height: 110px; /* Forces it to be tall and chunky, not slim */
  background: #ffffff;
  border-radius: 20px; /* Extra rounded square look */
  padding: 22px 20px; /* Big padding on all sides */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes top row and bottom row apart vertically */
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 40, 130, 0.08),
              0 2px 6px rgba(0, 40, 130, 0.04);
  border: 1.5px solid #e2e8f0;
}

.tx-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tx-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
}

.tx-date {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.tx-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px; /* Creates breathing room from the top row */
}

.tx-amount {
  font-size: 18px;
  font-weight: 900;
  color: #0057FF; /* Electric Blue */
}

.tx-amount.debit-amount { 
  color: #E5484D; 
}

.tx-balance-label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

/* ================= 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 {
  --app-electric: #0052FF;
  --app-electric-hover: #0040DB;
  --app-electric-glow: rgba(0, 82, 255, 0.15);
  --app-surface: #FFFFFF;
  --app-bg: #F4F6FB;
  --app-text: #090D16;
  --app-muted: #5A6A85;
  --app-border: #E3E8F0;
  --app-success: #00A86B;
  --app-success-bg: #E6F8F2;
  --app-danger: #E5484D;
  --app-danger-bg: #FDF2F2;
}

.investment-page {
  background: var(--app-bg);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 10000;
  border-bottom: 1px solid var(--app-border);
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--app-text);
  letter-spacing: -0.01em;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  color: var(--app-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.investment-back-btn:hover {
  background: var(--app-electric);
  color: #FFFFFF;
  border-color: var(--app-electric);
}

.card-wrapper {
  flex: 1;
  padding: calc(60px + env(safe-area-inset-top, 0px) + 20px) 16px 120px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Global Analytics Banner */
.inv-global-analytics-card {
  background: linear-gradient(135deg, #0052FF 0%, #002FA7 100%);
  border-radius: 24px;
  padding: 20px;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inv-ga-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inv-ga-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-ga-subtitle {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}

.inv-ga-header h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

.inv-ga-live-dot-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.inv-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #00F5A0;
  border-radius: 50%;
  box-shadow: 0 0 8px #00F5A0;
  animation: invPulse 1.5s infinite;
}

@keyframes invPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.inv-ga-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.inv-ga-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inv-ga-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.inv-ga-val {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Empty state */
.inv-empty-state {
  text-align: center;
  max-width: 320px;
  margin: 40px auto 0 auto;
}

.inv-empty-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 82, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
  color: var(--app-electric);
}

.inv-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--app-text);
  margin: 0 0 6px 0;
}

.inv-empty-sub {
  font-size: 13.5px;
  color: var(--app-muted);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.inv-browse-btn {
  background: var(--app-electric);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 82, 255, 0.25);
  transition: all 0.2s ease;
}

.inv-browse-btn:hover {
  background: var(--app-electric-hover);
  transform: translateY(-1px);
}

.inv-browse-btn:active { transform: scale(0.97); }

#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* PREMIUM MODERN PRODUCT CARD */
.premium-card {
  background: var(--app-surface);
  border-radius: 24px;
  border: 1px solid var(--app-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  padding: 16px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.premium-card:hover {
  border-color: rgba(0, 82, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.06);
}

/* BANNER */
.inv-banner {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #0052FF 0%, #002FA7 100%);
}

.inv-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inv-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--app-success);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.inv-status-badge.expired {
  color: var(--app-danger);
  background: rgba(255, 255, 255, 0.95);
}

.inv-plan-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--app-text);
  margin: 0 0 14px 2px;
  letter-spacing: -0.01em;
}

/* LIVE PROFIT / LOSS PREDICTOR CARD & GRAPH MODULE */
.inv-live-dashboard-box {
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inv-ld-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inv-ld-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-ld-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--app-muted);
}

.inv-ld-val {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--app-text);
}

.inv-ld-badge {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.inv-ld-badge.profit {
  background: var(--app-success-bg);
  color: var(--app-success);
}

.inv-ld-badge.recovering {
  background: var(--app-danger-bg);
  color: var(--app-danger);
}

/* MINI SIMULATED GRAPH / HOURLY SALE TRACKER */
.inv-graph-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.inv-graph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--app-muted);
}

.inv-graph-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 38px;
  padding-top: 6px;
  gap: 4px;
}

.inv-gbar {
  flex: 1;
  background: var(--app-border);
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease;
}

.inv-gbar.active {
  background: var(--app-electric);
}

.inv-hourly-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--app-muted);
  border-top: 1px dashed var(--app-border);
  padding-top: 8px;
}

.inv-hourly-stats-row strong {
  color: var(--app-electric);
}

/* 2x2 STAT GRID */
.inv-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.inv-stat-box {
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.inv-stat-key {
  font-size: 11px;
  color: var(--app-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.inv-stat-val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--app-text);
}

.inv-stat-val.income {
  color: var(--app-success);
}

.inv-stat-val.earned {
  color: var(--app-electric);
}

.inv-stat-val.days {
  color: var(--app-text);
}

/* NEXT PROFIT DROP & PROGRESS */
.inv-countdown-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.inv-countdown-label {
  font-size: 12.5px;
  color: var(--app-muted);
  font-weight: 600;
}

.inv-countdown-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--app-electric);
}

/* PROGRESS BAR MODULE */
.inv-progress-module {
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--app-muted);
}

.inv-progress-pct {
  color: var(--app-electric);
  font-weight: 700;
}

.inv-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 100px;
  overflow: hidden;
}

.inv-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #002FA7 0%, var(--app-electric) 100%);
  border-radius: 100px;
  transition: width 0.5s ease;
}

/* EXPIRES & STARTED FOOTER */
.inv-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 0 4px;
  font-size: 12px;
  color: var(--app-muted);
}

.inv-footer-info strong {
  color: var(--app-text);
  font-weight: 600;
}

/* SWEETALERT OVERRIDES */
.gle-swal-popup {
  border-radius: 20px !important;
  padding: 28px 22px !important;
  box-shadow: 0 20px 50px rgba(0, 82, 255, 0.15) !important;
}

.gle-swal-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--app-text) !important;
}

.gle-swal-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  color: var(--app-muted) !important;
}

.gle-swal-confirm {
  background: var(--app-electric) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(0, 82, 255, 0.25) !important;
}

.gle-swal-confirm:hover {
  background: var(--app-electric-hover) !important;
}


.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-blue: #0032A0;
  --brand-blue-bright: #3E7BFF;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
  --stat-bg: #f6f8fc;
}

/* Section header */
.mx-section-header {
  padding: 14px 16px 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.mx-myproducts-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
}

.mx-myproducts-link i {
  font-size: 11px;
}

.mx-myproducts-link:active {
  opacity: 0.7;
}

/* Product Grid */
#dynamicProductList {
  display: grid !important;
  gap: 16px !important;
  padding: 12px 12px 40px 12px !important;
}

/* ── PRODUCT CARD — image on top, stats grid below, matching the screenshot ── */
.mx-product-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 6px 14px rgba(20, 21, 26, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mx-product-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(20, 21, 26, 0.05),
              0 12px 24px rgba(62, 123, 255, 0.15);
}

/* IMAGE BLOCK — full width, badge top-right, name overlaid bottom-left */
.mx-card-image-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background: var(--stat-bg);
}

.mx-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mx-times-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
}

.mx-card-image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.mx-plan-name {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* STATS — 2x2 grid, exactly like the screenshot's four boxes */
.mx-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 14px 6px;
}

.mx-stat-box {
  background: var(--stat-bg);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}

.mx-stat-box-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 3px;
}

.mx-stat-box-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Buy Button */
.mx-add-to-portfolio-btn {
  width: calc(100% - 28px) !important;
  margin: 8px 14px 14px !important;
  background: var(--brand-blue-bright) !important;
  color: #ffffff !important;
  padding: 13px !important;
  border: none !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 16px rgba(62, 123, 255, 0.3);
  transition: transform 0.15s !important, background 0.2s !important;
}

.mx-add-to-portfolio-btn:hover {
  background: var(--brand-blue) !important;
}

.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;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: none;
  justify-content: center;
  align-items: center;
}

#pageLoader[style*="display: flex"] {
  display: flex;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-fintech-card {
  background: #ffffff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 220px;
  box-shadow: 0 10px 30px rgba(22, 104, 255, 0.08);
  border-radius: 20px;
}

/* CIRCLE LOGO CONTAINER */
.ft-center-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #1668FF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(22, 104, 255, 0.25);
}

.ft-loader-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.8px;
}

/* PROGRESS BAR TRACK */
.ft-step-bar-wrap {
  width: 180px;
  height: 6px;
  background: #EAF1FF;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 4px;
  display: block;
}

/* PROGRESS BAR FILL */
.ft-step-bar-fill {
  width: 0%;
  height: 100%;
  background: #1668FF;
  border-radius: 6px;
  display: block;
}

/* PERCENTAGE TEXT */
.ft-status-text {
  color: #64748b;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

#pageLoader.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.loader-fintech-card {
  background: #ffffff !important;
  padding: 30px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  width: 220px !important;
  box-shadow: 0 10px 30px rgba(22, 104, 255, 0.08) !important;
  border-radius: 20px !important;
}

/* CIRCLE LOGO CONTAINER */
.ft-center-icon {
  width: 84px !important;
  height: 84px !important;
  border-radius: 50% !important;
  background: #1668FF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 16px rgba(22, 104, 255, 0.25) !important;
}

.ft-loader-logo-text {
  font-family: 'Inter', sans-serif !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  color: #ffffff !important;
  letter-spacing: 0.8px !important;
}

/* PROGRESS BAR */
.ft-step-bar-wrap {
  width: 180px !important;
  height: 6px !important;
  background: #EAF1FF !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  margin-top: 4px !important;
  position: relative !important;
}

.ft-step-bar-fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 0% !important;
  background: #1668FF !important;
  border-radius: 6px !important;
  transition: width 0.15s ease-out !important;
}

/* PERCENTAGE TEXT */
.ft-status-text {
  color: #64748b !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

/* 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: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toast-overlay.toast-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.toast-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 260px;
  text-align: center;
}

.toast-type-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.toast-success .toast-type-icon { color: #00F5A0; }
.toast-error   .toast-type-icon { color: #FF5252; }
.toast-warning .toast-type-icon { color: #FFB800; }
.toast-info    .toast-type-icon { color: #0052FF; }

.toast-msg {
  line-height: 1.3;
  color: #ffffff;
}

@media (max-width: 480px) {
  #toast-overlay {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) scale(0.9);
  }
  #toast-overlay.toast-show {
    transform: translate(-50%, -50%) scale(1);
  }
  .toast-inner {
    max-width: 240px;
  }
}



/* ======================================================
   CLEAN WHITE & ELECTRIC BLUE PAYMENT CHECKOUT THEME
   ====================================================== */

.payment-confirm-page {
  min-height: 100vh;
  background: #ffffff; /* White background */
  color: #1a1a1a;
  padding: 0 0 40px 0;
  box-sizing: border-box;
  font-family: inherit;
}

.recharge-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 100;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f5;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav-row h2 {
  color: #1a1a1a; /* White background header title */
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.recharge-back-btn-v2 {
  background: transparent;
  border: none;
  color: #0057FF; /* Electric Blue icon */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.secure-checkout-badge {
  background: #f4f7fe;
  color: #0057FF; /* Electric Blue text */
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.recharge-page-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

/* HERO AMOUNT CARD (White card styling with subtle shadow) */
.rech-order-hero {
  background: #ffffff;
  color: #1a1a1a;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f5;
  margin-bottom: 16px;
}

.rech-order-hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rech-order-label {
  font-size: 13.5px;
  color: #71717a;
  font-weight: 400;
}

.rech-session-badge {
  background: #f4f7fe;
  color: #0057FF; /* Electric Blue */
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rech-order-amount-row {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #0057FF; /* Electric Blue amount */
}

.rech-session-progress {
  width: 100%;
  height: 3px;
  background: #f0f0f5;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.rech-session-progress-fill {
  width: 100%;
  height: 100%;
  background: #0057FF;
  transition: width 1s linear;
}

/* CONTENT CARDS (White background cards) */
.rech-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f5;
}

.rech-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.rech-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.rech-expires-text {
  font-size: 12px;
  color: #71717a;
}

.rech-expires-text span {
  font-weight: 600;
  color: #0057FF; /* Electric blue countdown text */
}

/* MANUAL BANK ROWS */
.manual-bank-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manual-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e4e4e7;
}

.manual-bank-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.manual-bank-row span {
  font-size: 13.5px;
  color: #71717a;
}

.manual-bank-copy-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.manual-bank-copy-wrap strong {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 600;
}

/* ELECTRIC BLUE BUTTONS WITH WHITE TEXT */
.copy-pill-btn {
  background: #0057FF;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.copy-pill-btn:active {
  opacity: 0.8;
}

/* NOTICE BOX */
.rech-notice-box {
  display: flex;
  gap: 10px;
  background: #f4f7fe;
  border-radius: 12px;
  padding: 12px;
  margin-top: 16px;
  align-items: flex-start;
}

.rech-notice-box i {
  color: #0057FF; /* Electric Blue icon */
  font-size: 14px;
  margin-top: 2px;
}

.rech-notice-box p {
  margin: 0;
  font-size: 12px;
  color: #4b5563;
  line-height: 1.4;
}

/* INPUT FIELD STYLING */
.manual-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manual-field-group input {
  width: 100%;
  height: 48px;
  border: 1.5px solid #e4e4e7;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 14px;
  color: #1a1a1a;
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.manual-field-group input:focus {
  border-color: #0057FF;
}

.manual-field-group input::placeholder {
  color: #a1a1aa;
}

.field-hint {
  font-size: 11.5px;
  color: #71717a;
  margin-top: 2px;
}

/* SUBMIT BUTTON (Electric Blue background, white text) */
.deposit-btn {
  width: 100%;
  height: 50px;
  background: #0057FF;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 87, 255, 0.25);
  margin-top: 8px;
  transition: opacity 0.2s;
}

/* STYLING FOR THE VISIBLE UPLOAD DROPZONE */
.manual-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f4f7fe;
  border: 1.5px dashed #0057FF;
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.manual-upload-dropzone:active {
  background: #e8effe;
}

.deposit-btn:active {
  opacity: 0.9;
}


/* ======================================================
   PERFECT SQUARE CENTERED MODAL STYLING
   ====================================================== */
.proof-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.proof-square-modal {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1; /* Forces a perfect square box layout */
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  animation: modalScaleIn 0.25s ease-out;
}

@keyframes modalScaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.proof-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f5;
  padding-bottom: 10px;
}

.proof-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.proof-modal-close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #71717a;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.proof-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}



/* ======================================================
   NEW DESIGN SYSTEM: ELECTRIC BLUE & CLEAN WHITE
   ====================================================== */
:root {
  --app-electric: #0052FF;
  --app-electric-hover: #0040DB;
  --app-electric-glow: rgba(0, 82, 255, 0.18);
  --app-surface: #FFFFFF;
  --app-bg: #F4F6FB;
  --app-text: #090D16;
  --app-muted: #5A6A85;
  --app-border: #E3E8F0;
  --app-success-bg: #E6F8F2;
  --app-success-text: #00A86B;
}

#tasksPage {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0;
  right: 0;
  box-sizing: border-box;
  background: var(--app-bg);
}

.tsk-shell {
  background: var(--app-bg);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  padding-bottom: 130px;
}

/* Header Styling */
.tsk-top-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--app-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-sizing: border-box;
}

.tsk-nav-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  color: var(--app-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.tsk-nav-back:hover {
  background: var(--app-electric);
  color: #FFFFFF;
  border-color: var(--app-electric);
}

.tsk-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--app-text);
  letter-spacing: -0.01em;
}

.tsk-nav-spacer {
  width: 40px;
}

/* Hero Banner */
.tsk-hero-banner {
  margin: 20px;
  background: linear-gradient(135deg, #0052FF 0%, #002FA7 100%);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(0, 82, 255, 0.35);
}

.tsk-hero-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.tsk-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.tsk-hero-text-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tsk-hero-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tsk-hero-amount {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0;
}

.tsk-hero-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Catalog Title Block */
.tsk-catalog-header {
  padding: 8px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tsk-catalog-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--app-text);
  margin: 0;
}

.tsk-catalog-header p {
  font-size: 12.5px;
  color: var(--app-muted);
  margin: 0;
}

/* Feed & Card Architecture */
.tsk-feed {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.tsk-card-item {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.tsk-card-item:hover {
  border-color: rgba(0, 82, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.06);
}

.tsk-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tsk-card-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--app-text);
  line-height: 1.45;
  flex: 1;
}

/* Modern Pill Trigger Buttons */
.tsk-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tsk-action-pill.locked {
  background: var(--app-bg);
  color: var(--app-muted);
  border: 1px solid var(--app-border);
  opacity: 0.75;
  cursor: not-allowed;
}

.tsk-action-pill.ready {
  background: var(--app-electric);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(0, 82, 255, 0.25);
}

.tsk-action-pill.ready:hover {
  background: var(--app-electric-hover);
  transform: translateY(-1px);
}

.tsk-action-pill.ready:active {
  transform: scale(0.97);
}

.tsk-action-pill.received {
  background: var(--app-success-bg);
  color: var(--app-success-text);
  border: 1px solid rgba(0, 168, 107, 0.2);
  cursor: default;
}

/* Metric Progress Module */
.tsk-metric-block {
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tsk-metric-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tsk-metric-fraction {
  font-size: 12px;
  font-weight: 600;
  color: var(--app-muted);
}

.tsk-metric-percentage {
  font-size: 12px;
  font-weight: 700;
  color: var(--app-electric);
}

.tsk-bar-shell {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 100px;
  overflow: hidden;
}

.tsk-bar-progress {
  height: 100%;
  background: linear-gradient(90deg, #002FA7 0%, var(--app-electric) 100%);
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}