
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




/* Make body a flex container to center forms */
body {
  display: flex;
  justify-content: center;       /* horizontal centering */
  align-items: center;           /* vertical centering */
  min-height: 100vh;             /* take full viewport height */
  margin: 0;
  padding: 0;
  background: #f8f9fa; 
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}



/* ================= AUTH CONTAINERS ONLY ================= */
#signupContainer,
#loginContainer {
  width: 90%;
  max-width: 400px;
  padding: 20px;

  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);

  display: none;
  flex-direction: column;
  animation: fadeIn 0.4s ease-out;
}

/* Active state */
#signupContainer.active,
#loginContainer.active {
  display: flex;
}

.logo-placeholder {
  width: 70px;                 /* size of your box */
  height: 70px;
  background: #8B0000;         /* fallback background */
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;             /* ensures image stays inside */
  box-shadow: 0 8px 20px rgba(115, 41, 41, 0.1);
  margin: 0 auto;               /* center horizontally */
}

.logo-placeholder img {
  max-width: 90%;               /* scale down if image is bigger */
  max-height: 90%;              /* scale down proportionally */
  object-fit: contain;          /* preserves aspect ratio */
}

/* Typography */
.welcome-text h2 {
  color: #1a1f36;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.welcome-text p {
  color: #8792a2;
  font-size: 14px;
  margin-bottom: 30px;
  text-align: center;
}

/* Form Styling */
label {
  font-size: 13px;
  font-weight: 700;
  color: #4f566b;
  margin-bottom: 8px;
  display: block;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  color: #a3acb9;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 16px 16px 16px 50px;
  background: #f8fafd; /* Light greyish-blue background */
  border: 1px solid #edf2f7;
  border-radius: 16px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}

input:focus {
  background: #fff;
  border-color: #8B0000;
  box-shadow: 0 0 0 4px rgba(94, 114, 228, 0.05);
}

/* Premium Gradient Button */
.btn-main {
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, #8B0000 0%, #B30000 100%);
  color: white;
  border: none;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 10px 20px rgba(91, 72, 230, 0.25);
  transition: transform 0.2s;
}

.btn-main:active {
  transform: scale(0.98);
}


/* Buttons */
button {
  width: 100%;
  padding: 16px;
  background-color: #28a745; /* The Red from screenshot */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

.btn-outline {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  margin-top: 20px;
}

.toggle-text {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #697386;
}

.toggle-text a {
  color: #8B0000;
  text-decoration: none;
  font-weight: 700;
  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;
  background: #f2f2f2;
  color: #f8f9fa;
}


/* Dashboard header */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;                 /* white text */
  font-weight: bold;
  font-size: 16px;                /* slightly smaller for slim look */
  margin: 0;
  padding: 8px 16px;              /* slimmer padding */
  z-index: 10000;
  background: #1c0000;            /* sky blue background */
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 19, 21, 0.5); /* soft sky blue glow */
  border-radius: 0;               /* keep slim, no rounding */
}


/* Remove extra spacing in dashboard cards if used */
.dashboard-card h2.dashboard-header {
  margin: 0;
}


/* ================= ACTION GRID CONTAINER ================= */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 94%;
  max-width: 500px;
  margin: 20px auto;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 40%, #ffffff 100%);
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* THE BUTTONS */
.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5px;
  border-radius: 18px; /* Tall rounded rectangles */
  text-decoration: none;
  height: 140px; /* Gives it that tall look */
  transition: transform 0.2s;
}

.action-btn:active {
  transform: scale(0.95);
}

/* THE CIRCULAR HALO BEHIND ICONS */
.action-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent white circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #ffffff; /* Icons are white in the image */
  font-size: 24px;
}

/* TEXT STYLING */
.action-btn span {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff; /* Text is white on colored background */
  text-align: center;
}

/* INDIVIDUAL BUTTON COLORS (Matched to Image) */
.recharge {
  background: linear-gradient(180deg, #8B0000 0%, #B30000 100%); /* Green */
}

.withdraw {
  background: linear-gradient(180deg, #6f42c1, #5a32a3); /* Purple/Blue */
}

#refCard {
  background: linear-gradient(180deg, #ffc107, #e0a800); /* Yellow/Gold */
}

#giftCodeBtn {
  background: linear-gradient(180deg, #2dce89, #2dce89); /* Red */
}


/* ================= INVESTMENT PLANS SECTION ================= */
.investment-section {
  width: 94%;
  max-width: 500px;
  margin: 20px auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}




/* White container around the flyer */
.flyer-container {
  background-color: #ffffff;      /* white background */
  padding: 16px;               /* space around flyer */
  border-radius: 16px;         /* rounded corners */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* subtle shadow */
  max-width: 600px;            /* optional: limit width */
  margin: 20px auto;           /* center container with some vertical margin */
}

/* Flyer Banner - full width inside container */
.balance-flyer {
  width: 100%;       /* fill the container width */
  height: auto;
  overflow: hidden;
  border-radius: 12px; /* match container rounded corners slightly */
  position: relative;
  margin: 0;
}

/* Slider wrapper */
.flyer-slider {
  display: flex;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease-in-out;
}

/* Each image in the slider */
.flyer-card {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  border-radius: 12px; /* match container */
}


/* Product Section Wrapper */
.product-section {
  margin-top: 20px;
  padding: 0 10px;
}

/* 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: #000000;          /* 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 */
}



/* GLOBAL RESET: This ensures padding doesn't break your width */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.fintech-dashboard {
  width: 100%;
  max-width: 450px; /* Increased slightly for better tablet feel */
  padding: 16px;
  margin: 0 auto;   /* Centers the dashboard on the screen */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 3D White Top Card */
.user-profile-card {
  width: 100%;
  background: linear-gradient(135deg, #000000 0%, #2b0000 40%, #8B0000 100%);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  
  /* Advanced 3D Shadow */
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.15);
    
  transition: transform 0.3s ease;
}

.avatar-container {
  position: relative;
  flex-shrink: 0; /* Prevents avatar from squishing on small phones */
}

.avatar-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #8B0000 0%, #B30000 100%);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-indicator {
  width: 14px;
  height: 14px;
  background: #2dce89;
  border: 2px solid #000; /* Darker border matches your theme better */
  border-radius: 50%;
  position: absolute;
  bottom: -2px;
  right: -2px;
}

.user-info-text {
  flex: 1; /* Pushes content to fill space */
  overflow: hidden; /* Prevents long text from breaking layout */
}

.phone-display {
  font-size: clamp(16px, 5vw, 20px); 
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  white-space: nowrap;
  
  /* FIXED LINE BELOW */
  overflow: hidden; 
  
  text-overflow: ellipsis;
}

.id-badge {
  background: rgba(241, 243, 249, 0.1); /* Transparent light feel */
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #cccccc;
  text-transform: uppercase;
}

/* Dark Balance Card */
.balance-card {
  width: 100%;
  background: linear-gradient(135deg, #8B0000 0%, #2b0000 40%, #000000 100%);
  border-radius: 28px;
  padding: clamp(15px, 6vw, 25px); /* Padding grows with screen */
  color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.label {
  font-size: 11px;
  letter-spacing: 1.2px;
  opacity: 0.8;
  font-weight: 700;
  text-transform: uppercase;
}

.amount-row {
  font-size: clamp(24px, 8vw, 36px); /* Big and bold on all screens */
  font-weight: 800;
  margin: 10px 0 25px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons Styling */
.action-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.btn {
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-topup {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-withdraw {
  background: linear-gradient(90deg, #ff4d4d, #d90429);
  color: white;
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
}

/* Fix for very small phones (iPhone SE, etc) */
@media (max-width: 340px) {
  .fintech-dashboard { padding: 10px; }
  .amount-row { font-size: 22px; }
  .action-row { gap: 8px; }
  .btn { font-size: 12px; padding: 12px 5px; }
}

/* ================= BOTTOM NAV CONTAINER ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0 10px 0; /* Slightly more top padding for that clean look */
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05); /* Very subtle top shadow */
  z-index: 1000;
  border-top: 1px solid #e0e0e0; /* Thin grey line like the image */
}

/* ================= NAV ITEMS ================= */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex: 1;
  gap: 5px; /* Spacing between icon and text */
}

.nav-icon-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG ICON STYLE - Bold Black */
.nav-item svg {
  width: 28px;
  height: 28px;
  fill: #8B0000; /* All icons are solid black in the image */
  transition: transform 0.2s ease;
}

/* TEXT STYLE - Bold & Mature */
.nav-item span {
  font-size: 15px; 
  font-weight: 700; /* Thicker font like the image */
  color: #000000;
  font-family: 'Inter', sans-serif;
}

/* ACTIVE STATE - Simple & Clean */
/* The image doesn't show a 'glow', just solid black. 
   We keep it consistent but add a slight scale for feedback */
.nav-item.active svg {
  transform: scale(1.1);
}

.nav-item:active {
  opacity: 0.7;
}


/* ===== PROFILE FIXED HEADER ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
 background: #1c0000; /* classic burnt red */

  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  color: #f1f1f1; /* gold text */
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* subtle gold shadow */
}

.profile-header-bar i {
  margin-right: 8px;
  color: #000000; /* gold icon */
}

/* Push content down so it doesn’t go under header */
.profile-content {
  padding-top: 60px; /* same as header height */
}

/* ===== PROFILE PAGE ===== */
.profile-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: none;
  padding: 0 10px 80px 10px;
  height: calc(100vh - 0px);
  overflow-y: auto;
  box-sizing: border-box;
  background: #ffffff; /* white background */
  color: #000000;      /* black text */
}

/* Profile Header Image - ATM card style */
.profile-header {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,128,0,0.25); /* subtle green shadow */
  background: #ffffff;
}

.profile-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title */
.profile-title {
  margin: 15px 0;
  font-size: 18px;
  font-weight: bold;
  color: #190101;
  text-align: center;
}



/* Container: The white card with a subtle border */
.settings-container {
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  max-width: 450px;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  padding-bottom: 10px;
}

/* Group Headers: Bold, Dark Grey, Left Aligned */
.group-title {
  font-size: 20px;
  font-weight: 800;
  color: #8B0000;
  padding: 25px 20px 10px;
  margin: 0;
  text-transform: uppercase;
}

/* Individual Rows */
.settings-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  border-bottom: 1px solid #f2f2f2; /* Thin lines between items */
  cursor: pointer;
}

/* Remove bottom border from the last item in a group to match UI */
.settings-group .settings-item:last-child {
  border-bottom: 1px solid #f2f2f2; 
}


/* Base Glass Icon */
.icon-box {
  width: 32px;
  height: 32px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(90, 0, 0, 0.35);
  color: #ffffff;
  font-size: 14px;
}

/* Deep Dark Red Glass */
.icon-box.blue,
.icon-box.green,
.icon-box.purple,
.icon-box.orange,
.icon-box.red {
  background: linear-gradient(
    135deg,
    rgba(70, 0, 0, 0.6),   /* very deep red */
    rgba(139, 0, 0, 0.35)  /* dark red highlight */
  );
  box-shadow: 0 6px 16px rgba(90, 0, 0, 0.5);
}

/* Icon */
.icon-box i {
  color: #ffffff;
  font-size: 14px;
}


/* Text Label */
.item-label {
  flex-grow: 1;
  font-size: 17px;
  font-weight: 700;
  color: #000;
}

/* Logout Text Color */
.logout-btn .item-label, .logout-btn .icon-box i {
  color: #8B0000; /* Logout text is red in image */
}
.logout-btn .icon-box {
  background: transparent; /* No background for logout icon */
}


/* Right Chevron Arrow */
.arrow {
  color: #ccc;
  font-size: 14px;
}




/* ================= BANK PAGE ================= */

.bank-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 12px;
  display: none;

  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(30, 64, 255, 0.12);

  color: #000000;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding-top: 70px; /* space for fixed header */
}



.bank-header {
  position: fixed;      /* Fix header at top */
  top: 0;               /* stick to top */
  left: 0;              /* full width */
  width: 100%;          /* span entire page */
  display: flex;
  align-items: center;
  padding: 8px 15px;    /* smaller padding for a slimmer header */
  background: #8B0000;
  border-bottom: 1px solid #f0f0f0;
  z-index: 1000;        /* stay above content */
}


.bank-back-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #fffbfb;
  cursor: pointer;
  display: flex;
  align-items: center;
  z-index: 2;                  /* button on top of h2 */
}

.bank-header h2 {
  position: absolute;           /* center regardless of button */
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  z-index: 1;
}



/* RESET (prevents overrides) */
* {
    box-sizing: border-box;
}

/* Container */
.bank-form-container {
    max-width: 360px;
    margin: 20px auto;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Card */
.bank-form-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 16px;

    /* Strong 3D card feel */
    box-shadow: 
        0 12px 30px rgba(0,0,0,0.08),
        0 5px 12px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Input Group */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

/* FORCE labels to stay left */
.input-group label {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 13px;
    font-weight: 600;
    color: #222;
}

/* Inputs (FORCE SAME SIZE) */
.gamex-input,
select.gamex-input {
    width: 100% !important;
    height: 45px !important;
    padding: 0 12px !important;

    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;

    font-size: 14px !important;
    color: #333 !important;
    background: #fdfdfd !important;

    outline: none !important;

    /* subtle depth */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);

    transition: all 0.2s ease;
}

/* Focus */
.gamex-input:focus {
    border-color: #8B0000 !important;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

/* Placeholder */
.gamex-input::placeholder {
    color: #a0a8b3;
}

/* Dropdown */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '▼';
    font-size: 10px;
    color: #666;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select.gamex-input {
    appearance: none;
}

/* Button */
.update-bank-btn {
    width: 100%;
    height: 45px;

    background: linear-gradient(to bottom, #8B0000, #8B0000);
    color: #fff;

    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    box-shadow: 0 4px 0 #8B0000, 0 6px 12px rgba(0,0,0,0.15);
    transition: all 0.1s ease;
}

.update-bank-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8B0000;
}



/* ===== FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;       
  background: #8B0000;           /* black header */
  z-index: 10000;         
  text-align: center;
  padding: 12px 20px;      
  border-bottom: 2px solid #8B0000; /* gold underline */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.recharge-header-fixed .header-icon {
  font-size: 24px;       
  color: #8B0000;        /* gold icon */
}

.recharge-header-fixed h2 {
  margin: 0;
  color: #ffffff;        /* gold text */
  font-size: 20px;
  font-weight: 500;      
}

/* ===== PAGE CONTENT ===== */
.recharge-page {
  width: 100%;
  max-width: 400px;
  margin: 60px auto 0;     
  padding: 15px;
  text-align: center;
  display: none;
  color: #ffffff;         
  background: #ffffff;     
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



/* ================= PAGE LAYOUT ================= */
.recharge-page-container {
 
  background: #f5f5f5;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================= 3D CARD (RESPONSIVE FIXED) ================= */
.recharge-card {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border-radius: 20px;
  padding: 25px 20px;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* ✅ Prevent overflow issues */
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* ================= LABEL ================= */
.deposit-card .input-label {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================= INPUT ================= */
.custom-amount-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #444;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  background: #262626;
}

.input-icon-bg {
  padding: 12px 15px;
  background: #333;
  border-right: 1px solid #444;
}

.currency-icon {
  color: #e11d48;
  font-weight: 900;
}

#customAmount {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 12px;
  background: transparent;
  color: #ffffff;
  box-sizing: border-box;
}

/* ================= SUBHEADER ================= */
.recharge-subheader {
  color: #e11d48;
  font-size: 16px;
  font-weight: 800;
  margin: 20px 0 10px 0;
  text-transform: uppercase;
}

/* ================= RESPONSIVE GRID ================= */
.amount-grid {
  display: grid;

  /* ✅ AUTO RESPONSIVE (fixes overflow) */
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));

  gap: 12px;
  margin-bottom: 30px;
}

/* ================= AMOUNT BUTTON ================= */
.amount-option {
  background: #1a1a1a;
  border: 1px solid #e11d48;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;

  /* ✅ Prevent size overflow */
  box-sizing: border-box;
  width: 100%;
}

/* ================= BUTTON ================= */
.deposit-btn {
  width: 100%;
  padding: 18px;
  background: #8B0000;
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}
/* Info Card 3D - Black & Red Edition */
.info-card-3d {
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a); /* Deep Obsidian */
  border: 1px solid #333; /* Subtle border for definition */
  border-left: 4px solid #e11d48; /* Red accent "Power Bar" on the left */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 
              inset 0 1px 1px rgba(255, 255, 255, 0.05); /* Inner light for 3D effect */
  position: relative;
  overflow: hidden;
}

/* Red Title */
.info-title {
  color: #e11d48; /* Vibrant Red */
  font-weight: 800;
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* White List Items */
.info-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: #ffffff; /* Crisp White */
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.9;
}

/* Red Circular 'i' Icon */
.info-list li::before {
  content: 'i';
  position: absolute;
  left: 0;
  top: 2px;
  background: #e11d48; /* Match the Red theme */
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-style: italic;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.5); /* Subtle red glow */
}

/* ===== CLEAN FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  height: 60px; /* Standardized height */
  background: #ffffff;
  z-index: 10000;         
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #f0f0f0; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.recharge-header-fixed h2 {
  margin: 0;
  color: #001f3f; /* Dark Navy for a premium feel */
  font-size: 18px;
  font-weight: 700;      
  font-family: 'Poppins', sans-serif;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.recharge-back-btn-v2 {
  position: absolute;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #ffffff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.1s ease;
  z-index: 1100;
  outline: none;
}

.recharge-back-btn-v2:active {
  transform: scale(0.95);
  background: #f9f9f9;
}



/* OVERLAY */
.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
background:rgba(0,0,0,0.6);
z-index:9999;
backdrop-filter:blur(4px);
}

#welcomePopup{
display:none;
}


/* MODAL BOX */
.popup-box{
width:92%;
max-width:420px;
background: linear-gradient(145deg, #ffffff, #f9f9f9);
border-radius:28px;
padding:30px 20px;
text-align:center;
font-family:Inter, sans-serif;
position:relative;
box-shadow:0 20px 50px rgba(0,0,0,0.25);
}


/* CLOSE ICON */
.popup-close{
position:absolute;
right:20px;
top:18px;
font-size:20px;
color:#999;
cursor:pointer;
}


/* LOGO */
.popup-logo{
width:70px;
height:70px;
border-radius:16px;
margin-bottom:10px;
}


/* TITLE */
.modal-title{
font-size:24px;
font-weight:800;
margin-bottom:6px;
color:#0a0a0a;
}

.modal-description{
color:#555;
font-size:14px;
margin-bottom:20px;
}


/* BONUS CARD (RED FINTECH STYLE) */
.bonus-card{
display:flex;
justify-content:space-between;
align-items:center;
background: linear-gradient(135deg, #000000, #8B0000);
border-radius:16px;
padding:15px;
margin-bottom:16px;
border:1px solid rgba(255,255,255,0.08);
color:#fff;
}

/* GOLD TEXT (keep premium contrast) */
.bonus-title {
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(45deg, #FFD700, #FFC107, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bonus-sub{
font-size:13px;
color:#ddd;
}

.bonus-amount{
font-weight:800;
font-size:20px;
background: linear-gradient(45deg, #FFD700, #FFC107, #FFA500);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}


/* SMALL CARDS */
.small-card-row{
display:flex;
gap:12px;
margin-bottom:18px;
}

.small-card{
flex:1;
background:#ffffff;
border-radius:16px;
padding:18px 10px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* DARK CARD (BLACK + RED TOUCH) */
.small-card.dark{
background: linear-gradient(135deg, #000000, #1a0000);
color:#fff;
}

.small-icon{
font-size:20px;
margin-bottom:8px;
color:#8B0000;
}

.small-card.dark .small-icon{
color:#ff4d4d;
}

.small-title{
font-weight:600;
font-size:14px;
margin-bottom:4px;
}

.small-amount{
font-weight:800;
font-size:16px;
}

.refer-row{
display:flex;
justify-content:space-around;
margin-top:8px;
font-size:14px;
}


/* TELEGRAM BUTTON (PRIMARY ACTION) */
.telegram-btn{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
background: linear-gradient(135deg, #000000, #8B0000);
color:#fff;
padding:16px;
border-radius:14px;
font-weight:700;
text-decoration:none;
margin-bottom:10px;
box-shadow:0 8px 20px rgba(139,0,0,0.4);
}


/* SECONDARY BUTTON */
.channel-btn{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
background:#ffffff;
color:#8B0000;
padding:15px;
border-radius:14px;
font-weight:600;
text-decoration:none;
border:1px solid #eee;
}


/* CLOSE TEXT */
.close-text{
margin-top:12px;
color:#777;
font-size:14px;
cursor:pointer;
}


/* 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 */
}


/* ================= PRODUCT LIST ================= */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0px;
   padding-bottom: 80px; 
  background: #f4f4f4; /* Light grey app background */
}


/* ================= THE ATM SHAPED CARD ================= */
.product-card {
  background: #ffffff;
  border-radius: 15px; /* Subtle ATM card rounding */
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;


  width: 100%;            /* take full width */
  max-width: 100%;        /* prevent shrinking */

}


/* Header/Logo */
.card-top-section {
  display: flex;
  align-items: center;           /* vertical center of image & text */
  justify-content: space-between; /* logo left, text right */
  margin-bottom: 10px;
  width: 100%;                   /* take full card width */
}

/* 3D Red Box Logo with curved edges */
.brand-logo {
  height: 45px;
  object-fit: contain;

  /* 3D box effect */
  background: #8B0000;           /* deep red box */
  padding: 10px 15px;            /* space around logo */
  border-radius: 12px;           /* curved edges */
  box-shadow: 0 6px 12px rgba(0,0,0,0.3), 0 2px 4px rgba(255,0,0,0.2); /* 3D effect */
  display: inline-block;          /* needed for padding and background to apply properly */
}

.brand-name {
  font-size: 20px;      /* bigger text */
  font-weight: 800;     /* strong presence */
  color: #000000;
  line-height: 1;       /* vertically centers nicely */
  margin: 0;            /* no extra spacing */
}

/* Main Text Layout */
.card-main-info {
  margin-bottom: 15px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.info-row.small {
  margin-bottom: 4px;
}

/* Typography */
.plan-name {
  font-size: 18px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
}

.price-text {
  font-size: 18px;
  font-weight: 900;
  color: #8B0000;; /* Darker red for price */
}

.info-label {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.black-text {
  color: #000;
  font-weight: 600;
}

.total-revenue-text {
  color: #28a745; /* Green for Total Return */
  font-weight: 700;
}

/* ================= 3D RED BUTTON ================= */
.invest-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, #8B0000 0%, #B30000 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 4px 0 #8B0000; /* Simple 3D depth effect */
}

.invest-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8B0000;
}


/* Force dark navy blue button */
.add-to-portfolio-btn {
  background: #8B0000 !important;  /* dark navy */
  color: #ffffff;                 /* white text */
  border: none !important;
}

/* Optional: hover effect */
.add-to-portfolio-btn:hover {
  background: #8B0000 !important; /* slightly lighter navy on hover */
}


.invite-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;       /* 🔥 allow vertical scroll */
  -webkit-overflow-scrolling: touch; /* smooth scrolling on mobile */
  z-index: 999;

  background: #faf3f3;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #D4AF37;

  display: none;
  flex-direction: column;
  padding-top: 60px;
}


/* ================= 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: #ffffff;
  color: #001f3f;

  z-index: 1000;              /* stays above invite content */
  border-bottom: 1px solid #f0f0f0;
  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: #8B0000;
}


/* ================= 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 #eee;
  background: #ffffff;
  color: #333;

  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;
}

/* ================= REFERRAL WRAPPER CARD ================= */
.referral-wrapper {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border-radius: 25px;
  padding: 15px;
  width: calc(100% - 40px);
  max-width: 600px;
  margin: 20px auto;
  font-family: 'Inter', sans-serif, Arial;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Main Title */
.main-title {
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 10px;
  color: #0a0a0a;
}

/* ================= TOOL CARD ================= */
.tool-card {
  background: linear-gradient(135deg, #000000, #1a0000);
  border-radius: 18px;
  padding: 18px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  color: #fff;
}

/* Field Label */
.field-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  color: #ccc;
}

/* Input Display */
.input-display {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* Text */
.text-value {
  font-weight: 900;
  font-size: 18px;
  color: #000;
}

.link-small {
  font-size: 12px;
  font-weight: 500;
  color: #777;
}

/* Icon (RED) */
.icon-red {
  width: 18px;
  height: 22px;
  background-color: #8B0000;
}

/* ACTION BUTTON (BLACK → RED) */
.action-btn-red {
  background: linear-gradient(135deg, #000000, #8B0000);
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn-red:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(139,0,0,0.4);
}

.action-btn-red:active {
  transform: scale(0.97);
}


/* ================= COMMON CARD ================= */
.structure-card, .how-it-works-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 25px 15px;
  margin: 0 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
  transition: 0.25s;
}

.structure-card:hover, .how-it-works-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: #000;
  margin-bottom: 20px;
}


/* ================= REFERRAL BOX ================= */
.referral-box {
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-radius: 18px;
  display: flex;
  align-items: center;
  padding: 18px;
  margin-bottom: 12px;
  width: 100%;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

/* Circle */
.level-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #000000, #8B0000);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  margin-right: 15px;
}

/* Info */
.referral-info h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #000;
}

.referral-info p {
  margin: 5px 0 0 0;
  font-size: 13px;
  color: #666;
  font-weight: 600;
}


/* ================= COMMISSION BADGE ================= */
.commission-badge {
  background: linear-gradient(135deg, #000000, #8B0000);
  color: white;
  padding: 10px 14px;
  border-radius: 50px;
  text-align: center;
  min-width: 85px;
  box-shadow: 0 5px 15px rgba(139,0,0,0.3);
}

.commission-badge .pct {
  font-weight: 900;
  font-size: 15px;
}

.commission-badge .comm-text {
  font-size: 10px;
  font-weight: 700;
}


/* ================= STEPS ================= */
.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  color: #000;
  font-weight: 600;
}

.steps-list li i {
  color: #8B0000; /* RED accent */
  font-size: 18px;
}

.steps-list li strong {
  font-weight: 800;
}




/* ================= CLEAN FIXED TEAM HEADER ================= */
.team-header-main {
  position: fixed;           /* Keep header always on top */
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;              /* Standardized header height */
  display: flex;
  align-items: center;
  justify-content: center;   /* Center the title */
  padding: 0 16px;
  background: #8B0000;       /* Bright Red background */
  color: white;              /* White text */
  z-index: 1000;
  border-bottom: 1px solid #1a2233;;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  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: white;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.back-btn-white {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%); /* Perfect vertical centering */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #ffffff;
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  outline: none;
  z-index: 1100;
}

/* Press effect */
.back-btn-white:active {
  transform: translateY(-50%) scale(0.95);
  background: #c91a21; /* Slightly darker on press */
}

/* ================= PAGE CONTENT ================= */
#earningsPage {
  padding-top: 60px; /* Same as header height so content doesn't hide under header */
}

.team-content {
  padding: 20px;
}


/* ================= LEVEL TABS ================= */
.level-tabs-container {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  display: flex;
  background: white;
  border-bottom: 1px solid #8B0000;
  z-index: 999;
}

/* Each button */
.level-tab-item {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 0 !important;   /* 🔥 removes any curve */
  border-right: 1px solid #eee;
  background: white;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

/* Remove divider on last */
.level-tab-item:last-child {
  border-right: none;
}

/* Active tab */
.level-tab-item.active {
 background: #8B0000;
  color: white;
}


/* ================= LABELS ROW (under tabs with space) ================= */
.list-labels-row {
  position: fixed;
  top: 130px; /* was 110px → added 10px breathing space */
  left: 0;
  width: 100%;
  display: flex;
  padding: 10px 20px;
  background-color: #d1d5db;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  z-index: 998;
}

.list-labels-row span {
  flex: 1;
}

.list-labels-row span:last-child {
  text-align: center;
}


/* ================= TEAM USER CARD ================= */
.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000000; /* green card */
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  margin: 8px 16px;           /* space between cards */
  border-radius: 8px;          /* subtle corner */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  position: relative;
}

/* Profile icon on the left inside a white circle */
.user-row::before {
  content: "\f007"; /* Font Awesome user icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #000000;               /* icon same green as card border */
  background: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 12px;
}

/* Stack values under labels */
.user-row span {
  flex: 1;
  display: flex;
  flex-direction: column; /* number under label if you want label span later */
}

/* Align left and right columns */
.user-row span:first-child {
  text-align: left;
}

.user-row span:last-child {
  text-align: right;
  font-weight: 600;
}


/* ================= SCROLLABLE TEAM LIST ================= */
#teamList {
  position: absolute;
  top: 180px; /* shifted down to match labels */
  left: 0;
  width: 100%;
  bottom: 0;
  overflow-y: auto;
  background: #fff;
  padding-bottom: 20px;
}



.team-empty-state {
  position: fixed;       /* full page positioning */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  z-index: 10;
}

.team-empty-state .empty-icon-box {
  font-size: 48px;
  margin-bottom: 12px;
  color: #d1d5db;
}

.team-empty-state p {
  font-size: 14px;
  margin: 0;
}

/* ================= WITHDRAW PAGE ================= */
.withdraw-page {
  width: 100%;
  background: #f9f9f9;
  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: 60px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}

.withdraw-header-fixed h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #001f3f; /* 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 #eee;
  background: #ffffff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* ================= PAGE CONTAINER ================= */
.recharge-container {
  background-color: #f4f7f6; 
  padding: 20px;
  padding-top: 80px; /* Space for fixed header */
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}


/* MAIN CARD */
.withdrawal-card-box{
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border-radius:16px;
  padding:20px;
  margin-bottom:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

/* TITLE */
.withdraw-title-main{
  font-size:18px;
  font-weight:700;
  margin-bottom:15px;
  color:#0a0a0a;
}

/* AMOUNT INPUT */
.withdraw-input-box{
  display:flex;
  align-items:center;
  background:#ffffff;
  border-radius:12px;
  padding:15px;
  font-size:22px;
  border:1px solid rgba(0,0,0,0.05);
}

.withdraw-input-box input{
  border:none;
  outline:none;
  font-size:22px;
  width:100%;
  color:#000;
}

.currency{
  font-size:22px;
  margin-right:8px;
  color:#8B0000; /* red accent */
}

/* BALANCE */
.balance-box{
  margin-top:15px;
  display:flex;
  justify-content:space-between;
  background:#ffffff;
  padding:14px;
  border-radius:10px;
  font-size:14px;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
}

.balance-box span:last-child{
  color:#16a34a;
  font-weight:700;
}

/* WITHDRAW MAX */
.withdraw-max{
  display:inline-block;
  margin-top:10px;
  color:#8B0000;
  font-size:14px;
  text-decoration:underline;
  cursor:pointer;
}

/* BANK CARD */
.bank-warning-card{
  background: linear-gradient(135deg, #fff0f0, #ffeaea);
  border-radius:16px;
  padding:22px;
  text-align:center;
  margin-bottom:20px;
  border:1px solid rgba(139,0,0,0.2);
  box-shadow:0 6px 20px rgba(139,0,0,0.1);
}

.bank-icon{
  font-size:28px;
  margin-bottom:10px;
  color:#8B0000;
}

.bank-empty h4{
  font-size:18px;
  margin-bottom:6px;
  color:#8B0000;
}

.bank-empty p{
  font-size:14px;
  color:#8B0000;
  margin-bottom:15px;
}

#addAccountBtn{
  background: linear-gradient(135deg, #000000, #8B0000);
  color:#fff;
  border:none;
  padding:14px;
  width:100%;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(139,0,0,0.3);
}

#addAccountBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(139,0,0,0.4);
}

/* BANK DETAILS */
.bank-display-area{
  display:none;
  background:#1c1c1e;
  color:#fff;
  padding:12px;
  border-radius:10px;
  margin-bottom:10px;
}

/* GUIDELINES */
.withdraw-card{
  background:#f7f7f7;
  border-radius:16px;
  padding:18px;
  margin-bottom:20px;
}

.withdraw-title{
  font-size:16px;
  font-weight:700;
  margin-bottom:12px;
  color:#0a0a0a;
}

.withdraw-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  margin-bottom:10px;
  color:#333;
}

.dot{
  width:8px;
  height:8px;
  background:#8B0000;
  border-radius:50%;
}

/* SUBMIT BUTTON */
.withdraw-submit-btn{
  width:100%;
  background: linear-gradient(135deg, #000000, #8B0000);
  color:#fff;
  border:none;
  padding:16px;
  border-radius:12px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(139,0,0,0.4);
  transition: all 0.2s ease;
}

.withdraw-submit-btn:hover{
  transform: translateY(-2px);
  box-shadow:0 8px 22px rgba(139,0,0,0.5);
}

/* ================= RECORDS PAGE ================= */
.records-page {
  width: 100vw;
  padding-top: 60px;
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow-y: auto;
  background: #f2f4f8;
  box-sizing: border-box;
}

/* ===============================================
   RECORDS PAGE SPACING
   =============================================== */
.records-page {
  padding-top: 64px;
}


/* ================= CLEAN FIXED HEADER ================= */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff; /* Clean white background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Poppins', sans-serif;
}

/* Header title */
.records-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #8B0000; /* 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 #eee; /* Subtle border like the image */
  background: #ffffff;
  color: #333;
  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: #f9f9f9;
}

/* ================= RECORD CARD (SCREENSHOT STYLE) ================= */
.record-card {
  width: 95%;
  margin: 12px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  /* Very subtle shadow/border as seen in screenshot */
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #f1f1f1;
}

.record-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.record-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

/* Labels (Transaction ID / Date) */
.record-label {
  font-size: 13px;
  color: #888888;
  margin-bottom: 4px;
}

.record-id-val {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
}

.record-date-val {
  font-size: 14px;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Amount Styling */
.record-amount {
  font-weight: 700;
  font-size: 16px;
  color: #000000;
}

/* Status Pills */
.record-status {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.status-success {
  background-color: #e8f5e9; /* Light green */
  color: #4caf50;
}

.status-failed {
  background-color: #ffebee; /* Light red */
  color: #ef5350;
}

.status-pending {
  background-color: #fff3e0; /* Light orange */
  color: #ff9800;
}


/* The main white container */
.record-header-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 15px 20px;
  margin: 10px auto;
  width: 90%;
  display: flex;
  justify-content: space-between; /* Pushes total left, buttons right */
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  box-sizing: border-box;
}

.total-section {
  display: flex;
  flex-direction: column;
}

.total-label {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 2px;
}

.total-value {
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

/* Filter Pills Container */
.records-filter {
  display: flex;
  gap: 8px;
}

.filter-btn {
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent; /* Default is transparent */
  color: #333;
  transition: all 0.2s ease;
}

/* Active Pill Style from Screenshot */
.filter-btn.active {
  background: #fff3e6; /* Light peach/orange background */
  color: #d35400; /* Darker orange text */
}

/* ================= 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: #000000;
  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: #000000;
  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: #B30000;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}

/* ===============================================
   INVESTMENT PAGE SPACING & SCROLL
   =============================================== */
.investment-page {
  padding-top: 64px;       /* existing spacing */
  padding-bottom: 32px;    /* some breathing space at bottom */
  display: flex;
  flex-direction: column;   /* stack cards vertically */
  align-items: center;      /* center cards horizontally */
  min-height: 100vh;        /* at least full viewport height */
  overflow-y: auto;         /* allow vertical scrolling */
  box-sizing: border-box;
}

/* ================= CLEAN FIXED INVESTMENT HEADER ================= */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
}

/* Header Title */
.investment-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #001f3f;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.investment-back-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #ffffff;
  color: #333;
  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;
  outline: none;
}

/* Press effect */
.investment-back-btn:active {
  transform: translateY(-50%) scale(0.95);
  background: #f9f9f9;
}


/* ===== CARD WRAPPER ===== */
.card-wrapper {
  width: 100vw;                    /* full viewport width */
  margin-left: calc(-50vw + 50%);  /* bypass parent's flex/padding */
  margin-right: calc(-50vw + 50%);
  display: block;                   /* normal block, ignore flex parent */
}

/* ===== CARD ===== */
.premium-card {
  width: 100%;                      /* fill wrapper */
  border-radius: 20px;              /* rounded edges */
  padding: 24px;                    /* inner spacing */
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  background: #ffffff;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== TITLE ===== */

.premium-card .plan-title{
  display:block;
  font-size:24px;
  font-weight:900;
  color:#000;
  margin-bottom:18px;
}


/* ===== INFO ROW ===== */

.premium-card .info-row{
  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:14px;
}


/* ===== LABEL ===== */

.premium-card .info-label{
  font-size:16px;
  color:#666;
  font-weight:500;
}


/* ===== VALUE ===== */

.premium-card .info-value{
  font-size:17px;
  font-weight:700;
  color:#000;
}


/* ===== TIME ===== */

.premium-card .time-bold{
  font-weight:900;
  font-size:18px;
}


/* ===== TOTAL INCOME ===== */

.premium-card .total-income-value{
  color:#35b46b;
  font-size:19px;
  font-weight:800;
}


/* ===== TIMER SECTION ===== */

.premium-card .timer-container{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid #eee;
}


/* ===== COUNTDOWN BUTTON ===== */

.premium-card .countdown-btn{
  display:inline-block;

  background:#f2f2f2;
  color:#333;

  padding:10px 16px;

  border-radius:25px;

  font-size:14px;
  font-weight:700;

  box-shadow:0 2px 6px rgba(0,0,0,0.08);
}


/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width:480px){

  .premium-card{
    width:96%;
    margin:12px auto;
    padding:18px;
  }

  .premium-card .plan-title{
    font-size:22px;
  }

  .premium-card .info-label{
    font-size:15px;
  }

  .premium-card .info-value{
    font-size:16px;
  }

  .premium-card .total-income-value{
    font-size:18px;
  }

}


/* ================= 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 ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: transparent;
}

.empty-icon-circle {
  width: 70px;
  height: 70px;
  background: #f8f9fa; /* Very light grey circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon-circle i {
  font-size: 28px;
  color: #cccccc; /* Muted grey icon */
}

.empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

.empty-subtitle {
  margin: 8px 0 25px 0;
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

/* THE GREEN BUTTON */
.browse-plans-btn {
  background: #8B0000; /* Premium Emerald Green */
  color: #ffffff;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 179, 134, 0.15);
}

.browse-plans-btn:active {
  transform: scale(0.96);
}


/* ================= FULLSCREEN LOADER ================= */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;   /* black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ================= DOT LOADER ================= */
.dot-loader {
  display: flex;
  gap: 10px;
}

.dot-loader span {
  width: 15px;
  height: 15px;
  background: #ff073a;   /* neon red */
  box-shadow: 0 0 10px #ff073a, 0 0 20px #ff073a, 0 0 30px #ff073a; /* glow effect */
  border-radius: 50%;
  display: inline-block;
  animation: wave 1.2s infinite ease-in-out;
}

/* Delay for each dot */
.dot-loader span:nth-child(1) { animation-delay: 0s; }
.dot-loader span:nth-child(2) { animation-delay: 0.2s; }
.dot-loader span:nth-child(3) { animation-delay: 0.4s; }

/* ================= WAVE ANIMATION ================= */
@keyframes wave {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  30% {
    transform: translateY(-15px);
    opacity: 1;
  }
}



/* 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: #1faa59;
}

.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 */
  }
}