
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
    /* Color Palette variables mapped exactly to your prompt tokens */
    --charcoal-black: #121212;
    --neon-purple: #B026FF;
    --deep-purple-glow: #7B2EFF;
    --neon-green: #39FF14;
    --dark-emerald-green: #00C853;
    --soft-black: #1E1E1E;
    --matte-black: #0D0D0D;
    
    --text-white: #ffffff;
    --text-dim: #8e8e93;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--matte-black);
    font-family: 'Poppins', sans-serif;
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container Engine Configuration */
.container {
    display: none; 
    width: 100%;
    max-width: 415px; /* Fits layout matching mobile viewport ratios perfectly */
    min-height: 100vh;
    background-color: var(--matte-black);
    box-sizing: border-box;
    padding: 20px;
    flex-direction: column;
}

.container.active {
    display: flex !important;
}

/* Top Branding Area Styling */
.brand-header-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 25px 0;
}

.glowing-logo-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--charcoal-black);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--neon-purple);
    /* High-fidelity outer radial glow effect using your colors */
    box-shadow: 0 0 20px 2px var(--deep-purple-glow), inset 0 0 10px rgba(123, 46, 255, 0.4);
    overflow: hidden;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Inner Body Structuring */
.form-body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Floating Pill Button Selector Container */
.action-toggle-row {
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-start;
}

.toggle-pill-btn {
    background: linear-gradient(135deg, var(--deep-purple-glow), var(--neon-purple));
    color: var(--text-white);
    border: none;
    border-radius: 20px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(176, 38, 255, 0.3);
    transition: all 0.2s ease;
}

.toggle-pill-btn:hover {
    opacity: 0.9;
}

/* Input Form Controls */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 14px;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: capitalize;
}

/* Base input field styling */
input[type="text"],
input[type="password"] {
    width: 100%;
    background-color: var(--soft-black);
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    padding: 16px;
    color: var(--text-white);
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Phone input inline flex block layout */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--soft-black);
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.phone-input-wrapper .country-code-prefix {
    padding-left: 16px;
    padding-right: 8px;
    color: var(--neon-purple); /* Custom accent highlights */
    font-size: 15px;
    font-weight: 600;
    user-select: none;
}

.phone-input-wrapper input {
    border: none !important;
    background-color: transparent !important;
    padding-left: 4px !important;
}

/* Dynamic Focus Glow States using Custom Palettes */
input:focus,
.phone-input-wrapper:focus-within {
    border-color: var(--neon-purple) !important;
    box-shadow: 0 0 8px rgba(176, 38, 255, 0.2);
}

/* Eye visibility toggle layouts */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 50px !important;
}

.toggle-password.noticed-monkey {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-style: normal;
    font-size: 18px;
    z-index: 5;
    opacity: 0.6;
    user-select: none;
    transition: opacity 0.2s;
}

.toggle-password.noticed-monkey:hover {
    opacity: 1;
}

/* Primary Action Buttons */
.btn-action-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #9916e0 0%, var(--deep-purple-glow) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(123, 46, 255, 0.35);
    transition: transform 0.1s ease, filter 0.2s ease;
}

.btn-action-submit:active {
    transform: scale(0.99);
}

/* Footer elements matching screenshot references */
.bottom-alternative-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-dim);
}

.bottom-alternative-link span {
    color: var(--neon-purple);
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
}


/* Dashboard container */
.dashboard {
  width: 100%;
  max-width: 400px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
  
  /* UPDATED: Current Theme Dark Color */
  background-color: #0b0b0b; 
  /* Subtle dark gradient for depth instead of purple */
  background: radial-gradient(circle at bottom right, #1a1a1a 0%, #0b0b0b 100%);
  background-attachment: fixed; 
  
  color: #ffffff; /* Keeping text white for high contrast */
}


/* ================= DASHBOARD HEADER (SAMSUNG STYLE) ================= */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 60px; /* Slim height */
  background: #000000;
  /* Subtle vertical lines like the Samsung image */
  background-image: linear-gradient(to right, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 20px 100%; 
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes content to both ends */
  padding: 0 20px;
  z-index: 10000;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

/* Brand Title Left */
.brand-title-header {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px; /* Spaced out like Samsung logo */
  margin: 0;
}

.text-white {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.text-purple {
  color: #A855F7;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

/* Glowing Action Circle Right */
.header-action-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A855F7;
  background: rgba(168, 85, 247, 0.05);
  box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.2), 
              0 0 15px rgba(168, 85, 247, 0.2);
  font-size: 16px;
  cursor: pointer;
}

.header-action-circle:active {
  transform: scale(0.9);
  background: rgba(168, 85, 247, 0.2);
}

.welcome-text {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.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: 65px;
}


.main-container {
  background: #000000; /* Pure Theme Black */
  padding: 10px 15px;
  max-width: 500px;
  width: 100%;
  margin: 10px auto;
  box-sizing: border-box;
}

.quick-actions-title {
  color: #ffffff;
  font-size: 14px; /* Tiny title like reference */
  font-weight: 600;
  margin-bottom: 15px;
  opacity: 0.8;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* SQUIRCLE ICON BASE - Charcoal Black */
.action-icon {
  width: 52px; /* Smaller, not zoomed */
  height: 52px;
  background: #121212; /* Charcoal background */
  border-radius: 18px; /* Smooth Samsung-style squircle */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px; /* Smaller icon */
  color: #A855F7; /* Your Purple */
  border: 1px solid rgba(168, 85, 247, 0.1); /* Subtle purple border */
  transition: all 0.2s ease;
}

/* Purple Glow effect on the icons */
.purple-glow i {
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.4));
}

/* TEXT STYLING - Tiny & White */
.action-btn span {
  font-size: 11px; /* Very tiny text like reference */
  font-weight: 500;
  color: #ffffff; 
  text-align: center;
  opacity: 0.9;
}

/* Tap Effect */
.action-btn:active .action-icon {
  transform: scale(0.92);
  background: #1a1a1a;
  border-color: #A855F7;
}

/* 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: #000000;
  padding: 10px 0; /* Small gap from top */
}

.balance-flyer {
  width: 92vw; /* Not 100vw so it looks like a premium floating card */
  margin: 0 auto;
  height: 180px; /* Adjust height as needed */
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  border: 1.5px solid rgba(168, 85, 247, 0.4); /* Purple glow border */
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.flyer-slider {
  display: flex;
  width: 300%; /* 3 images = 300% */
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth slide */
}

.flyer-card {
  width: 100.333%; /* Each image takes 1/3 of the 300% */
  height: 100%;
  object-fit: cover;
}

/* Subtle dark tint to make text pop if you add any */
.flyer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 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%;
    /* Changing the entire bar background to your solid theme color just like the red image */
   background-color: #000000;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    height: 70px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5); 
    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: 5px;
    position: relative;
    transition: all 0.25s ease;
    box-sizing: border-box;
    padding-bottom: 4px;
}

.nav-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INACTIVE STATE - Clean white elements over the solid background */
.nav-item i {
    font-size: 20px;
    color: var(--text-white);
    opacity: 0.65;
    transition: all 0.25s ease;
}

.nav-item span {
    font-size: 12px; 
    font-weight: 500; 
    color: var(--text-white);
    opacity: 0.65;
    font-family: 'Poppins', sans-serif;
    transition: all 0.25s ease;
}

/* ================= ACTIVE STATE STYLING ================= */

/* Top White Indicator Line matching the active marker from the screenshot */
.nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--text-white);
}

/* The darker active background contrast block matching the image layout structure */
.nav-item.active {
    background-color: rgba(0, 0, 0, 0.25); /* Darkens the block over your purple */
}

/* Active elements pop cleanly at full brightness */
.nav-item.active i {
    color: var(--text-white);
    opacity: 1;
}

.nav-item.active span {
    color: var(--text-white);
    opacity: 1;
    font-weight: 700;
}

/* Micro-interaction active click tap scale reduction layer */
.nav-item:active {
    transform: scale(0.95);
}


/* ===== PROFILE SCREEN WRAPPER CHASSIS BACKDROP ===== */
.profile-page {
  width: 100%;
  box-sizing: border-box;
  background-color: #0D0D0D; /* Matte Black Main Backdrop Layer */
  min-height: 100vh;
  overflow-y: auto;
  padding-bottom: 90px;
}

.dashboard-wrapper {
  padding: 16px;
  padding-top: 40px; /* Pushes layout cleanly away from fixed top navbar bar frame */
  box-sizing: border-box;
  width: 100%;
}

/* ===== FIXED TOP NAVIGATION SECTION ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0D0D0D; /* Seamlessly blends into dashboard page canvas background */
  padding: 14px 0;
  text-align: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(123, 46, 255, 0.15); /* Deep Purple Glow Bottom Edge */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.profile-header-bar h2 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ===== 1. PREMIUM USER HERO PROFILE CARD DESIGN ===== */
.profile-hero-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background-color: #121212; /* Charcoal Black Backdrop Body element */
  padding: 24px 20px;
  border-radius: 28px;
  border: 1px solid rgba(123, 46, 255, 0.12); /* Deep Purple Glow */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.avatar-circle.purple-border {
  width: 62px;
  height: 62px;
  background-color: #1E1E1E; /* Soft Black inner node slot circles */
  border: 2px solid #B026FF; /* Neon Purple main accent theme trigger ring */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px rgba(123, 46, 255, 0.35);
}

.tesla-logo-t {
  color: #B026FF; /* Neon Purple */
  font-weight: 900;
  font-size: 24px;
}

.online-indicator {
  width: 12px;
  height: 12px;
  background-color: #39FF14; /* Neon Green Active Indicator Dot */
  border: 2px solid #121212;
  border-radius: 50%;
  position: absolute;
  bottom: 2px;
  right: 2px;
}

.profile-meta-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-meta-info h2 {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
}

.verified-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(0, 200, 83, 0.1); /* Dark Emerald Green Tint overlay background */
  color: #00C853; /* Dark Emerald Green textual tone */
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
  border: 1px solid rgba(0, 200, 83, 0.15);
}

/* ===== 2. HORIZONTAL SIDE-BY-SIDE DOUBLE ACTION ASSET TILES ===== */
.horizontal-assets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 24px;
}

.asset-action-card {
  background-color: #121212; /* Charcoal Black element shell casing */
  border-radius: 24px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: transform 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.asset-action-card:active {
  transform: scale(0.96);
  border-color: rgba(123, 46, 255, 0.3); /* Provides Deep Purple Glow flash feedback */
}

.asset-icon-sphere {
  width: 38px;
  height: 38px;
  background-color: #1E1E1E; /* Soft Black inner storage blocks */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B026FF; /* Neon Purple main details theme anchor */
  font-size: 15px;
  flex-shrink: 0;
}

.asset-values-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.asset-label {
  font-size: 12px;
  color: #888888;
  font-weight: 500;
}

.amount-display {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.accent-green {
  color: #39FF14 !important; /* Neon Green currency numerical values */
}

.accent-purple {
  color: #B026FF !important; /* Neon Purple currency numerical values */
}

/* ===== 3. LIST LAYOUT FOR SYSTEM LINK ITEMS ===== */
.account-services-header {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  margin-bottom: 14px;
  padding-left: 4px;
  letter-spacing: 0.3px;
}

.settings-list-container {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Separates each line card with a clear, modern definition */
  width: 100%;
  box-sizing: border-box;
}

.menu-list-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #121212; /* Charcoal Black Row Background */
  padding: 16px 18px;
  border-radius: 18px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.01);
}

.menu-list-row-item:active {
  background-color: #1E1E1E; /* Soft Black swap on user tap execution profile items */
  transform: translateX(2px);
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.list-icon-box {
  width: 34px;
  height: 34px;
  background-color: #1E1E1E; /* Soft Black element inner container */
  border-radius: 10px; /* Squircle design frame lines */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B026FF; /* Neon Purple Icon detailing accents */
  font-size: 14px;
}

.grid-card-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.menu-item-caret {
  font-size: 18px;
  color: #666666;
  font-weight: 400;
  line-height: 1;
}

/* Anchor Link Cleanup Layout Blocks */
.a-reset-style {
  text-decoration: none;
  width: 100%;
}

/* LOGOUT CARD OVERRIDE SPECIFICATIONS TINTED ACCENTS */
.logout-row {
  margin-top: 10px; /* Separates the destructive action row block */
  border: 1px solid rgba(255, 77, 77, 0.08);
}

.logout-icon-box {
  background-color: rgba(255, 77, 77, 0.08) !important;
  color: #ff4d4d !important;
}

.logout-text-label {
  color: #ff4d4d !important;
}

/* ===== 4. SYSTEM INFORMATION SECURITY MATTE BLOCK FOOTER ===== */
.security-info-footer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: #121212; /* Charcoal Black Chassis Frame */
  border-radius: 20px;
  padding: 16px;
  margin-top: 24px;
  border: 1px solid rgba(0, 200, 83, 0.08); /* Delicate Green edge */
  box-sizing: border-box;
  width: 100%;
}

.security-shield-icon {
  font-size: 18px;
  color: #00C853; /* Dark Emerald Green verification check */
  margin-top: 2px;
}

.security-text-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.security-text-block h4 {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.security-text-block p {
  font-size: 11px;
  color: #888888;
  margin: 0;
  line-height: 1.4;
}


:root{

    --bg-main:#000000;
    --bg-card:#0d1117;

    --border:rgba(255,255,255,0.06);

    --text-main:#ffffff;
    --text-muted:#8b949e;

    --cyan:#00e5ff;

}

/* PAGE */

.bank-page-container{

    min-height:100vh;
    background:#000000;
    position:relative;
    overflow-x:hidden;
    padding-bottom:40px;

}

/* GRID */

.grid-overlay{

    position:fixed;
    inset:0;

    background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);

    background-size:32px 32px;

    pointer-events:none;
    z-index:0;

}

/* HEADER */

.bank-header-premium{

    position:relative;
    z-index:2;

    padding:25px 20px 5px;

}

.bank-back-btn{

    width:42px;
    height:42px;

    border:none;
    background:transparent;

    color:#ffffff;

    font-size:20px;

    margin-bottom:20px;

}

/* TITLE */

.header-main-content{

    display:flex;
    justify-content:center;
    align-items:center;

}

.header-title-group{

    text-align:center;

}

.header-title-group h2{

    color:#ffffff;

    font-size:16px;
    font-weight:700;

    letter-spacing:8px;

    margin:0;

}

/* FORM */

.funds-wrapper{

    position:relative;
    z-index:2;

    padding:0 18px;

}

.funds-form-body{

    width:100%;

}

/* CARD */

.input-card-premium{

    width:100%;

    background:linear-gradient(
    180deg,
    rgba(13,17,23,0.98),
    rgba(5,8,15,0.98)
    );

    border:1px solid var(--border);

    border-radius:12px;

    padding:24px 16px;

    box-sizing:border-box;

}

/* GROUP */

.funds-group{

    margin-bottom:24px;

}

/* LABEL */

.samsung-label{

    display:block;

    color:#9ca3af;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    margin-bottom:12px;

}

/* INPUT */

.funds-field{

    width:100%;

    height:64px;

    background:#05070d !important;

    border:1px solid rgba(255,255,255,0.05) !important;

    border-radius:10px !important;

    padding:0 18px !important;

    outline:none !important;

    color:#ffffff !important;

    font-size:16px;

    box-sizing:border-box;

    transition:0.25s ease;

}

/* PLACEHOLDER */

.funds-field::placeholder{

    color:#6b7280;

}

/* FOCUS */

.funds-field:focus{

    border-color:rgba(0,229,255,0.7) !important;

    box-shadow:
    0 0 0 3px rgba(0,229,255,0.08);

}

/* SELECT */

select.funds-field{

    appearance:none;
    -webkit-appearance:none;

    background-image:none;

}

/* BUTTON */

.funds-action-btn{

    width:100%;

    height:68px;

    border:none !important;

    border-radius:8px !important;

    background:#ffffff !important;

    color:#000000 !important;

    font-size:18px;

    font-weight:800;

    letter-spacing:1px;

    cursor:pointer;

    margin-top:8px;

    transition:0.2s ease;

}

.funds-action-btn:active{

    transform:scale(0.98);

}

/* MOBILE */

@media(max-width:480px){

    .header-title-group h2{

        font-size:15px;
        letter-spacing:6px;

    }

    .funds-field{

        height:60px;
        font-size:15px;

    }

}

.bank-page {
    width: 100%;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bank-page-container {
    width: 100%;
    max-width: 100% !important;
    padding: 0 0 40px 0 !important;
    margin: 0 !important;
}

.funds-wrapper {
    padding: 0 !important;
}

.input-card-premium {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    width: 100% !important;
    padding: 24px 20px !important;
}

/* ===== 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;
}

/* Container Background */
#manualDetailsPage {
  background-color: #0b0e14;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  /* FIX: Allow scrolling and prevent content from getting stuck */
  overflow-y: auto; 
  display: block; 
}

/* Header Styling */
.recharge-header-fixed {
  display: flex;
  align-items: center;
  padding: 20px;
  background: transparent;
}

.recharge-header-fixed h2 {
  flex-grow: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.recharge-page-container {
  padding: 0 20px 100px 20px; /* Added 100px at the bottom */
  text-align: center;
  /* FIX: Ensure container expands with content */
  height: auto; 
}

/* Section Labels (Bank Name, Account Number, etc) */
.section-label, .bank-info-row span, label {
  color: #8a8d91;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

/* Bold Values */
.bank-info-row strong {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 25px;
  color: #ffffff;
}

/* The "Card" layout in the screenshot is very subtle */
.recharge-card {
  background: #161a21;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
}

/* Slimmed-Down Premium Input */
input {
  width: 100%;
  background: #f5f5f5; 
  border: 1.2px solid #2d343f;
  /* Reduced padding from 16px to 10px 14px */
  padding: 10px 14px; 
  /* Sharper corners for a more modern feel */
  border-radius: 8px;
  color: #1a1a1a; /* Changed to dark since background is light #f5f5f5 */
  font-size: 0.9rem; /* Smaller font */
  margin-top: 5px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  outline: none;
}

/* The "Glow" Effect when typing */
input:focus {
  background: #ffffff;
  border-color: #9d56ff;
  box-shadow: 0 0 8px rgba(157, 86, 255, 0.15); 
}

/* Placeholder color */
input::placeholder {
  color: #8a8a8a;
  font-size: 0.85rem;
}

.deposit-btn {
  background-color: #9d56ff;
  color: white;
  border: none;
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 30px 0; /* Added more vertical margin */
  cursor: pointer;
  /* Optional: Add a shadow to make it pop against the dark bg */
  box-shadow: 0 4px 15px rgba(157, 86, 255, 0.3);
}

/* Small Copy Buttons next to text (Matches the purple icon in your image) */
.copy-btn-v2 {
  background: #2a2e35;
  color: #9d56ff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  float: right;
  margin-top: -50px; /* Positions it next to the strong text */
}


.recharge-page {
  font-family: 'Inter', sans-serif;
  background-color: #000000;
  /* CHANGE: Use min-height instead of fixed height */
  min-height: 100vh; 
  width: 100%;
  color: white;
  margin: 0;
  /* CHANGE: Allow scrolling */
  overflow-y: auto; 
  position: relative;
  box-sizing: border-box;
  /* Prevent horizontal scroll if something is too wide */
  overflow-x: hidden; 
}

/* ===== CONTAINER ===== */
.recharge-page-container {
  /* CHANGE: Add top padding so content doesn't hide under the fixed header (60px) */
  /* CHANGE: Add bottom padding so content doesn't hide under the fixed footer (~80px) */
  padding: 70px 15px 100px 15px; 
  width: 100%;
  box-sizing: border-box;
  background: #000000;
  min-height: 100vh;
}

/* ===== FIXED HEADER ===== */
.recharge-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.recharge-header-fixed h2 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.recharge-back-btn-v2 {
  position: absolute;
  left: 15px;
  background: transparent;
  border: none;
  color: #9d56ff; /* Blue back arrow */
  font-size: 20px;
  cursor: pointer;
}


/* ROOT WRAPPER BASE */
.recharge-page-container {
  background-color: #0D0D0D; /* Matte Black */
  min-height: 100vh;
  padding: 20px 16px 40px 16px;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  box-sizing: border-box;
  width: 100%;
}

/* TOP ROW HEADER BLOCK */
.recharge-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 0 25px 0;
  width: 100%;
}

.back-navigation-btn {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: #1E1E1E; /* Soft Black */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #7B2EFF; /* Deep Purple Glow Border */
  box-shadow: 0 0 8px rgba(123, 46, 255, 0.3);
  transition: background-color 0.2s;
}

.back-navigation-btn:active {
  background-color: #121212; /* Charcoal Black */
}

.back-navigation-btn i {
  color: #ffffff;
  font-size: 16px;
}

.page-main-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* MAIN CONTENT BLOCK */
.recharge-main-content {
  width: 100%;
  box-sizing: border-box;
}

.section-label-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left; /* Explicitly Left Aligned */
}

.section-label-heading.space-above {
  margin-top: 28px;
}

/* THICKER, SOLID CUSTOM INPUT FIELD WRAPPER */
.custom-amount-wrapper {
  background-color: #1E1E1E; /* Soft Black */
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 24px 22px; /* Increased height and padding for premium thickness */
  border: 1.5px solid #121212; /* Charcoal Black default boundary */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-amount-wrapper:focus-within {
  border-color: #B026FF; /* Neon Purple focus boundary */
  box-shadow: 0 0 14px #7B2EFF; /* Deep Purple Glow */
}

.currency-icon {
  color: #39FF14; /* Neon Green */
  font-size: 24px; /* Scaled up currency icon */
  font-weight: 700;
  margin-right: 14px;
}

#customAmount {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px; /* Thicker, much larger text input font sizes */
  font-weight: 700;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: #555555;
  font-weight: 500;
  font-size: 16px; /* Scaled placeholder to sit perfectly */
}

/* CHANNELS LIST WRAPPER */
.payment-channels-wrapper {
  background-color: #121212; /* Charcoal Black */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(123, 46, 255, 0.15);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  width: 100%;
  box-sizing: border-box;
}

.channel-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.2s;
}

.channel-card:last-child {
  border-bottom: none;
}

.channel-card:active {
  background-color: rgba(176, 38, 255, 0.05); /* Neon Purple pulse */
}

.channel-card.active {
  background-color: rgba(123, 46, 255, 0.03);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon-box {
  width: 42px;
  height: 42px;
  background-color: #1E1E1E; /* Soft Black */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C853; /* Dark Emerald Green */
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.channel-name-text {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.badge-recommended {
  font-size: 12px;
  font-weight: 500;
  color: #ff4d4d;
  margin-left: 4px;
}

/* CUSTOM SELECTION RADIOS SYSTEM */
.channel-radio-indicator {
  width: 22px;
  height: 22px;
  border: 2px solid #555555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.channel-card.active .channel-radio-indicator {
  border-color: #B026FF; /* Neon Purple */
  box-shadow: 0 0 8px rgba(176, 38, 255, 0.4);
}

.inner-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s;
}

.channel-card.active .inner-radio-dot {
  background-color: #B026FF; /* Neon Purple */
}

/* ACTION BUTTON CONTAINER */
.deposit-btn {
  width: 100%;
  background: #B026FF; /* Neon Purple */
  color: #ffffff;
  border: none;
  padding: 18px;
  border-radius: 35px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 30px;
  box-shadow: 0 6px 20px rgba(176, 38, 255, 0.4); /* Deep Purple Glow Shadow */
  transition: transform 0.2s, background-color 0.2s;
  box-sizing: border-box;
}

.deposit-btn:active {
  transform: scale(0.98);
  background-color: #7B2EFF; /* Deep Purple Glow */
}

/* STABLE, LEFT ALIGNED BOTTOM TIPS BLOCK */
.rules-box {
  background-color: #121212; /* Charcoal Black */
  border-radius: 24px;
  padding: 22px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  width: 100%;
  box-sizing: border-box;
}

.rules-title {
  color: #39FF14; /* Neon Green */
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left; /* Normal left alignment */
}

.rules-list-items {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left; /* Complete left text alignment override */
}

.rules-list-items li {
  color: #aaaaaa;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.6;
  text-align: left; /* Ensures lines flow naturally left-to-right */
}

.rules-list-items li:last-child {
  margin-bottom: 0;
}

.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}


/* FULL PAGE COVERING TRANSLUCENT OVERLAY BACKGROUND EFFECT */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(13, 13, 13, 0.9); /* Matte Black #0D0D0D base overlay */
  backdrop-filter: blur(10px); 
  z-index: 99999;
  padding: 16px;
  box-sizing: border-box;
}

/* BOX SHAPED POPUP LAYOUT CONTAINER BLOCK PROFILE ACCENTS */
.mx-unique-modal {
  width: 100%;
  max-width: 380px; /* Spreads out into a premium clean width dashboard card box shape */
  background: #121212; /* Charcoal Black primary structural chassis backdrop */
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid #7B2EFF; /* Deep Purple Glow delicate accent border */
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(123, 46, 255, 0.25);
  box-sizing: border-box;
}

/* TOP MEDIA BANNER CONTAINER COMPONENT MAP */
.modal-top-section {
  background: linear-gradient(180deg, #B026FF 0%, #7B2EFF 100%); /* Charcoal Black to Soft Black gradient header */
  padding: 50px 20px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(123, 46, 255, 0.15); /* Deep Purple Glow separator split line */
}

/* DISMISS TOP POSITIONED ABSOLUTE BUTTON TRIGGER LAYER */
.modal-close-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #ffffff;
  background: #1E1E1E; /* Soft Black close button housing */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(123, 46, 255, 0.3); /* Deep Purple Glow outline */
  transition: background-color 0.2s;
  z-index: 10;
}

.modal-close-icon:active {
  background: #121212; /* Charcoal Black click flash back toggling */
}

/* CENTERED BRAND CIRCLE OVERLAY SYSTEM DISPLAY LAYERS */
.modal-logo-circle {
  width: 90px;
  height: 90px;
  background: transparent;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TEXT CONTENT BODY AND LEFT-ALIGNMENT NORMALIZATION METRICS */
.modal-body-content {
  padding: 24px 20px 28px 20px;
  width: 100%;
  box-sizing: border-box;
  text-align: left; /* Completely left aligns the layout info block contents */
}

.mx-modal-title {
  color: #39FF14; /* Neon Green Title text tracking view */
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px 0;
  text-align: left;
  letter-spacing: 0.3px;
}

.modal-description-text {
  color: #ffffff; /* White description body font string labels */
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 20px 0;
  text-align: left; /* Natural left text layout alignment wrapper */
}

/* INNER CARD COMPACT EMPTY SLOT BOX SYSTEM */
.modal-middle-empty-slot {
  background-color: #1E1E1E; /* Soft Black inner box tracking elements */
  border: 1px solid #121212; /* Charcoal Black borders layout structure */
  height: 48px;
  border-radius: 14px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 24px;
}

/* INTERACTIVE CALL TO ACTION PILL BUTTON LAUNCH CHASSIS */
.mx-telegram-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #B026FF; /* Neon Purple main button background theme */
  color: #ffffff;
  padding: 16px;
  border-radius: 30px; /* Perfectly structured rounded button pill profile boundaries */
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  box-sizing: border-box;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 6px 20px rgba(176, 38, 255, 0.4); /* Neon Purple drop cast shadow metrics */
}

.mx-telegram-btn:active {
  transform: scale(0.97);
  background-color: #7B2EFF; /* Deep Purple Glow variation replacement upon active click */
}

#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-card {
  background: #0b0b0b; /* Card Surface */
  border: 1px solid #1a1a1a; /* Border/Divider */
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 420px;
  font-family: 'Inter', sans-serif;
  color: #ffffff; /* Primary Text */
}

/* Header */
.header-slim {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.title-section { display: flex; align-items: center; gap: 10px; }
.icon { font-size: 22px; color: #ffffff; }
.name-text { font-weight: 700; font-size: 16px; }
.duration-text { font-size: 12px; color: #8b949e; } /* Muted Text */

.status-badge { 
  color: #00ffcc; /* Accent/Highlight */
  font-size: 11px; 
  font-weight: 600; 
  display: flex; 
  align-items: center; 
  gap: 6px; 
}
.dot { height: 6px; width: 6px; background-color: #00ffcc; border-radius: 50%; }

/* Stats Grid */
.stats-slim {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.stat-box { 
  border: 1px solid #1a1a1a; 
  padding: 10px 5px; 
  border-radius: 10px; 
  text-align: center; 
}
.stat-label { font-size: 9px; color: #8b949e; text-transform: uppercase; margin-bottom: 4px; }
.stat-val { font-size: 14px; font-weight: 700; color: #ffffff; }

/* Footer Row */
.footer-slim {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8b949e;
  border-top: 1px solid #1a1a1a;
  padding-top: 12px;
}

.investment-filter-group {
  display: flex;
  gap: 10px;
  padding: 15px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.investment-filter-group .filter-btn {
  background: #0b0b0b; 
  border: 1px solid #1a1a1a; 
  color: #8b949e;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.investment-filter-group .filter-btn.active {
  background: #ffffff; 
  color: #000000; 
  border-color: #ffffff;
}

/* ================= CLEAN FIXED INVITE HEADER ================= */
.invite-header-fixed-v2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 16px;
  background: #0b0b0b;
  color: #001f3f;

  z-index: 1000;              /* stays above invite content */
  border-bottom: 1px solid #0b0b0b;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);

  font-family: 'Poppins', sans-serif;
}


/* Header title */
.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}


/* ================= CIRCULAR BACK BUTTON ================= */
.invite-back-btn-v2 {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;
  border-radius: 50%;

  border: 1px solid #0b0b0b;
  background: #0b0b0b;
  color: #7c22d6;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;

  z-index: 1100;
  outline: none;
}


/* Press effect */
.invite-back-btn-v2:active {
  transform: translateY(-50%) scale(0.95);
  background: #f9f9f9;
}

:root {
    /* Full Specified Hex Color Token Palette Custom Setup Variables */
    --charcoal-black: #121212;
    --neon-purple: #B026FF;
    --deep-purple-glow: #7B2EFF;
    --neon-green: #39FF14;
    --dark-emerald-green: #00C853;
    --soft-black: #1E1E1E;
    --matte-black: #0D0D0D;
    
    --text-white: #ffffff;
    --text-dim: #8e8e93;
}

/* Master Wrapper Container Frame Viewport Sizing Engine definitions */
.referral-container {
    background-color: var(--matte-black);
    padding: 20px 16px 120px 16px;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%; /* Spans mobile viewport perfectly */
    max-width: 480px;
    margin: 0 auto;
    overflow-x: hidden; /* Prevents global horizontal layout leakage */
}

/* Header Context description typography styles definitions */
.top-info-desc-text {
    text-align: center;
    color: var(--text-white);
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0.95;
    word-wrap: break-word;
}

/* --- THE MASTER BANNER DISPLAY CONTAINER CARD --- */
.earn-together-banner-card {
    width: 100%;
    height: 200px;
    border-radius: 24px;
    background: url('share.jpg') center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

/* Shadow fade alpha overlay to force text contrast matches across screenshots */
.banner-gradient-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.banner-main-title {
    color: var(--text-white);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.banner-sub-title {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* Section Category Text Heading Label Definition style rules */
.referral-section-title-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--neon-purple);
    margin: 0 0 12px 4px;
    text-transform: capitalize;
}

/* --- THE INLINE DYNAMIC SHARE LINK CARD BOX CONTAINER --- */
.invite-url-link-container {
    background-color: var(--charcoal-black);
    border-radius: 20px;
    padding: 18px 16px; /* Optimized padding for small mobile devices */
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(176, 38, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 100%;
}

.url-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.url-title-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
}

/* Right Floated Compact Copy Trigger button implementation using your neon green accents */
.mini-copy-btn {
    background: linear-gradient(135deg, var(--dark-emerald-green) 0%, var(--neon-green) 100%);
    color: var(--matte-black);
    border: none;
    padding: 8px 20px; /* Slimmer horizontal padding to prevent clipping */
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(57, 255, 20, 0.25);
    transition: transform 0.1s ease;
    flex-shrink: 0; /* Prevents copy button from shrinking out of shape */
}

.mini-copy-btn:active {
    transform: scale(0.96);
}

.link-input-display {
    background: transparent;
    border: none;
    width: 100%;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 400;
    outline: none;
    padding: 4px 0 0 0;
    font-family: inherit;
    box-sizing: border-box;
    text-overflow: ellipsis; /* Gracefully truncates incredibly long text URLs */
    white-space: nowrap;
    overflow: hidden;
}

/* Informational Mid-layer Description element structure styling */
.social-share-informational-text {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 25px 0;
    padding: 0 10px;
    word-wrap: break-word;
}

/* --- RESPONSIVE SOCIAL CHANNELS FLUID GRID --- */
.social-platform-channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Slightly tighter gap to provide more safety breathing room */
    width: 100%;
    box-sizing: border-box;
}

.social-grid-tile-item {
    background-color: var(--charcoal-black);
    border-radius: 18px;
    padding: 14px 10px; /* Optimized layout margins for narrow phone panels */
    display: flex;
    align-items: center;
    gap: 8px; /* Tighter layout items padding spacing */
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-sizing: border-box;
    overflow: hidden; /* Contains overflowing metadata descriptions inside box borders */
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.social-grid-tile-item:hover {
    background-color: var(--soft-black);
    border-color: rgba(176, 38, 255, 0.2);
}

/* Rounded Profile Icon Frame Blocks setup layout styling */
.social-icon-wrapper {
    width: 36px; /* Scaled down slightly to fit small screens without shifting */
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 16px;
    flex-shrink: 0; /* Protects icon dimensions from flattening down */
}

/* High Fidelity Brand Accent mappings matching your request instructions */
.fb-brand-color { background-color: #1877f2; }
.tg-brand-color { background-color: #24a1de; }
.x-brand-color  { background-color: #2b2b2b; }

/* Custom Neon Green implementation path for WhatsApp block matching prompt highlights */
.wa-brand-color { 
    background-color: var(--dark-emerald-green); 
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15);
}

.social-channel-meta-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden; /* Prevents inner texts from expanding card boundaries horizontally */
    width: 100%;
}

.social-channel-title {
    color: var(--text-white);
    font-size: 13px; /* Slightly adjusted to drop safely inside responsive boundaries */
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.social-channel-subtext {
    color: var(--text-dim);
    font-size: 10px;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

}
/* ================= CLEAN FIXED TEAM HEADER ================= */
.team-header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  /* Swapped Red for Brand Purple Gradient */
  background: linear-gradient(135deg, #000 0%, #000 100%);
  color: white;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
}

/* Header text */
.team-header-main span {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.back-btn-white {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; /* Slightly smaller for a tighter look */
  height: 36px;
  border-radius: 50%;
  border: none;
  /* Premium Glassmorphism Effect */
background: #0b0b0b;
backdrop-filter: blur(12px);         /* The Glass Blur */
-webkit-backdrop-filter: blur(12px); /* Support for Safari */

/* Glass Definition */
border: 1px solid rgba(0, 0, 0, 0.3); 
box-shadow: 0 8px 32px rgba(3, 3, 3, 0.05); /* Very subtle purple tint in shadow */
  /* Icon color is now Purple */
  color: #A855F7; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  outline: none;
  z-index: 1100;
}

/* Press effect */
.back-btn-white:active {
  transform: translateY(-50%) scale(0.92);
  background: #f3e8ff; /* Soft purple tint on press */
}

/* CONTAINER CORE PAGE FRAME ACCENTS */
.team-page-wrapper {
  background-color: #0D0D0D; /* Matte Black Page Underlay Background */
  min-height: 100vh;
  padding: 20px 16px 40px 16px;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  box-sizing: border-box;
  width: 100%;
}

/* 1. TOP QUAD-GRID DASHBOARD STATS PANEL SYSTEM */
.stats-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  background-color: #121212; /* Charcoal Black Panel Base Body */
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(123, 46, 255, 0.15); /* Deep Purple Glow Accent Edge Tint */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

.mini-stat-box {
  background-color: #1E1E1E; /* Soft Black inner storage blocks */
  border-radius: 18px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* Correct structural Left alignment grid layout tracking */
  text-align: left;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.mini-stat-box .label {
  font-size: 13px;
  font-weight: 500;
  color: #aaaaaa;
  margin-bottom: 6px;
}

.mini-stat-box .value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* COLOR ACCENT CONSTRAINTS SPECIFIED VIA TOKENS */
.accent-green {
  color: #39FF14 !important; /* Neon Green Core Tracking Values */
}

.accent-purple {
  color: #B026FF !important; /* Neon Purple Core Tracking Values */
}

/* 2. HORIZONTAL SCROLL INTERACTIVE TABS ROW PILLS LAYER */
.tabs-pill-row {
  display: flex;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 24px;
  overflow-x: auto;
}

.level-tab-btn {
  flex: 1;
  min-width: 100px;
  background-color: #121212; /* Charcoal Black Rest State */
  color: #aaaaaa;
  border: 1px solid #1E1E1E; /* Soft Black block edges */
  padding: 14px 10px;
  border-radius: 16px; /* High fidelity rounded tab look from images */
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

/* Active Pill Highlight matching Neon Purple brand launchers */
.level-tab-btn.active {
  background: #B026FF; /* Neon Purple interactive highlight active system */
  color: #ffffff;
  border-color: #B026FF;
  box-shadow: 0 4px 15px rgba(176, 38, 255, 0.35);
}

/* 3. CENTER SHOWCASE LEVEL CARD ACCENTS PACKS */
.level-showcase-panel {
  background-color: #121212; /* Charcoal Black chassis backdrop layout elements */
  border-radius: 28px;
  padding: 22px 18px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(123, 46, 255, 0.1); /* Deep Purple Glow tracking subtle line */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.panel-main-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-align: left; /* Left Aligned Heading metric display strings */
}

.panel-action-link-btn {
  background-color: #B026FF; /* Neon Purple highlight background profile links button trigger */
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(176, 38, 255, 0.2);
}

/* TRIPLE STATS BOX ROW MATRIX TRACKING */
.triple-stats-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.sub-stat-card {
  background-color: #1E1E1E; /* Soft Black sub-card slots tracking units */
  border-radius: 14px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.01);
}

.sub-stat-card .sub-label {
  font-size: 11px;
  color: #888888;
  margin-bottom: 6px;
  font-weight: 500;
}

.sub-stat-card .sub-value {
  font-size: 13px;
  font-weight: 700;
}

/* 4. PROGRAMMATIC SCROLL INJECT AREA */
.team-scroll-area {
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
}

/* 5. INFORMATIVE COMMISSIONS FOOTER RULES SECTION (NATURAL LEFT ALIGNMENT) */
.referral-instructions-box {
  background-color: #121212; /* Charcoal Black block wrapper background profile mapping */
  border-radius: 28px;
  padding: 22px;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.02);
  text-align: left; /* Full default left text structural row configuration flow */
}

.instruction-paragraph {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: #aaaaaa;
  margin: 0;
  text-align: left; /* Complete Left Aligned enforcement rule */
}

.instruction-paragraph.space-below {
  margin-top: 20px;
}

.instruction-paragraph.space-above {
  margin-top: 20px;
}


/* ================= WITHDRAW PAGE ================= */
.withdraw-page {
  width: 100%;
  background: #0b0b0b;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* remove height & overflow */
}


/* ================= CLEAN HEADER ================= */
.withdraw-header-fixed {
  width: 100%;
  height: 90px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid #0b0b0b;
}

.withdraw-header-fixed h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff; /* Dark Navy */
  font-family: 'Poppins', sans-serif;
}

.withdraw-back-btn-v2 {
  position: absolute;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #0b0b0b;
  background: #0b0b0b;
  color: #A855F7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.history-btn {
  position: absolute;
  right: 15px; /* push to right */
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}


:root {
  --bg-dark: #000000;      /* Pure Black */
  --card-bg: #0d0d0d;      /* Slightly lighter black for cards */
  --input-bg: #1a1a1a;     /* Dark grey for inputs */
  --accent-purple: #A855F7; /* Your Purple */
  --text-main: #ffffff;
  --text-muted: #888888;
}

/* ================= NEW GLASS HEADER STYLE ================= */
.header-premium-glass {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 30px 30px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  margin-top: -60px; /* Counteracts container padding */
}

.glass-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px); /* Premium Blur */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* ================= RESTORED ORIGINAL CLASSES WITH NEW COLORS ================= */
.recharge-container {
  background-color: var(--bg-dark);
  padding: 60px 15px 30px;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.withdrawal-card-box, .bank-warning-card, .withdraw-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(168, 85, 247, 0.1); /* Subtle Purple Border */
}

.withdraw-input-box {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.withdraw-input-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  width: 100%;
  color: var(--text-main);
}

.currency, .withdraw-title, .info-icon {
  color: var(--accent-purple) !important;
}

.info-icon {
  border: 1px solid var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
}

.withdraw-submit-btn {
  width: 100%;
  background: var(--accent-purple); /* Purple Button */
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.bank-title-blue {
  color: var(--text-main);
  font-weight: 600;
}

.bank-detail-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


/* ================= WITHDRAWAL RULES STYLING ================= */
.withdraw-card {
    background-color: #0D0D0D; /* Dark Charcoal */
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(168, 85, 247, 0.1); /* Subtle Purple glow */
    margin-top: 10px;
    margin-bottom: 100px; /* Space for the sticky button */
}

.withdraw-title {
    color: #A855F7; /* Brand Purple */
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.withdraw-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.withdraw-item:last-child {
    margin-bottom: 0;
}

/* The Numbered Circle Icon */
.info-icon {
    background: rgba(168, 85, 247, 0.1); /* Very light purple tint */
    color: #A855F7; /* Purple Text */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    border: 1.5px solid #A855F7;
}

/* The Rule Text */
.withdraw-item span {
    color: #888888; /* Muted White/Grey */
    font-size: 13px;
    line-height: 1.6;
}

.withdraw-item b {
    color: #FFFFFF; /* Bold text in White */
    font-weight: 600;
}

/* ================= RECORDS PAGE ================= */
.records-page {
  width: 100vw;
  padding-top: 60px;
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow-y: auto;
  background: #0d1117;
  box-sizing: border-box;
}

/* ===============================================
   RECORDS PAGE SPACING
   =============================================== */
.records-page {
  padding-top: 0px;
}


/* Specific Purple color for the Registration Bonus Icon */
.icon-bonus {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

/* ================= CLEAN FIXED HEADER ================= */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #0b0b0b; /* Clean white background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #0b0b0b;
  font-family: 'Poppins', sans-serif;
}

/* Header title */
.records-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff; /* Dark Navy for high contrast */
  letter-spacing: 0.5px;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.records-back-btn {
  position: absolute;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #0b0b0b; /* Subtle border like the image */
  background: #0b0b0b;
  color: #A855F7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Soft shadow for depth */
  transition: transform 0.1s ease;
  outline: none;
  font-size: 16px;
}

.records-back-btn:active {
  transform: scale(0.95);
  background: #A855F7;
}


#recordsContainer {
  padding: 15px;
  background-color: #000000; /* Pure Black */
  min-height: 100vh;
}

/* ================= RECORD CARD ================= */
.record-card {
  width: 100%;
  padding: 20px;
  background: #0D0D0D; /* Slightly lighter than background */
  border-radius: 24px; /* More rounded for premium feel */
  margin-bottom: 15px;
  box-sizing: border-box;
  border: 1px solid rgba(168, 85, 247, 0.15); /* Purple border tint */
  display: flex;
  flex-direction: column; /* Stacked layout like reference */
  gap: 12px;
}

/* TOP ROW (Labels) */
.record-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-transaction {
  font-size: 13px;
  color: #888; /* Muted label */
  font-weight: 500;
}

/* MIDDLE ROW (Amount Display) */
.record-middle-row {
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Clean divider */
  padding-bottom: 10px;
}

.record-amount {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.amount-minus { color: #ffffff; } /* White for minus */
.amount-plus { color: #A855F7; } /* Purple for plus */

/* BOTTOM ROW (Status & Time) */
.record-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-time {
  font-size: 11px;
  color: #444;
  font-family: monospace;
}

/* ================= STATUS PILL ================= */
.record-status {
  font-size: 10px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-success {
  border: 1.5px solid #22c55e;
  color: #22c55e;
}

.status-failed {
  border: 1.5px solid #ff4d4d;
  color: #ff4d4d;
}

.status-pending {
  border: 1.5px solid #A855F7;
  color: #A855F7;
}

/* ================= FILTER (PREMIUM DARK THEME) ================= */
.records-filter {
  display: flex;
  gap: 12px; /* Balanced spacing like the screenshot */
  padding: 20px 15px;
  overflow-x: auto;
  justify-content: flex-start; /* Better for mobile scrolling */
  background-color: #000000; /* Pure Black background */
  border-bottom: 1px solid rgba(168, 85, 247, 0.1); /* Subtle Purple border */
}

.filter-btn {
  border: none;
  padding: 10px 24px; /* Pill shape padding */
  background: #1A1A1A; /* Subtle dark gray for inactive buttons */
  border-radius: 12px; /* Smooth rounded corners */
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #888; /* Muted gray for inactive text */
  white-space: nowrap;
  transition: all 0.3s ease;
  outline: none;
  flex-shrink: 0;
}

/* Active State - Solid Purple Background */
.filter-btn.active {
  background: #A855F7 !important; /* Your Brand Purple */
  color: #FFFFFF !important; /* White text on active */
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3); /* Purple glow */
}

.filter-btn:active {
  transform: scale(0.92);
}

/* Hide scrollbar */
.records-filter::-webkit-scrollbar {
  display: none;
}
.records-filter {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .record-card { 
    padding: 20px; 
    border-radius: 24px; /* Matches the Samsung card feel */
  }
}
/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

/* ================= MODAL CARD ================= */
.modal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= INNER CARD ================= */
.slim-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRODUCT ROW ================= */
.product-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon-container {
  width: 48px;
  height: 48px;
  background: #2D6BEF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= PRODUCT DETAILS ================= */
.product-details strong {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin-top: 3px;
}

/* ================= DIVIDER ================= */
.divider-line {
  height: 1px;
  background: #e5e5e5;
  margin: 14px 0;
}

/* ================= BALANCE ================= */
.account-balance-row {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* ================= PURCHASE BUTTON ================= */
.purchase-btn {
  background: #2D6BEF;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}


/* ================= PAGE WRAPPER ================= */
.investment-page {
  background: #040404;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Crucial: Forces content to start at the top, not center */
  justify-content: flex-start !important; 
  align-items: stretch; 
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0; /* Removed the 75px padding from here */
}

/* ================= FIXED HEADER ================= */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #040404;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.investment-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fefefe;
  font-family: 'Poppins', sans-serif;
}

/* Back Button */
.investment-back-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #ffffff; 
  cursor: pointer;
}

/* ================= SUB-HEADER (SNAPS TO TOP) ================= */
.investment-sub-header {
  /* 60px for header height + 20px extra breathing room = 80px */
  padding: 80px 20px 15px 20px; 
  background: #040404;
  width: 100%;
  box-sizing: border-box;
}

.investment-sub-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.investment-sub-header p {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.4;
}

:root {
    /* Core Hex Palette Variable Tokens Provided */
    --charcoal-black: #121212;
    --neon-purple: #B026FF;
    --deep-purple-glow: #7B2EFF;
    --neon-green: #39FF14;
    --dark-emerald-green: #00C853;
    --soft-black: #1E1E1E;
    --matte-black: #0D0D0D;
    
    --text-white: #ffffff;
    --text-dim: #8e8e93;
}

/* --- TOP CATEGORY TABS SYSTEM --- */
.rental-navigation-tabs {
    display: flex;
    gap: 12px;
    padding: 15px 16px;
    background-color: var(--matte-black);
    width: 100%;
    box-sizing: border-box;
}

.rental-tab-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
}

/* Active Main Rental state matching your screenshots precisely */
.rental-tab-btn.active {
    background: linear-gradient(135deg, #a118e6 0%, var(--deep-purple-glow) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(123, 46, 255, 0.3);
}

/* Inactive / Coming Soon State variant */
.rental-tab-btn:not(.active) {
    background-color: var(--soft-black);
    color: var(--text-dim);
}

/* --- PRODUCT MOUNT LIST CONTAINER ENGINE --- */
#dynamicProductList {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 0 16px 120px 16px !important;
    background-color: var(--matte-black);
}

/* --- PREMIUM HIGH-GLOW CARD STYLING --- */
.mx-product-card {
    background-color: var(--charcoal-black);
    border-radius: 20px !important;
    padding: 18px 16px !important;
    border: 1px solid rgba(176, 38, 255, 0.15); /* Subtle Neon Border Accent */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Header Text Rows placement blocks inside cards */
.mx-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
}

.mx-plan-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Floating top right Price label block */
.mx-floating-price-badge {
    background: linear-gradient(135deg, #a118e6 0%, var(--deep-purple-glow) 100%);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(123, 46, 255, 0.2);
}

/* Central Informational Layout Grid Structure wrapper */
.mx-main-info-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    width: 100%;
}

/* Thumbnail Graphic Block Cover frame wrapper */
.mx-thumbnail-frame {
    width: 110px;
    height: 110px;
    min-width: 110px;
    border-radius: 16px;
    background-color: var(--soft-black);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-card-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Metrics key value details list stacked system block alignment */
.mx-stats-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mx-stat-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 15px;
}

.mx-stat-label {
    color: var(--text-dim);
    font-weight: 500;
}

.mx-stat-val {
    font-weight: 700;
    text-align: right;
}

/* Inline programmatic color utilities */
.neon-purple-text {
    color: var(--neon-purple) !important;
}

.neon-green-text {
    color: var(--neon-green) !important;
}

/* --- THE WIDE ACTION INVESTMENT SUBMIT TRIGGER BUTTON --- */
.mx-invest-btn {
    width: 100%;
    background: linear-gradient(90deg, #9916e0 0%, var(--deep-purple-glow) 100%) !important;
    color: var(--text-white) !important;
    border: none;
    padding: 14px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(123, 46, 255, 0.35);
    transition: transform 0.1s ease, filter 0.2s ease;
}

.mx-invest-btn:active {
    transform: scale(0.98);
}

/* 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 PURE BLACK OVERLAY */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000; /* Pure Black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* FLOATING GLASS CARD */
.loader-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.2); /* Subtle Purple border */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* THE SAMSUNG SPINNER */
.spinner-container {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 4px solid rgba(168, 85, 247, 0.1); /* Faded Purple ring */
  border-top: 4px solid #A855F7; /* Solid Purple head */
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Central Dot */
.spinner-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #A855F7;
  border-radius: 50%;
  box-shadow: 0 0 10px #A855F7;
}

/* TEXT STYLE */
.loader-card p {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF; /* Pure White */
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

/* SMOOTH ANIMATION */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* 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 - Black & Gold Theme */
.modern-toast {
    pointer-events: auto;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: #000000; /* Pure Black Background */
    color: #ffffff;      /* White text for readability */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow for black bg */
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    
    /* Default Gold Border */
    border: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold outline */
    border-left: 5px solid #A855F7;           /* Solid Gold 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;
}

/* Gold Accents for Icons */
.toast-icon {
    font-size: 18px;
    color: #A855F7; /* Makes every icon Gold */
}

/* High Visibility Status Borders (Optional: Keeping specific Gold/Red/Yellow hues) */
.toast-success { border-left-color: #A855F7; } /* Gold for Success */
.toast-error { border-left-color: #ff4d4d; }   /* Keeping Red for Errors for safety */
.toast-warning { border-left-color: #A855F7; } /* Amber Gold for Warnings */