
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Import Font Awesome vectors for beautiful nested input icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Brand Color Map (Extracted directly from CashNova Flyer) */
    --brand-navy-deep: #020F30;      
    --brand-blue-electric: #1E66FF;  
    --brand-blue-glow: #00B2FF;      
    --brand-gold-accent: #FFB800;    
    
    /* Plastered Layout Base Palettes */
    --canvas-bg-ash: #F3F5F9;         /* Soft ash color canvas framework base */
    --input-fill-white: #FFFFFF;      /* Clean solid white contrast inputs */
    
    /* Neutral Text Variables */
    --text-charcoal: #1E293B;         
    --text-muted-gray: #64748B;       
    --border-field-soft: #E2E8F0;     
    --white: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--canvas-bg-ash);
    font-family: 'Poppins', sans-serif;
    color: var(--text-charcoal);
    min-height: 100vh;
    box-sizing: border-box;
}

/* Plastered Container: Fills viewport naturally with clean layout gutters */
.container {
    display: none; 
    width: 100%;
    max-width: 100%; /* Spans across full viewport width seamlessly */
    min-height: 100vh;
    background-color: transparent; /* Card background completely dissolved */
    box-sizing: border-box;
    padding: 40px 24px; /* Native side gutters for mobile screens */
    flex-direction: column;
    box-shadow: none; /* Removed heavy floating card shadow filters */
    border: none;     /* Removed structural container borders */
}

.container.active {
    display: flex !important;
}

/* Top Branding Area Styling */
.brand-header-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 32px 0;
    text-align: center;
}

.glowing-logo-circle {
    width: 85px;
    height: 85px;
    border-radius: 22px; 
    background-color: var(--input-fill-white);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-field-soft);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    margin-bottom: 16px;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-main-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-navy-deep);
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.brand-sub-title {
    font-size: 14px;
    color: var(--text-muted-gray);
    margin: 0;
    font-weight: 400;
}

/* Inner Body Form Structuring */
.form-body {
    width: 100%;
    max-width: 400px; /* Limits input elongation on wide screen displays */
    margin: 0 auto;   /* Perfect horizontal alignment lock */
}

/* Input Form Controls */
.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-navy-deep);
    margin-bottom: 8px;
    padding-left: 4px;
}

/* High-Contrast Plastered Input Elements */
input[type="text"],
input[type="password"] {
    width: 100%;
    background-color: var(--input-fill-white);
    border: 1px solid var(--border-field-soft);
    border-radius: 14px;
    padding: 16px 16px 16px 44px; 
    color: var(--brand-navy-deep);
    font-size: 14.5px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.01);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #A0AEC0;
    font-weight: 400;
}

/* Nested Field Icons Element */
.field-icon-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-blue-electric);
    font-size: 15px;
    pointer-events: none;
    z-index: 4;
}

/* Phone input layout configuration */
.phone-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.phone-input-wrapper .country-code-prefix {
    position: absolute;
    left: 44px; 
    color: var(--brand-blue-electric);
    font-size: 14.5px;
    font-weight: 600;
    user-select: none;
    z-index: 4;
}

.phone-input-wrapper input {
    padding-left: 92px !important; 
}

/* Eye Visibility Icon Toggle Rules */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 48px !important;
}

.toggle-password.noticed-monkey {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted-gray);
    font-size: 15px;
    z-index: 5;
    opacity: 0.7;
}

/* Dynamic Focus States */
input:focus {
    border-color: var(--brand-blue-electric);
    box-shadow: 0 0 0 4px rgba(30, 102, 255, 0.08);
}

/* Inline Action Utilities Row */
.inline-action-links-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0 24px 0;
    font-size: 14px;
}

.inline-action-links-row.single-right {
    justify-content: flex-end;
}

.download-link-btn {
    color: var(--brand-blue-electric);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bottom-alternative-link {
    color: var(--text-muted-gray);
}

.bottom-alternative-link span {
    color: var(--brand-blue-electric);
    font-weight: 600;
    cursor: pointer;
}

/* Premium Full-Width Pill Action Button Layout */
.btn-action-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(90deg, var(--brand-blue-electric) 0%, var(--brand-blue-glow) 100%);
    color: var(--white);
    border: none;
    border-radius: 100px; 
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(30, 102, 255, 0.2);
    transition: all 0.2s ease;
}

.btn-action-submit:active {
    transform: scale(0.98);
}

.arrow-right-icon {
    position: absolute;
    right: 24px;
    font-size: 13px;
}

.action-toggle-row {
    display: none;
}

/* Dashboard container - Soft White Theme */
.dashboard {
  width: 100%;
  max-width: 400px;
  display: flex; /* Changed from none to flex to show your layout */
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
  
  /* UPDATED: Soft White Theme */
  background-color: #F8FAFC; 
  /* Subtle light gradient for a premium "soft" depth */
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  background-attachment: fixed; 
  
  /* Text color adjusted to soft dark slate for readability */
  color: #1E293B; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


:root {
  /* Branding Colors */
  --agromint-blue: #1A53FF;
  --agromint-gold: #D97706;
  --agromint-green: #22C55E;
  --white: #FFFFFF;
  --black-text: #000000;
}

/* --- REFINED PREMIUM HEADER --- */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 55px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10000;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Subtle lift */
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Compact, sleek logo */
.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--agromint-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* Refined typography: Medium weight, not too bold */
.brand-title-header {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 600; 
  letter-spacing: -0.2px;
  margin: 0;
}

.text-black { color: var(--black-text); }
.text-gold { color: var(--agromint-gold); }

/* Minimalist Right Actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-action-circle {
  height: 32px;
  padding: 0 10px;
  border-radius: 16px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid #F1F5F9;
}

.blue-icon { color: var(--agromint-blue); }
.green-icon { color: var(--agromint-green); }

.lang-text { 
  color: var(--black-text); 
  font-weight: 500; /* Subtle weight */
  font-size: 11px;
}
.user-phone {
  margin: 2px 0 0 0;
  font-size: 15px;
  color: #94a3b8; /* Muted grey for the phone number */
  font-weight: 400;
  letter-spacing: 0.5px;
}
/* Push main content down */
body {
  padding-top: 45px;
}


:root {
  /* Exact Agromint palette with gradients */
  --agromint-blue: #2A6BFF;
  --white: #FFFFFF;
  --black-text: #000000;
  
  /* Gradient definitions */
  --grad-deposit: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  --grad-withdraw: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  --grad-plans: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --grad-gift: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.main-container {
  background: var(--white);
  padding: 20px 15px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

/* THE WHITE CONTAINER CARD */
.action-card-container {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Clean, subtle shadow */
  width: 100%;
  box-sizing: border-box;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* GRADIENT ICON STYLE */
.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--white);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Adds depth to the icons */
}

/* Gradient Assignments */
#mainRechargeTrigger .action-icon { background: var(--grad-deposit); }
#withdrawBtn .action-icon { background: var(--grad-withdraw); }
#giftCodeBtn .action-icon { background: var(--grad-plans); }
#refCard .action-icon { background: var(--grad-gift); }

.action-btn span {
  font-size: 12px;
  font-weight: 500; /* Regular weight as requested */
  color: var(--black-text); 
  text-align: center;
}

.action-btn:active {
  transform: scale(0.92);
}
/* 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 */
}

.flyer-container {
  width: 100%;
  background-color: #F8FAFC; /* Matches your soft white background */
  padding: 10px 0; 
}

.balance-flyer {
  width: 92vw;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 24px; /* Slightly softer corners */
  /* Replaced purple glow with a clean, light-gray subtle border */
  border: 1px solid #E2E8F0;
  /* Soft shadow for depth instead of a colored glow */
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.flyer-slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flyer-card {
  width: 100.333%;
  height: 100%;
  object-fit: cover;
}

/* Subtle overlay: If you put text on these, use a lighter fade */
.flyer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(0,0,0,0.1) 100%);
  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-color: #FFFFFF; /* Clean white background */
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px; /* Reduced height for the "small" look */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); /* Soft, subtle shadow */
    z-index: 1000;
    padding: 0;
    margin: 0;
    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: 4px;
    transition: all 0.2s ease;
    padding: 5px 0;
}

.nav-icon-wrapper {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INACTIVE STATE - Light grey, thin weight */
.nav-item i {
    font-size: 18px;
    color: #A8B4D0; /* Muted color */
    transition: all 0.2s ease;
}

.nav-item span {
    font-size: 11px; 
    font-weight: 400; /* Not bold */
    color: #A8B4D0;
    transition: all 0.2s ease;
}

/* ================= ACTIVE STATE - COLOR CODED ================= */

/* 1. Home (Blue) */
#homeNav.active i, #homeNav.active span { color: #2A6BFF !important; }

/* 2. Products (Green) */
#investmentRecordsBtn.active i, #investmentRecordsBtn.active span { color: #22C55E !important; }

/* 3. Invite (Gold) */
#shareBtn.active i, #shareBtn.active span { color: #F59E0B !important; }

/* 4. Mine (Purple) */
.nav-item:last-child.active i, .nav-item:last-child.active span { color: #8B5CF6 !important; }

/* No thick lines, just subtle active color pop */
.nav-item.active {
    transform: translateY(-1px);
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght=400;500;600;700&display=swap');

:root {
  /* Core Deep Corporate Bases (Extracted straight from the flyer background) */
  --agromint-dark-bg: #010B22;     /* Midnight Blue base */
  --agromint-deep-navy: #020F30;    /* Premium deep corporate navy */
  --agromint-card: #051642;         /* Rich dark card chassis tone */
  
  /* Vibrant Theme Accents (From flyer headers, metrics, and highlights) */
  --agromint-blue: #1E66FF;         /* Electric blue brand focal color */
  --agromint-gold: #FFB800;         /* High-return pure golden yellow */
  --agromint-gold-dark: #D97706;    /* Deep bronze gold border accent */
  
  --white: #FFFFFF;
  --light-text: #E2E8F0;
  --muted: #94A3B8;
  
  /* Action Button System Handlers mapped to flyer specifications */
  --btn-deposit: #000000;           /* Strictly Black per your request */
  --btn-withdraw: #00C853;          /* Vibrant Neon Green from withdrawal info checkmark */
  --btn-plans: #FF9F00;             /* Radiant Orange Gold from the investment percentage box */
  --btn-gift: #A855F7;              /* Level bonus graphic purple */

  /* Premium Light Theme Design Palette Elements */
  --bg-main: #F8FAFC;               /* Clean ice-white slate dashboard backdrop */
  --text-dark: #0F172A;             /* Sharp deep charcoal text color for contrast */
  --text-gray-muted: #64748B;       /* Clean neutral gray text font tone */
  --border-soft: #E2E8F0;           /* hairline modern container line breakdown */
}

/* ===== PROFILE SCREEN WRAPPER CHASSIS BACKDROP ===== */
.profile-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  background-color: var(--bg-main);
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  box-sizing: border-box;
  padding-bottom: 90px;
}

/* ===== REPLICATED FLYER BRAND OVERVIEW HEADER SECTION ===== */
.profile-header-bar-v2 {
  position: relative;
  width: 100%;
  height: 160px;
  /* Premium blend from Midnight Blue into Electric Blue directly from the flyer canvas */
  background: linear-gradient(135deg, var(--agromint-deep-navy) 0%, var(--agromint-blue) 100%) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px 0 20px;
  box-sizing: border-box;
  /* Sharp premium flyer gold baseline styling badge strip */
  border-bottom: 2px solid var(--agromint-gold) !important;
}

/* Top App Brand Title Header Text */
.profile-app-identity {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* User Account Identifiers Formatting block */
.profile-user-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.profile-user-headline h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.profile-user-headline p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ===== MAIN CONTENT PACK CHASSIS WRAPPER ===== */
.dashboard-wrapper-v2 {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px 40px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ===== 1. INTERSECTING FLOATING BALANCE DISPLAY CARD ===== */
.balance-display-intersect-card-v2 {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: -55px;
  z-index: 20;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  color: var(--white);
}

.balance-display-intersect-card-v2 p {
  margin: 0 0 4px 0;
  font-size: 12px;
  opacity: 0.85;
  font-weight: 500;
}

.balance-display-intersect-card-v2 h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== HORIZONTAL SIDE-BY-SIDE DOUBLE ACTION ASSET TILES ===== */
.horizontal-assets-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  background-color: var(--white);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-soft);
}

.asset-action-card-v2 {
  border-radius: 12px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-sizing: border-box;
  border: none;
  color: var(--white) !important; /* Forces text and icons to stay crisp white */
  font-size: 15px; /* Slightly increased for better readability */
  font-weight: 600;
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.asset-action-card-v2:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* DEPOSIT BUTTON: Crisp, bright premium blue from your screenshot layout */
.asset-action-card-v2.bg-deposit {
  background-color: #3B82F6 !important; /* Premium Vivid Blue */
}

/* WITHDRAW BUTTON: Sharp, vibrant green from your screenshot layout */
.asset-action-card-v2.bg-withdraw {
  background-color: #22C55E !important; /* Premium Vivid Green */
}

.asset-action-card-v2 i {
  font-size: 15px;
}
/* ===== 3. COMPACT PREMIUM GROUPED LIST PANELS ===== */
.account-services-panel-box {
  background-color: var(--white);
  border-radius: 16px;
  padding: 8px 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-soft);
  width: 100%;
  box-sizing: border-box;
}

.account-services-header-v2 {
  font-size: 11px;
  font-weight: 700;
  color: var(--agromint-deep-navy) !important; /* Stronger corporate appearance header typography */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 16px 0 10px 4px;
  text-align: left;
  border-left: 3px solid var(--agromint-gold); /* Gold decorative strip left margin alignment */
  padding-left: 6px;
}

.menu-list-row-item-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 14px 4px;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.menu-list-row-item-v2:last-child {
  border-bottom: none;
}

.menu-list-row-item-v2:active {
  transform: translateX(3px);
}

.menu-item-left-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.list-icon-box-v2 {
  font-size: 15px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Global Navigation List Row Color Mapping Matched to Flyer Identity Core Rules */
.color-team { color: var(--agromint-blue) !important; }          /* Referral Structure System Blue */
.color-income { color: var(--btn-withdraw) !important; }          /* Return Package Active Growth Green */
.color-records { color: var(--text-gray-muted) !important; }
.color-dephist { color: var(--agromint-blue) !important; }
.color-withhist { color: #ef4444 !important; }
.color-comm { color: var(--btn-plans) !important; }              /* 10% Investment Tier Bonus Level Orange Gold */
.color-bank { color: var(--agromint-deep-navy) !important; }      /* Clean Executive Deep Slate Corporate Navy */
.color-lock { color: var(--text-gray-muted) !important; }
.color-download { color: #ec4899; }
.color-blog { color: #14b8a6; }
.color-support { color: #0088cc; }                               /* Telegram Official Identity Branding Blue */

.grid-card-label-v2 {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.menu-item-caret-v2 {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 400;
}

/* Anchor Link Cleanup Styling Options */
.a-reset-style-v2 {
  text-decoration: none;
  width: 100%;
  display: block;
}

/* DESTRUCTIVE SINGLE LOGOUT LIST UNIT ACCENTS */
.logout-row-v2 {
  border-bottom: none !important;
}
.logout-icon-box-v2 { color: #ef4444 !important; }
.logout-text-label-v2 { color: #ef4444 !important; font-weight: 500; }

/* ===== 4. DISCRETE FOOTER COMPONENT ACCENT MODULE ===== */
.security-info-footer-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.security-shield-icon-v2 {
  font-size: 13px;
  color: var(--muted);
}

.security-text-block-v2 p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}


/* ===== BANK UPDATE PAGE STYLE CORE OVERRIDES ===== */
.bank-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1000;
  background-color: #f4f6f8; /* Soft light grey backdrop */
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  padding: 0 !important;
  margin: 0 !important;
}

/* ===== FIXED TOP SOLID BLUE NAVIGATION HEADER BANNER ===== */
.bank-header-premium {
  position: relative;
  width: 100%;
  height: 64px;
  background-color: #2A6BFF !important; /* Exact Brand Royal Blue */
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 100;
}

.bank-back-btn {
  width: 36px;
  height: 36px;
  border: none !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.header-main-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.header-title-group h2 {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  margin: 0;
  white-space: nowrap;
}

/* ===== FORM CHASSIS CARDS ARCHITECTURE ===== */
.funds-form-body {
  width: 100%;
  box-sizing: border-box;
}

.input-card-premium {
  width: 100% !important;
  background: #ffffff !important; /* Pure white surface */
  border: 1px solid rgba(237, 242, 247, 0.8) !important;
  border-radius: 16px !important; /* Beautiful rounded corners matching screenshot layouts */
  padding: 24px 16px !important;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02) !important;
}

.funds-group {
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ===== TYPOGRAPHY LABELS AND HEADINGS ===== */
.samsung-label {
  display: block;
  color: #334155 !important; /* Elegant dark slate text color styling */
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: none !important; /* Removes uppercase grid look */
  margin-bottom: 8px !important;
  text-align: left;
}

/* ===== INPUTS FIELD ARCHITECTURE AND DESIGN DROPDOWNS ===== */
.funds-field {
  width: 100% !important;
  height: 50px !important; /* Standardized fluid height match */
  background-color: #f8fafc !important; /* Subtle grey-blue content fill */
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  outline: none !important;
  color: #1e293b !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  font-family: 'Inter', sans-serif !important;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.funds-field::placeholder {
  color: #94a3b8 !important; /* Soft gray-tinted hint labels text line */
  opacity: 1 !important;
}

.funds-field:focus {
  border-color: #2A6BFF !important; /* Switches cleanly to Royal Blue on highlight focus actions */
  background-color: #ffffff !important;
}

/* Dropdown Container Arrow Placement Wrappers */
.funds-select-box {
  position: relative;
  width: 100%;
}

select.funds-field {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer;
  padding-right: 40px !important;
}

.select-dropdown-indicator-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #334155;
  font-size: 12px;
  pointer-events: none; /* Allows click-throughs straight onto dropdown option tree nodes */
}

/* Auto-Resolving Field Disabled Soft Look */
.resolved-disabled-look {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed;
}

/* ===== UNIQUE SOLID FLAT PRIMARY BUTTON COMPONENT CONTAINER ===== */
.funds-action-btn {
  width: 100% !important;
  height: 50px !important;
  border: none !important;
  border-radius: 10px !important;
  background-color: #3B82F6 !important; /* Bright royal button tint block balance accent */
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, background-color 0.1s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.funds-action-btn:active {
  transform: scale(0.98);
  background-color: #2563eb !important;
}

/* ===== BOTTOM VERIFICATION LABEL CONTAINER ===== */
.security-info-footer-v3 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  padding: 0 10px;
  box-sizing: border-box;
}

.security-info-footer-v3 p {
  font-size: 13px !important;
  color: #94a3b8 !important; /* Subtle gray-text descriptor */
  margin: 0;
  font-weight: 400;
  text-align: center;
}

/* ===== METHOD SELECTION STYLES (PILLAR STONE THEME) ===== */
.method-card {
  background: #0D0D0D; /* Changed from navy to Deep Charcoal */
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.method-card.active-method {
  border-color: #A855F7; /* Changed to Brand Purple */
  background: rgba(168, 85, 247, 0.05); /* Subtle Purple tint */
}

.method-icon {
  width: 50px;
  height: 50px;
  background: #A855F7; /* Changed to Brand Purple */
  color: #FFFFFF; /* White Icon Color */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
}

.method-icon.manual {
  background: #A855F7; /* Consistent Purple for manual */
}

.method-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF; /* White text for readability */
}

.method-info p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.6;
  color: #FFFFFF; /* White text */
}

.method-check {
  margin-left: auto;
  font-size: 18px;
  color: #A855F7; /* Changed to Purple Checkmark */
}

.payment-method-page {
  font-family: 'Inter', sans-serif;
  background-color: #000000; /* Pure Black */
  height: 100vh;
  width: 100vw;
  color: #FFFFFF; /* White text */
  position: fixed; /* Overlay everything */
  top: 0;
  left: 0;
  z-index: 2000;
}


/* ================================================================= */
/* PREMIUM ULTRA-MODERN COLD SOFT-WHITE & BLUR POPUP GATEWAY         */
/* ================================================================= */

/* Clean Soft-White Background Gateway Page Base */
.vtx-recharge-page {
  width: 100%;
  min-height: 100vh;
  background-color: #F8FAFC; /* Soft pristine off-white background */
  color: #1E293B;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vtx-header-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.vtx-back-action-btn {
  background: none;
  border: none;
  color: #64748B;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

.vtx-header-wrap h2 {
  flex-grow: 1;
  text-align: center;
  font-size: 0.95rem; /* Compact premium size */
  font-weight: 600;
  color: #0F172A;
  margin: 0;
  padding-right: 20px;
}

.vtx-page-canvas {
  padding: 40px 24px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

/* Base View Page Amount Box Styling */
.vtx-amount-hero-box {
  margin-bottom: 30px;
}
.vtx-amount-hero-box h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0F172A;
  margin: 6px 0 0 0;
  letter-spacing: -0.5px;
}

/* ================================================================= */
/* VELTRIX OVERLAY DIALOG ARCHITECTURE (BLURRED FROST BACKGROUND)    */
/* ================================================================= */
.vtx-modal-backdrop-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4); /* Dark tinted overlay mask */
  backdrop-filter: blur(16px); /* High-fidelity background blur filter */
  -webkit-backdrop-filter: blur(16px);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 16px;
  box-sizing: border-box;
}

.vtx-modal-backdrop-mask.vtx-active {
  display: flex !important;
}

/* Elegant, High-End Compact Card Window */
.vtx-popup-window-card {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 350px;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: vtxPopupReveal 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes vtxPopupReveal {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.vtx-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.vtx-popup-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.2px;
}
.vtx-popup-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

/* Stylish, Tiny Meta UI Layout Text labels */
.vtx-meta-label {
  color: #64748B;
  font-size: 0.68rem; /* Tiny premium typography tracking */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 4px;
}

/* Crimson Red Premium Banner Alert */
.vtx-countdown-strip {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #EF4444; /* Pure Crimson Red Tracking Timer text */
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.vtx-countdown-strip strong {
  font-weight: 700;
}

/* Micro Status Tracker Bar */
.vtx-status-banner-card {
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.vtx-status-idle { background: #F1F5F9; border-color: #E2E8F0; color: #475569; }
.vtx-status-processing { background: #FEF3C7; border-color: #FDE68A; color: #D97706; }
.vtx-status-success { background: #DCFCE7; border-color: #BBF7D0; color: #16A34A; }
.vtx-status-failed { background: #FEE2E2; border-color: #FCA5A5; color: #DC2626; }

.vtx-status-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: vtxRotation 1s linear infinite;
}

/* Compact Interior Custom Display Lists */
.vtx-surface-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  text-align: left;
}

.vtx-info-row {
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.vtx-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.vtx-info-row strong {
  font-size: 0.9rem; /* Clean small values */
  color: #0F172A;
  font-weight: 700;
}
.vtx-flex-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Tiny Blue Action Buttons and Copy Icons (--agromint-blue) */
.vtx-icon-copy-btn {
  background: transparent;
  color: #2A6BFF; /* Styled signature button action asset color */
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
}
.vtx-icon-copy-btn:active { transform: scale(0.85); }

/* Veltrix Primary Base Button styling */
.vtx-primary-action-btn {
  background-color: #2A6BFF; /* Linked target option asset color */
  color: #FFFFFF;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.vtx-primary-action-btn:hover { background-color: #1A56DB; }

.vtx-cancel-lbl {
  color: #64748B;
  font-size: 0.78rem;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
}

/* Input Fields inside Verification State form view overlay */
.vtx-popup-field-group {
  margin-bottom: 12px;
  text-align: left;
}
.vtx-popup-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
  display: block;
}
.vtx-premium-input {
  width: 100%;
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  color: #0F172A !important;
  font-size: 0.85rem !important;
  box-sizing: border-box;
  outline: none;
}
.vtx-premium-input:focus {
  border-color: #2A6BFF !important;
}
.vtx-popup-subdesc {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.4;
  margin: 0 0 16px 0;
  text-align: left;
}
.vtx-popup-submit-btn {
  background-color: #2A6BFF;
  color: #FFFFFF;
  width: 100%;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}


/* PREMIUM CROSS-FADE ANIMATION UTILITIES */
.vtx-fade-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.vtx-fade-view.vtx-hidden {
  opacity: 0;
  transform: translateY(10px); /* Subtle lift effect while fading out */
  pointer-events: none;        /* Prevents users from clicking invisible fields */
  position: absolute;          /* Keeps it from taking up layout space when dead */
  width: 100%;
  left: 0;
  top: 0;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --agromint-dark-bg: #0F1B3A;
  --agromint-deep-navy: #0A142F;
  --agromint-card: #13244A;
  --agromint-blue: #2A6BFF;
  
  --white: #FFFFFF;
  --light-text: #E0E6F5;
  --muted: #A8B4D0;
  
  --bg-main: #f4f6f8;            /* Premium light gray dashboard base */
  --bg-input-tint: #f0f4f9;      /* Ice blue container rows tint */
  --text-dark: #1e293b;          /* Soft modern dark charcoal */
  --border-soft: #edf2f7;        /* Clean hairline card divider */
}

/* Master Fixed Base Canvas */
.recharge-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  background-color: var(--bg-main);
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  box-sizing: border-box;
}

/* ================= THE SOLID BLUE HEADER BANNER ================= */
.recharge-header-fixed {
  position: relative;
  width: 100%;
  height: 140px;                 /* Extended volume layout for card intersect overlap */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px 0 20px;
  background-color: var(--agromint-blue);
  box-sizing: border-box;
}

.recharge-header-fixed h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;              /* Un-bolded clean header text */
  color: var(--white);
  letter-spacing: -0.01em;
}

.recharge-back-btn-v2 {
  position: absolute;
  left: 16px;
  top: 22px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

/* History / Record Icon on Header */
.recharge-record-btn {
  position: absolute;
  right: 16px;
  top: 22px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
}

/* ================= PORTABLE SCROLL CONTAINER CORE ================= */
.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px 40px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recharge-main-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.section-label-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin: 0 0 12px 4px;
  text-align: left;
}

/* ================= THE FLOATING CONTAINER CARDS ================= */
.recharge-master-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(237, 242, 247, 0.7);
  box-sizing: border-box;
  width: 100%;
}

/* Floating Balance Intersection Card */
.balance-display-intersect-card {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: -65px;             /* Intersects layout line with perfect accuracy */
  z-index: 20;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  color: var(--white);
}

.balance-display-intersect-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.balance-display-intersect-card p {
  margin: 4px 0 0 0;
  font-size: 12px;
  opacity: 0.8;
}

/* ================= CUSTOM INPUT FIELD WRAPPER ================= */
.custom-amount-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 10px;
  padding: 0 14px;
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.currency-icon {
  color: var(--agromint-blue);
  font-size: 15px;
  font-weight: 600;
  margin-right: 6px;
}

#customAmount {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  padding: 0;
}

#customAmount::placeholder {
  color: var(--muted);
  font-weight: 400;
}

/* ================= QUICK SELECT AMOUNT GRID ================= */
.quick-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 24px;
}

.quick-select-btn {
  background-color: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-select-btn:active {
  background-color: #f8fafc;
  transform: scale(0.97);
}

/* ================= FLAT BLUE ACTION BUTTON ================= */
.deposit-btn {
  width: 100%;
  background-color: var(--agromint-blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 500;              /* Clean lightweight unbolded action button styling */
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(42, 107, 255, 0.15);
  box-sizing: border-box;
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.deposit-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

/* ================= BOTTOM TIPS BLOCK ================= */
.rules-box {
  background-color: var(--white);
  border-radius: 16px;
  padding: 20px;
  margin-top: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(237, 242, 247, 0.7);
  width: 100%;
  box-sizing: border-box;
}

.rules-title {
  color: var(--agromint-blue);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.rules-list-items {
  padding: 0;
  margin: 0;
  list-style: none;
}

.rules-list-items li {
  color: #64748b;
  font-size: 12.5px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.rules-list-items li:last-child {
  margin-bottom: 0;
}

/* Isolated wrapper and specific input styles to block global overrides */
.custom-amount-wrapper {
  display: flex !important;
  align-items: center !important;
  background-color: #FFFFFF !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  height: 50px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 18px !important;
}

.custom-amount-wrapper .currency-icon {
  color: #2A6BFF !important; /* Agromint Blue */
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-right: 6px !important;
  display: inline-block !important;
}

/* Explicit targeting via the new unique class name */
.custom-amount-wrapper input.recharge-direct-input-field {
  flex: 1 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #1e293b !important; /* Dark Charcoal text */
  font-size: 15px !important;
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  width: 100% !important;
}

/* Placeholder styling targeting the new class */
.custom-amount-wrapper input.recharge-direct-input-field::placeholder {
  color: #A8B4D0 !important; /* Muted hint text color */
  font-weight: 400 !important;
  opacity: 1 !important;
}

.rules-list-items li i {
  margin-top: 3px;
  font-size: 13px;
  flex-shrink: 0;
}

.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}

:root {
  /* Branding */
  --agromint-blue: #1A53FF;        
  --agromint-gold: #D97706;
  --agromint-purple: #8B5CF6;
  --agromint-green: #22C55E;
  
  --white: #FFFFFF;
  --black-text: #000000;
  --gray-text: #64748B;
  --bg-soft: #F8FAFC;
}

/* Modal Overlay */
.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.5); backdrop-filter: blur(10px);
  z-index: 99999; padding: 20px;
}

/* Modal Container */
.mx-unique-modal {
  width: 100%; max-width: 340px;
  background: var(--white);
  border-radius: 28px; padding: 25px;
  text-align: center; position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Close Icon */
.modal-close-icon {
  position: absolute; top: 20px; right: 20px;
  cursor: pointer; opacity: 0.4; font-size: 18px; color: var(--black-text);
}

/* Logo */
.modal-logo-circle { width: 65px; height: 65px; margin: 0 auto 15px; }
.modal-logo-circle img { width: 100%; height: 100%; border-radius: 20px; object-fit: cover; }

/* Titles & Text */
.mx-modal-title { 
  color: var(--black-text); font-size: 20px; font-weight: 600; margin-bottom: 8px; 
}
.mx-modal-description-text { 
  color: var(--gray-text); font-size: 13px; margin-bottom: 20px; font-weight: 400;
}

/* 2-Grid System for Features */
.modal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Set to 2 columns */
  gap: 15px; /* Increased gap for better spacing */
  margin-bottom: 20px;
}

.feature-box {
  padding: 16px 10px; /* Increased padding for a better box look */
  border-radius: 16px;
  text-align: center;
  color: var(--white);
}

.box-blue { background-color: var(--agromint-blue); }
.box-gold { background-color: var(--agromint-gold); }

.feature-label { display: block; font-size: 10px; opacity: 0.9; margin-bottom: 4px; text-transform: uppercase; }
.feature-val { display: block; font-weight: 600; font-size: 15px; }

/* Secondary Info List */
.modal-info-list {
  background: var(--bg-soft);
  border-radius: 16px; padding: 12px;
  text-align: left; margin-bottom: 20px;
}
.info-item {
  color: var(--black-text); font-size: 12px;
  padding: 8px 5px; border-bottom: 1px solid #E2E8F0;
  font-weight: 400;
}
.info-item:last-child { border: none; }

/* Telegram Button */
.mx-telegram-btn {
  display: block; width: 100%;
  background: var(--agromint-blue); color: var(--white);
  padding: 14px; border-radius: 12px;
  text-decoration: none; font-weight: 500; font-size: 14px;
  transition: opacity 0.2s;
}
.mx-telegram-btn:hover { opacity: 0.9; }
#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 */
}


/* =========================================================================
   PREMIUM 3D FLOATING INVESTMENT APPLICATION VIEW STYLES
   ========================================================================= */

/* CORE VIEWPORT SHEET CANVAS - CLEAN BRIGHT BACKGROUND SURFACE */
.investment-page {
  background-color: #F8FAFC !important; /* Premium off-white gray base background */
  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;
}

/* FIXED STATUS HEADER STRIPE - CORE BRAND BLUE */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 62px;
  background: #1D72F6; /* Matches premium Royal Blue platform identity */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 4px 15px rgba(29, 114, 246, 0.15);
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #FFFFFF; 
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SCROLL CONTAINER ALIGNMENT FRAME */
.investment-scroll-area {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 82px 16px 120px 16px; /* High bottom safe clearance padding zone */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* HERO SUMMARY DESCRIPTION BOX */
.investment-sub-header {
  padding: 10px 4px 15px 4px; 
  width: 100%;
  box-sizing: border-box;
}

.investment-sub-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1E293B; /* Deep crisp premium black slate text */
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.investment-sub-header p {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

/* CAROUSEL HORIZONTAL BAR PILLS */
.investment-filter-group {
  display: flex;
  gap: 8px;
  padding: 4px 4px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.investment-filter-group::-webkit-scrollbar {
  display: none;
}

.investment-filter-group .filter-btn {
  background: #FFFFFF; 
  border: 1px solid #E2E8F0; 
  color: #64748B;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}

.investment-filter-group .filter-btn.active {
  background: #1D72F6 !important; 
  color: #FFFFFF !important; 
  border-color: #1D72F6 !important;
  box-shadow: 0 4px 10px rgba(29, 114, 246, 0.2) !important;
}

/* =========================================================================
   THE NEW PRESETS: 3D CARD WRAPPER ENGINE MATCHING REFERENCE FORMAT
   ========================================================================= */
.card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.premium-card {
  background: #FFFFFF !important; /* Crisp white card background */
  border: 1px solid #E2E8F0 !important; 
  border-radius: 20px !important;
  padding: 20px 18px !important;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif !important;
  position: relative !important;
  
  /* Deep structural 3D floating ambient shadow profile layout */
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05), 
              0 2px 4px rgba(15, 23, 42, 0.02) !important;
  transition: transform 0.2s ease;
}

/* TOP ROW HEADER ALIGNMENT */
.header-slim {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}

.title-section { 
  display: flex !important; 
  align-items: center !important; 
  gap: 12px !important; 
}

.premium-card .icon { 
  font-size: 24px !important; 
  background-color: #F0Fdf4; /* Light clean green circle base for asset look */
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.name-text { 
  font-weight: 700 !important; 
  font-size: 16px !important; 
  color: #1E293B !important; /* Premium bold dark name text */
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.duration-text { 
  font-size: 12px !important; 
  color: #64748B !important; 
  font-weight: 500;
}

/* TOP RIGHT PRICING TAG HEADER LOGO STYLE */
.status-badge { 
  font-size: 16px !important; 
  font-weight: 700 !important; 
  color: #1D72F6 !important; /* Matches pricing text visualization from reference image */
  display: flex !important; 
  align-items: center !important; 
  gap: 4px !important;
  font-family: 'Inter', sans-serif;
}

/* ULTRA CRYSTAL BLUE GRID SYSTEM */
.stats-slim {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

.stat-box { 
  background-color: #F8FAFC !important; /* Light slate tint block interior */
  border: 1px solid #E0F2FE !important; /* Ultra Crystal Blue Grid Border Token */
  padding: 12px 6px !important; 
  border-radius: 12px !important; 
  text-align: center !important; 
  box-sizing: border-box;
}

.stat-label { 
  font-size: 10px !important; 
  color: #0284C7 !important; /* Deep Crystal Blue font labeling text */
  text-transform: uppercase !important; 
  margin-bottom: 6px !important; 
  font-weight: 600 !important;
  letter-spacing: 0.03em;
}

.stat-val { 
  font-size: 14px !important; 
  font-weight: 700 !important; 
  color: #1E293B !important; /* Heavy high visibility text response */
}

/* TIMESTAMPS FOOTER CLOSURE PANEL ROW */
.footer-slim {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 11.5px !important;
  color: #64748B !important;
  border-top: 1px solid #F1F5F9 !important;
  padding-top: 14px !important;
  font-weight: 500;
}

/* ACTIVE AND COUNTDOWN BADGE STYLES inside dynamic fields */
.footer-slim span[id^="cd-"] {
  background-color: #E0F2FE !important; /* Crystal Blue capsule tag highlight background */
  color: #0369A1 !important;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #f4f6f8;            /* Premium light gray dashboard base layout canvas */
  --bg-banner: #1d72f6;          /* Clean Royal Blue theme color from reference screenshots */
  --bg-card-white: #ffffff;      /* Pure solid white floating structural container blocks */
  --bg-input-tint: #f0f4f9;      /* Delicate high-end ice blue tint for item rows */
  --text-dark: #1e293b;          /* Soft modern dark charcoal profile typography string */
  --text-muted: #8a99ad;         /* Refined lightweight secondary descriptions and tags */
  --accent-yellow: #D6D100;      /* Custom requested target yellow color token for highlights */
  --border-soft: #edf2f7;        /* Clean hairline structural row divider lines */
}

/* ================== OVERRIDE SHIELD WRAPPER ================== */
.invite-page {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 999 !important;
  background-color: var(--bg-main) !important;
  font-family: 'Inter', sans-serif !important;
  color: var(--text-dark) !important;
  display: none; /* Controlled dynamically by your page array router */
  flex-direction: column !important;
  box-sizing: border-box !important;
}

/* ================== FIXED BANNER HEADER ================== */
.invite-page .invite-header-fixed-v2 {
  position: relative !important;
  width: 100% !important;
  height: 140px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 24px 20px 0 20px !important;
  background-color: var(--bg-banner) !important;
  box-sizing: border-box !important;
}

.invite-page .invite-header-fixed-v2 h2 {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
}

.invite-page .invite-back-btn-v2 {
  position: absolute !important;
  left: 16px !important;
  top: 22px !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
}

/* ================== STRUCTURAL CONTAINER SYSTEM ================== */
.invite-page .referral-container {
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 16px 120px 16px !important; /* Mobile bottom nav safety clearance */
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.invite-page .section-block-wrapper {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.invite-page .section-block-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 14px 4px !important;
  text-align: center !important;
}

/* ================== SECURE FLOATING CARDS ================== */
.invite-page .referral-master-card,
.invite-page .earnings-master-card,
.invite-page .how-it-works-card {
  background-color: var(--bg-card-white) !important;
  border-radius: 16px !important;
  padding: 20px 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(237, 242, 247, 0.7) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.invite-page .referral-master-card {
  margin-top: -65px !important;
  z-index: 20 !important;
  position: relative !important;
}

.invite-page .referral-inner-brick {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

.invite-page .referral-inner-brick:last-child {
  margin-bottom: 0 !important;
}

.invite-page .card-label {
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  margin: 0 auto 10px auto !important;
  text-align: center !important;
}

/* ================== PROTECTED FIELDS & TINTS ================== */
.invite-page .copy-input-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: var(--bg-input-tint) !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  height: 48px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(226, 232, 240, 0.5) !important;
}

.invite-page .code-display {
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
}

.invite-page .link-display {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #000000 !important; /* Fixed to pure clean black copy values */
  font-size: 13.5px !important;
  font-family: inherit !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 0 !important;
}

.invite-page #refLink {
  color: #000000 !important;
}

.invite-page .copy-inline-icon {
  color: var(--bg-banner) !important;
  font-size: 15px !important;
  cursor: pointer !important;
  padding-left: 10px !important;
  transition: opacity 0.1s ease !important;
}

.invite-page .copy-inline-icon:active {
  opacity: 0.6 !important;
}

/* ================== BLUE BUTTON SWITCH ================== */
.invite-page .copy-action-btn {
  width: 100% !important;
  background-color: var(--bg-banner) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: transform 0.1s ease, opacity 0.1s ease !important;
  box-shadow: 0 4px 12px rgba(29, 114, 246, 0.15) !important;
}

.invite-page .copy-action-btn:active {
  transform: scale(0.97) !important;
  opacity: 0.9 !important;
}


/* ======================================================
   CORE VELTRIX PREMIUM TEAM LAYOUT INTERFACE RULES
   ====================================================== */

/* FIXED STICKY HEAD-BAND CONSOLE WRAPPER */
.team-header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #1E40AF; /* Royal Blue top header banner */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
}

.team-header-main span {
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  margin-left: 12px;
}

.back-btn-white {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTAINER ARCHITECTURE ENGINE - FIXED TO PURE WHITE */
.team-page-wrapper {
  background-color: #FFFFFF; /* Pure White Page Background */
  min-height: 100vh;
  padding: 80px 16px 40px 16px; /* 80px top padding protects sticky header placement */
  font-family: 'Poppins', sans-serif;
  color: #1E293B;
  box-sizing: border-box;
  width: 100%;
}

/* 1. THREE-COLUMN HORIZONTAL STATISTICS DISPLAY GRID */
.stats-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 18px;
}

.mini-stat-box {
  background-color: #F8FAFC; /* Light gray base canvas cards */
  border-radius: 16px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.mini-stat-box .label {
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.mini-stat-box .value {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
}

/* METALLIC BRONZE GOLD LOGS */
.accent-gold {
  color: #C5A880 !important;
}

/* 2. BLUE ACTIVE SWITCH PILLS SYSTEM */
.tabs-pill-row {
  display: flex;
  background-color: #F1F5F9; /* Off-white seamless background tray */
  padding: 6px;
  border-radius: 14px;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 18px;
}

.level-tab-btn {
  flex: 1;
  background-color: transparent;
  color: #64748B;
  border: none;
  padding: 12px 6px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
}

/* Premium Blue Active Switch Style Configuration */
.level-tab-btn.active {
  background-color: #1E40AF; /* Premium Royal Blue Active Switch Background */
  color: #FFFFFF;            /* White text for bold readability when active */
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

/* 3. SHOWCASE CENTRAL BOARD CONTEXT WRAPPERS */
.level-showcase-panel {
  background-color: #F8FAFC;
  border-radius: 20px;
  padding: 20px 16px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.01);
}

/* TWO-COLUMN INLINE LEVEL DATA SYSTEM CONTROLS */
.triple-stats-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.sub-stat-card {
  background-color: #FFFFFF; /* White inner layout sub-boxes */
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
  border: 1px solid #E2E8F0;
}

.sub-stat-card .sub-label {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 4px;
  font-weight: 500;
}

.sub-stat-card .sub-value {
  font-size: 16px;
  font-weight: 700;
}

/* FOOTER META DECK LINKS FOR PANEL LAYOUT */
.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #E2E8F0;
}

.commission-badge-pill {
  background-color: #DCFCE7;
  color: #15803D;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.panel-action-link-btn {
  background: #1E40AF;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* 4. DYNAMIC INJECT ROW MATRIX BLOCKS */
.team-scroll-area {
  width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
}

.vtx-member-row-card {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 16px; 
  background: #F8FAFC; /* Elegant light card slots for lists on white canvas */
  border-radius: 16px; 
  margin-bottom: 10px; 
  border: 1px solid #E2E8F0;
  box-sizing: border-box;
  width: 100%;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-canvas: #f4f6f8;          /* Premium light gray platform canvas base layer */
  --bg-banner-blue: #1d72f6;     /* Royal Blue brand theme color token */
  --bg-surface-white: #ffffff;   /* Clean card container surfaces */
  --bg-input-tint: #f0f4f9;      /* Smooth slate input field element background fill */
  --text-dark: #1e293b;          /* Clean modern high-contrast text layout color */
  --text-grey-muted: #8a99ad;    /* Lightweight subtle descriptions and secondary notations */
  --accent-yellow: #D6D100;      /* Custom requested premium highlight yellow token */
  --border-hairline: #edf2f7;    /* Fluid boundary structural divider lines */
}

/* Master Fixed Sheet Configuration - VERTICAL SCROLL ENABLED */
.withdraw-page {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-canvas);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;                 /* Fills full screen height view allocation */
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;            /* Native vertical layout scroll container active */
  -webkit-overflow-scrolling: touch; /* High fidelity smooth mobile scroll momentum track */
}

/* ================= ROYAL BLUE BACKDROP MAIN BANNER HEADER ================= */
.withdraw-header-fixed {
  position: relative;
  width: 100%;
  height: 220px;                 /* Precision height budget accommodating embedded balance widget */
  background: var(--bg-banner-blue);
  display: flex;
  flex-direction: column;
  padding: 20px 16px 0 16px;
  box-sizing: border-box;
  z-index: 10;
  flex-shrink: 0;                /* Safeguards header block from crushing under scroll */
}

.withdraw-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.withdraw-header-fixed h2 {
  font-size: 17px;
  font-weight: 500;              /* Perfectly crisp un-bolded sleek design system lettering */
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.withdraw-back-btn-v2, .history-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  transition: opacity 0.15s ease;
}

.withdraw-back-btn-v2:active, .history-btn:active {
  opacity: 0.6;
}

/* ===== TRANSLUCENT INNER LAYER BALANCE BOX OVERLAY ===== */
.balance-display-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.15); /* Seamless glassmorphic alpha blending opacity */
  border-radius: 14px;
  padding: 16px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-title {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.balance-value {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ================= COMPACT SCROLLING WRAPPER FLOW CONTAINER ================= */
.recharge-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px 60px 16px;     /* Safe padding 60px base padding layer guarantees zero footer lockouts */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: auto;                  /* Allow free fluid height expansion down the canvas track */
}

/* Generic Section Typography Labels */
.section-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0 12px 0;
  text-align: left;
}

.section-label.group-title {
  margin-top: 8px;
  margin-bottom: -4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-grey-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding-left: 2px;
}

/* ===== INTERSECTING TRANSACTION INPUT CARD STYLING ===== */
.input-card-ev {
  width: 100%;
  background-color: var(--bg-surface-white);
  border-radius: 16px;
  padding: 24px 16px 20px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin-top: -35px;             /* Clean overlap alignment above the primary banner margin break */
  z-index: 30;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(237, 242, 247, 0.8);
}

/* Modern Input Module Framework */
.withdraw-input-box-ev {
  background-color: var(--bg-input-tint);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 52px;
  box-sizing: border-box;
}

.currency-icon {
  color: #a0aec0;
  font-size: 16px;
  font-weight: 500;
  margin-right: 8px;
}

#withdrawAmountInput {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 16px;
  font-family: inherit;
  font-weight: 400;
  outline: none;
  width: 100%;
  padding: 0;
}

#withdrawAmountInput::placeholder {
  color: #cbd5e1;
}

/* Dual Dynamic Calculator Parameter Rows */
.withdrawal-calculation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  padding: 0 2px;
}

.calc-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-grey-muted);
}

/* PRIMARY SYSTEM EXECUTION CTA */
#withdrawSubmitBtn {
  width: 100%;
  background-color: var(--bg-banner-blue); /* Rich Blue active fill theme rule mapping */
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;              /* Pure unbolded premium weighting setup */
  cursor: pointer;
  margin-top: 20px;
  font-family: inherit;
  transition: transform 0.1s ease, opacity 0.1s ease;
  box-shadow: 0 4px 14px rgba(29, 114, 246, 0.2);
}

#withdrawSubmitBtn:active {
  transform: scale(0.97);
  opacity: 0.92;
}

/* Secondary Action Anchor Links */
.max-btn-link {
  color: var(--bg-banner-blue);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin: 14px 0 0 0;
  cursor: pointer;
  display: inline-block;
  align-self: center;
}

.max-btn-link:active {
  opacity: 0.6;
}

/* ================= CONNECTED BANK SUMMARY INFO SYSTEM ================= */
.bank-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Twin symmetry columns for data elements */
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.bank-sub-card {
  background-color: var(--bg-surface-white);
  border: 1px solid rgba(237, 242, 247, 0.9);
  padding: 14px 16px;
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.sub-card-label {
  color: var(--text-grey-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.sub-card-value {
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 500;
}

/* ===== COHESIVE BANK LAYER EMPTY SLOTS UI ===== */
.bank-empty {
  width: 100%;
  background-color: var(--bg-surface-white);
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 32px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bank-empty-icon-wrap {
  color: #94a3b8;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-empty h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px 0;
}

.bank-empty p {
  font-size: 12px;
  color: var(--text-grey-muted);
  line-height: 1.45;
  margin: 0 0 16px 0;
  max-width: 280px;
}

.add-bank-btn {
  background-color: var(--bg-banner-blue);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(29, 114, 246, 0.15);
  transition: transform 0.1s ease;
}

.add-bank-btn:active {
  transform: scale(0.96);
}

/* ================= MASTER RULES PLATFORM PLATFORM GRAPH ================= */
.rules-card-ev {
  width: 100%;
  background-color: var(--bg-surface-white);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(237, 242, 247, 0.7);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.rules-title-ev {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bg-banner-blue);
  margin-bottom: 16px;
}

.info-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.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: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Icon Color Variant Matrices */
.info-icon.green-tick {
  background-color: #e2fbe8;
  color: #22c55e;
}

.info-icon.time-clock {
  background-color: #e3efff;
  color: var(--bg-banner-blue);
}

.info-list p {
  font-size: 13px;
  font-weight: 400;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

/* FIXED FOCUS METRIC TARGET YELLOW TOKEN HIGHLIGHT */
.highlight-yellow {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* High-resolution monitor responsive optimization layer */
@media (min-width: 576px) {
  .recharge-container {
    gap: 20px;
  }
  .input-card-ev {
    padding: 28px 24px;
  }
  .bank-info-grid {
    gap: 12px;
  }
}




/* ======================================================
   CORE VELTRIX HIGH-FIDELITY SPIN WHEEL INTERFACE STYLES
   ====================================================== */

/* FIXED STICKY TOP HEADER CONTROL BANNER */
.spin-header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #1E40AF; /* Premium Royal Corporate Blue */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1100;
}

.spin-header-main span {
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  margin-left: 12px;
}

/* CONTAINER ARCHITECTURE DESIGN LAYOUTS */
.spin-page-wrapper {
  background-color: #FFFFFF; /* High contrast clean white canvas profile */
  min-height: 100vh;
  padding: 85px 16px 40px 16px;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}

/* INFO CONTENT TRACKER CARDS */
.spin-quota-card {
  width: 100%;
  max-width: 400px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.spin-quota-card .quota-title {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
  margin: 0 0 6px 0;
}

.spin-quota-card .quota-count {
  font-size: 28px;
  font-weight: 800;
  color: #1E40AF; /* Active primary identity tracking color */
  margin: 0 0 8px 0;
}

.spin-quota-card .quota-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

/* 3D MECHANICAL WHEEL CHASSIS HOUSING LAYOUT */
.wheel-main-container {
  position: relative;
  width: 330px;
  height: 330px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TOP-CENTER COMPASS TRIANGLE ARROW POINTER */
.wheel-pointer-compass {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 26px solid #DC2626; /* Deep crimson down-pointing mechanical arrow anchor */
  z-index: 50;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.25));
}

/* 7-SEGMENT METALLIC GOLDEN CASING FRAME BODY */
.lucky-fortune-wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #1E293B;
  border: 14px solid #C5A880; /* Premium Matte Metallic Dark-Brown Gold Rim Casing Frame */
  box-shadow: 0 12px 36px rgba(197, 168, 128, 0.3), inset 0 0 15px rgba(0,0,0,0.6);
  overflow: hidden;
  transition: transform 4s cubic-bezier(0.1, 0.8, 0.1, 1); /* Natural friction wheel drop animation curve */
  transform: rotate(0deg);
  box-sizing: border-box;
  z-index: 10;
}

/* WHEEL ANGULAR SLICE CONSTRAINTS PIECE ARCS */
.wheel-slice {
  position: absolute;
  width: 50%;
  height: 50%;
  transform-origin: 100% 100%;
  left: 0;
  top: 0;
  background: var(--bg);
  /* 360 degrees / 7 slices = 51.42deg arc calculation layout formulas */
  transform: rotate(calc(51.42deg * var(--i))) skewY(-38.58deg);
  box-sizing: border-box;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.wheel-slice span {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  /* Reverse skew metrics to present texts horizontally straight towards center core anchors */
  transform: skewY(38.58deg) rotate(25.71deg);
  left: 35px;
  top: 65px;
  display: block;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
}

/* RADIANT CENTRAL INNER CALL-TO-ACTION LAUNCH BUTTON TRIGGER */
.wheel-trigger-center-btn {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #111113;
  border: 4px solid #C5A880; /* Gold rim matching the outer casing */
  color: #FFFFFF;
  z-index: 100;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: transform 0.1s ease;
}

.wheel-trigger-center-btn:active {
  transform: scale(0.95);
}

.wheel-trigger-center-btn span {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #C5A880; /* Metallic Gold font indicator */
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

/* Disabled state modification ruleset */
.wheel-trigger-center-btn.disabled-state {
  background: #64748B !important;
  border-color: #94A3B8 !important;
  cursor: not-allowed;
}
.wheel-trigger-center-btn.disabled-state span {
  color: #E2E8F0 !important;
}

/* PREMIUM LIGHT POPUP SUCCESS REWARD MODAL OVERLAYS */
.spin-reward-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6); /* Translucent slate blur masks */
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}

.spin-reward-modal-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  padding: 30px 24px;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: modalPopEntrance 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPopEntrance {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-gift-icon {
  width: 64px;
  height: 64px;
  background-color: #EFF6FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.modal-gift-icon i {
  font-size: 28px;
  color: #1E40AF;
}

.spin-reward-modal-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 6px 0;
}

.modal-win-text {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 12px 0;
}

.modal-win-amount {
  font-size: 32px;
  font-weight: 800;
  color: #C5A880; /* Premium reward accent gold tint text indicators */
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.modal-claim-action-btn {
  width: 100%;
  background-color: #1E40AF; /* Premium Corporate Blue Switch Action button */
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
  transition: background 0.15s ease;
}

.modal-claim-action-btn:hover {
  background-color: #1D4ED8;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===============================================
   PREMIUM LIGHT SYSTEM INTERFACE DESIGN CONFIG
   =============================================== */
.records-page {
  width: 100%;
  min-height: 100vh;
  background-color: #f4f6f8 !important; /* Soft premium light gray canvas */
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  padding-bottom: 60px;
}

/* ================= CLEAN FIXED BLUE HEADER ================= */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #1e66ff !important; /* Premium brand crisp royal blue */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.records-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff !important;
  letter-spacing: -0.01em;
}

/* CIRCULAR BACK ARROW COMPONENT */
.records-back-btn {
  position: absolute;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  outline: none;
  transition: opacity 0.2s;
}

.records-back-btn:active {
  opacity: 0.7;
}

/* ================= HORIZONTAL SCROLL FILTER SYSTEM ================= */
.records-filter {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  margin-top: 60px; /* Aligns perfectly right underneath the fixed blue top header bar */
  overflow-x: auto;
  background-color: #ffffff;
  border-bottom: 1px solid #edf2f7;
}

.records-filter::-webkit-scrollbar {
  display: none;
}
.records-filter {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-btn {
  border: 1px solid #e2e8f0;
  padding: 8px 20px;
  background: #ffffff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #64748b;
  white-space: nowrap;
  transition: all 0.2s ease;
  outline: none;
}

.filter-btn.active {
  background: #1e66ff !important; /* Matches app active blue theme */
  color: #ffffff !important;
  border-color: #1e66ff !important;
}

/* ================= CENTRAL DATA STREAM WRAPPER ================= */
#recordsContainer {
  padding: 16px;
  background-color: #f4f6f8; /* Maintains system gray body color backdrop */
  box-sizing: border-box;
}

/* ================= FLOATING RECORD DATA CARD ELEMENTS ================= */
.record-card-v2 {
  width: 100%;
  background: #ffffff !important; /* Isolated pure white card containers */
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  box-sizing: border-box;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
}

/* CARD INNER TOP ROW LOGIC BLOCKS */
.record-header-row-v2 {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px dashed #f1f5f9;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.record-icon-badge-box-v2 {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Context Micro Branding Color Classes from the Image Layout Base */
.icon-withdrawal-v2 {
  background-color: rgba(239, 68, 68, 0.06);
  color: #ef4444;
}

.icon-deposit-v2 {
  background-color: rgba(30, 102, 255, 0.06);
  color: #1e66ff;
}

.icon-bonus-v2 {
  background-color: rgba(168, 85, 247, 0.06);
  color: #a855f7;
}

.record-title-identity-v2 {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
}

.record-title-identity-v2 h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.record-title-identity-v2 p {
  margin: 2px 0 0 0;
  font-size: 11px;
  color: #94a3b8;
}

/* STATUS COMPACT PILL HOOKS */
.record-status-pill-v2 {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot-v2 {
  font-size: 8px;
}

.status-success-v2 {
  background-color: #e6f9f0 !important; /* Soft mint highlight tint */
  color: #10b981 !important; /* Sharp verification emerald green text */
}

.status-pending-v2 {
  background-color: #fffbeb !important;
  color: #f59e0b !important;
}

.status-failed-v2 {
  background-color: #fef2f2 !important;
  color: #ef4444 !important;
}

/* CARD MID-BODY FINANCIAL METRICS GRID LAYER */
.record-metrics-row-v2 {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.metrics-column-v2 {
  display: flex;
  flex-direction: column;
}

.metrics-column-v2.text-left { text-align: left; }
.metrics-column-v2.text-right { text-align: right; }

.metrics-label-v2 {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.amount-display-v2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* 100% Image Match Red Text Mutation for Negative Outbound Assets */
.amount-minus-v2 {
  color: #dc2626 !important; /* High-fidelity deep warning red text */
}

.amount-plus-v2 {
  color: #10b981 !important; /* Success transaction token tint green */
}

.date-main-v2 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

.time-sub-v2 {
  margin: 2px 0 0 0;
  font-size: 11px;
  color: #94a3b8;
}

/* REPLICATED ACCORDION BOTTOM EDGE DETAILS LINE */
.record-accordion-trigger-v2 {
  width: 100%;
  text-align: left;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f8fafc;
}

.record-accordion-trigger-v2 span {
  font-size: 11px;
  font-weight: 600;
  color: #5b21b6; /* Premium dark violet styling */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

/* ================= MODAL CARD ================= */
.modal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= INNER CARD ================= */
.slim-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRODUCT ROW ================= */
.product-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon-container {
  width: 48px;
  height: 48px;
  background: #2D6BEF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= PRODUCT DETAILS ================= */
.product-details strong {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin-top: 3px;
}

/* ================= DIVIDER ================= */
.divider-line {
  height: 1px;
  background: #e5e5e5;
  margin: 14px 0;
}

/* ================= BALANCE ================= */
.account-balance-row {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* ================= PURCHASE BUTTON ================= */
.purchase-btn {
  background: #2D6BEF;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}


:root {
  /* === SYSTEM COLOURS PROVIDED & UPDATED === */
  --agromint-dark-bg: #0F1B3A;
  --agromint-deep-navy: #0A142F;
  --agromint-card: #13244A;
  --agromint-blue: #1A53FF;        
  
  --white: #FFFFFF;
  --light-text: #E0E6F5;
  --black-text: #000000;          /* True black for maximum UI/UX legibility */
  --muted-dark: #334155;          
  
  --btn-deposit: #3B82F6;
  --btn-withdraw: #22C55E;        /* Profits highlight */
  --btn-plans: #D97706;           /* Gold-amber asset tracking */
  --btn-gift: #8B5CF6;
}

/* Main Section Structure - Clean Flat White Background */
.product-section {
  background-color: var(--white) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- SCREENSHOT NAVIGATION TABS --- */
.rental-navigation-tabs {
  display: flex;
  gap: 0;
  padding: 12px 16px;
  background-color: var(--white);
  width: 100%;
  box-sizing: border-box;
}

.rental-tab-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid #E2E8F0; 
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.rental-tab-btn:first-child {
  border-radius: 8px 0 0 8px;
  border-right: none;
}

.rental-tab-btn:last-child {
  border-radius: 0 8px 8px 0;
}

/* Active Tab State - Premium Darker Blue */
.rental-tab-btn.active {
  background-color: var(--agromint-blue);
  color: var(--white);
  border-color: var(--agromint-blue);
}

/* Inactive Tab State */
.rental-tab-btn:not(.active) {
  background-color: var(--white);
  color: var(--black-text);
}

/* --- THE 2-COLUMN GRID SYSTEM LAYOUT --- */
#dynamicProductList {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; 
  gap: 12px !important;
  padding: 16px 12px 100px 12px !important;
  background-color: var(--white) !important;
  box-sizing: border-box;
}

/* --- PRODUCT CARD CONFIGURATION --- */
.mx-product-card {
  background-color: var(--white);
  border-radius: 14px !important;
  border: 1px solid #E2E8F0; 
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); 
}

/* Image wrapper frame */
.mx-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 125px;
  background-color: #F8FAFC;
  overflow: hidden;
}

.mx-card-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text overlay directly on the picture card frame banner */
.mx-plan-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); 
  color: var(--white) !important; /* Forces the plan title text on top of the image to stay white */
  font-size: 14px;
  font-weight: 700;
  padding: 12px 8px 6px 8px;
  box-sizing: border-box;
}

/* Top Right Float Quota Badge */
.mx-quota-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: var(--agromint-blue);
  color: var(--white) !important;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 20px;
  z-index: 2;
}

/* --- METRICS INTERIOR GRID ENGINE --- */
.mx-main-info-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 6px;
  padding: 10px 8px;
  background-color: var(--white);
}

/* Individual feature data blocks updated to high contrast text values */
.mx-stat-block {
  background-color: #F8FAFC; 
  border-radius: 6px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #EDF2F7;
}

/* FIXED: Enforced default black text for numbers so they never fall back to white */
.mx-stat-val {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--black-text); 
}

.mx-stat-label {
  font-size: 10px;
  color: var(--black-text); 
  font-weight: 700;
  opacity: 0.6; /* Softens label slightly while keeping it clearly readable black */
}

/* Target Typography Formatting Helpers */
.true-black-text {
  color: var(--black-text) !important;
}

.withdraw-green-text {
  color: var(--btn-withdraw) !important; /* Green profits */
}

.plans-gold-text {
  color: var(--btn-plans) !important; /* Gold price value */
}

/* --- BUTTON LAYOUT FOOTER ENGAGEMENT BLOCK --- */
.mx-btn-wrapper {
  padding: 0 8px 10px 8px;
  background-color: var(--white);
}

.mx-invest-btn {
  width: 100%;
  background-color: var(--agromint-blue) !important; 
  color: var(--white) !important;
  border: none;
  padding: 10px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(26, 83, 255, 0.15);
}

.mx-invest-btn:active {
  background-color: var(--agromint-dark-bg) !important;
  transform: scale(0.96);
}

/* 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: #A855F7; /* 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);
}

/* ===== FULLSCREEN PREMIUM SLATE-WHITE OVERLAY ===== */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F8FAFC; /* Pure, clean slate-white backdrop canvas */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
}

/* FLOATING PREMIUM LIGHT GLASS CARD */
.loader-card {
  background: #FFFFFF;
  padding: 35px 40px;
  border-radius: 24px;
  border: 1px solid #E2E8F0; /* Hairline soft gray border edge */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); /* Soft modern shadow drop */
  position: relative;
  overflow: hidden; /* Clips the moving loading line perfectly */
  min-width: 200px;
}

/* THE PREMIUM SPINNER CHASSIS */
.spinner-container {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 4.5px solid #EDF2F7; /* Soft gray track line ring */
  border-top: 4.5px solid #3B82F6; /* Vibrant Blue lead spinner head */
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Central Core Dot - Matched to Flyer Gold */
.spinner-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #FFB800; /* Pure Flyer Gold Core */
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.6);
}

/* BRANDING TEXT STYLING BLOCK */
.loader-brand-text {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand-cash {
  color: #3B82F6; /* Premium Electric Blue */
}

.brand-nova {
  color: #FFB800; /* Vibrant Flyer Gold */
}

/* SUBTEXT DESCRIPTION STYLES */
.loader-card p.loading-sub {
  font-size: 12px;
  font-weight: 500;
  color: #64748B; /* Modern gray muted subtitle */
  margin: -14px 0 0 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== THE FANTASTIC MOVING PROGRESS LINE ACCENT ===== */
.loader-moving-line-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #EDF2F7; /* Background line lane track */
}

.loader-moving-line-fill {
  height: 100%;
  width: 40%; /* Length of the moving line stroke */
  background: linear-gradient(90deg, #3B82F6, #FFB800); /* Smooth Blue to Gold fluid shift */
  border-radius: 2px;
  animation: moveLine 1.4s infinite linear;
}

/* ====== CINEMATIC TRANSITION ANIMATIONS ====== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes moveLine {
  0% {
    transform: translateX(-150%);
  }
  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 - Premium White & Royal Blue Theme */
.modern-toast {
    pointer-events: auto;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: #FFFFFF;                  /* Pure White Background */
    color: #1E293B;                       /* Premium Modern Black/Slate Text */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); /* Soft premium floating shadow */
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    
    /* Hairline Outer Border & Left Accent Stripe */
    border: 1px solid #E2E8F0;            /* Delicate light grey edge */
    border-left: 5px solid #1D72F6;       /* Solid Royal Blue Core 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;
}

/* Brand Blue Accent for Standard/System Icons */
.toast-icon {
    font-size: 18px;
    color: #1D72F6;                       /* Royal Blue Icon Color Token */
}

/* Status Stripe Overrides */
.toast-success { 
    border-left-color: #1D72F6;           /* Success uses our Royal Blue */
} 
.toast-error { 
    border-left-color: #EF4444;           /* High-visibility Warning Crimson Red for safety */
}   
.toast-warning { 
    border-left-color: #F59E0B;           /* Deep Amber Orange for Warnings */
}

/* If your icons also dynamically change color based on status, add these optional overrides: */
.toast-success .toast-icon { color: #1D72F6; }
.toast-error .toast-icon { color: #EF4444; }
.toast-warning .toast-icon { color: #F59E0B; }


/* ======================================================
   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: #1D72F6; /* Premium Brand Royal Blue */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1100;
}

.pass-header-main span {
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  margin-left: 12px;
}

/* ARCHITECTURE CONTAINER WRAPPER - PURE CLEAN WHITE CANVAS */
.pass-page-wrapper {
  background-color: #FFFFFF !important; /* Fixed White Background */
  min-height: 100vh;
  padding: 85px 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: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 24px;
}

.secure-shield-icon {
  font-size: 36px;
  color: #1D72F6; /* Brand Blue Theme Accent */
  margin-bottom: 12px;
}

.pass-instruction-card .secure-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B; /* Deep Black Charcoal Typography text */
  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; /* Pure crisp black label text */
  margin-bottom: 8px;
  text-align: left;
}

/* INPUT COMPARTMENT ROW CONTAINERS */
.pass-field-input-box {
  display: flex;
  align-items: center;
  background-color: #F8FAFC; /* Delicate off-white ice tint box */
  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: #1D72F6; /* Focus indicator blue 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; /* Pure functional deep black text strings typed */
  font-family: inherit;
  width: 100%;
  padding: 0;
}

.pass-field-input-box input::placeholder {
  color: #94A3B8;
}

/* BRAND ACTION SUBMIT BUTTON SWITCH */
.pass-submit-action-btn {
  width: 100%;
  background-color: #1D72F6; /* Premium Brand Blue Button Switch */
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(29, 114, 246, 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;
}



/* ======================================================
   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;
}