
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



:root {
    --primary-dark: #4b0082;
    --primary-neon: #9d4edd;
    --bg-gradient: linear-gradient(135deg, #f8f9ff 0%, #ede9fe 100%);
    --text-dark: #2d3436;
}

body {
    background: var(--bg-gradient);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.honda-auth-container { 
    display: none; 
    flex-direction: column; 
    width: 100%; 
    max-width: 400px; 
}
.honda-auth-container.active { display: flex; }

/* Header Layout */
.fieldmark-header { text-align: center; margin-bottom: 30px; }
.fieldmark-logo-circle { 
    width: 85px; 
    height: 85px; 
    background: #fff; 
    border-radius: 50%; 
    margin: 0 auto 15px; 
    border: 3px solid var(--primary-neon);
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.1);
    overflow: hidden; /* This clips the image to the circle shape */
}

.fieldmark-logo-circle img { 
    width: 100%;    /* Fills the width of the circle */
    height: 100%;   /* Fills the height of the circle */
    object-fit: cover; /* Ensures the image fills the space without distortion */
}
/* Card Layout */
.fieldmark-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(0,0,0,0.03);
}

.fieldmark-input-group { margin-bottom: 20px; }
.fieldmark-input-group label { font-size: 13px; font-weight: 600; color: #555; margin-bottom: 8px; display: block; }

/* Field & Eye Icon */
.fieldmark-field-box {
    display: flex; align-items: center; position: relative;
    background: #fcfcfc;
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 14px;
    transition: 0.3s;
}
.fieldmark-field-box:focus-within { border-color: var(--primary-neon); background: #fff; }

.prefix { font-weight: 700; color: #333; margin-right: 12px; border-right: 1px solid #ddd; padding-right: 12px; }
.fieldmark-field-box input { border: none; outline: none; width: 100%; font-size: 15px; background: transparent; padding-right: 30px; }

.eye-icon { 
    position: absolute; right: 15px; cursor: pointer; 
    color: var(--primary-neon); font-size: 16px; user-select: none;
}

/* Button & Actions */
.fieldmark-btn-submit {
    width: 100%; padding: 16px; border: none; border-radius: 14px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-neon));
    color: white; font-weight: 700; cursor: pointer; font-size: 16px; transition: 0.3s;
}
.fieldmark-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(157, 78, 221, 0.3); }

.fieldmark-switch-action { text-align: center; margin-top: 25px; font-size: 14px; color: #666; }
.fieldmark-link-btn { background: none; border: none; color: var(--primary-neon); font-weight: 700; cursor: pointer; }


.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;
}

/* Import Elegant Serif Font for the stylish look */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@800&display=swap');

/* Dashboard Header - Premium Purple Theme */
.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: 2px solid #f0e6f7; /* Slightly thicker border */
}

.header-left { display: flex; align-items: center; gap: 12px; }

/* Circular Badge for JPG Logo */
.header-brand-badge {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid #9d4edd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(157, 78, 221, 0.3);
}

.header-brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BOLD, STYLISH, CURLY LOOK */
.welcome-text {
  margin: 0;
  font-family: 'Playfair Display', serif; /* Stylish, elegant, curly-serif look */
  font-size: 26px; /* Larger */
  font-weight: 800; /* Extra bold */
  color: #2e003e; /* Rich, dark, bold purple */
  letter-spacing: -0.5px;
  text-shadow: 0px 1px 2px rgba(0,0,0,0.1); /* Adds depth so it isn't faint */
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.action-btn {
  width: 40px;
  height: 40px;
  background: #fdfbff;
  border: 2px solid #9d4edd; /* Stronger border */
  border-radius: 12px;
  color: #4b0082; /* Deep Purple Icons */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 18px; /* Larger icon size */
  font-weight: bold;
}

.action-btn:hover {
  background: #f0e6f7;
  border-color: #4b0082;
  color: #4b0082;
}

/* Push main content down */
body {
padding-top: 0px !important; 
  margin: 0;
}

:root {
  --neon-purple: #9d4edd;
  --text-dark: #1e2638;
}

.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 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.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); }

/* The Rounded App-Style Box */
.mx-circle-badge {
  width: 58px;
  height: 58px;
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 20px; /* Modern rounded square */
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-icon {
  width: 24px;
  height: 24px;
  stroke: var(--neon-purple); /* Using your Neon Purple */
}

.action-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #1e2638;
  font-size: 14px;
}

#realTimeClock {
  font-weight: 600;
  color: #718096;
  font-size: 13px;
}

/* This targets the SVG specifically inside the badge class */
.green-badge svg { stroke: #22c55e !important; }
.red-badge svg   { stroke: #ef4444 !important; }
.blue-badge svg  { stroke: #3b82f6 !important; }
.purple-badge svg{ stroke: #8b5cf6 !important; }

/* Also, remove or comment out this rule in your existing CSS */
/* .action-icon { stroke: var(--neon-purple); } */

.action-subtext {
  font-size: 9px;
  color: #8a99ad;
  font-weight: 500;
  margin-top: -2px;
}

.mx-circle-badge {
  position: relative; /* Essential for floating the badge inside */
  width: 52px;
  height: 52px;
  background: #f8f9fa;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white; /* Gives it the clean 'cutout' look */
}

.green-plus { background-color: #22c55e; }
.red-minus  { background-color: #ef4444; }


/* 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 {
  --neon-purple: #9d4edd;
  --nav-inactive: #a0aec0;
}

.bottom-nav {
  position: fixed;
  bottom: 10px !important;
  left: 5%;
  right: 5%;
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  
  /* Modern Frosted Glass */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 9999;
 
}


.nav-pill-container {
  height: 65px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  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.3s ease;
  gap: 2px;
}

/* The Icon Circle */
.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.nav-icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  display: block;
}

.nav-label-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}

/* ACTIVE STATE: Purple Circle + White Icon */
.nav-item.active {
  color: var(--neon-purple);
}

.nav-item.active .nav-icon-wrapper {
  background: var(--neon-purple);
  box-shadow: 0 4px 10px rgba(157, 78, 221, 0.3);
}

.nav-item.active .nav-icon-wrapper svg {
  stroke: #ffffff;
}

/* Haptic feedback click */
.nav-item:active {
  transform: scale(0.92);
}


/* Default state */
#bottomNav {
    display: none; 
}

/* Visibility state */
.nav-visible {
    display: flex !important;
}



.ticker-search-bar {
  width: 90%;
  max-width: 400px;
  margin: 15px auto; /* Spacing between flyer and action buttons */
  height: 45px;
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite; /* Adjust speed here */
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6a7e;
  gap: 8px;
}

.user-icon {
  width: 24px;
  height: 24px;
  background: #9d4edd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #f4f6f8;
  --bg-header: #2f6df6;
  --bg-card-light: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #8a99ad;
  --border-soft: #edf2f7;
}

body {
  background-color: var(--bg-main);
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
}

/* ── PROFILE PAGE — no max-width, no margin auto ─────────────────── */
.profile-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: #f0f2f8;
}

/* ── SCROLL CONTAINER ────────────────────────────────────────────── */
.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;
}

.nav-spacer-fix {
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ── OLD PROFILE CLASSES (kept so nothing breaks) ────────────────── */
.dashboard-top-section {
  background-color: var(--bg-header);
  padding: 28px 16px 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.profile-brand-logo-circle {
  width: 72px;
  height: 72px;
  background: #02021e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.logo-geometric-shape {
  width: 28px;
  height: 28px;
  background-color: #3b82f6;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.honda-user-meta h2 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 2px 0;
  letter-spacing: -0.02em;
}

.honda-user-meta p {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin: 0 0 20px 0;
  font-weight: 400;
}

.honda-main-card {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px 20px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.honda-label {
  font-size: 12.5px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.honda-amount-row {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.currency-symbol {
  font-size: 24px;
  font-weight: 600;
}

.honda-action-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin-top: -26px;
  z-index: 10;
  position: relative;
}

.honda-btn-primary, .honda-btn-outline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  background-color: var(--bg-card-light);
  box-shadow: 0 4px 15px rgba(0,0,0,.04);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  border: none;
  color: var(--text-dark);
  box-sizing: border-box;
}

.honda-btn-primary:active, .honda-btn-outline:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0,0,0,.02);
}

.btn-circle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-circle-icon svg { width: 18px; height: 18px; }
.icon-blue-bg { background-color: rgba(37,99,235,.08); color: #D6D100; }
.icon-green-bg { background-color: rgba(22,163,74,.08); color: #16a34a; }

.settings-group-wrapper { display: flex; flex-direction: column; gap: 8px; }

.settings-group-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding-left: 4px;
}

.settings-list-box {
  background-color: var(--bg-card-light);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.02);
  overflow: hidden;
  border: 1px solid rgba(237,242,247,.6);
}

.settings-item-link { text-decoration: none; color: inherit; }

.settings-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  transition: background-color 0.15s ease;
  background-color: var(--bg-card-light);
}

.settings-item-row:last-child { border-bottom: none; }
.settings-item-row:active { background-color: #f8fafc; }

.item-left-side { display: flex; align-items: center; gap: 14px; }

.menu-icon { font-size: 15px; width: 20px; text-align: center; }

.blue-tint   { color: #3b82f6; }
.purple-tint { color: #8b5cf6; }
.red-tint    { color: #ef4444; }
.text-red    { color: #ef4444 !important; }

.item-left-side span {
  font-size: 13.5px;
  font-weight: 400;
  color: #334155;
  letter-spacing: -0.01em;
}

.chevron-indicator { font-size: 10px; color: #cbd5e1; }
.red-chevron { color: rgba(239,68,68,.3); }

/* ── NEW PF- PROFILE CLASSES ─────────────────────────────────────── */
.pf-user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px 0;
}

.pf-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-avatar-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.pf-user-info { flex: 1; }

.pf-username {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
}

.pf-phone {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.pf-bell-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #e8eaf0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.pf-balance-card {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 60%, #5b21b6 100%);
  border-radius: 24px;
  padding: 24px 22px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(109,40,217,.3);
  margin: 0 16px;
}

.pf-bal-circle {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  pointer-events: none;
}

.pf-bal-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.pf-bal-amount {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.pf-bal-divider {
  height: 1px;
  background: rgba(255,255,255,.2);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.pf-bal-stats {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.pf-bal-stat { display: flex; flex-direction: column; gap: 4px; }
.pf-stat-label { font-size: 12px; color: rgba(255,255,255,.65); }
.pf-stat-val { font-size: 18px; font-weight: 700; color: #fff; }
.pf-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 16px;
}

.pf-action-btn {
  background: #fff;
  border: none;
  border-radius: 18px;
  padding: 18px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: .15s;
}

.pf-action-btn svg { color: #7c3aed; }
.pf-action-btn span { font-size: 13px; font-weight: 600; color: #1e293b; }
.pf-action-btn:active { transform: scale(.95); }

.pf-menu-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
  margin: 0 16px;
}

.pf-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .15s;
}

.pf-menu-item:last-child { border-bottom: none; }
.pf-menu-item:active { background: #f8fafc; }

.pf-menu-left { display: flex; align-items: center; gap: 16px; }

.pf-menu-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-menu-left span { font-size: 15px; font-weight: 500; color: #1e293b; }
.pf-chevron { color: #cbd5e1; font-size: 12px; }

.pf-signout-btn {
  width: calc(100% - 32px);
  margin: 0 16px;
  height: 54px;
  background: #fff1f2;
  border: none;
  border-radius: 16px;
  color: #ef4444;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: .15s;
}

.pf-signout-btn:hover  { background: #ffe4e6; }
.pf-signout-btn:active { transform: scale(.98); }

.pf-footer {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  padding: 4px 0 10px;
}




@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --neon-purple: #9d4edd;
  --bg-light: #fdfcff;
  --card-white: #ffffff;
  --text-main: #1e2638;
  --text-muted: #718096;
  --border-light: #f3e8ff;
}

.bank-page {
  background-color: var(--bg-light);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
}

/* Header */
.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 { background: none; border: none; color: var(--neon-purple); cursor: pointer; }

.bank-header h2 {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 16px; font-weight: 600; margin: 0;
}

/* Container */
.honda-bank-container {
  width: 100%; max-width: 430px; margin: 0 auto; padding: 80px 16px 40px;
}

.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(157, 78, 221, 0.08);
}

.honda-input-group { display: flex; flex-direction: column; gap: 8px; }

.honda-input-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }

.honda-bank-form input, .honda-bank-form select {
  background: #fcfcfc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.honda-bank-form input:focus, .honda-bank-form select:focus {
  border-color: var(--neon-purple);
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

/* Submit Button */
.honda-submit-btn {
  width: 100%;
  background: var(--neon-purple);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 6px 15px rgba(157, 78, 221, 0.2);
}


/* Payout Header Card - Gadget Grow Purple Style */
.honda-payout-card {
  background: var(--card-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.08);
}

.honda-payout-icon {
  width: 50px;
  height: 50px;
  /* Soft purple background tint */
  background: rgba(157, 78, 221, 0.1); 
  /* Neon purple icon */
  color: var(--neon-purple);     
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.honda-payout-text h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.honda-payout-text p {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: var(--text-muted);
}



/* ================= RECHARGE PAGE ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --rech-purple: #9d4edd;
  --rech-dark-purple: #4b0082;
  --rech-light-purple: #f5f0ff;
  --rech-border: #ede9f6;
  --rech-text: #1e293b;
  --rech-muted: #94a3b8;
  --rech-white: #ffffff;
  --rech-bg: #f4f6f8;
}

.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: 60px;
  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);
  box-shadow: 0 1px 4px rgba(75,0,130,0.05);
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recharge-header-fixed h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--rech-text);
  margin: 0;
}

.recharge-back-btn-v2,
.recharge-history-btn {
  background: #f5f0ff;
  border: none;
  color: var(--rech-dark-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: opacity 0.15s ease;
}

.recharge-back-btn-v2:active,
.recharge-history-btn:active {
  opacity: 0.6;
}

/* ── SCROLL CONTAINER ── */
.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 76px 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, #e8d5ff, #f0e8ff);
  border-radius: 16px;
  padding: 20px 20px;
  box-sizing: border-box;
  border: 1px solid #ddc6f5;
}

.rech-balance-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--rech-dark-purple);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.rech-balance-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rech-balance-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.rech-available-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--rech-purple);
}

/* ── WHITE CARDS ── */
.recharge-card {
  width: 100%;
  background: var(--rech-white);
  border-radius: 16px;
  padding: 20px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(75,0,130,0.06);
  border: 1px solid var(--rech-border);
}

/* ── SECTION HEADER ── */
.rech-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rech-section-bar {
  width: 4px;
  height: 20px;
  background: var(--rech-purple);
  border-radius: 4px;
}

.rech-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0;
}

.rech-minimum-note {
  font-size: 13px;
  color: var(--rech-muted);
  margin: 0;
}

.rech-min-highlight {
  color: var(--rech-purple);
  font-weight: 700;
}

/* ── AMOUNT GRID ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.amount-option {
  background: var(--rech-white);
  border: 1px solid #e2e8f0;
  padding: 12px 4px;
  border-radius: 10px;
  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-purple);
  color: var(--rech-purple);
  background: var(--rech-light-purple);
}

.amount-option.selected {
  background: var(--rech-purple);
  color: var(--rech-white);
  border-color: var(--rech-purple);
  box-shadow: 0 4px 12px rgba(157,78,221,0.3);
  font-weight: 700;
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  background: #faf7ff;
  border: 1px solid var(--rech-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 54px;
  box-sizing: border-box;
}

.currency-icon {
  color: var(--rech-purple);
  font-size: 18px;
  font-weight: 600;
  margin-right: 8px;
}

#customAmount {
  background: transparent;
  border: none;
  color: var(--rech-text);
  font-size: 18px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: #cbd5e1;
  font-weight: 400;
}

/* ── 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: 12px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--rech-white);
}

.rech-channel-item.active {
  border-color: var(--rech-purple);
  background: #faf7ff;
  box-shadow: 0 2px 10px rgba(157,78,221,0.1);
}

.rech-channel-icon {
  width: 42px;
  height: 42px;
  background: var(--rech-light-purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rech-purple);
  font-size: 16px;
  flex-shrink: 0;
}

.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-sub {
  font-size: 12px;
  color: var(--rech-muted);
}

.rech-channel-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  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-purple);
  border-color: var(--rech-purple);
  color: #ffffff;
}

/* ── CONFIRM BUTTON ── */
.deposit-btn {
  width: 100%;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  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 4px 16px rgba(75,0,130,0.25);
}

.deposit-btn:active {
  transform: scale(0.97);
  opacity: 0.92;
}

/* ── RULES BOX ── */
.rech-rules-box {
  width: 100%;
  background: var(--rech-white);
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid var(--rech-border);
  box-shadow: 0 2px 12px rgba(75,0,130,0.06);
}

.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-purple);
  color: var(--rech-purple);
  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-purple);
  font-weight: 600;
}

@media (max-width: 360px) {
  .amount-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}

:root {
  --neon-purple: #9d4edd;
  --soft-purple-bg: #f9f7ff;
  --border-purple: #eeeafb;
  --text-dark: #1e2638;
  --text-muted: #5c6a7e;
}

/* 1. Modal Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 2. Modal Frame */
.mx-unique-modal {
  background: #ffffff;
  width: 90%;
  max-width: 350px;
  border-radius: 28px;
  padding: 24px;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* 3. Close Button */
.mx-close-x-btn {
  position: absolute;
  top: 15px; right: 15px;
  background: #f8f9fa;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: #a0aec0;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4. Branding Badge (Inside the modal) */
.mx-modal-brand-token {
  width: 80px; height: 80px;
  margin: 0 auto 20px auto; /* Centered inside, no negative margin */
  background: #f0f0f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.15);
}
.mx-modal-brand-token img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* 5. Title */
.mx-modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* 6. Content Grid */
.mx-content-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mx-info-card {
  background: var(--soft-purple-bg);
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.mx-card-icon {
  font-size: 24px;
  background: #ffffff;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mx-card-label {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 2px;
}

.mx-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 7. Action Button */
.mx-telegram-btn {
  width: 100%;
  margin-top: 25px;
  padding: 18px;
  background: var(--neon-purple);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(157, 78, 221, 0.3);
}

.mx-telegram-btn:active {
  transform: scale(0.97);
}

#welcomePopup {
  display: none; /* Changed from none to flex for visibility during testing */
}


/* ── TRUST SECTION ── */
.trust-section {
  width: 100%;
  padding: 32px 16px 80px 16px; /* 120px bottom clears the navbar */
  box-sizing: border-box;
  background: #f5f0ff;
}

.trust-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
  margin: 0 0 24px 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

.trust-highlight {
  color: #9d4edd;
}

/* ── 2x2 GRID ── */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.trust-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #ede9f6;
  box-shadow: 0 2px 10px rgba(75, 0, 130, 0.05);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  background: #f0e8ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #9d4edd;
}

.trust-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
  font-family: 'Poppins', sans-serif;
}

.trust-card-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ── PARTNERS ── */
.trust-partners-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid #ede9f6;
  box-shadow: 0 2px 10px rgba(75, 0, 130, 0.05);
  max-width: 500px;
  margin: 0 auto 24px auto;
}

.trust-partners-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #94a3b8;
  margin: 0 0 14px 0;
  text-transform: uppercase;
}

.trust-partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-partner {
  font-size: 15px;
  font-weight: 700;
  color: #9d4edd;
  opacity: 0.7;
}

/* ── FOOTER ── */
.trust-footer {
  text-align: center;
}

.trust-footer p {
  font-size: 12px;
  color: #94a3b8;
  margin: 4px 0;
  line-height: 1.5;
}

/* DAILY LOADER OVERLAY */
.daily-loader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9999;
}

/* 3D SPINNER */
.spinner-3d{
  width:60px;
  height:60px;
  border:6px solid rgba(255,255,255,0.2);
  border-top:6px solid #00c2ff;
  border-radius:50%;
  animation:spin3d 1s linear infinite;
  margin-bottom:15px;
}

@keyframes spin3d{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

.daily-loader p{
  color:white;
  font-weight:600;
  font-size:16px;
}


/* ===== PRODUCT PAGE ===== */
.product-page {
  width: 100%;
  padding: 20px;
  padding-bottom: 80px;
  padding-top: 65px; /* space for fixed header */
  background: #ffffff; /* white background */
  min-height: 100vh;
  color: #ffffff;      /* white text */
  display: none;       /* show when active */
}

/* ===== FIXED HEADER ===== */
.product-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e40ff; /* blue header */
  padding: 12px 0;
  z-index: 1000;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;      /* white text */
  box-shadow: 0 3px 8px rgba(30, 64, 255, 0.2); /* subtle blue shadow */
}

.product-header i {
  margin-right: 8px;
  color: #ffffff; /* white icon */
}

/* ===== PREMIUM PRODUCT CARD - REDESIGNED ===== */
.premium-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  margin-top: -12px;
  margin-bottom: 16px;
  border: 1px solid #ede9f6;
  box-shadow: 0 4px 18px rgba(75, 0, 130, 0.07);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ── TOP STRIP ── */
.inv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
}

.inv-vip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.inv-vip-badge i {
  color: #e9d5ff;
  font-size: 14px;
}

.inv-days-pill {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── BODY: IMAGE + STATS GRID ── */
.inv-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.inv-product-img {
  width: 85px;
  height: 85px;
  min-width: 85px;
  border-radius: 12px;
  background: #f5f0ff;
  border: 1px solid #ede9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inv-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inv-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.inv-stat-box {
  background: #faf7ff;
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #ede9f6;
}

.inv-stat-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inv-stat-label i {
  color: #9d4edd;
  font-size: 9px;
}

.inv-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #9d4edd;
}

.inv-stat-val.dark {
  color: #0f172a;
}

.inv-stat-val.green {
  color: #16a34a;
}

/* ── FOOTER: DATE + PROGRESS BAR ── */
.inv-card-footer {
  padding: 0 16px 14px 16px;
  border-top: 1px solid #f3eeff;
  padding-top: 12px;
}

.inv-date-range {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 8px;
}

.inv-date-range i {
  color: #9d4edd;
}

.inv-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #ede9f6;
  border-radius: 99px;
  overflow: hidden;
}

.inv-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4b0082, #9d4edd);
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* ── COUNTDOWN ROW ── */
.inv-countdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #faf7ff;
  border-top: 1px solid #f3eeff;
}

.inv-next-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

.inv-countdown-timer {
  font-family: monospace;
  font-weight: 700;
  color: #4b0082;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .inv-product-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }
  .inv-stat-val {
    font-size: 12px;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #f4f6f8;
  --bg-banner: #2f6df6;
  --bg-card-white: #ffffff;
  --bg-input-tint: #f0f4f9;
  --text-dark: #1e293b;
  --text-muted: #8a99ad;
  --accent-blue: #2f6df6;
  --border-soft: #edf2f7;

  /* New purple hero vars */
  --invite-hero-bg: #7c3aed;
  --invite-hero-bg2: #6d28d9;
  --invite-step-ring: #ede9fe;
  --invite-step-num: #7c3aed;
}

/* ================= MASTER PAGE ================= */
.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-main);
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 80px;
}

/* ================= HEADER ================= */
.invite-header-fixed-v2 {
  position: relative;
  width: 100%;
  height: 140px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px 0 20px;
  background-color: var(--invite-hero-bg);
  box-sizing: border-box;
  flex-shrink: 0;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.invite-back-btn-v2 {
  position: absolute;
  left: 16px; top: 22px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

/* ================= SCROLL CONTAINER ================= */
.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ================= WHITE CARDS ================= */
.referral-master-card,
.how-it-works-card {
  background-color: var(--bg-card-white);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(237,242,247,0.7);
  box-sizing: border-box;
  width: 100%;
}

/* ================= HERO CARD ================= */
.invite-hero-card {
  margin-top: -65px;
  z-index: 20;
  position: relative;
  background: linear-gradient(135deg, var(--invite-hero-bg), var(--invite-hero-bg2));
  border: none;
  color: #fff;
  text-align: left;
  padding: 24px 20px;
}

.invite-hero-icon {
  font-size: 28px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
}

.invite-hero-title {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.invite-hero-sub {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

/* ================= SECTION HEADERS ================= */
.invite-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.invite-section-header i {
  color: var(--invite-hero-bg);
  font-size: 17px;
}

.invite-section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

/* ================= REFERRAL TOOLS CARD ================= */
.invite-tools-card {
  /* inherits .referral-master-card */
}

.referral-inner-brick {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 16px;
}

.referral-inner-brick:last-child {
  margin-bottom: 0;
}

.card-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 8px 2px;
}

/* ================= INPUT ROWS ================= */
.copy-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-input-tint);
  border-radius: 10px;
  padding: 0 8px 0 16px;
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(226,232,240,0.8);
}

.code-display {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.link-display {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-dark);
  font-size: 13px;
  font-family: inherit;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
}

.copy-pill-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--invite-hero-bg);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.copy-pill-btn:active {
  opacity: 0.8;
}

/* ================= HOW IT WORKS STEPS ================= */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--invite-step-ring);
  color: var(--invite-step-num);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.step-content p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= SOCIAL SHARE ================= */
.social-share-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 12px;
  padding: 14px 6px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.1s;
}

.social-btn i {
  font-size: 20px;
}

.social-btn:active {
  transform: scale(0.95);
  opacity: 0.85;
}

.social-facebook { background: #1877f2; }
.social-twitter  { background: #000000; }
.social-whatsapp { background: #25d366; }
.social-telegram { background: #0088cc; }



/* ================= EARNINGS PAGE SHELL ================= */
#earningsPage {
  background-color: #f0eeff;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.recharge-page-container {
  padding: 72px 14px 60px 14px;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ================= FIXED HEADER ================= */
.team-header-main {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #7c3aed;
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.25);
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.team-header-main span {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
}

.back-btn-white {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.back-btn-white:active {
  background: rgba(255,255,255,0.32);
  transform: translateY(-50%) scale(0.93);
}

/* ================= HERO BANNER ================= */
.team-hero-banner {
  background: linear-gradient(160deg, #7c3aed 0%, #a855f7 50%, #7c3aed 100%);
  border-radius: 20px;
  padding: 32px 20px 28px 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 28px rgba(2, 132, 199, 0.28);
}

.team-hero-amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
  color: #fff;
}

.team-hero-label {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
  font-weight: 500;
}

.team-hero-members {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}

.team-hero-members strong {
  color: #fff;
  font-weight: 700;
}

/* ================= WHITE CARDS ================= */
.team-white-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.07), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(237, 233, 254, 0.8);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-card-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.team-card-accent-bar {
  display: inline-block;
  width: 4px;
  height: 20px;
  background: #7c3aed;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ================= INVITE LINK ROW ================= */
.team-invite-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-link-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  border-radius: 12px;
  padding: 0 14px;
  height: 48px;
  overflow: hidden;
}

.team-link-text {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: #374151;
  font-family: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.team-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0 18px;
  height: 48px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  transition: opacity 0.15s, transform 0.1s;
}

.team-copy-btn:active {
  opacity: 0.85;
  transform: scale(0.97);
}

/* ================= LEVEL CARDS ================= */
.team-level-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #ede9fe;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.06);
  margin-bottom: 12px;
}

.team-level-card:last-child {
  margin-bottom: 0;
}

.team-level-card:hover,
.team-level-card:active {
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.18);
  transform: translateY(-2px);
}

.team-level-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px 14px 14px;
}

.team-level-medal {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.medal-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.medal-lavender {
  background: #f3e8ff;
  color: #a855f7;
}

.team-level-info {
  flex: 1;
}

.team-level-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
}

.team-level-rebate {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.team-level-arrow {
  color: #cbd5e1;
  font-size: 13px;
}

.team-level-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0 14px;
}

.team-level-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #f1f5f9;
  border-top: none;
}

.team-stat-box {
  background: #ffffff;
  padding: 16px 10px;
  text-align: center;
}

.team-stat-value {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-stat-value.orange { color: #f97316; }
.team-stat-value.red    { color: #ef4444; }

.team-stat-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

/* ================= DETAIL VIEW ================= */
.user-list-wrapper-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid #ede9fe;
}

.tier-card {
  background: #f8f5ff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #ede9fe;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tier-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.tier-badge {
  background: #ede9fe;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
}

.inner-user-grid-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.inner-user-box {
  background: #ffffff;
  border: 1px solid #ede9fe;
  border-radius: 10px;
  padding: 10px 4px;
}

.inner-user-value {
  color: #7c3aed;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.inner-user-label {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

/* ================= REWARD DETAILS ================= */
.team-reward-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.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: #475569;
  line-height: 1.55;
  padding-left: 4px;
}

.team-reward-list li::before {
  content: "•";
  color: #7c3aed;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Sixpack hidden IDs kept for JS compatibility */
#sixpackL1Comm, #sixpackL2Comm, #sixpackL1Rate, #sixpackL2Rate { display: none; }




/* ── WITHDRAWAL PAGE ─────────────────────────────────────────────── */
.withdraw-page {
  background: #f0f4f8;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

/* HEADER */
.wd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e8edf2;
  position: sticky;
  top: 0;
  z-index: 100;
}

.wd-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.wd-nav-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* CONTAINER */
.wd-container {
  padding: 14px 14px 40px;
  max-width: 480px;
  margin: 0 auto;
}

/* BALANCE CARD */
.wd-balance-card {
  background: linear-gradient(135deg, #16161a, #9d4edd);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.wd-bal-label {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.wd-bal-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.wd-bal-amount {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

.wd-available-tag {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* PROMO BANNER */
.wd-promo-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.wd-promo-icon {
  width: 44px;
  height: 44px;
  background: #f59e0b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.wd-promo-text {
  flex: 1;
}

.wd-promo-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 2px;
}

.wd-promo-text span {
  font-size: 11px;
  color: #d97706;
}

.wd-promo-arrow {
  width: 28px;
  height: 28px;
  background: #fde68a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  flex-shrink: 0;
}

/* SECTION CARDS */
.wd-section-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.wd-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.wd-section-bar {
  width: 3px;
  height: 18px;
  background: #9d4edd;
  border-radius: 2px;
  flex-shrink: 0;
}

/* BANK ROW */
.wd-bank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

.wd-bank-icon {
  width: 44px;
  height: 44px;
  background: #e0f2fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9d4edd;
  flex-shrink: 0;
}

.wd-bank-details { flex: 1; }

.wd-acct-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.wd-acct-num {
  font-size: 12px;
  color: #64748b;
}

.wd-bank-arrow {
  color: #94a3b8;
  flex-shrink: 0;
}

/* MIN NOTE */
.wd-min-note {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
}

.wd-min-note strong {
  color: #9d4edd;
  font-weight: 700;
}

/* AMOUNT GRID */
.wd-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.wd-amt-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: .2s;
  text-align: center;
}

.wd-amt-chip:hover,
.wd-amt-chip.active {
  background: #e0f2fe;
  border-color: #9d4edd;
  color: #9d4edd;
}

/* INPUT */
.wd-input-row {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 14px;
  height: 54px;
  gap: 8px;
  margin-bottom: 14px;
  transition: .2s;
}

.wd-input-row:focus-within {
  border-color: #9d4edd;
  background: #fff;
}

.wd-currency {
  font-size: 20px;
  font-weight: 700;
  color: #4b0082;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  font-size: 14px;
}

/* FEE ROW */
.wd-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 4px;
}

.wd-fee-label {
  font-size: 13px;
  color: #64748b;
}

.wd-fee-val {
  font-size: 13px;
  font-weight: 700;
  color: #ef4444;
}

/* SUBMIT BUTTON */
.wd-submit-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  transition: .2s;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.35);
}

.wd-submit-btn:hover  { background: linear-gradient(135deg, #4b0082, #9d4edd); }
.wd-submit-btn:active { transform: scale(.98); }

/* RULES CARD */
.wd-rules-card {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  overflow: hidden;
}

.wd-rules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
}

.wd-rules-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.wd-rules-chevron {
  color: #94a3b8;
  transition: transform .3s;
}

.wd-rules-card.open .wd-rules-chevron {
  transform: rotate(180deg);
}

.wd-rules-body {
  display: none;
  padding: 0 16px 16px;
}

.wd-rules-card.open .wd-rules-body {
  display: block;
}

.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: #475569;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.wd-rules-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #9d4edd;
  font-weight: 700;
}

.wd-highlight {
  color: #f59e0b;
  font-weight: 700;
}

/* MOBILE */
@media (max-width: 380px) {
  .wd-amount-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-bal-amount  { font-size: 24px; }
}

/* ── EMPTY BANK STATE ────────────────────────────────────────────── */
.bank-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  gap: 10px;
}

.bank-empty .bank-icon {
  width: 56px;
  height: 56px;
  background: #e0f2fe;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 4px;
}

.bank-empty h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.bank-empty p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  max-width: 240px;
}

#addAccountBtn {       
  margin-top: 6px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(29,126,216,.3);
  transition: .2s;
}

#addAccountBtn:hover  { background: linear-gradient(135deg, #4b0082, #9d4edd); }
#addAccountBtn:active { transform: scale(.97); }



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --trx-purple: #9d4edd;
  --trx-dark-purple: #4b0082;
  --trx-light-purple: #f5f0ff;
  --trx-border: #ede9f6;
  --trx-bg: #f4f6f8;
  --trx-text: #1e293b;
  --trx-muted: #94a3b8;
  --trx-white: #ffffff;
}

.bank-page {
  background-color: var(--trx-bg);
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--trx-text);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── HEADER ── */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--trx-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid var(--trx-border);
  box-shadow: 0 1px 4px rgba(75,0,130,0.05);
  box-sizing: border-box;
}

.records-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--trx-text);
}

.records-back-btn {
  position: absolute;
  left: 16px;
  background: var(--trx-light-purple);
  border: none;
  color: var(--trx-dark-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: opacity 0.15s ease;
}

.records-back-btn:active { opacity: 0.6; }

.records-count-badge {
  position: absolute;
  right: 16px;
  background: var(--trx-purple);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 76px 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── SUMMARY ROW ── */
.trx-summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trx-summary-card {
  background: var(--trx-white);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--trx-border);
  box-shadow: 0 2px 10px rgba(75,0,130,0.05);
}

.trx-summary-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--trx-muted);
  text-transform: uppercase;
}

.trx-summary-value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.trx-summary-value.credit { color: #16a34a; }
.trx-summary-value.debit  { color: #dc2626; }

/* ── RECORD CARDS ── */
#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-card {
  width: 100%;
  background: var(--trx-white);
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid var(--trx-border);
  box-shadow: 0 2px 10px rgba(75,0,130,0.05);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  position: relative;
  border-left: 4px solid var(--trx-purple);
}

/* Credit = green left border, Debit = red */
.record-card.card-credit { border-left-color: #16a34a; }
.record-card.card-debit  { border-left-color: #dc2626; }

/* ── CARD TOP ── */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.record-type-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--trx-muted);
  text-transform: uppercase;
}

.record-amount-value {
  font-size: 18px;
  font-weight: 700;
  color: #16a34a;
}

.record-amount-value.debit-amount {
  color: #dc2626;
}

/* ── CARD MID ── */
.card-mid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.record-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--trx-text);
}

.record-status-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  color: #16a34a;
}

.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: #fff7ed;
  color: #c2410c;
}

/* ── CARD BOTTOM ── */
.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f3eeff;
}

.card-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-arrow-icon {
  width: 32px;
  height: 32px;
  background: var(--trx-light-purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trx-purple);
  font-size: 12px;
}

.card-bottom-desc {
  font-size: 13px;
  color: var(--trx-muted);
}

.card-bottom-date {
  text-align: right;
}

.card-date-main {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--trx-purple);
}

.card-date-time {
  display: block;
  font-size: 11px;
  color: var(--trx-muted);
  margin-top: 2px;
}

@media (max-width: 480px) {
  .records-content-container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ================= 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;
}

}

/* ================= PAGE WRAPPER ================= */
.investment-page {
  background: #f8fafc; /* Sleek, ultra-clean premium light gray canvas */
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important; 
  align-items: stretch; 
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ================= CLEAN LIGHT TOP NAV BAR ================= */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff; /* Crisp white header line wrapper */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #f1f5f9; /* Flat, hairline divider line edge */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.investment-header h2 {
  margin: 0;
  font-size: 16px; /* Elegant, compact typography sizing */
  font-weight: 600;
  color: #0f172a; /* Slate dark title text color */
  font-family: 'Poppins', sans-serif;
}

/* Clean Back Button Navigation Icon Link */
.investment-back-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #2f6df6; /* Using your exact premium blue accent color */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

/* ================= SUB-HEADER OVERVIEW PANEL ================= */
.investment-sub-header {
  /* 60px for fixed header height + 24px extra top padding space = 84px */
  padding: 84px 20px 16px 20px; 
  background: #ffffff; /* Smooth flat white base background flow */
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #f1f5f9;
}

.investment-sub-header h1 {
  margin: 0;
  font-size: 22px; /* Balanced font weight sizing—not overly bulky */
  font-weight: 700;
  color: #0f172a;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}

.investment-sub-header p {
  margin: 4px 0 0 0;
  font-size: 13px; /* Clean tracking font spacing setup */
  color: #64748b; /* Soft gray secondary text line descriptor */
  line-height: 1.4;
}

/* ================= CARD WRAPPER & STREAM TILES ================= */
.card-wrapper {
  padding: 20px 16px 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Aligns cards dead-center in container space */
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}


/* Import the stylish serif font (Playfair Display) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@800&display=swap');

.product-section-title {
  font-family: 'Playfair Display', serif; /* Matching your header style */
  font-size: 24px; /* Larger, more authoritative sizing */
  font-weight: 800; /* Extra bold */
  color: #2e003e; /* Deep, rich purple matching your header */
  letter-spacing: -0.5px;
  margin: 20px 0 15px 0; /* More breathing room */
  padding-left: 12px; /* Matches the card padding */
  text-align: left;
  text-transform: capitalize; /* Cleaner look */
  line-height: 1.2;
}

/* Desktop screen alignment */
@media (min-width: 576px) {
  .product-section-title {
    margin: 20px auto 15px auto;
    max-width: 400px; /* Aligns with your card width */
    padding-left: 0;
  }
}


/* ================= INVESTMENT SUB-HEADER FILTERS ================= */
.investment-sub-header {
  padding: 84px 16px 16px 16px; /* 60px Fixed Nav bar + breathing room top clearance */
  background: #f8fafc; /* Canvas surface background */
  width: 100%;
  box-sizing: border-box;
}

/* ── TAB SWITCHER ── */
.investment-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin: 12px 16px;
}

.inv-filter-btn {
  background: transparent;
  border: none;
  padding: 10px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.inv-filter-btn.active {
  background: #ffffff;
  color: #4b0082;
  box-shadow: 0 2px 8px rgba(75, 0, 130, 0.12);
}

/* ================= SUMMARY PANEL ================= */
.inv-summary-panel {
  margin: 72px 16px 0 16px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f1f5f9;
}

.inv-active-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 24px;
  width: fit-content;
  margin: 0 auto 16px auto;
}

.inv-summary-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.inv-summary-divider {
  width: 1px;
  height: 50px;
  background: #e2e8f0;
}

.inv-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.inv-summary-icon {
  font-size: 18px;
  color: #9d4edd;
  margin-bottom: 2px;
}

.inv-summary-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.inv-summary-value {
  font-size: 20px;
  font-weight: 800;
  color: #9d4edd;
  font-family: 'Poppins', sans-serif;
}

.inv-summary-value.green {
  color: #16a34a;
}

/* ================= FILTER ROW OVERRIDE ================= */
.investment-sub-header {
  padding: 12px 16px 12px 16px;
  background: transparent;
  margin-top: 12px;
}

.inv-filter-btn.active {
  background: linear-gradient(135deg, #4b0082, #9d4edd);
  border-color: #9d4edd;
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.25);
}

:root {
  --neon-purple: #9d4edd;
  --dark-purple: #4b0082;
  /* Replacing red with purple equivalents */
  --bg-stats: #f8f0ff; 
}

#dynamicProductList {
  display: grid !important;
  gap: 16px !important;
  padding: 16px 12px 40px 12px !important;
}

/* Product Card Base Style */
.mx-product-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 20px !important;
  border: 1px solid rgba(157, 78, 221, 0.1); /* Subtle border for structure */
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.1);
  
  /* Smooth transition for the hover effects */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mx-top-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }

.mx-img-box { width: 80px; height: 80px; border-radius: 16px; background: #f8f8f8; overflow: hidden; }
.mx-img-box img { width: 100%; height: 100%; object-fit: cover; }

.mx-info-col { flex: 1; }
.mx-plan-name { font-size: 20px; font-weight: 800; color: #1a1a1a; margin: 0; }
.mx-validity { font-size: 13px; color: #666; margin-bottom: 8px; }

/* Purple Progress Bar */
.mx-progress-bar { height: 4px; background: #eee; border-radius: 2px; width: 100%; }
.mx-progress-fill { height: 100%; background: var(--neon-purple); width: 60%; border-radius: 2px; }

/* Price Badge - Now Neon Purple */
.mx-price-badge { background: var(--neon-purple); color: white; padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 14px; }

/* Middle Stats Row - Now Purple Background */
.mx-stats-row { display: flex; justify-content: space-between; background: var(--bg-stats); padding: 15px; border-radius: 16px; margin-bottom: 15px; }
.mx-stat-item { text-align: center; }
.mx-stat-label { font-size: 10px; color: var(--dark-purple); text-transform: uppercase; font-weight: 700; }
.mx-stat-value { font-size: 16px; font-weight: 800; color: var(--dark-purple); margin-top: 2px; }

/* Buy Button - Always Purple, No Hover */
.mx-add-to-portfolio-btn {
  width: 100% !important;
  background: var(--neon-purple) !important;
  color: #ffffff !important;
  padding: 14px !important;
  border: 2px solid var(--neon-purple) !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  /* Removed transition as there is no change to animate */
}

/* 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%;
  /* Opaque background to hide the content behind */
  background: #ffffff; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  
  /* Layout Stabilization */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
}

/* This class toggles visibility without shifting layout */
#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glass-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 24px;
  /* Soft, premium drop shadow */
  box-shadow: 0 15px 35px rgba(157, 78, 221, 0.15);
  border: 1px solid #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 240px;
}

.processing-title {
  color: #5c6a7e;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.dots-container {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--neon-purple);
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

.brand-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--neon-purple);
  animation: fade-text 2s infinite ease-in-out;
}

.scan-line-wrapper {
  width: 120px;
  height: 4px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.scan-line {
  width: 50px;
  height: 100%;
  background: var(--neon-purple);
  border-radius: 10px;
  position: absolute;
  animation: scan-move 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}
@keyframes fade-text {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes scan-move {
  0% { left: -50px; }
  100% { left: 120px; }
}

/* 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;
}