
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --brand-blue: #0357EE;
  --brand-blue-dark: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --auth-bg: #ffffff;
  --text-dark: #0b1220;
  --text-muted: #64748b;
}

body {
  margin: 0;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  background: var(--auth-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}


.honda-auth-container {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  box-sizing: border-box;
}

.honda-auth-container.active {
  display: flex;
}
.auth-page-inner {
  padding: 32px 24px;
  box-sizing: border-box;
  width: 100%;
}

/* ===== LOGO ===== */
.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.auth-logo-square {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e7edfb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px var(--brand-blue-soft), 0 10px 30px rgba(3, 87, 238, 0.15);
  overflow: hidden;
}

.auth-logo-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}

.auth-welcome-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 28px 0;
}

/* ===== INPUTS ===== */
.fieldmark-input-group {
  margin-bottom: 16px;
}

.fieldmark-input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.optional-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: #9aa5b8;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: var(--brand-blue-soft);
  border: 1.5px solid #dfe7fb;
  border-radius: 14px;
  padding: 15px 16px;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(3, 87, 238, 0.12);
}

.prefix {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 10px;
  border-right: 1.5px solid #cdd9f5;
}

.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
}

.fieldmark-field-box input::placeholder {
  color: #9aa5b8;
}

.eye-icon {
  cursor: pointer;
  color: #9aa5b8;
  font-size: 15px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon:hover {
  color: var(--brand-blue);
}

/* ===== BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  margin-top: 8px;
  box-shadow: 0 8px 20px rgba(3, 87, 238, 0.3);
  transition: background 0.2s, transform 0.1s;
}

.fieldmark-btn-submit:hover {
  background: var(--brand-blue-dark);
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

/* ===== SWITCH ===== */
.fieldmark-switch-action {
  text-align: center;
  margin-top: 22px;
  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;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 24px 18px; }
  .auth-logo-square { width: 72px; height: 72px; border-radius: 18px; }
  .auth-welcome-title { font-size: 24px; }
  .fieldmark-field-box { padding: 13px 14px; }
}

@media (max-height: 700px) {
  .auth-page-inner { padding: 20px 24px; }
  .auth-logo-wrap { margin-bottom: 16px; }
  .auth-welcome-sub { margin-bottom: 20px; }
}

.dashboard {
  width: 100%;
  max-width: 800px; /* Increase this to whatever width you prefer */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  background: #f8f9fa;
  background-attachment: fixed;
  color: #192231;
}


.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 64px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1000;
  border-bottom: 1px solid #eef1f6;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-brand-badge {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0241b8;
  letter-spacing: -0.2px;
}

.welcome-text-accent {
  color: #16a34a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  animation: liveBlink 1.4s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.live-text {
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
}

.action-btn {
  width: 36px;
  height: 36px;
  background: #eaf0fe;
  border: none;
  border-radius: 50%;
  color: #0241b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

:root {
  --brand-blue: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
  --text-muted: #8a99ad;
}

body {
  padding-top: 0px !important;
  margin: 0;
}



:root {
  --brand-blue: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
  --text-hint: #94a3b8;
  --border-soft: #eef1f6;
}

.gle-slim-card {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(2, 65, 184, 0.08);
  width: 100%;
  max-width: 100%;
  margin: 76px auto 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.gle-slim-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  min-width: 0;
}

.gle-slim-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.gle-slim-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.gle-slim-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gle-slim-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gle-slim-sub {
  font-size: 9px;
  color: var(--text-hint);
  white-space: nowrap;
}

.gle-live {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 14px;
  flex-shrink: 0;
}

.gle-live-dot {
  width: 5px;
  height: 5px;
  background: #16a34a;
  border-radius: 50%;
  animation: gleLiveBlink 1.4s infinite;
}

@keyframes gleLiveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.gle-slim-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.gle-slim-stat {
  text-align: center;
  min-width: 0;
}

.gle-slim-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin: 0 auto 6px;
}

.gle-icon-blue { background: #dbeafe; color: #2563eb; }
.gle-icon-purple { background: #ede9fe; color: #7c3aed; }
.gle-icon-pink { background: #fce7f3; color: #db2777; }
.gle-icon-green { background: #dcfce7; color: #16a34a; }

.gle-slim-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gle-slim-lbl {
  font-size: 8px;
  color: var(--text-hint);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

.gle-slim-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px;
  min-width: 0;
}

.gle-slim-ring-area {
  width: 50px;
  height: 50px;
  position: relative;
  flex-shrink: 0;
}

.gle-slim-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gle-slim-ring-pct {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
}

.gle-slim-chart-area {
  flex: 1;
  min-width: 0;
  height: 46px;
  position: relative;
}

@media (max-width: 380px) {
  .gle-slim-row { gap: 4px; }
  .gle-slim-icon { width: 24px; height: 24px; font-size: 11px; }
  .gle-slim-val { font-size: 11px; }
  .gle-slim-lbl { font-size: 7px; }
}





.main-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
}

.mx-menu-wrapper {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 20px 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--text-dark);
  font-size: 18px;
  text-transform: capitalize;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.action-card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.1s;
}

.action-card:active {
  transform: scale(0.95);
}

.mx-circle-badge {
  width: 56px;
  height: 56px;
  background: var(--brand-blue-soft);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.mx-circle-badge.green-fill {
  background: var(--brand-blue);
}

.action-icon {
  font-size: 22px;
  color: var(--brand-blue);
}

.action-icon.white-icon {
  color: #ffffff;
}

.action-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
}

.action-subtext {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -6px;
}

/* CONTAINER & HEADER */
.features-section {
  padding: 20px;
  background: transparent;
  font-family: sans-serif;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.features-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.view-all-link {
  color: #2D6BEF; /* Matching Syncox Blue */
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

/* HORIZONTAL SCROLLING WRAPPER */
.features-scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  /* Hide scrollbar for Chrome/Safari */
  scrollbar-width: none; 
}

.features-scroll-container::-webkit-scrollbar {
  display: none;
}

/* THE CARDS - Optimized for Mobile */
.feature-card {
  flex: 1 1 calc(33.33% - 10px); /* Adjusts to fit 3 cards per row */
  max-width: calc(33.33% - 10px); 
  background: #ffffff;
  border-radius: 15px; /* Slightly smaller radius for mobile */
  padding: 15px 5px;   /* Reduced padding to save space */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
  margin: 5px; /* Adds breathing room between cards */
}

.feature-title {
  font-size: 18px; /* Scaled down from 22px for mobile */
  font-weight: 800;
  color: #1a1a1a; 
  margin-bottom: 2px;
  text-align: center;
}

/* The 100% Blue Highlight */
.highlight-text {
  color: #2D6BEF !important;
}

.feature-subtitle {
  font-size: 11px; /* Scaled down from 14px */
  font-weight: 600;
  color: #99a1b7; 
  text-align: center;
  white-space: nowrap; /* Prevents text from wrapping ugly */
}
:root {
  --neon-purple: #9d4edd;
  --black-solid: #000000;
}

/* Force wrapper to be full width with zero margins */
.slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  margin-bottom: 110px; /* Generates breathing room for the content below */
}

/* Edge-to-edge full-bleed slider */
.image-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 250px; /* Adjusted to a sleek, compact card profile */
  background: transparent;
  margin: 0;
  padding: 0;
  scrollbar-width: none; /* Hides scrollbar on Firefox */
}

/* Hides scrollbar on Chrome/Safari */
.image-slider::-webkit-scrollbar { 
  display: none; 
}

.slide {
  min-width: 100%;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops slightly to fill the edge-to-edge rectangle */
  display: block;
}

/* ATM Card Floating Adjustment (Using fixed pixels for consistent margins on all screens) */
.floating-gadget-card {
  position: absolute;
  bottom: -70px;
  left: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--neon-purple), var(--black-solid));
  padding: 24px 20px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(157, 78, 221, 0.3);
  color: white;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gadget-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.gadget-desc {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}
/* Products Header */
.products-header {
  margin-bottom: 12px;
  text-align: left; /* align text to left */
}

.products-header h2 {
  display: inline-block;        
  padding: 6px 16px;            
  font-size: 18px;
  font-weight: bold;
  color: #D4AF37;               /* white text */
  background: #d01e1e;          /* sky blue background */
  border-radius: 50px;          
  font-family: 'Arial Black', 'Helvetica', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;    
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* subtle black shadow */
}





.welcome-card {
  background: linear-gradient(135deg, #1E3A8A, #2f6df6); /* SONY-style blue */
  color: white;
  border-radius: 12px;       
  padding: 30px;             
  margin: 0;                 /* remove side margins */
  width: 100%;               /* full width of container/screen */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.welcome-content {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: flex-start;  /* all left aligned */
}

.welcome-text {
  font-size: 16px;           
  font-weight: 300;          
  margin: 0;                 
}

.user-number {
  font-size: 20px;           
  font-weight: 700;          
  margin: 4px 0 0 0;         /* small space below header */
  letter-spacing: 1px;
}


.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: #0241b8;
  --nav-inactive: #94a3b8;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid #eef1f6;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  z-index: 9999;
}

.nav-pill-container {
  position: relative;
  height: 62px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.nav-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--nav-inactive);
  transition: all 0.2s ease;
  gap: 4px;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.nav-icon-wrapper i {
  font-size: 18px;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

.nav-label-text {
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

.nav-item.active .nav-icon-wrapper i {
  color: var(--brand-blue);
}

.nav-item.active .nav-label-text {
  color: var(--brand-blue);
}

.nav-item:active {
  transform: scale(0.92);
}

/* ===== CENTER FLOATING NAV BUTTON ===== */
.nav-item-center {
  position: relative;
  justify-content: flex-end;
  padding-bottom: 8px;
}

.nav-center-circle {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f6bf7, #0241b8);
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(2, 65, 184, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-center-label {
  margin-top: 0;
  color: var(--brand-blue);
  font-weight: 700;
}


/* 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: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --bg-main: #f5f7fb;
  --text-dark: #0b1220;
  --text-muted: #64748b;
  --text-hint: #94a3b8;
  --border-soft: #eef1f6;
}

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: 0 0 calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.pf-user-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 4px;
}

.pf-avatar-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--brand-blue-soft);
  border: 1.5px solid var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pf-avatar-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-blue);
}

.pf-username {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 4px;
}

.pf-member-tag {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.pf-balance-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 18px;
  margin: 12px 16px 0;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.06);
}

.pf-bal-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-hint);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.pf-bal-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 18px;
  line-height: 1;
}

.pf-action-row {
  display: flex;
  gap: 10px;
}

.pf-act-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.pf-act-deposit {
  background: var(--brand-blue);
  color: #fff;
}

.pf-act-withdraw {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.pf-act-btn:active {
  transform: scale(0.97);
}

.pf-section {
  margin: 0 16px;
}

.pf-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-hint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-left: 4px;
}

.pf-menu-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.06);
  border: 1px solid var(--border-soft);
}

.pf-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s;
}

.pf-menu-item:last-child { border-bottom: none; }
.pf-menu-item:active { background: #f8fafc; }

.pf-menu-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pf-menu-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-menu-left span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.pf-chevron {
  color: #cbd5e1;
  font-size: 12px;
}

.pf-signout-icon {
  background: #fef2f2;
  color: #dc2626;
}

.pf-signout-text {
  color: #dc2626 !important;
}

.pf-signout-chevron {
  color: #fca5a5;
}

.pf-support-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.06);
}

.pf-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-hint);
  padding: 4px 0 10px;
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-blue: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --bg-light: #f5f7fb;
  --card-white: #ffffff;
  --text-main: #0b1220;
  --text-muted: #64748b;
  --text-hint: #94a3b8;
  --border-light: #eef1f6;
}

.bank-page {
  background-color: var(--bg-light);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
}

.bank-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--card-white);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.bank-back-btn {
  width: 36px;
  height: 36px;
  background: #f1f4f9;
  border-radius: 10px;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bank-header h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 80px 16px 40px;
}

.honda-verify-banner {
  background: var(--brand-blue-soft);
  border: 1px solid #d3e2fa;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.honda-verify-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.honda-verify-banner p {
  margin: 0;
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.5;
}

.honda-bank-form {
  background: var(--card-white);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 25px rgba(2, 65, 184, 0.08);
  border: 1px solid var(--border-light);
}

.honda-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.honda-input-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-hint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.honda-bank-form input,
.honda-bank-form select {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
}

.honda-bank-form input::placeholder {
  color: var(--text-hint);
}

.honda-bank-form input:focus,
.honda-bank-form select:focus {
  border-color: var(--brand-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 65, 184, 0.1);
}

.honda-select-wrapper select {
  width: 100%;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.honda-submit-btn {
  width: 100%;
  background: var(--brand-blue);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 6px 15px rgba(2, 65, 184, 0.25);
  font-family: 'Inter', sans-serif;
}

.honda-submit-btn:active {
  transform: scale(0.98);
}



/* ================= RECHARGE PAGE ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --rech-blue: #0357EE;
  --rech-blue-dark: #0241b8;
  --rech-light-blue: #eaf0fe;
  --rech-border: #e7edfb;
  --rech-text: #1e293b;
  --rech-muted: #94a3b8;
  --rech-white: #ffffff;
  --rech-bg: #f7f9fc;
}

.recharge-page {
  font-family: 'Inter', sans-serif;
  background-color: var(--rech-bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: var(--rech-text);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* ── FIXED HEADER ── */
.recharge-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--rech-white);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 1px solid var(--rech-border);
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recharge-header-fixed h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0;
}

.recharge-back-btn-v2,
.recharge-history-btn {
  background: transparent;
  border: none;
  color: var(--rech-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  width: 32px;
  height: 32px;
  transition: opacity 0.15s ease;
}

.recharge-back-btn-v2:active,
.recharge-history-btn:active {
  opacity: 0.5;
}

/* ── SCROLL CONTAINER ── */
.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── BALANCE CARD ── */
.rech-balance-card {
  width: 100%;
  background: linear-gradient(135deg, #0a1640 0%, #0b2a8a 55%, #0357EE 100%);
  border-radius: 18px;
  padding: 20px 20px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(3, 87, 238, 0.25);
}

.rech-balance-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.rech-balance-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rech-balance-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  flex-shrink: 0;
}

.rech-balance-value {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ── WHITE CARDS ── */
.recharge-card {
  width: 100%;
  background: var(--rech-white);
  border-radius: 18px;
  padding: 20px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 18px rgba(3, 87, 238, 0.08);
  border: 1px solid var(--rech-border);
}

.rech-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0;
}

.rech-minimum-note {
  font-size: 12px;
  color: var(--rech-muted);
  margin: -6px 0 0 0;
}

.rech-min-highlight {
  color: var(--rech-blue);
  font-weight: 700;
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  background: var(--rech-light-blue);
  border: 1px solid var(--rech-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 52px;
  box-sizing: border-box;
}

#customAmount {
  background: transparent;
  border: none;
  color: var(--rech-text);
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: #9aa5b8;
  font-weight: 400;
}

/* ── AMOUNT GRID ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.amount-option {
  background: var(--rech-white);
  border: 1px solid var(--rech-border);
  padding: 13px 4px;
  border-radius: 12px;
  text-align: center;
  color: var(--rech-text);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.amount-option:hover {
  border-color: var(--rech-blue);
  color: var(--rech-blue);
  background: var(--rech-light-blue);
}

.amount-option.selected {
  background: var(--rech-blue);
  color: var(--rech-white);
  border-color: var(--rech-blue);
  box-shadow: 0 6px 16px rgba(3, 87, 238, 0.3);
  font-weight: 700;
}

/* ── PAYMENT CHANNELS ── */
.rech-channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rech-channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--rech-border);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--rech-white);
}

.rech-channel-item.active {
  border-color: var(--rech-blue);
  background: var(--rech-light-blue);
  box-shadow: 0 4px 14px rgba(3, 87, 238, 0.12);
}

.rech-channel-icon {
  width: 40px;
  height: 40px;
  background: var(--rech-light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rech-blue);
  font-size: 16px;
  flex-shrink: 0;
}

.rech-channel-item.active .rech-channel-icon {
  background: #ffffff;
}

.rech-channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rech-channel-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--rech-text);
}

.rech-channel-item.active .rech-channel-name {
  color: var(--rech-blue);
}

.rech-channel-sub {
  font-size: 12px;
  color: var(--rech-muted);
}

.rech-channel-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #d7e3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 11px;
  transition: all 0.2s ease;
}

.rech-channel-radio.active {
  background: var(--rech-blue);
  border-color: var(--rech-blue);
  color: #ffffff;
}

/* ── CONFIRM BUTTON ── */
.deposit-btn {
  width: 100%;
  background: linear-gradient(90deg, #0357EE 0%, #00b4f0 100%);
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease, opacity 0.1s ease;
  box-shadow: 0 10px 24px rgba(3, 87, 238, 0.3);
}

.deposit-btn:active {
  transform: scale(0.97);
  opacity: 0.92;
}

/* ── RULES BOX ── */
.rech-rules-box {
  width: 100%;
  background: var(--rech-white);
  border-radius: 18px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid var(--rech-border);
  box-shadow: 0 4px 18px rgba(3, 87, 238, 0.08);
}

.rech-rules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.rech-rules-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--rech-text);
}

.rech-rules-chevron {
  color: var(--rech-muted);
  transition: transform 0.3s ease;
}

.rech-rules-chevron.open {
  transform: rotate(180deg);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-icon {
  width: 22px;
  height: 22px;
  background: var(--rech-light-blue);
  color: var(--rech-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.info-list p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.highlight-blue {
  color: var(--rech-blue);
  font-weight: 600;
}

@media (max-width: 360px) {
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}


:root {
  --brand-blue: #0357EE;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
  --text-muted: #5c6a7e;
  --accent-green: #16a34a;
}

.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;
}

.mx-unique-modal {
  background: #ffffff;
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  padding: 20px 18px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

.mx-close-x-btn {
  position: absolute;
  top: 14px; right: 14px;
  background: #f3f5f9;
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: #8a94a6;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mx-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-right: 24px;
}

.mx-modal-brand-token {
  width: 52px; height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e7edfb;
  box-shadow: 0 4px 12px rgba(3, 87, 238, 0.12);
}

.mx-modal-brand-token img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.mx-header-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mx-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.mx-modal-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-top: 2px;
}

.mx-modal-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
  margin: 0 0 16px 0;
}

.mx-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mx-stat-box {
  background: var(--brand-blue-soft);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mx-stat-number {
  font-size: 20px;
  font-weight: 800;
}

.mx-stat-number.green { color: var(--accent-green); }
.mx-stat-number.blue { color: var(--brand-blue); }

.mx-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.mx-action-btn {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s;
  box-shadow: 0 8px 20px rgba(3, 87, 238, 0.25);
}

.mx-action-btn:active { transform: scale(0.97); }

.mx-btn-icon {
  width: 22px; height: 22px;
  background: #ffffff;
  color: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 380px) {
  .mx-unique-modal { padding: 16px 14px; }
  .mx-modal-title { font-size: 16px; }
}

#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: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --bg-page: #f5f7fb;
  --text-dark: #0b1220;
  --text-muted: #64748b;
  --text-hint: #94a3b8;
  --border-soft: #eef1f6;
}

.invite-page {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  background-color: var(--bg-page);
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 80px;
}

.invite-header-fixed-v2 {
  background: #ffffff;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.invite-back-btn-v2 {
  width: 36px;
  height: 36px;
  background: #f1f4f9;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.iv-hero {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(2, 65, 184, 0.06);
}

.iv-hero-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-blue-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--brand-blue);
  font-size: 24px;
}

.iv-hero h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.iv-hero p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.iv-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(2, 65, 184, 0.06);
  box-sizing: border-box;
}

.iv-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-hint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.iv-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.iv-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.iv-code-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 1px;
}

.iv-copy-icon {
  width: 34px;
  height: 34px;
  background: var(--brand-blue-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.iv-btn-outline {
  width: 100%;
  padding: 13px;
  border: 1.5px solid var(--brand-blue);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}

.iv-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.iv-link-row input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  color: var(--text-dark);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  padding: 0;
}

.iv-btn-solid {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.iv-tier {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}

.iv-tier:last-child {
  margin-bottom: 0;
}

.iv-tier-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.iv-tier-1 .iv-tier-badge {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.iv-tier-2 .iv-tier-badge {
  background: #e9f7ee;
  color: #16a34a;
}

.iv-tier-info {
  flex: 1;
}

.iv-tier-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2px 0;
}

.iv-tier-info p {
  font-size: 11px;
  color: var(--text-hint);
  margin: 0;
}

.iv-tier-pct {
  font-size: 17px;
  font-weight: 800;
}

.iv-tier-1 .iv-tier-pct {
  color: var(--brand-blue);
}

.iv-tier-2 .iv-tier-pct {
  color: #16a34a;
}



#earningsPage {
  background: #f5f7fb;
  color: #0b1220;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.team-page-container {
  padding: 70px 14px 80px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

/* ===== HEADER ===== */
.team-header-main {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
  z-index: 1000;
  box-sizing: border-box;
}

.team-header-main span {
  font-size: 16px;
  font-weight: 700;
  color: #0b1220;
}

.back-btn-white {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: #f1f4f9;
  color: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

/* ===== SUMMARY STRIP ===== */
.team-summary-strip {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.06);
  border: 1px solid #eef1f6;
}

.team-summary-cell {
  text-align: center;
  flex: 1;
}

.team-summary-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.team-summary-value {
  font-size: 28px;
  font-weight: 800;
  color: #0b1220;
}

.team-summary-value.blue {
  color: #0241b8;
}

.team-summary-divider {
  width: 1px;
  height: 40px;
  background: #eef1f6;
  flex-shrink: 0;
}

/* ===== INVITE CARD ===== */
.team-invite-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #eef1f6;
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.05);
}

.team-invite-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-link-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f7fb;
  border: 1px solid #eef1f6;
  border-radius: 10px;
  padding: 0 12px;
  height: 44px;
  overflow: hidden;
  color: #0241b8;
  font-size: 14px;
}

.team-link-text {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 12px;
  color: #0b1220;
  font-family: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.team-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0241b8;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 16px;
  height: 44px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.team-copy-btn:active {
  transform: scale(0.97);
}

/* ===== LEVEL CARDS ===== */
.team-level-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.06);
  border: 1px solid #eef1f6;
  border-left: 4px solid transparent;
}

/* Colored left edge — matches screenshot */
.lv1-card { border-left-color: #0241b8; }
.lv2-card { border-left-color: #16a34a; }

.team-lv-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
}

.team-lv-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}

.lv1-badge {
  background: #eaf0fe;
  color: #0241b8;
}

.lv2-badge {
  background: #f0fdf4;
  color: #16a34a;
}

.team-lv-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-lv-info {
  flex: 1;
}

.team-lv-title {
  font-size: 15px;
  font-weight: 700;
  color: #0b1220;
  margin-bottom: 3px;
}

.team-lv-sub {
  font-size: 13px;
  color: #64748b;
}

.team-lv-arrow {
  color: #cbd5e1;
  font-size: 13px;
}

.team-lv-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0;
}

.team-lv-stats {
  display: flex;
  align-items: center;
}

.team-lv-stat {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
}

.team-lv-stat-divider {
  width: 1px;
  height: 30px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.team-lv-stat-lbl {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-lv-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: #0b1220;
}

.team-lv-stat-val.blue {
  color: #0241b8;
}

/* ===== DETAIL VIEW ===== */
.user-list-wrapper-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #eef1f6;
}

.tier-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #eef1f6;
  border-left: 3px solid #0241b8;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tier-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0b1220;
}

.tier-badge {
  background: #eaf0fe;
  color: #0241b8;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
}

.inner-user-grid-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
}

.inner-user-box {
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  padding: 8px 4px;
}

.inner-user-value {
  color: #0241b8;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.inner-user-label {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ===== REWARD CARD ===== */
.team-reward-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #eef1f6;
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-reward-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0b1220;
}

.team-reward-title i {
  color: #0241b8;
}

.team-reward-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-reward-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

.team-reward-list li::before {
  content: "•";
  color: #0241b8;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}



/* ── WITHDRAWAL PAGE ── */
.withdraw-page {
  background: #f0f2f5;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* ── HEADER ── */
.wd-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px 16px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e4e6eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.wd-back-btn {
  width: 40px;
  height: 40px;
  border: 1.5px solid #e4e6eb;
  border-radius: 12px;
  background: #ffffff;
  color: #1c1e21;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.wd-back-btn:active {
  background: #f0f2f5;
}

.wd-header-text { flex: 1; }

.wd-title {
  font-size: 20px;
  font-weight: 700;
  color: #1c1e21;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.wd-subtitle {
  font-size: 13px;
  color: #65676b;
  margin: 0;
  line-height: 1.4;
}

/* ── CONTAINER ── */
.wd-container {
  padding: 16px 16px 80px 16px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wd-balance-card {
  background: #0241b8;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}

.wd-bal-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.wd-bal-amount {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1;
}

/* ── SECTION CARDS ── */
.wd-section-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ── AMOUNT HEADER ── */
.wd-amount-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wd-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1c1e21;
}

.wd-positive-tag {
  font-size: 12px;
  font-weight: 600;
  color: #1877f2;
}

/* ── INPUT ── */
.wd-input-row {
  display: flex;
  align-items: center;
  background: #f0f2f5;
  border: 1.5px solid #e4e6eb;
  border-radius: 12px;
  padding: 0 16px;
  height: 54px;
  gap: 10px;
  transition: border-color 0.2s;
}

.wd-input-row:focus-within {
  border-color: #1877f2;
  background: #ffffff;
}

.wd-currency {
  font-size: 22px;
  font-weight: 700;
  color: #1877f2;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #bcc0c4;
  font-weight: 400;
  font-size: 14px;
}

/* ── BANK CARD ── */
.wd-bank-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.wd-bank-icon-wrap {
  width: 48px;
  height: 48px;
  background: #f0f2f5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1877f2;
  flex-shrink: 0;
}

.wd-bank-info { flex: 1; }

.wd-bank-name {
  font-size: 14px;
  font-weight: 700;
  color: #1c1e21;
  margin-bottom: 4px;
}

.wd-bank-detail {
  font-size: 12px;
  color: #65676b;
  font-weight: 500;
}

.wd-bank-verified {
  flex-shrink: 0;
}

/* ── WITHDRAW BUTTON ── */
.wd-submit-btn {
  width: 100%;
  height: 54px;
  background: #ffffff;
  color: #1877f2;
  border: 1.5px solid #e4e6eb;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: background 0.15s, transform 0.1s;
}

.wd-submit-btn:active {
  transform: scale(0.98);
  background: #f0f2f5;
}

/* ── RULES CARD ── */
.wd-rules-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.wd-rules-title {
  font-size: 15px;
  font-weight: 700;
  color: #1c1e21;
  margin-bottom: 14px;
}

.wd-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wd-rules-list li {
  font-size: 13px;
  color: #65676b;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.wd-rules-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1877f2;
  font-weight: 700;
}

.wd-rules-list li strong {
  color: #1c1e21;
  font-weight: 700;
}

/* ── MOBILE ── */
@media (max-width: 380px) {
  .wd-bal-amount { font-size: 32px; }
  .wd-title { font-size: 18px; }
}


.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }


/* ── EMPTY BANK STATE ── */
.bank-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  gap: 12px;
}

.bank-empty .bank-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #e7f0fe, #dbeafe);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
  box-shadow: 0 4px 12px rgba(24,119,242,0.12);
}

.bank-empty h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1c1e21;
  margin: 0;
  letter-spacing: -0.2px;
}

.bank-empty p {
  font-size: 13px;
  color: #65676b;
  margin: 0;
  line-height: 1.6;
  max-width: 240px;
}

#addAccountBtn {
  margin-top: 4px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #1877f2, #6d5af9);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 14px rgba(24,119,242,0.3);
  transition: transform 0.15s, opacity 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

#addAccountBtn::before {
  content: '+';
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

#addAccountBtn:active {
  transform: scale(0.97);
  opacity: 0.9;
}


.card-order-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.card-order-row i {
  color: #0357EE;
  font-size: 11px;
}

.card-order-row strong {
  color: #0b1220;
  font-weight: 700;
}


.bank-page {
  background-color: #f0f2f5;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #1c1e21;
  box-sizing: border-box;
}

/* ── HEADER ── */
.records-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10000;
  box-shadow: 0 2px 12px rgba(24,119,242,0.2);
  box-sizing: border-box;
}

.records-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.records-back-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}

.records-back-btn:active {
  background: rgba(255,255,255,0.3);
}

/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── RECORD CARD ── */
.record-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #e4e6eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── TOP ROW: title left, amount right ── */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.record-title {
  font-size: 15px;
  font-weight: 700;
  color: #1c1e21;
}

.record-amount-value {
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
}

.record-amount-value.debit-amount  { color: #dc2626; }
.record-amount-value.pending-amount { color: #f59e0b; }
.record-amount-value.failed-amount {
  color: #94a3b8;
  text-decoration: line-through;
}

/* ── MID ROW: date left, status right ── */
.card-mid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.record-type-label {
  font-size: 12px;
  color: #65676b;
  font-weight: 400;
}

/* ── STATUS PILL ── */
.record-status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.record-status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.status-confirmed-green {
  background: #f0fdf4;
  color: #16a34a;
}

.status-failed-red {
  background: #fef2f2;
  color: #dc2626;
}

.status-pending-orange {
  background: #fffbeb;
  color: #d97706;
}


/* ================= 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;
}

}


.investment-page {
  background: #f0f2f5;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 10000;
  box-shadow: 0 2px 12px rgba(24,119,242,0.2);
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s;
}

.investment-back-btn:active {
  background: rgba(255,255,255,0.3);
}

/* Active Pill */
.inv-active-pill {
  margin: 72px 16px 0 16px;
  background: #e7f0fe;
  border-radius: 30px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}

.inv-active-pill i {
  color: #1877f2;
  font-size: 14px;
}

.inv-active-pill #invActiveCount {
  font-weight: 700;
  color: #1877f2;
}

/* Card wrapper */
.card-wrapper {
  flex: 1;
  padding: 16px 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Empty state */
.inv-empty-state {
  text-align: center;
  max-width: 320px;
  margin: 60px auto 0 auto;
}

.inv-empty-icon {
  width: 64px;
  height: 64px;
  background: #e7f0fe;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
  color: #1877f2;
}

.inv-empty-title {
  font-size: 17px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0 0 6px 0;
}

.inv-empty-sub {
  font-size: 13px;
  color: #65676b;
  margin: 0 0 22px 0;
  line-height: 1.5;
}

.inv-browse-btn {
  background: #1877f2;
  color: #ffffff;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(24,119,242,0.25);
  transition: transform 0.15s;
  font-family: inherit;
}

.inv-browse-btn:active { transform: scale(0.97); }


#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e7edfb;
  box-shadow: 0 4px 18px rgba(3, 87, 238, 0.08);
  padding: 14px;
}

/* Top badges */
.inv-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.inv-popular-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eaf0fe;
  color: #0357EE;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
}

.inv-days-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #0357EE;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(3, 87, 238, 0.3);
}

/* Main row */
.inv-card-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.inv-card-left { flex: 1; min-width: 0; }

.inv-plan-title {
  font-size: 16px;
  font-weight: 800;
  color: #0b1220;
  margin: 0 0 3px 0;
}

.inv-plan-desc {
  font-size: 11.5px;
  color: #64748b;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.inv-features-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.inv-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #475569;
  font-weight: 500;
  white-space: nowrap;
}

.inv-feature-icon {
  width: 22px;
  height: 22px;
  background: #eaf0fe;
  color: #0357EE;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.inv-card-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 100px;
}

.inv-returns-label {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  margin-bottom: 2px;
}

.inv-returns-value {
  font-size: 19px;
  font-weight: 800;
  color: #0357EE;
  white-space: nowrap;
}

.inv-returns-unit {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 2px;
}

/* Stats grid */
.inv-stats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.inv-stat-box-v2 {
  background: #f5f8ff;
  border: 1px solid #eef2fb;
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.inv-stat-box-icon {
  width: 24px;
  height: 24px;
  background: #0357EE;
  color: #ffffff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  margin-bottom: 2px;
}

.inv-stat-label {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.inv-stat-val {
  font-size: 12px;
  font-weight: 800;
  color: #0b1220;
}

.inv-stat-val small {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
}

/* Progress section */
.inv-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.inv-progress-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #64748b;
}

.inv-progress-percent {
  font-size: 12px;
  font-weight: 800;
  color: #0357EE;
}

.inv-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #e7edfb;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.inv-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0357EE, #3b82f6);
  border-radius: 99px;
  transition: width 0.5s ease;
}

.inv-date-range {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Countdown banner */
.inv-countdown-banner {
  background: linear-gradient(135deg, #0a1640 0%, #0357EE 100%);
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.inv-countdown-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inv-countdown-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

.inv-countdown-timer-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 12px;
  width: fit-content;
}

.inv-countdown-timer {
  font-size: 15px;
  font-weight: 800;
  color: #0357EE;
  letter-spacing: 0.5px;
}

.inv-trust-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inv-trust-icon {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  flex-shrink: 0;
}

.inv-trust-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.inv-trust-text strong {
  font-size: 11.5px;
  color: #ffffff;
  font-weight: 700;
}

.inv-trust-text span {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
}

/* Mobile: only stack the very tightest spots, keep everything else horizontal */
@media (max-width: 340px) {
  .inv-card-right { min-width: 80px; }
  .inv-returns-value { font-size: 16px; }
  .inv-trust-text span { display: none; }
}


.inv-countdown-timer {
  font-family: monospace;
  font-weight: 700;
  color: #1877f2;
  font-size: 13px;
  letter-spacing: 1px;
}



.gle-swal-popup {
  border-radius: 20px !important;
  padding: 28px 22px !important;
  box-shadow: 0 20px 50px rgba(2, 65, 184, 0.15) !important;
}

.gle-swal-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0b1220 !important;
}

.gle-swal-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  color: #64748b !important;
}

.gle-swal-confirm {
  background: #0241b8 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(2, 65, 184, 0.25) !important;
}

.gle-swal-confirm:hover {
  background: #022e8a !important;
}

.gle-swal-icon {
  border-color: #eaf0fe !important;
}



.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: #0357EE;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
  --text-muted: #64748b;
  --hot-green: #16a34a;
}

/* Subheader */
.mx-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 12px;
  margin-bottom: 4px;
}

.product-section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.mx-section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.mx-myplans-link {
  background: none;
  border: none;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
}

/* Product Grid */
#dynamicProductList {
  display: grid !important;
  gap: 16px !important;
  padding: 16px 12px 40px 12px !important;
}

/* Product Card */
.mx-product-card {
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 20px !important;
  border: 1px solid #eef2fb;
  box-shadow: 0 4px 18px rgba(3, 87, 238, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* HOT badge - green, blinking */
.mx-hot-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--hot-green);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  animation: mx-hot-pulse 1.4s ease-in-out infinite;
}

@keyframes mx-hot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

.mx-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-right: 50px;
}

.mx-img-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-blue-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.mx-img-box img { width: 100%; height: 100%; object-fit: cover; }

.mx-info-col { flex: 1; min-width: 0; }
.mx-plan-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 2px 0;
}
.mx-validity {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.mx-divider {
  height: 1px;
  background: #eef2fb;
  margin-bottom: 16px;
}

/* Stats grid - 4 boxes */
.mx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mx-stat-item {
  background: var(--brand-blue-soft);
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
}

.mx-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.mx-stat-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-top: 4px;
}

/* Buy Button */
.mx-add-to-portfolio-btn {
  width: 100% !important;
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  padding: 14px !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(3, 87, 238, 0.25);
  transition: transform 0.15s !important;
}

.mx-add-to-portfolio-btn:active {
  transform: scale(0.97);
}

@media (max-width: 360px) {
  .mx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mx-stat-value { font-size: 14px; }
}

.mx-loader, .mx-error {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 14px;
}


/* No hover state defined, so it will remain static */

/* This targets the <a> tag wrapping your settings item */
a.settings-link-wrapper {
    text-decoration: none !important; /* Forces the underline to disappear */
    color: inherit !important;        /* Forces the text to stay your app's color */
    display: block;                   /* Makes the whole row clickable */
    -webkit-tap-highlight-color: transparent; /* Removes the gray box on mobile tap */
}

/* Optional: Add a slight hover or active effect so the user knows it's a button */
a.settings-link-wrapper:active {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* ================= CUSTOM ALERT ================= */
.custom-alert {
  position: fixed !important;

  top: 50% !important;
  left: 50% !important;

  transform: translate(-50%, -50%) !important;

  background: rgba(0, 0, 0, 0.85);
  color: #fff;

  padding: 14px 24px;
  border-radius: 12px;

  font-size: 15px;
  text-align: center;

  max-width: 90%;
  width: max-content;

  box-shadow: 0 8px 20px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;

  z-index: 999999; /* higher than EVERYTHING */
}

.custom-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) !important;
}
.custom-alert {
  right: auto;
  margin: 0;
}

.custom-alert.show {
  animation: alertPop 0.3s ease;
}

@keyframes alertPop {
  0% {
    transform: translate(-50%, -60%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}


/* ================= EMPTY STATE UI (PRODUCT STYLE) ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  padding: 40px 20px; 
  margin: 15px;
  text-align: center;
  
  /* Card Design: Stretch like an ATM card */
  background: #ffffff;
  border-radius: 16px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  
  width: auto; 
  max-width: 100%; 
  box-sizing: border-box;
}

.empty-icon-circle {
  width: 70px; /* Slightly larger for product focus */
  height: 70px;
  background: #f8f9fa; /* Clean grey/white tint */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon-circle i {
  font-size: 28px;
  color: #121b1e; /* Bold dark icon */
}

.empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

.empty-subtitle {
  margin: 8px 0 25px 0;
  font-size: 14px;
  color: #777;
  font-weight: 400;
  line-height: 1.5;
  max-width: 280px; /* Keeps text centered and readable */
}

/* THE BUTTON - Full width button */
.browse-plans-btn {
  background: #4b0082; 
  color: #ffffff;
  border: none;
  width: 100%; 
  max-width: 300px; /* Adjusted for better card balance */
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.browse-plans-btn:active {
  transform: scale(0.97);
}



#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glass-card {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(2, 65, 184, 0.12);
  border: 1px solid #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 240px;
}

.gl-orbit-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.gl-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.gl-ring-1 {
  border-top-color: #0241b8;
  border-right-color: #0241b8;
  animation: glSpin 1.1s linear infinite;
}

.gl-ring-2 {
  inset: 12px;
  border-bottom-color: #7ca6f5;
  border-left-color: #7ca6f5;
  animation: glSpinRev 1.6s linear infinite;
}

.gl-core {
  position: absolute;
  inset: 30px;
  background: #0241b8;
  border-radius: 50%;
  animation: glPulseCore 1.4s ease-in-out infinite;
}

.brand-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #0b1220;
}

.processing-title {
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

@keyframes glSpin {
  to { transform: rotate(360deg); }
}

@keyframes glSpinRev {
  to { transform: rotate(-360deg); }
}

@keyframes glPulseCore {
  0%, 100% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1); opacity: 1; }
}


/* Header Image */
.product-header-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}


.debit-amount  { color: #ef4444; font-weight: 700; }
.pending-amount { color: #f59e0b; font-weight: 700; }
.failed-amount  { color: #94a3b8; font-weight: 700; text-decoration: line-through; }
.record-amount-value { color: #16a34a; font-weight: 700; }

/* Reviews Ticker Wrapper - fills remaining viewport height */
.reviews-ticker-wrapper {
  width: 100%;
  height: calc(100vh - 250px); /* adjust based on your header/image height */
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff; /* blue background */
  padding: 10px;
  box-sizing: border-box;
}

/* Ticker container */
.reviews-ticker {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: scrollReviews 300s linear infinite; /* very slow scroll */
}

/* Each review item */
.review-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #ffffff; /* white card background */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 80px; /* make each review taller */
}

/* User logo / icon */
.review-item .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* keeps image from shrinking */
}

/* Review text */
.review-item .review-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #79a2e5; /* blue text */
}

/* Smooth scroll animation */
@keyframes scrollReviews {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}



/* Full-width black box around dashboard image */
.dashboard-image-box-full {
    width: 100%;                 /* full width of parent container */
    background-color: #000000;   /* black box (you can change to green) */
    padding: 15px;               /* space inside box for image */
    border-radius: 16px;         /* rounded corners */
    box-sizing: border-box;
    text-align: center;          /* center image */
    margin: 20px 0;              /* vertical spacing only, no horizontal shift */
    overflow: hidden;            /* prevent any overflow */
}

/* Dashboard image inside the box */
.dashboard-image {
    max-width: 100%;             /* fit inside green box */
    height: auto;
    border-radius: 12px;         /* slightly rounded corners */
    display: inline-block;       /* center properly */
}




/* ===== PAYMENT TYPE ===== */
.payment-type {
  margin: 15px 0;
  text-align: left;
  width: 100%;
  position: relative;
  font-family: sans-serif;
}

.payment-type label {
  display: block;
  margin-bottom: 6px;
  color: #f4b400; /* green label */
  font-weight: 600;
  font-size: 14px;
}

/* The clickable box */
.payment-box {
  width: 100%;
  background: #ffffff;          /* white box */
  color: #000000;               /* green text */
  border: 1px solid #c0c0c0;   /* silver edge */
  border-radius: 12px;
  padding: 12px 15px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.payment-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-box .arrow {
  font-size: 14px;
}



/* Options list hidden by default */
.payment-options {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 48px; /* below the box */
  width: 100%;
  background: #ffffff;
  border: 1px solid #c0c0c0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none; /* hidden initially */
  z-index: 100;
}

.payment-options li {
  padding: 10px 15px;
  cursor: pointer;
  color: #000000;
  font-weight: 500;
  transition: background 0.2s;
}

.payment-options li:hover {
  background: rgba(15,157,88,0.1); /* light green hover */
}


/* Selected Amount Display */
.selected-amount {
  font-weight: bold;
  color: #000000;   /* black */
  font-size: 20px;
  margin-top: 8px;
  text-align: center;
}



#paymentCountdown {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ff0707; /* green */
}


#paymentStatusMessage {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  display: none;
}


.status-pending {
  background: #f0fff6;
  color: #d29922;
}

.status-approved {
  background: #e6fff1;
  color: #1faa59;
}

.status-declined {
  background: #ffecec;
  color: #d62828;
}

.status-timeout {
  background: #fff6e5;
  color: #c77700;
}




/* ================= FLOATING TELEGRAM (PROFILE PAGE) ================= */
.profile-page .telegram-float-profile {
  position: fixed;
  bottom: 90px;              /* above bottom nav */
  right: 16px;               /* move to right */
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: #0088cc;       /* Telegram blue */
  color: #ffffff;            /* white icon/text */

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,136,204,0.35);  /* subtle blue shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover / tap */
.profile-page .telegram-float-profile:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0,136,204,0.45); /* stronger blue shadow */
}

/* Mobile safe */
@media (max-width: 480px) {
  .profile-page .telegram-float-profile {
    bottom: 100px;
    right: 12px;            /* adjust right for mobile */
  }
}

#toast-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 99999;
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
}

#toast-overlay.toast-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Inner pill */
.toast-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  min-width: 200px;
  max-width: 320px;
  white-space: normal;
}

/* Spinning circle loader */
.toast-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: toast-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes toast-spin {
  to { transform: rotate(360deg); }
}

/* Type icon */
.toast-type-icon {
  font-size: 15px;
  flex-shrink: 0;
}

/* Type colors for icon */
.toast-success .toast-type-icon { color: #4ade80; }
.toast-error   .toast-type-icon { color: #f87171; }
.toast-warning .toast-type-icon { color: #fbbf24; }

/* Spinner color by type */
.toast-success .toast-spinner { border-top-color: #4ade80; }
.toast-error   .toast-spinner { border-top-color: #f87171; }
.toast-warning .toast-spinner { border-top-color: #fbbf24; }

/* Message text */
.toast-msg {
  flex: 1;
  line-height: 1.4;
}