.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    width: 85%;
    max-width: 350px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Soft shadow */
    border: 1px solid #f0f0f0;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #f4f4f4; /* Ash background */
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #27ae60; /* Green icon color */
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f4f4f4; /* Ash border */
    border-top: 4px solid #27ae60; /* Green spinner */
    border-radius: 50%;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}

h2 { font-family: sans-serif; color: #333; margin-bottom: 5px; }
p { font-family: sans-serif; color: #777; font-size: 14px; margin-bottom: 20px; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-hidden {
    display: none !important;
}




@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --vtx-bg-soft: #F4F6F6;       
    --vtx-card-bg: #F8F9FA;       
    --vtx-input-bg: #FFFFFF;      
    --vtx-emerald: #023E2B;       
    --vtx-accent-bar: #0A4D34;    
    --vtx-text-dark: #071612;     
    --vtx-text-muted: #8E9A96;    
}


body {
    background-color: var(--vtx-bg-soft);
    font-family: 'Poppins', sans-serif;
    color: var(--vtx-text-dark);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 0;
}

.container.active {
    display: flex !important;
}

/* 👑 Brand Section Overhauled to Horizontal Layout */
.vtx-brand-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 45px;
    margin-bottom: 30px;
    width: 100%;
}

.vtx-brand-logo {
    width: 44px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vtx-brand-logo svg {
    width: 100%;
    height: 100%;
}

.vtx-brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.vtx-brand-main {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--vtx-text-dark);
}

.vtx-brand-sub {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--vtx-emerald);
}

/* 📄 Plastered Sheet Base */
.vtx-form-sheet {
    background: var(--vtx-card-bg);
    width: 100%;
    border-radius: 24px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.vtx-page-title {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    color: var(--vtx-text-dark);
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* 📝 Input Field Elements */
.input-group {
    margin-bottom: 22px;
    width: 100%;
}

.vtx-input-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--vtx-text-dark);
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 3.5px solid var(--vtx-accent-bar);
    line-height: 1.2;
}

.vtx-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.vtx-input-wrapper input {
    width: 100%;
    background-color: var(--vtx-input-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    padding: 16px 20px;
    color: var(--vtx-text-dark);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.vtx-input-wrapper input::placeholder {
    color: var(--vtx-text-muted);
    font-weight: 400;
}

.vtx-input-wrapper input:focus {
    border-color: var(--vtx-emerald);
    box-shadow: 0 0 0 1px var(--vtx-emerald);
}

/* Password View Option */
.password-wrapper input {
    padding-right: 50px !important;
}

.toggle-password.noticed-monkey {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: var(--vtx-text-dark);
    user-select: none;
    z-index: 5;
    display: flex;
    align-items: center;
}

/* 🔘 Custom Functional Checkbox */
.vtx-utilities-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2px 4px 20px 4px;
}

.vtx-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--vtx-text-dark);
    font-weight: 500;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.vtx-checkbox-label input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.vtx-custom-box {
    height: 18px;
    width: 18px;
    background-color: #E2E8F0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.15s;
}

.vtx-checkbox-label input:checked ~ .vtx-custom-box {
    background-color: var(--vtx-emerald);
}

.vtx-custom-box::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.vtx-checkbox-label input:checked ~ .vtx-custom-box::after {
    display: block;
}

/* 🚀 Premium Clickable Action Button */
.btn-emerald {
    width: 100%;
    padding: 16px;
    background-color: var(--vtx-emerald);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(2, 62, 43, 0.15);
}

.btn-emerald:active {
    transform: scale(0.985);
}

/* 🔗 Footer Navigation */
.vtx-footer-nav {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--vtx-text-muted);
}

.vtx-footer-nav span {
    color: var(--vtx-emerald);
    cursor: pointer;
    font-weight: 600;
}

.vtx-footer-nav span:hover {
    text-decoration: underline;
}


/* Dashboard container */
.dashboard {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
  
  /* UPDATED: Current Theme Dark Color */
  background-color: #0b0b0b; 
  /* Subtle dark gradient for depth instead of purple */
  background: radial-gradient(circle at bottom right, #1a1a1a 0%, #0b0b0b 100%);
  background-attachment: fixed; 
  
  color: #ffffff; /* Keeping text white for high contrast */
}




/* ================= REFINED DASHBOARD HEADER (PREMIUM FINTECH) ================= */
.dashboard-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 75px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Rounded Circles for Icons */
.header-icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #F7F7F7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1D20;
  font-size: 18px;
  cursor: pointer;
}

/* Center Text Stack */
.header-center-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

.welcome-label {
  font-size: 12px;
  font-weight: 500;
  color: #8E9A96; /* Muted grey for "Hi, Investor" */
  margin-bottom: 2px;
}

.platform-name {
  font-size: 15px;
  font-weight: 700;
  color: #071612; /* Bold dark text */
}

/* Push content down */
body {
  padding-top: 85px;
}


:root {
    --vtx-bg-canvas: #F4F6F6;
    --vtx-card-surface: #FFFFFF;
    --vtx-text-dark: #071612;
    --vtx-muted: #8E9A96;
    /* Color Palette matching the reference */
    --clr-deposit: #3B82F6;
    --clr-withdraw: #10B981;
    --clr-team: #F59E0B;
    --clr-gift: #8B5CF6;
}

.main-container {
    background: var(--vtx-bg-canvas);
    padding: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.quick-actions-title {
    color: var(--vtx-text-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: var(--vtx-card-surface);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s;
}

/* Base Style for Icons */
.action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    /* Clean transparent background with subtle border */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.2s ease;
}

/* Color Coding */
#mainRechargeTrigger .action-icon { color: var(--clr-deposit); border-color: rgba(59, 130, 246, 0.2); }
#withdrawBtn .action-icon { color: var(--clr-withdraw); border-color: rgba(16, 185, 129, 0.2); }
#refCard .action-icon { color: var(--clr-team); border-color: rgba(245, 158, 11, 0.2); }
#giftCodeBtn .action-icon { color: var(--clr-gift); border-color: rgba(139, 92, 246, 0.2); }

/* TEXT STYLING - Compact & Pro */
.action-btn span {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--vtx-text-dark);
    text-align: center;
    line-height: 1.2;
}

/* Subtle Interactive State */
.action-btn:active {
    transform: scale(0.95);
}
.action-btn:active .action-icon {
    background: rgba(0,0,0,0.02);
}

/* 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 */
}



.promo-banner-container {
  width: 100%;
  background-color: #FAFAFA; /* Light background for cleaner look */
  padding: 15px 0;
}

.promo-banner-wrapper {
  width: 92vw;
  margin: 0 auto;
  height: 380px; /* Refined height */
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  /* Updated border to a more premium dark emerald/neutral tone */
  border: 1px solid rgba(2, 62, 43, 0.1); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.promo-banner-slider {
  display: flex;
  width: 100%; /* Changed to 100% for single image clarity */
  height: 100%;
}

.promo-banner-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Removed dark tint to ensure your banner design is visible */
  pointer-events: none;
}

/* 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-color: #1E3A8A; /* 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 */
}


/* ================= BOTTOM NAV CONTAINER ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff; /* Ultra clean white background like screenshot */
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0 8px 0; /* Slim, compact vertical layout height */
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.04); /* Thin subtle separation shadow */
  z-index: 1000;
  border-top: 1px solid #f1f5f9; /* Razor thin premium gray top divider edge */
  height: 52px; /* Set clean absolute height footprint */
  box-sizing: border-box;
}

/* ================= NAV ITEMS ================= */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 1;
  gap: 2px; /* Super tight margin distance between icon and text */
  transition: all 0.2s ease-in-out;
  height: 100%;
  position: relative;
}

/* Active Pill Background Wrapping Wrapper */
.nav-icon-wrapper {
  width: 50px; /* Wider horizontal dimension for screenshot look */
  height: 26px; /* Tight vertical boundary box */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px; /* Clean curved capsule pill layout */
  transition: background-color 0.25s ease-in-out;
  background-color: transparent;
}

/* ICON BASE LAYER STYLE - Sleek Dark Slate for Inactive Items */
.nav-item i {
  font-size: 16px; /* Reduced micro icon dimension sizing */
  color: #475569; /* Soft ash gray text color mapping */
  transition: color 0.25s ease;
}

/* TEXT BASE LAYER STYLE */
.nav-item span {
  font-size: 11px; /* Small, crisp text fonts like screenshot */
  font-weight: 500; 
  color: #475569; /* Inactive soft gray matching text */
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.2px;
  transition: color 0.25s ease, font-weight 0.2s ease;
}

/* 🌟 ACTIVE STATE - TRANSFERRED TO EMERALD GREEN AND SOFT TRANSLUCENT PILL */
.nav-item.active .nav-icon-wrapper {
  background-color: rgba(34, 197, 94, 0.12); /* Perfect translucent green pill shape behind active icon */
}

.nav-item.active i {
  color: #22c55e; /* Premium emerald green highlight coloring */
}

.nav-item.active span {
  color: #22c55e; /* Premium emerald green matching text highlight */
  font-weight: 600; /* Subtle weight increase for clean visual balance */
}

/* Interactive Device Fluid Tap Effect Layer */
.nav-item:active {
  transform: scale(0.95);
}


/* ==========================================
   👑 CROWN PIXEL-PERFECT FLOATING SYSTEM 
   ========================================== */

/* Main Page Canvas background */
.profile-page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 5px 0 40px 0; /* Brings content very close to the custom top header bar */
  box-sizing: border-box;
  background-color: #F4F6F8; /* Beautiful soft ash-white */
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
}

/* Fixed Top Navigation Bar Component - PURE PREMIUM GLASS MORPHISM */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px; 
  
  /* 🌟 GLASS ENGINE: Semi-transparent white background combined with high-end backdrop blur filters */
  background: rgba(255, 255, 255, 0.4) !important; 
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  
  /* Razor thin light edge to define the bottom border like real glass */
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important; 
  
  padding: 14px 20px;
  box-sizing: border-box;
  z-index: 9999 !important; /* Kept fully on top so things pass beneath it */
}

.header-inner-flex {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Dark contrast typography so it stands out cleanly against the frosted glass overlay */
.account-title-left {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B; 
  letter-spacing: -0.5px;
}

.signout-text-right {
  font-size: 14px;
  font-weight: 600;
  color: #EF4444; 
  cursor: pointer;
  transition: opacity 0.2s;
}

.signout-text-right:active {
  opacity: 0.6;
}

/* Structural Layout Wrapper */
.dashboard-wrapper {
  padding: 0;
  width: 100%;
  margin-top: -10px;
}

/* Relative Positioning Context Container holding the hero profile section and overlay components */
.emerald-hero-card-container {
  position: relative;
  padding: 12px 14px 45px 14px; /* Creates room inside layout grid for the negative floating card offset */
  background: transparent;
}

/* Compact Solid Green Banner (Not Wide, Very Tight Dimensions) */
.emerald-hero-banner {
  background: #2ECC71; 
  border-radius: 24px; /* Perfectly rounded capsule shape edge from screenshot */
  padding: 22px 20px 50px 20px; /* Short height spacing to look clean and neat */
  width: 100%;
  box-sizing: border-box;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-square-holder {
  width: 58px;
  height: 58px;
  background: #FFFFFF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-icon {
  font-size: 28px;
  color: #2ECC71;
}

.profile-info h2 {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 1px 0;
  letter-spacing: 0.2px;
}

.profile-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

/* 🌟 PERFECT OVERLAPPING FLOATING FINANCIAL BALANCE CARD MATRIX */
.balance-card-floating {
  background: #FFFFFF;
  border-radius: 24px; 
  padding: 20px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  
  /* Absolute Overlapping Positioning Matrix */
  position: absolute;
  bottom: 12px; /* Pulls it up dynamically */
  left: 26px;  /* Inset padding gap alignment from left edge */
  right: 26px; /* Inset padding gap alignment from right edge */
  z-index: 10;
}

.balance-half-split {
  text-align: center;
}

.border-right-divider {
  border-right: 1px solid #EEF2F6;
}

.balance-matrix-label {
  font-size: 11px;
  font-weight: 700;
  color: #8E9A9F;
  letter-spacing: 0.5px;
  margin: 0 0 2px 0;
}

.amount-display-green {
  font-size: 21px;
  font-weight: 800;
  color: #2ECC71;
}

/* Smooth 3-Button Navigation Action Block Matrix */
.action-triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 10px 14px 20px 14px;
}

.triple-grid-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.triple-icon-circle {
  font-size: 22px;
  color: #2ECC71;
  margin-bottom: 6px;
}

.triple-grid-card span {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

/* Content List Container Structures */
.settings-section {
  margin-bottom: 20px;
  padding: 0 14px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  margin: 0 0 8px 4px;
  text-transform: uppercase;
}

.list-wrapper {
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid #F8FAFC;
  cursor: pointer;
}

.list-item:last-child {
  border-bottom: none;
}

.list-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mint Soft Tint Background Icons */
.list-icon-bg {
  width: 32px;
  height: 32px;
  background: #E8FDF0; 
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #2ECC71;
}

.list-item span {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
}

.arrow-icon {
  font-size: 12px;
  color: #CBD5E1;
}


/* ==========================================================================
   👑 THE CLEAN CROWN PLATFORM LAYOUT (GREEN THEME MATCHED)
   ========================================================================== */
:root {
    --vtx-emerald: #22C55E;      /* Your signature vibrant green theme */
    --vtx-ash-bg: #F8F9FA;       /* Soft luxury layout ash background */
    --vtx-white: #FFFFFF;        /* Crisp plaster card white surfaces */
    --vtx-text-dark: #1E293B;    /* Clean dark slate header font */
    --vtx-text-muted: #8A94A6;   /* Soft label gray color */
    --vtx-input-bg: #F3F4F6;     /* Clean light input field fill */
}

#bankPage {
    width: 100% !important;
    min-width: 100% !important;
}

#bankPage * {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Clear mobile layout canvas container */
.vtx-crown-page {
    background: var(--vtx-ash-bg) !important;
    min-height: 100vh !important;
    width: 100% !important;
    min-width: 100% !important; 
    max-width: 100% !important; 
    position: relative !important;
    padding-top: 65px !important; 
    padding-bottom: 40px !important;
    display: block !important;
}

/* 👑 FLAT GREEN FIXED TOP HEADER */
.vtx-crown-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 55px !important;
    background: var(--vtx-emerald) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    z-index: 99999 !important;
    border: none !important;
}

/* Clean, responsive back button boundary frame */
.vtx-crown-back-btn {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    outline: none !important;
}

/* Vector arrow formatting targeting the inner path */
.vtx-crown-back-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

/* Centered Header Text title */
.vtx-crown-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--vtx-white) !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
}

/* 👑 PLASTERED CONTAINER SUB-SYSTEM */
.vtx-crown-wrapper {
    padding: 16px !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* Plastered White Card Container */
.vtx-crown-card {
    background: var(--vtx-white) !important;
    border-radius: 12px !important;
    padding: 24px 16px !important;
    width: 100% !important; 
    min-width: 100% !important; 
    max-width: 100% !important;
    flex-shrink: 0 !important;   
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01) !important;
}

/* Form Inner Rows */
.vtx-crown-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.vtx-crown-label {
    color: var(--vtx-text-dark) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

/* 👑 CUSTOM APPERANCE RE-STYLED FIELDS */
.vtx-crown-input {
    background: var(--vtx-input-bg) !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    height: 48px !important;
    color: var(--vtx-text-dark) !important;
    padding: 0 14px !important;
    width: 100% !important;
    font-size: 14px !important;
    outline: none !important;
    display: block !important;
    -webkit-appearance: none;
    appearance: none;
}

.vtx-crown-select-holder {
    position: relative !important;
    width: 100% !important;
}

/* Clean micro gray dropdown indicator arrow */
.vtx-crown-select-holder::after {
    content: '' !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid #333333 !important;
    border-bottom: 2px solid #333333 !important;
    pointer-events: none !important;
}

/* 👑 MATCHED ACTION BUTTON (EMERALD GREEN) */
.vtx-crown-btn {
    background: var(--vtx-emerald) !important;
    border: none !important;
    height: 48px !important;
    border-radius: 8px !important;
    color: var(--vtx-white) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 6px !important;
}

.vtx-crown-notice {
    text-align: center !important;
    color: var(--vtx-text-muted) !important;
    font-size: 13px !important;
    margin-top: 20px !important;
}


/* =========================
   PAGE - Locked Viewport
========================= */
#rechargePage {
    height: 100vh !important;
    width: 100vw !important;
    background: #f4f6fb !important;
    font-family: 'Inter', sans-serif !important;
    position: fixed !important; 
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important; 
}

/* =========================
   FIXED BANNER
========================= */
#rechargePage .recharge-banner-area {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 170px !important;
    background: url('prod.jpg') center center/cover no-repeat !important;
    z-index: 1 !important;
}

#rechargePage .recharge-banner-area::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,.15) !important;
}

/* =========================
   HEADER (Fixed & Clickable)
========================= */
#rechargePage .recharge-header-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
}

#rechargePage .recharge-header-top span {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* =========================
   SCROLLABLE CONTENT AREA
========================= */
#rechargePage .recharge-content {
    margin-top: 240px !important;
    height: calc(100vh - 170px) !important;
    overflow-y: auto !important;
    position: relative !important;
    z-index: 2 !important;
    padding-bottom: 50px !important;
}

/* =========================
   FLOATING CARD (Adjusted)
========================= */
#rechargePage .balance-card-green {
    /* Keep it fixed so it stays relative to the viewport, 
       not the scrolling content */
    position: fixed !important; 
    
    /* This top value aligns the center of the card 
       with the bottom edge of the banner (170px) */
    top: 135px !important; 
    
    left: 15px !important;
    width: calc(100% - 30px) !important;
    z-index: 999 !important;
    
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    border-radius: 22px !important;
    padding: 22px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #fff !important;
    box-sizing: border-box !important;
    box-shadow: 0 12px 30px rgba(34,197,94,.18) !important;
}

#rechargePage .balance-card-green p {
    margin: 0 !important;
    font-size: 13px !important;
    opacity: .9 !important;
}

#rechargePage .balance-card-green h3 {
    margin: 8px 0 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* =========================
   LABELS
========================= */
#rechargePage .label-text {
    margin: 18px 18px 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #222 !important;
}

#rechargePage .currency-text {
    float: right !important;
    color: #888 !important;
}

/* =========================
   CHANNEL BOX
========================= */
#rechargePage .channel-select {
    margin: 0 15px 20px !important;
    padding: 18px !important;
    background: #fff !important;
    border-radius: 18px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #666 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.05) !important;
    width: calc(100% - 30px) !important;
    border: none !important;
    appearance: none !important;
    cursor: pointer !important;
}

/* =========================
   AMOUNT GRID
========================= */
#rechargePage .amount-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    padding: 0 15px !important;
}

#rechargePage .amount-option {
    background: #fff !important;
    border: 1px solid #ececec !important;
    border-radius: 16px !important;
    padding: 18px 8px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: .3s !important;
}

#rechargePage .amount-option:hover {
    border-color: #22c55e !important;
    color: #22c55e !important;
}

/* =========================
   INPUT
========================= */
#rechargePage .amount-input-wrapper {
    padding: 18px 15px !important;
}

#rechargePage .amount-input-wrapper input {
    width: 100% !important;
    height: 60px !important;
    border: none !important;
    outline: none !important;
    background: #fff !important;
    border-radius: 18px !important;
    padding: 0 18px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.05) !important;
}

/* =========================
   BUTTONS
========================= */
#rechargePage .footer-btn-wrapper {
    padding: 15px !important;
}

#rechargePage .deposit-btn {
    width: 100% !important;
    height: 62px !important;
    border: none !important;
    border-radius: 35px !important;
    background: linear-gradient(90deg, #16a34a, #22c55e) !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    box-shadow: 0 10px 20px rgba(34,197,94,.25) !important;
}

#rechargePage .report-btn {
    width: 100% !important;
    height: 60px !important;
    border-radius: 35px !important;
    background: #fff !important;
    border: none !important;
    color: #22c55e !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.05) !important;
}
#rechargePage .channel-select {
    margin: 0 15px 20px !important;
    padding: 18px !important;
    background: #fff !important;
    border-radius: 18px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #666 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.05) !important;
    
    /* Added to make select behave like your div */
    border: none !important; 
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    width: calc(100% - 30px) !important;
}


.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}



/* 1. CONTAINER: Dark blurred overlay */
.payment-gateway-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    
    /* Layout: Flex for horizontal centering, scrollable for content */
    display: flex;
    justify-content: center;
    overflow-y: auto; 
    padding: 20px;
    box-sizing: border-box;
}

/* 2. WRAPPER: Now forced down from the top */
.gateway-wrapper {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    border-radius: 20px;
    color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    
    /* Force the modal down: Adjust 100px to move it higher or lower */
    margin-top: 120px; 
    margin-bottom: auto;
}

/* 3. TITLES & TEXT */
.checkout-title { 
    font-weight: 700; 
    font-size: 1.3rem; 
    color: #064e3b; 
    margin-bottom: 10px;
}

/* 4. BANK CARD STYLING */
.bank-card {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    margin: 20px 0;
}

.bank-info-row { 
    display: flex; 
    flex-direction: column; 
    margin-bottom: 14px; 
}
.bank-info-row span { font-size: 0.8rem; color: #6b7280; }
.bank-info-row strong { color: #111; font-size: 1rem; word-break: break-all; }

/* 5. BUTTONS */
.deposit-btn { 
    width: 100%; 
    padding: 16px; 
    background: #064e3b; 
    color: white; 
    border: none; 
    border-radius: 12px; 
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.deposit-btn:active { transform: scale(0.98); }

/* 6. RED PILL TIMER */
#countdownTimer1 {
    display: inline-block;
    padding: 4px 12px;
    background-color: #fee2e2;
    color: #b91c1c;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #fecaca;
}

/* 7. FORM INPUTS */
.input-group-v2 { 
    display: flex; 
    flex-direction: column; 
    margin-top: 15px; 
}
.input-group-v2 label {
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 6px;
}
.input-group-v2 input { 
    padding: 14px; 
    border-radius: 10px; 
    border: 1px solid #d1d5db; 
    background: #fff;
    font-size: 1rem;
}
.input-group-v2 input:focus {
    outline: none;
    border-color: #064e3b;
    box-shadow: 0 0 0 2px rgba(6, 78, 59, 0.1);
}






/* Overlay - Unique namespace */
.mx-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 99999; }

/* Modal Box - White */
.mx-unique-modal { width: 90%; max-width: 360px; background: #FFFFFF; border-radius: 24px; overflow: hidden; padding-bottom: 20px; position: relative; }

/* Header */
.mx-modal-top-section { padding: 30px 20px 20px 20px; color: #000; text-align: left; }
.mx-modal-close-icon { position: absolute; top: 15px; right: 15px; cursor: pointer; color: #666; font-size: 18px; background: #EEE; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.mx-modal-title { font-size: 22px; font-weight: 700; color: #000; margin: 0; }
.mx-modal-subtitle { font-size: 13px; color: #666; margin-top: 5px; }

/* Referral Card - Ash background */
.mx-modal-body-content { padding: 0 20px; }
.mx-referral-card { background: #F4F4F4; border-radius: 16px; padding: 15px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border: 1px solid #E0E0E0; }
.mx-referral-heading { font-size: 15px; color: #000; margin: 0; }
.mx-referral-sub { font-size: 11px; color: #666; margin: 0; }
.mx-bonus-badge { background: #FFF; padding: 6px 12px; border-radius: 50px; text-align: center; border: 1px solid #22C55E; }
.mx-bonus-amount { color: #22C55E; font-weight: 800; display: block; font-size: 14px; }

/* Levels - Ash background */
.mx-level-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.mx-level-box { background: #F4F4F4; padding: 15px; border-radius: 12px; text-align: center; border: 1px solid #E0E0E0; }
.mx-level-box span { font-size: 10px; display: block; color: #666; }
.mx-level-box strong { font-size: 16px; color: #000; }

/* Action Buttons - Dark Green */
.mx-action-buttons { display: flex; gap: 10px; }
.mx-action-btn { flex: 1; background: #064E3B; color: #FFFFFF; border: none; padding: 14px; border-radius: 50px; font-weight: 700; cursor: pointer; }
#welcomePopup {
  display: none; /* Changed from none to flex for visibility during testing */
}

/* 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 */
}


/* ================= PAGE WRAPPER (Green/White) ================= */
.investment-page {
  background: #f8fafc; /* Very light grey/white background */
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Header */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #e2e8f0;
}

.investment-header h2 { font-size: 18px; color: #064e3b; margin: 0; }
.investment-back-btn { position: absolute; left: 15px; background: transparent; border: none; color: #064e3b; }

.investment-sub-header { 
  padding: 80px 20px 15px 20px; 
  background: #ffffff; /* Matches your white page background */
  width: 100%; 
  box-sizing: border-box; 
}

.pill-container {
  display: flex;
  justify-content: space-between; /* Spreads the 4 pills evenly */
  gap: 10px;
  width: 100%;
}

.pill-btn {
  flex: 1; /* Makes all 4 buttons equal width */
  padding: 10px 0;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Active State: Green Theme */
.pill-btn.active {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
}


/* INVESTMENT CARD - UPDATED */
.premium-card {
  background: rgba(6, 78, 59, 0.05); /* Transparent Green */
  border: 1px solid #d1fae5;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 15px;
  width: 100%;
  max-width: 420px;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
}

/* HEADER INFO (Replaced Image Header with cleaner top row) */
.inv-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.inv-title { font-weight: 700; font-size: 1.1rem; color: #064e3b; }
.badge-active {
  background: #064e3b;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}

/* Transparent Light Crystal Green Boxes */
.stats-grid-middle {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}

.grid-item {
  background: rgba(6, 78, 59, 0.08); /* Light crystal green tint */
  border: 1px solid rgba(6, 78, 59, 0.15); /* Subtle green border */
  border-radius: 12px;
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.label { font-size: 8px; color: #064e3b; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.value { font-size: 13px; font-weight: 800; color: #111; }

/* STATS GRID */
.stats-grid-middle {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.grid-item { display: flex; flex-direction: column; gap: 4px; }
.label { font-size: 9px; color: #64748b; font-weight: 700; text-transform: uppercase; }
.value { font-size: 14px; font-weight: 800; color: #1e293b; }

.date-info-row {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(6, 78, 59, 0.1);
}

.date-item { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 5px; }
.date-val { font-weight: 700; color: #064e3b; }

.mx-invite-page { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #FFFFFF; z-index: 999; overflow-y: auto; padding-top: 70px; }
.mx-invite-header { position: fixed; top: 0; width: 100%; height: 60px; background: #22C55E; color: #fff; display: flex; align-items: center; padding: 0 20px; z-index: 1000; }
.mx-invite-back-btn { background: transparent; border: none; color: #fff; font-size: 20px; margin-right: 20px; }
.mx-referral-container { padding: 20px; }
/* The Cards */
.mx-card { background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.mx-card h3 { font-size: 16px; margin-bottom: 15px; color: #000; }
/* Inputs & Buttons */
.mx-input-group { background: #F4F4F4; padding: 15px; border-radius: 12px; margin-top: 8px; }
.mx-big-text { font-size: 20px; font-weight: 700; display: block; margin-bottom: 10px; }
.mx-copy-btn { width: 100%; background: #22C55E; color: #fff; border: none; padding: 12px; border-radius: 8px; font-weight: 600; }
/* Earn Rows */
.mx-earn-row { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding: 10px; background: #F4F4F4; border-radius: 12px; }
.mx-level-badge { width: 35px; height: 35px; background: #22C55E; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mx-bonus-pill { background: #22C55E; color: #fff; padding: 5px 10px; border-radius: 20px; font-size: 11px; margin-left: auto; }
/* Steps */
.mx-steps { list-style: none; padding: 0; }
.mx-steps li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #333; }
.mx-steps i { color: #22C55E; }

/* ================= CLEAN FIXED TEAM HEADER ================= */
.team-header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #FFFFFF;
  color: #000;
  z-index: 1000;
  border-bottom: 1px solid #E0E0E0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.team-header-main span {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.back-btn-white {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #F4F4F4;
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  outline: none;
  z-index: 1100;
}

.back-btn-white:active {
  transform: translateY(-50%) scale(0.92);
  background: #e0e0e0;
}

:root {
  --bg-white: #FFFFFF;
  --accent-green: #22C55E;
  --card-bg: #F4F4F4;
  --text-muted: #888;
}

.team-page-wrapper {
  display: flex;
  background: var(--bg-white);
  min-height: 100vh;
  padding: 80px 10px 20px 10px;
  font-family: 'Inter', sans-serif;
}

/* SIDEBAR */
.stats-sidebar {
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid #E0E0E0;
  padding-right: 10px;
}

.mini-stat-box {
  text-align: center;
  background: var(--card-bg);
  padding: 15px 5px;
  border-radius: 12px;
  border: 1px solid #E0E0E0;
}

.icon-glow {
  width: 40px; height: 40px;
  background: #FFF;
  border: 1px solid var(--accent-green);
  border-radius: 10px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
}

.mini-stat-box .label { font-size: 8px; color: var(--text-muted); display: block; }
.mini-stat-box .value { font-size: 14px; font-weight: 800; color: #000; }

/* MAIN CONTENT */
.team-main-content {
  flex: 1;
  padding-left: 20px;
}

.page-title {
  color: #000;
  font-size: 22px;
  margin-bottom: 30px;
  border-bottom: 2px solid #E0E0E0;
  padding-bottom: 10px;
}

.level-card-premium {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  border: 1px solid #E0E0E0;
  position: relative;
  cursor: pointer;
}

.level-indicator {
  width: 50px; height: 50px;
  background: #FFF;
  border: 1px solid var(--accent-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-green);
}

.level-info h3 { font-size: 18px; color: #000; margin: 0; }
.level-info p { font-size: 12px; color: var(--text-muted); margin: 5px 0; }
.commission-left { color: var(--accent-green); font-size: 24px; font-weight: 800; }

/* TIMELINE LINE */
.level-card-premium::before {
  content: "";
  position: absolute;
  left: -25px; top: 0;
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--accent-green), transparent);
}

.team-scroll-area {
  margin-top: 30px;
  border-top: 1px solid #E0E0E0;
  padding-top: 20px;
}



* { box-sizing: border-box; margin: 0; padding: 0; }

.withdraw-page {
  max-width: 400px;
  margin: 0 auto;
  background: #f5f5f0;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* HEADER */
.withdraw-header-fixed {
  width: 100%;
  height: 60px;
  background: #f5f5f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid #e8e8e0;
}

.withdraw-header-fixed h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

.withdraw-back-btn-v2 {
  position: absolute;
  left: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.history-btn {
  position: absolute;
  right: 15px;
  background: transparent;
  border: 1px solid #ddd;
  color: #555;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.withdraw-main-container {
  background: #f5f5f0;
  padding: 10px 16px 30px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* REQUEST WITHDRAWAL subtitle */
.withdraw-page-sub {
  text-align: center;
  font-size: 11px;
  color: #999;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: -10px;
  margin-bottom: 4px;
}

/* BALANCE CARD */
.withdrawal-card-box {
  background: #1a8a4a;
  border-radius: 18px;
  padding: 22px 22px 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bal-left .bal-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}

.bal-left #withdrawBalance {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.bal-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

/* NOTICE CARD */
.bank-warning-card.notice {
  background: #fffbf0;
  border: 1.5px solid #f5c842;
  border-radius: 14px;
  padding: 14px 16px;
}

.notice-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.notice-row:last-child { margin-bottom: 0; }

.notice-row i { color: #c97a00; font-size: 16px; }

.notice-row .notice-main {
  font-size: 13px;
  color: #b36b00;
  font-weight: 600;
}

.notice-row .notice-sub {
  font-size: 12px;
  color: #b36b00;
}

/* BANK SECTION */
.bank-warning-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
}

.bank-title-blue {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.bank-empty-box {
  background: #f5f0eb;
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.bank-empty-box span {
  font-size: 14px;
  color: #999;
}

#addAccountBtn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.bank-detail-row:last-child { border-bottom: none; }

.detail-label { font-size: 13px; color: #999; }
.detail-value { font-size: 13px; font-weight: 600; color: #1a1a1a; }

/* AMOUNT SECTION */
.amount-section {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
}

.amount-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.withdraw-input-box {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px 16px;
  gap: 8px;
  background: #fff;
}

.currency { font-size: 18px; color: #999; }

.withdraw-input-box input {
  border: none;
  outline: none;
  font-size: 18px;
  color: #1a1a1a;
  width: 100%;
  background: transparent;
}

.withdraw-input-box input::placeholder { color: #ccc; }

.min-hint {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

/* SUBMIT BUTTON */
.withdraw-submit-btn {
  width: 100%;
  background: #1a8a4a;
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}

/* RULES CARD */
.withdraw-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 10px;
}

.withdraw-title {
  color: #1a8a4a;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.withdraw-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.withdraw-item:last-child { margin-bottom: 0; }

.info-icon {
  background: rgba(26,138,74,0.1);
  color: #1a8a4a;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  border: 1.5px solid #1a8a4a;
}

.withdraw-item span { color: #6b7280; font-size: 13px; line-height: 1.6; }
.withdraw-item b { color: #111827; font-weight: 600; }

/* ================= RECORDS PAGE (MATCHING 517798.JPG) ================= */
.records-page {
  width: 100%;
  padding-top: 5px;
  min-height: 100vh;
  background: #FFFFFF;
  color: #071612;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.records-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-bottom: 1px solid #F8F9FA;
}

.records-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: #071612;
}

.records-back-btn {
  position: absolute;
  left: 15px;
  background: transparent;
  border: none;
  color: #071612;
  font-size: 18px;
  cursor: pointer;
}

#recordsContainer {
  padding: 0px 15px;
}

/* Add this to remove extra space from the very first card */
#recordsContainer .record-card:first-child {
  margin-top: 0px;
}

/* Card Styling */
.record-card {
  width: 100%;
  padding: 16px;
  background: #F8F9FA;
  border-radius: 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #E2E8F0;
}

.record-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-transaction {
  font-size: 14px;
  font-weight: 500;
  color: #071612;
}

.record-amount {
  font-weight: 700;
  font-size: 15px;
}

.amount-plus { color: #059669; } /* Emerald green */
.amount-minus { color: #071612; }

/* Dynamic classes for Statuses */
.status-success { color: #059669; }
.status-pending { color: #D97706; }
.status-failed { color: #DC2626; }


/* ================= 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;
}

}



/* --- THE LIGHT SOFT-ASH BACKDROP & HEADERS --- */
.product-section {
  background-color: #FAFAFA; /* Soft clean ash white background */
  padding: 20px 12px 120px 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Plastered Header Top Left */
.mx-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 16px 4px;
  letter-spacing: -0.3px;
}

/* --- THE MOBILE 2-COLUMN GRID CONTAINER --- */
#dynamicProductList {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; /* Perfect 2-Column Mobile Grid */
  gap: 12px !important;
  background: transparent !important; /* Removes old pure black background */
  padding: 0 !important;
}

/* --- THE PREMIUM PLASTERED CARD SYSTEM --- */
.mx-product-card {
  background: #FFFFFF !important; /* Brilliant soft white plastered surface */
  border-radius: 16px !important;
  border: 1px solid #EFEFEF !important; /* Subtle thin minimalist border */
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Simulated Image banner container at the top of the card */
.mx-card-banner-wrapper {
  position: relative;
  width: 100%;
  height: 95px;
  background: linear-gradient(135deg, #1E3A8A, #3B82F6); /* Flat backdrop for fallback */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

/* Card image overlay fitting */
.mx-card-banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dynamic Quota Badge top-right corner */
.mx-quota-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(16, 124, 65, 0.9); /* Deep premium forest green quota indicator */
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-bottom-left-radius: 10px;
  letter-spacing: 0.3px;
}

/* Plan Title Banner over the bottom of the image wrapper */
.mx-image-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* Soft darken filter */
  backdrop-filter: blur(2px);
  padding: 6px 8px;
  box-sizing: border-box;
}

.mx-plan-name {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- THE 4-BOX METADATA MATRIX GRID --- */
.mx-main-info-box {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
}

/* Minimalist Individual Info Box Blocks */
.mx-info-col {
  background: #F4F6F8 !important; /* Clean ash white block fill */
  border-radius: 8px !important;
  padding: 6px 8px !important;
  display: flex;
  flex-direction: column;
}

.mx-info-label {
  font-size: 9px !important;
  color: #8E9A9D !important; /* Smooth gray labels */
  font-weight: 600 !important;
  text-transform: capitalize !important;
  margin-bottom: 2px !important;
}

/* Color codes mapping the exact text rules */
.mx-info-value {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #10B981 !important; /* Vibrant Emerald Green for Price and Daily returns */
}

/* Secondary alternative color variables for days & totals */
.red-text { color: #EF4444 !important; } /* Soft crimson alternative */
.blue-text { color: #2563EB !important; } /* Steel blue alternative */

/* --- PILL SHAPED EMERALD BUY BUTTON --- */
.mx-invest-btn {
  width: 100% !important;
  background: #10B981 !important; /* Your exact flagship premium emerald green */
  color: #FFFFFF !important;
  border: none !important;
  padding: 9px !important;
  border-radius: 50px !important; /* Smooth pill border radius */
  font-size: 12px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
}

.mx-invest-btn:active {
  background: #059669 !important; /* Darken tap feedback click */
}


/* 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;
}


/* 1. Force the input text to stay white and background to stay dark/transparent */
input, select, textarea {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.05) !important; /* Subtle dark glass look */
    border: 1px solid rgba(168, 85, 247, 0.3); /* Soft Purple border */
    outline: none !important;
}

/* 2. Remove the "White Layer" that appears when the browser autofills or focuses */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #FFFFFF !important;
    -webkit-box-shadow: 0 0 0 1000px #000000 inset !important; /* Matches your Black background */
    transition: background-color 5000s ease-in-out 0s;
}

/* 3. Remove the white hover effect and keep it Purple */
input:focus {
    border-color: #A855F7 !important; /* Glowing Purple focus */
    background-color: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

/* 4. Fix Placeholder color so it's not too bright */
::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ================= 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 (SAMSUNG STYLE) ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px; 
  margin: 20px;
  text-align: center;
  
  /* Deep Black Background */
  background: #000000;
  border-radius: 24px; 
  border: 1px solid rgba(168, 85, 247, 0.1); /* Subtle Purple border */
  
  box-sizing: border-box;
}

.empty-icon-circle {
  width: 85px;
  height: 85px;
  /* Soft Glass effect with Purple glow */
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.empty-icon-circle i {
  font-size: 32px;
  color: #1a8a4a; /* Your Purple */
}

.empty-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF; /* Pure White */
  font-family: 'Poppins', sans-serif;
}

.empty-subtitle {
  margin: 12px 0 30px 0;
  font-size: 14px;
  color: #888; /* Muted text for hierarchy */
  font-weight: 400;
  line-height: 1.6;
  max-width: 250px;
}

/* THE BUTTON - Premium Purple Glow */
.browse-plans-btn {
  background: #A855F7; 
  color: #FFFFFF;
  border: none;
  width: 100%; 
  max-width: 260px;
  padding: 18px;
  border-radius: 50px; /* Capsule shape like the screenshot */
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
  transition: all 0.3s ease;
}

.browse-plans-btn:hover {
  background: #9333ea;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.browse-plans-btn:active {
  transform: scale(0.96);
}


/* Screen Overlay - White Background */
.mx-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Loader Card */
.mx-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Spinner - Green */
.mx-spinner-container { width: 50px; height: 50px; }
.mx-spinner {
  width: 100%;
  height: 100%;
  border: 4px solid #E5E7EB;
  border-top: 4px solid #22C55E;
  border-radius: 50%;
  animation: mx-spin 0.8s linear infinite;
}

/* Branding */
.mx-loader-brand { font-size: 24px; font-weight: 800; margin: 0; font-family: sans-serif; }

/* Progress Bar - Green */
.mx-progress-track { width: 150px; height: 4px; background: #E5E7EB; border-radius: 2px; overflow: hidden; }
.mx-progress-bar { width: 40%; height: 100%; background: #22C55E; animation: mx-load 1.5s infinite ease-in-out; }

@keyframes mx-spin { to { transform: rotate(360deg); } }
@keyframes mx-load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}


/* Header Image */
.product-header-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}


/* 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;
}


/* ================= PROTECTED UI ================= */
#dashboard,
#bottomNav {
  display: none;
}


/* ================= FLOATING NAV CONTROL (BLACK + GOLD) ================= */
#navToggle {
  position: fixed;
  bottom: 90px; /* sits above bottom nav */
  right: 20px;

  width: 64px;
  height: 44px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.9); /* black semi-transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: #D4AF37;  /* gold text/icon */
  font-size: 22px;

  border: 1px solid rgba(212,175,55,0.35); /* subtle gold border */
  cursor: pointer;

  z-index: 2001;
  display: none; /* auth decides */

  box-shadow: 0 8px 18px rgba(212,175,55,0.25); /* subtle gold shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Show toggle ONLY when logged in */
body.logged-in #navToggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover / press feedback */
#navToggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(212,175,55,0.35); /* stronger gold glow */
}

#navToggle:active {
  transform: scale(0.95);
}


/* ================= BOTTOM NAV ================= */

/* Hidden forever by default */
#bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2000;
}

/* Visible ONLY when toggled */
#bottomNav.open {
  transform: translateY(0);
}


/* ================= 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 Container - Positioned to the Top Right */
#toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
    max-width: 320px;
    pointer-events: none;
}

/* Individual Toast Styling - White & Green Theme */
.modern-toast {
    pointer-events: auto;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: #ffffff; /* Clean White Background */
    color: #1e293b;      /* Dark text for readability */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Softer shadow for white bg */
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    
    /* Default Green Border */
    border: 1px solid #e2e8f0;
    border-left: 5px solid #064e3b; /* Solid Green Accent */
    
    /* Animation */
    transform: translateX(120%); 
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.modern-toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Green Accents for Icons */
.toast-icon {
    font-size: 18px;
    color: #064e3b; /* Green icons */
}

/* Status Colors */
.toast-success { border-left-color: #064e3b; } /* Deep Green */
.toast-error   { border-left-color: #dc2626; } /* Keeping Red for Errors */
.toast-warning { border-left-color: #d97706; } /* Amber for Warnings */

/* ======================================================
   BULLETPROOF FORM INPUT RESET SHIELD (ANTI-OVERLAY)
   ====================================================== */

/* 1. Global Reset for ALL inputs, textareas, and select menus on the site */
input, 
textarea, 
select,
input[type="text"], 
input[type="password"], 
input[type="number"], 
input[type="email"] {
    background-color: #F8FAFC !important; /* Force a clean, solid off-white background */
    color: #000000 !important;            /* Force text you type to ALWAYS be visible pure black */
    opacity: 1 !important;                /* Erase any weird hidden opacity or transparent overlays */
    visibility: visible !important;       /* Block hidden property fighting */
    box-shadow: none !important;          /* Remove background-hiding inner glow box shadows */
    -webkit-text-fill-color: #000000 !important; /* Force iOS / Safari to respect the pure black text */
}

/* 2. Lock down the exact same styles when the user clicks inside (FOCUS state) */
input:focus, 
textarea:focus, 
select:focus,
input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="number"]:focus, 
input[type="email"]:focus {
    background-color: #F8FAFC !important; /* Keep background stable */
    color: #000000 !important;            /* Keep text pure black */
    opacity: 1 !important;
    -webkit-text-fill-color: #000000 !important;
    outline: none !important;             /* Clear ugly default browser halos */
}

/* 3. Kill browser autofill overriding your styling (Google Chrome autofill fix) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #F8FAFC inset !important; /* Force background to stay light gray */
    -webkit-text-fill-color: #000000 !important;             /* Force autofill text to stay black */
    transition: background-color 5000s ease-in-out 0s !important;
}

/* 4. Make placeholder text visible and clean gray */
input::placeholder,
textarea::placeholder {
    color: #94A3B8 !important;
    opacity: 1 !important;
}



/* ======================================================
   CORE VELTRIX HIGH-FIDELITY CHANGE PASSWORD PAGE STYLES
   ====================================================== */

/* FIXED STICKY TOP NAVIGATION BANNER */
.pass-header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #064e3b; /* Premium Deep Green */
  display: flex;
  align-items: center;
  justify-content: center; /* Centers the title text */
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1100;
}

/* Back button pinned to the left extreme end */
.back-btn-white {
  position: absolute;
  left: 16px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
}

.pass-header-main span {
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
}

/* ARCHITECTURE CONTAINER WRAPPER - PURE CLEAN WHITE CANVAS */
.pass-page-wrapper {
  background-color: #FFFFFF !important;
  min-height: 100vh;
  padding: 55px 16px 40px 16px;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}

/* SHIELD DESCRIPTION HERO GRAPHIC BLOCKS */
.pass-instruction-card {
  width: 100%;
  max-width: 400px;
  background-color: #f0fdf4; /* Light green tint */
  border: 1px solid #dcfce7;
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 24px;
}

.secure-shield-icon {
  font-size: 36px;
  color: #064e3b; /* Brand Green Accent */
  margin-bottom: 12px;
}

.pass-instruction-card .secure-title {
  font-size: 16px;
  font-weight: 700;
  color: #064e3b;
  margin: 0 0 6px 0;
}

.pass-instruction-card .secure-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

/* FORM WRAPPER MODULAR PANEL GRID */
.pass-form-container {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pass-input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pass-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
  text-align: left;
}

/* INPUT COMPARTMENT ROW CONTAINERS */
.pass-field-input-box {
  display: flex;
  align-items: center;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0 14px;
  height: 52px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.pass-field-input-box:focus-within {
  border-color: #064e3b; /* Green Focus Halo */
}

.pass-start-icon {
  color: #94A3B8;
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

.pass-field-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  font-family: inherit;
  width: 100%;
  padding: 0;
}

/* BRAND ACTION SUBMIT BUTTON */
.pass-submit-action-btn {
  width: 100%;
  background-color: #064e3b; /* Deep Green Button */
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
  margin-top: 10px;
  transition: opacity 0.1s ease, transform 0.1s ease;
}

.pass-submit-action-btn:active {
  transform: scale(0.98);
  opacity: 0.95;
}