
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Base body styles */
body {
  background: #f8f9fa; /* light ash */
  color: #1a202c; /* deep blue text */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 20px;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s, color 0.3s;
}


body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}






.container {
  width: 90%;
  max-width: 420px;
  background: transparent; /* Crestpoint uses a clean white bg with no card shadow */
  padding: 20px;
  display: none;
  flex-direction: column;
}

.container.active { display: flex; }

/* Center Logo Header */
.crest-logo-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-logo {
  width: 100px; /* Matches visual weight in screenshot */
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Input Styling */
.input-group-container {
  margin-bottom: 25px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #64748b; /* Slate Gray */
  margin-bottom: 8px;
  border-left: none !important; /* Removed your old bar */
  padding-left: 0 !important;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0; /* Soft border from screenshot */
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

input:focus {
  border-color: #000000; /* Red focus to match theme */
}

input::placeholder {
  color: #cbd5e1;
}

/* Red Primary Button */
.crest-red-btn {
  width: 100%;
  padding: 16px;
  background-color: #000000; /* Bright Red */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(23, 22, 22, 0.2);
}

/* Links & Toggle */
.toggle-text {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.6;
}

.accent-link {
  color: #000000; /* Red link */
  text-decoration: none;
  font-weight: 700;
  text-transform: lowercase;
}

.forgot-link {
  display: block;
  text-align: right;
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  margin-top: 8px;
}

/* 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: #000000;            /* sky blue background */
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 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;
}



/* ================= CRESTPOINT GRID LAYOUT ================= */
.crest-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Large Account, Small Invite */
  gap: 15px;
  width: 92%;
  margin: 20px auto 15px auto;
}

.crest-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

/* Account Card Specifics */
.account-card {
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.card-icon-bg {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.blue-bg { background: #e0e7ff; color: #4338ca; }
.purple-bg { background: #f3e8ff; color: #9333ea; width: 55px; height: 55px; margin: 0 auto 10px auto; }

.card-info .label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  display: block;
  letter-spacing: 1px;
}

.card-info h2 {
  margin: 5px 0 0 0;
  font-size: 19px;
  color: #1e293b;
  font-weight: 800;
}

/* Invite Card */
.invite-card {
  align-items: center;
  text-align: center;
}

.invite-card span {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

/* ================= LOWER 3-COLUMN GRID ================= */
.crest-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 92%;
  margin: 0 auto;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.action-square {
  width: 100%;
  aspect-ratio: 1 / 1; /* Makes it a perfect square */
  background: #ffffff;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  font-size: 24px;
}

.action-item span {
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.5px;
}

/* Icon Colors from Screenshot */
.green-icon { color: #10b981; }
.blue-icon { color: #3b82f6; }
.gold-icon { color: #f59e0b; }

.action-item:active { transform: scale(0.95); }



/* 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;                 
}






/* ================= DASHBOARD CARD ================= */
.top-header {
  position: relative;
  border-radius: 40px; /* Extra rounded corners per image */
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  
  /* The exact Dark Navy to Deep Purple Gradient */
 background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}



/* Background subtle glow effect */
.top-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: rgba(79, 70, 229, 0.2);
  filter: blur(50px);
  border-radius: 50%;
}

/* Layout for Balance and Coin Icon */
.card-content-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8; /* Muted slate color */
  margin-bottom: 10px;
}

.wallet-icon {
  font-size: 14px;
}


.label-1{
  font-size: 14px;
  color: #000000 !important;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.label {
  font-size: 14px;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.balance-amount-slim {
  font-size: 42px; /* Large bold balance */
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -1px;
}

.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================= START INVESTING BUTTON ================= */
.balance-bar-slim {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  margin-top: 20px;
}

.balance-bar-slim:hover {
  background: rgba(255, 255, 255, 0.12);
}

.balance-bar-slim:active {
  transform: scale(0.97);
}

.arrow-icon {
  font-size: 18px;
}

/* Hide unused text fields from previous user profile */
.user-profile-info, .user-name-display, .user-email-display, .card-user-number {
  display: none;
}



/* ================= BOTTOM NAV ================= */
.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 taller for modern look */
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03); 
  z-index: 1000;
  border-top: 1px solid #f1f5f9;
}

/* ================= NAV ITEMS ================= */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex: 1;
  transition: all 0.3s ease;
  color: #64748b; /* Default inactive color for icons and text */
}

/* ICON WRAPPER */
.nav-icon-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

/* ================= SVG ICON STYLE ================= */
/* Outline icons: use stroke, fill none */
.bottom-nav .nav-item svg {
  width: 24px;
  height: 24px;
  stroke: currentColor; /* for outline icons like Home */
  fill: currentColor;   /* for solid icons like Products/Profile */
}

/* Force Home icon to stay outline by default */
#homeNav svg {
  fill: none;
}

/* ================= TEXT STYLE ================= */
.bottom-nav .nav-item span {
  font-size: 12px;
  font-weight: 700;
  color: currentColor;
  font-family: 'Inter', sans-serif;
}

/* ================= ACTIVE STATE ================= */
.nav-item.active {
  color: #5d1a42; /* Deep Maroon for active icon & text */
}

/* Home icon stays outline but active color changes */
#homeNav.active svg {
  fill: none;
  stroke: currentColor;
}

/* Optional small indicator dot below active nav */
.nav-item.active::after {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  margin-top: 2px;
}

/* ===== PROFILE FIXED HEADER ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff; /* black background */
  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: #ffffff; /* 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 */
}


/* ================= FIXED HEADER BAR ================= */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #f1f5f9;
  z-index: 1000;
}

/* Back Button (Left) */
.back-btn {
  font-size: 20px;
  color: #64748b; /* Slate gray arrow */
  cursor: pointer;
  width: 40px;
}


/* Center Content (Logo + Title) */
.header-center-content {
  position: absolute;       /* 🔥 key fix */
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  background: #ffffff;
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

/* Title Font Styling */
.profile-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800; /* Extra bold like image */
  color: #000000; /* Deep navy text */
   text-align: center;
  margin: 0;
}

/* Spacer for alignment */
.spacer {
  width: 40px;
}



/* ================= ACTION GRID LAYOUT ================= */
.action-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 15px;
  padding: 20px;
  background: transparent;
}

/* Individual Card Styling */
.action-card-btn {
  background: #ffffff;
  border-radius: 28px; /* Very rounded corners like image */
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.action-card-btn:active {
  transform: scale(0.95);
}

/* Icon Container (The soft colored circle) */
.action-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 20px; /* Squircle shape */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Color logic for Deposit (Green) */
.bg-green {
  background-color: #f0fdf4;
}
.icon-green {
  color: #16a34a;
}

.action-icon {
  font-size: 24px;
  color: inherit; /* 🔥 take color from parent */
}

.icon-green {
  color: #16a34a !important;
}

.icon-orange {
  color: #ea580c !important;
}

/* Color logic for Withdraw (Orange) */
.bg-orange {
  background-color: #fff7ed;
}
.icon-orange {
  color: #ea580c;
}

/* Icon size */
.action-icon {
  font-size: 24px;
}

/* Text Styling */
.action-label {
  font-size: 17px;
  font-weight: 800;
  color: #334155; /* Dark slate text */
  font-family: 'Inter', sans-serif;
}

/* 🔥 Target icon through parent (hard to override) */
.bg-green i {
  color: #16a34a !important;
}

.bg-orange i {
  color: #ea580c !important;
}





/* Container Background */
.settings-container {
  background: #f8fafc; /* Very light gray background */
  padding: 15px;
  font-family: 'Inter', sans-serif;
}

/* The Main White Card */
.settings-card {
  background: #ffffff;
  border-radius: 35px; /* Large rounding like image */
  padding: 10px 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Individual Row */
.settings-item {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.settings-item:active {
  opacity: 0.7;
}

.settings-link {
  text-decoration: none;
}

/* Icon Box Styling (Squircles) */
.icon-box {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
}

.icon-box i {
  font-size: 18px;
}

/* --- THE COLOR PALETTE (Matching Screenshot) --- */

.bg-green  { background-color: #e6f9ef; }
.icon-green { color: #16a34a; }

.bg-orange { background-color: #fff4ed; }
.icon-orange { color: #ea580c; }

.bg-purple { background-color: #f3f0ff; }
.icon-purple { color: #7c3aed; }

.bg-yellow { background-color: #fffbeb; }
.icon-yellow { color: #d97706; }

.bg-blue   { background-color: #eff6ff; }
.icon-blue  { color: #2563eb; }

.bg-cyan   { background-color: #ecfeff; }
.icon-cyan  { color: #0891b2; }

.bg-red    { background-color: #fef2f2; }
.icon-red   { color: #dc2626; }

/* Label Text */
.item-label {
  flex-grow: 1;
  font-size: 16px;
  font-weight: 700; /* Bold text like image */
  color: #334155;
}

.logout-text {
  color: #dc2626; /* Red text for logout */
}

/* Right Chevron Arrow */
.arrow {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 100;
}


/* ===== PURE GLASS SECTION ===== */
.apex-info-section {
  width: 100%;
  min-height: 60vh;
  margin-top: 20px;

  /* GLASS ONLY */
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-top-left-radius: 22px;
  border-top-right-radius: 22px;

  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px 20px;
}

/* TEXT CONTENT */
.apex-glass-overlay {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

/* TITLE */
.apex-glass-overlay h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0a3cff;
  margin-bottom: 16px;
}

/* PARAGRAPH */
.apex-glass-overlay p {
  font-size: 15px;
  font-weight: 600;
  color: #0a3cff;
  line-height: 1.7;
  margin-bottom: 12px;
}



/* ================= BANK PAGE GLOBAL ================= */
.bank-page {
  width: 100%;
  background: #f8fafc; /* Soft off-white */
  height: 100vh;
  padding-top: 70px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* ================= CLEAN WHITE HEADER ================= */
.bank-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
  border-bottom: 1px solid #f1f5f9;
  box-sizing: border-box;
}

.header-center-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
}

.bank-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
}

.mini-logo-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.mini-logo-circle img { width: 100%; height: 100%; object-fit: cover; }

.bank-back-btn {
  position: absolute;
  left: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* ================= FORM CARD ================= */
.bank-form-container {
  padding: 20px;
}

.bank-form-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 24px;
  /* Soft shadow instead of 3D */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crest-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ================= INPUTS ================= */
.gamex-input {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  box-sizing: border-box;
  font-weight: 600;
}

.gamex-input:focus {
  border-color: #cbd5e1;
  background: #ffffff;
}

/* ================= SUBMIT BUTTON ================= */
.update-bank-btn {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 800;
  background: #0f172a; /* Dark Navy Slate from Crestpoint */
  color: white;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.update-bank-btn:active {
  transform: scale(0.97);
}

.success-message {
  text-align: center;
  font-weight: 700;
  color: #10b981;
  font-size: 13px;
}

/* ===== FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;       
  background: #ffffff;           /* black header */
  z-index: 10000;         
  text-align: center;
  padding: 12px 20px;      
  border-bottom: 2px solid #ffffff; /* gold underline */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.recharge-header-fixed .header-icon {
  font-size: 24px;       
  color: #fffffe;        /* gold icon */
}

.recharge-header-fixed h2 {
  margin: 0;
  color: #000000;        /* 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-color: #f8fafc;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  text-align: center;
}

/* ================= TOP SECTION ================= */
.wallet-circle-icon {
    width: 80px;
    height: 80px;
    background: #818cf8; /* Soft Purple/Blue icon */
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 20px auto;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(129, 140, 248, 0.4);
}

.page-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

/* ================= WHITE CARD ================= */
.recharge-card {
  background: #ffffff;
  border-radius: 35px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.recharge-subheader {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 20px;
  text-align: left;
  letter-spacing: 1px;
}

/* ================= AMOUNT GRID ================= */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.amount-option {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 20px 10px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left aligned text inside box */
  gap: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.plan-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
}

.plan-price {
    font-size: 14px;
    font-weight: 800;
    color: #334155;
}

/* ACTIVE STATE */
.amount-option.active {
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  box-shadow: inset 0 0 0 1px #818cf8;
}

.amount-option.active .plan-price {
    color: #4f46e5;
}

.active-dot {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 6px;
    height: 6px;
    background: #4f46e5;
    border-radius: 50%;
}

/* ================= CUSTOM INPUT ================= */
.custom-amount-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 15px 20px;
  margin-bottom: 25px;
  background: #f8fafc;
}

.currency-icon {
  color: #64748b;
  font-weight: 800;
  margin-right: 12px;
}

#customAmount {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  background: transparent;
}

/* ================= RECHARGE BUTTON ================= */
.deposit-btn {
  width: 100%;
  padding: 18px;
  background: #0f172a; /* Solid dark navy like Crestpoint buttons */
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s;
}

.deposit-btn:active {
  transform: scale(0.98);
}

/* ================= INFO SECTION ================= */
.info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.info-icon {
  color: #3b82f6; /* blue icon */
  font-weight: bold;
  font-size: 18px;
}

.info-title {
  font-weight: 700;
  color: #fef3c7; /* shiny gold-white */
}

.info-list {
  padding-left: 18px;
  color: #ffffff; /* white text */
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.info-list li::marker {
  color: #3b82f6; /* blue bullets */
}


.confirmation-page {
  padding: 20px;
  max-width: 1000px;   /* increase max width so cards look wider */
  width: 98%;         /* makes it stretch on smaller screens */
  margin: 0 auto;
}

.page-title-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.page-title-bar h2 {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

/* ================= TOP BALANCE CARD ================= */
.total-payment-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 30px;
  padding: 35px 25px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
  margin-bottom: 30px;
}

.total-payment-card .label {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-bottom: 10px;
}

.total-payment-card h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 20px 0;
}

.info-tag {
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
}

/* ================= STEP HEADERS ================= */
.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.step-number {
  width: 24px;
  height: 24px;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.step-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

/* ================= DETAILS CONTAINER ================= */
.details-container, .confirmation-card {
  background: white;
  border-radius: 25px;
  padding: 15px;         /* reduced from 20px */
  margin-bottom: 15px;   /* reduced from 25px */
  box-shadow: 0 4px 12px rgba(0,0,0,0.02); /* slightly lighter */
}

/* Group spacing */
.input-display-group {
  margin-bottom: 12px;   /* reduced from 18px */
}

.input-display-group label {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  display: block;
  margin-bottom: 5px;    /* reduced from 8px */
  margin-left: 5px;
}

/* Display box (main content box) */
.display-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 15px;
  padding: 10px 14px;     /* reduced from 15px 18px */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #334155;
  font-weight: 700;
  font-size: 15px;
}

/* Gray icon inside the box */
.gray-icon { 
  color: #cbd5e1; 
  font-size: 16px;       /* slightly smaller */
}

/* Amount Green Styling */
.amount-box { 
  background: #f0fdf4; 
  border-color: #dcfce7; 
}
.currency-green, .amount-green { 
  color: #16a34a; 
  font-weight: 800; 
}

/* Copy Buttons */
.copy-icon-btn {
  background: #eef2ff;
  border: none;
  width: 30px;            /* reduced from 35px */
  height: 30px;           /* reduced from 35px */
  border-radius: 8px;     /* slightly smaller */
  color: #6366f1;
  cursor: pointer;
}

.copy-icon-btn.green-btn { 
  background: #dcfce7; 
  color: #16a34a; 
}
/* ================= CONFIRMATION SECTION ================= */
.confirmation-card {
  text-align: center;
}

.confirmation-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

.i-have-paid-btn {
  width: 100%;
  background: #0f172a;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.i-have-paid-btn:active { transform: scale(0.98); }

/* Styling the inputs to look like the Crestpoint display boxes */
.clean-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}

.clean-input::placeholder {
  color: #cbd5e1;
  font-weight: 500;
}

/* Ensure the display box looks clickable/editable for inputs */
.input-display-group .display-box:focus-within {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Adjusting the Confirm Button to match the "I Have Paid" style from screenshot */
.i-have-paid-btn {
  width: 100%;
  background: #0f172a; /* Dark navy */
  color: white;
  border: none;
  padding: 18px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.i-have-paid-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* ================= BACK BUTTON ================= */
.recharge-back-btn-v2 {
  position: absolute;
  top: 6px;                  /* slightly from top */
  left: 12px;                /* slightly from left */
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;    /* transparent to match header */
  color: #000000;               /* arrow color */
  font-size: 18px;           /* arrow size */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
}

.recharge-back-btn-v2:active {
  transform: scale(0.95);
}

/* Make withdraw bank card text gold */
#withdrawBankCard {
  color: #D4AF37;       /* gold text */
  font-weight: 600;     /* bold for emphasis */
  font-size: 16px;      /* readable size */
  text-align: center;   /* center the text */
}

/* ===== LOGO STYLING ===== */
.recharge-logo img,
.withdraw-logo img,
.confirmation-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #D4AF37; /* gold border */
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
  background: #000000;      /* black background */
}



/* ================= FULLSCREEN OVERLAY ================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7); /* Slightly darker backdrop */
}

#welcomePopup {
  display: flex; /* Changed from none for preview; toggle with JS */
}

/* ================= POPUP BOX ================= */
.popup-box {
  width: 85%;
  max-width: 360px;
  background: #ffffff;
  padding: 60px 25px 30px 25px; /* Top padding extra for the logo */
  border-radius: 24px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  font-family: 'Inter', sans-serif;
  text-align: center;
}


/* ================= HIDE POPUP BY DEFAULT ================= */
#welcomePopup {
  display: none;
}

/* ================= OVERLAPPING LOGO ================= */
.logo-wrapper {
  position: absolute;
  top: -45px; /* Pulls logo up */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 5px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.modal-logo {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  display: block;
}

/* ================= CLOSE BUTTON ================= */
.popup-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 22px;
  cursor: pointer;
  color: #cbd5e1; /* Light gray X */
}

/* ================= TEXT CONTENT ================= */
.welcome-title {
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.subtitle {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 25px;
}

/* ================= REWARDS CARD ================= */
.rewards-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.rewards-header {
  color: #6366f1; /* Indigo color for header */
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.reward-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}

.percent {
  color: #1e293b;
  font-weight: 800;
}

.divider {
  height: 1px;
  background: #f1f5f9;
  margin: 15px 0;
  border-style: dashed;
  border-top: 1px dashed #e2e8f0;
}

.bonus-text {
  color: #6366f1;
  font-size: 13px;
  font-weight: 600;
}

/* ================= TELEGRAM BUTTON ================= */
.telegram-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f172a; /* Solid dark navy */
  color: #ffffff;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  gap: 10px;
  transition: transform 0.2s;
}

.telegram-btn:active {
  transform: scale(0.98);
}

.tg-icon {
  font-size: 20px;
}



/* ================= GIFT PILL BUTTON (SMALL & LEFT) ================= */
.gift-pill-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.gift-pill-btn {
  padding: 6px 12px;        /* smaller padding */
  border-radius: 30px;      /* still pill but tighter */
  border: none;
  font-weight: 600;
  font-size: 12px;          /* smaller text */
  cursor: pointer;
  color: #fff;
  width: fit-content;       /* prevents stretching */

  /* Blue + Gold Gradient */
  background: linear-gradient(135deg, #0a84ff, #ffd700, #0a84ff);
  background-size: 300% 300%;

  /* Glow */
  box-shadow: 0 0 6px rgba(10,132,255,0.7),
              0 0 12px rgba(255,215,0,0.6),
              0 0 18px rgba(10,132,255,0.8);

  animation: glowMove 3s infinite linear;
  transition: transform 0.2s ease;
}

.gift-pill-btn:hover {
  transform: scale(1.05); /* smaller hover so it doesn’t look big */
}

/* Moving gradient + glow */
@keyframes glowMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ================= MODAL ================= */
.gift-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.gift-modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  width: 90%;
  max-width: 350px;
  text-align: center;
  position: relative;
  animation: popUp 0.3s ease;
}

@keyframes popUp {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-gift {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

.gift-modal-content input {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.gift-modal-content button {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a84ff, #ffd700);
  color: white;
  font-weight: bold;
  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 */
}


/* Container Background */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
   padding-bottom: 140px;
  background: #f8fafc; /* Light grayish-blue background */
}

/* Main Card */
.product-card {
  background: #ffffff;
  border-radius: 28px; /* High curvature like the image */
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
}

/* Header: Logo and Button align */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vtradex-logo {
  width: 55px;
  height: 55px;
  border-radius: 18px;
  object-fit: cover;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
}


/* Invest Button */
.invest-btn {
  background: #111827;
  color: #ffffff;
  border: none;

  padding: 4px 10px;       /* 🔥 much smaller */
  border-radius: 999px;

  font-size: 12px;         /* 🔥 smaller text */
  font-weight: 600;

  display: inline-block;   /* 🔥 prevents flex stretching */
  width: fit-content;      /* 🔥 ONLY take needed space */

  cursor: pointer;

  margin-left: auto;       /* 🔥 push right (if parent is flex) */
}



/* The 2x2 Stats Grid */
.card-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Individual Stat Boxes */
.stat-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-box .label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-box .value {
  font-size: 18px;
  font-weight: 800;
  color: #334155;
}

/* Specific Colors from Screenshot */
.daily-bg {
  background: #f0fdf4 !important; /* Soft green */
}

.green-text {
  color: #16a34a !important;
}

.total-bg {
  background: #f5f3ff !important; /* Soft purple */
}

.purple-text {
  color: #4f46e5 !important;
}




/* ================= INVITE PAGE (FIXED LAYER) ================= */
.invite-page {
  position: fixed;    /* Crucial: Takes it out of the home page flow */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;      /* Full screen height */
  background: #f8faff; /* Set to a solid color so home page doesn't bleed through */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;     /* Dark text for readability */
  z-index: 2000;      /* Higher than home page and most popups */
  overflow-y: auto;   /* Allows scrolling if content is long */
  display: none;      /* JavaScript will toggle this to 'flex' */
  flex-direction: column;
}

/* ================= INVITE HEADER (FIXED) ================= */

.invite-header-fixed-v2{
  position:sticky;
  top:0;
  width:100%;
  height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0f172a;
  font-weight:700;
  border-bottom:1px solid #eee;
}

/* Header title */
.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* ================= BACK BUTTON ================= */
.invite-back-btn-v2 {
  position: absolute;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #000000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ================= PAGE CONTENT PADDING ================= */
.invite-page-content {
  padding: 80px 0; /* Space for the header is already handled by sticky */
}


/* CARD CONTAINER */
.invite-card-white{
  background:#ffffff;
  margin:-40px 20px 20px 20px;
  border-radius:10px;
  padding:20px;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* SECTION TITLE */
.label{
  color:#0f172a;
  font-weight:700;
  font-size:15px;
  margin-bottom:8px;
}

/* CODE BOX */
.code-box{
  display:flex;
  color: #000;
  align-items:center;
  justify-content:space-between;
  border:1px solid #e5e5e5;
  padding:12px 14px;
  border-radius:6px;
  font-size:18px;
  font-weight:700;
}

/* LINK BOX */
.link-box{
  display:flex;
  color: #000;
  align-items:center;
  justify-content:space-between;
  border:1px solid #e5e5e5;
  padding:12px 14px;
  border-radius:6px;
}

.link-box input{
  border:none;
  outline:none;
  width:100%;
  font-size:14px;
  background:transparent;
}

/* COPY BUTTON */
.copy-icon-btn{
  background:none;
  border:none;
  font-size:18px;
  cursor:pointer;
}

/* VIEW DOWNLINES BUTTON */
.view-downlines-btn{
  width:90%;
  margin:20px auto;
  display:block;
  background:#0f172a;
  color:white;
  border:none;
  padding:14px;
  border-radius:8px;
  font-weight:700;
  font-size:16px;
}



/* ================= Team Page Full Layout ================= */
.team-page {
  display: none; /* hidden by default */
  width: 100%;
  min-height: 100vh; /* full viewport height */
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* scroll if content exceeds viewport */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sticky header for easy navigation */
.team-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #0f172a;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-header h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1; /* take remaining space */
}

.team-header .back-btn {
  font-size: 20px;
  cursor: pointer;
}

/* Tabs section */
.tabs {
  display: flex;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.tab {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: #666;
}

.tab.active {
  color: #0f172a;
  border-bottom: 3px solid #0f172a;
}

/* Main content area */
.main-content {
  flex: 1;
 
  background-color: #f8f9fa;
  min-height: calc(100vh - 120px); /* subtract header + tabs */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Table header */
.table-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  background: #f0f0f0;
  padding: 12px 16px;
  font-weight: 500;
  border-radius: 6px;
  margin-bottom: 20px;
  color: #333;
}

/* Empty state */
.empty-state {
  margin-top: 60px;
  text-align: center;
}

.user-icon {
  margin: 0 auto 16px;
}

.no-users {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}


/* ================== Team Member Card (Full Width, Readable Content) ================== */
.team-user-card {
  background: #0f172a;
  border-radius: 0;
  padding: 15px 16px; /* vertical + horizontal padding for content */
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* stretch full width of parent */
  box-sizing: border-box; /* ensures padding stays inside width */
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-user-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Inner sections */
.team-user-card .user-number,
.team-user-card .user-earnings {
  display: flex;
  flex-direction: column;
}

.team-user-card .user-number {
  font-weight: 500;
  color: #ffffff;
  font-size: 15px;
}

.team-user-card .user-number span {
  font-size: 12px;
  color: #ffffff;
  margin-top: 2px;
}

.team-user-card .user-earnings {
  font-weight: bold;
  color: #2ecc71;
  text-align: right;
  font-size: 16px;
}

.team-user-card .user-earnings span {
  font-weight: normal;
  font-size: 12px;
  color: #ef0303;
  margin-top: 2px;
}

/* ================= GLOBAL LAYOUT ================= */
.withdraw-page {
  background-color: #f8fafc;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

.page-title-bar {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.header-logo { width: 24px; height: 24px; }

.page-title-bar h2 {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}



/* ================= SLIM FIXED HEADER ================= */
.withdraw-header-fixed {
  width: 100%;
  height: 48px;                 /* slim height */
  background: #ffffff;          /* header color */
  color: #000000;               /* text color */

  display: flex;
  align-items: center;          /* vertically centers title */
  justify-content: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  box-shadow: 0 3px 8px rgba(0,0,0,0.5); /* slightly lighter shadow for slim header */
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 0 16px;              /* horizontal padding */
}

/* Header title */
.withdraw-header-fixed h2 {
  margin: 0;
  font-size: 18px;               /* slightly smaller font for slim look */
  font-weight: 700;
  color: #000000;
}



/* ================= BACK BUTTON ================= */
.withdraw-back-btn-v2 {
  position: absolute;
  top: 6px;                   /* slightly from top */
  left: 12px;                  /* slightly from left */
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #000000;                /* arrow color */
  font-size: 18px;            /* arrow size */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;              /* above header */
}

.withdraw-back-btn-v2:active {
  transform: scale(0.95);
}





/* ================= DARK BALANCE CARD ================= */
.total-payment-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 30px;
  padding: 30px 20px;
  text-align: left;
  color: white;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.total-payment-card .label {
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.6;
  font-weight: 800;
}

.total-payment-card h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0;
}

.info-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  opacity: 0.7;
}

/* ================= INPUT BOXES ================= */
.input-display-group label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 10px;
  display: block;
}

.display-box {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 18px 25px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.currency-symbol {
  font-size: 20px;
  font-weight: 800;
  color: #cbd5e1;
  margin-right: 15px;
}

.clean-input {
  border: none;
  outline: none;
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  width: 100%;
}

/* ================= DESTINATION ACCOUNT ================= */
.details-container {
  background: #fff;
  border-radius: 25px;
  padding: 30px 20px;
  text-align: center;
}

.dashed-border {
    border: 2px dashed #e2e8f0;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #cbd5e1;
    font-size: 24px;
}

.empty-bank-container h4 { margin: 0 0 10px 0; color: #1e293b; font-weight: 800; }
.empty-bank-container p { font-size: 13px; color: #64748b; margin-bottom: 20px; line-height: 1.5; }

.add-account-pill {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* ================= POLICY CARD ================= */
.policy-card {
    background: #eff6ff;
    border-radius: 20px;
    padding: 20px;
    margin: 25px 0;
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e40af;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    font-size: 12px;
    color: #1e40af;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.policy-list li::before {
    content: "○";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ================= SUBMIT BUTTON ================= */
.withdraw-submit-btn {
  display: inline-flex;          /* ✅ shrink to content */
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 24px;            /* ✅ balanced padding */
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 999px;          /* 🔥 pill shape (cleaner) */

  font-size: 15px;
  font-weight: 700;
  cursor: pointer;

  width: auto;                   /* ❗ key fix */
  max-width: 100%;               /* prevents overflow */
}

/* When active */
.withdraw-submit-btn.ready {
  background: #0f172a;
}

/* ================= GLOBAL CARD FIX ================= */
.total-payment-card,
.details-container,
.policy-card,
.display-box {
  max-width: 400px;       /* limits card width */
  margin: 20px auto;      /* centers cards horizontally */
  width: 90%;             /* responsive for smaller screens */
  box-sizing: border-box; /* include padding in width */
}

/* Optional: for smaller screens make it fully responsive */
@media (max-width: 450px) {
  .total-payment-card,
  .details-container,
  .policy-card,
  .display-box {
    width: 95%;
    padding: 20px;
  }
}


/* ================= 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;
}


/* ===============================================
   FIXED RECORDS HEADER (BLACK + GOLD)
   =============================================== */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;

  background: #ffffff;    /* blue background */
  color: #000000;         /* gold text */

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5); /* stronger shadow for depth */
}



/* Header title */
.records-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ===============================================
   3D BACK BUTTON (BLACK + GOLD)
   =============================================== */
.records-back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #767676;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 2px 2px 6px rgba(0,0,0,0.5),
              inset -2px -2px 6px rgba(212,175,55,0.5); /* subtle gold inset for 3D effect */

  transition: all 0.2s ease;
}

/* ================= SIMPLE BACK BUTTON ================= */
.records-back-btn {
  position: absolute;
  
 

 
  border: none;

  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}



/* ================= CRESTPOINT RECORDS UI ================= */
.records-page {
  width: 100vw;
  min-height: 100vh;
  background: #fcfcfc; /* Pure, clean background */
  padding-top: 80px;
  box-sizing: border-box;
}

/* Fixed Header - Clean White */
.records-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  border-bottom: 1px solid #f1f5f9;
}

.header-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 50px; /* Space for back button */
}

.header-logo-container img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.records-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

/* Minimalist Back Button */
.records-back-btn {
  position: absolute;
  left: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

/* Record Card - Matching Screenshot 'Welcome Bonus' */
.records-list-wrapper {
  padding: 15px;
}

.record-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  /* Very soft shadow matching the app profile cards */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); 
  border: 1px solid #f8fafc;
}

/* Icon Box Style */
.record-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-bonus { background: #f0fdf4; color: #10b981; } /* Light Green */
.icon-withdrawal { background: #fef2f2; color: #ef4444; } /* Light Red */

.record-icon-box svg {
  width: 22px;
  height: 22px;
}

/* Text Content */
.record-middle {
  flex-grow: 1;
}

.record-transaction {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 4px;
}

.record-time {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8; /* Slate gray */
  text-transform: uppercase;
}

/* Right Side: Amount and Status */
.record-right {
  text-align: right;
}

.record-amount {
  font-weight: 800;
  font-size: 15px;
}

.amount-plus { color: #10b981; }
.amount-minus { color: #1e293b; }

.record-status-text {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

/* ================= STATUS BADGES ================= */
.record-status {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  padding: 6px 14px;       /* a bit more for pill shape */
  border-radius: 50px;      /* fully rounded for pill */
  display: inline-block;    /* ensures padding works nicely */
  background-color: #FFD700; /* example gold background */
  color: #000;               /* text color */
  text-align: center;
}

.status-success { background: #10b981; color: #ffffff; }
.status-pending { background: #f59e0b; color: #ffffff; }
.status-declined, .status-failed { background: #ef4444; color: #ffffff; }

@media (max-width: 480px) {
  .record-card { padding: 14px; gap: 12px; }
  .record-icon-box { width: 40px; height: 40px; font-size: 16px; }
}


/* ================= FULL PAGE ================= */
#myInvestmentPage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
  background: #f2f1f1;        /* white background */
  padding-top: 100px;         /* reduced from 120px to push cards up */
  margin: 0;
  width: 100vw;
}


/* ===============================================
   INVESTMENT PAGE SPACING
   =============================================== */
.investment-page {
  padding-top: 64px;
}


/* ===============================================
   FIXED INVESTMENT HEADER (CRESTPOINT WHITE)
   =============================================== */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #ffffff; /* Pure white background */
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
  box-sizing: border-box;
  /* Remove heavy shadows, use a very light border or soft glow */
  border-bottom: 1px solid #f1f5f9; 
}

/* Container for Logo + Title */
.header-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
}

/* Header Title */
.investment-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b; /* Dark slate instead of gold */
}

/* ===============================================
   MINIMALIST BACK BUTTON (FLAT STYLE)
   =============================================== */
.investment-back-btn {
  position: absolute;
  left: 16px;
  background: transparent; /* No more 3D background */
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mini Logo Circle */
.mini-logo-circle {
  width: 32px;
  height: 32px;
  background: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* Soft depth */
}

.mini-logo-circle img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Hover/Active states */
.investment-back-btn:active {
  opacity: 0.6;
}


/* ================= VELTRIX CARD (FIXED WIDTH + 3D) ================= */
.veltrIx-card {
  background: #ffffff;
  color: #000000;
  border-radius: 16px;
  overflow: hidden;

  /* breathing space left & right */
  width: calc(100% - 32px);
  max-width: 400px;
  margin: 16px auto;

  /* 3D layered shadow */
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);

  /* subtle lift effect */
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  font-family: system-ui, -apple-system, sans-serif;
}

/* Hover = more 3D (optional but clean) */
.veltrIx-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

.card-header {
  background: linear-gradient(135deg, #00c853, #64dd17, #ffd600, #ffab00);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;

  /* adds depth */
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.15);
}

.logo-circle {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.plan-info .plan-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.plan-info .plan-subtitle {
  font-size: 13px;
  opacity: 0.95;
  font-weight: 500;
}

/* BODY */
.card-body {
  padding: 18px 20px 14px;
  background: #ffffff;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.info-box {
  flex: 1;
  text-align: center;
}

.info-box small {
  font-size: 11.5px;
  color: #666666;
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-box strong {
  font-size: 15.5px;
  font-weight: 700;
  color: #00c853;           /* Green like the image */
}

/* Timer - matches the style */
.timer {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
}


.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff1a; /* optional soft background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* ensures logo stays inside circle */
}

.logo-img {
  width: 80%;   /* adjust size to fit */
  height: 80%;
  object-fit: contain; /* keeps aspect ratio */
}



/* ================= EMPTY STATE (INVESTMENTS) ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  width: 100%;
  min-height: 300px;
}

.empty-icon-box {
  width: 80px;
  height: 80px;
  background-color: #f8fafc; /* Very light slate */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a; /* Dark slate */
  margin: 0 0 8px 0;
}

.empty-description {
  font-size: 14px;
  color: #64748b; /* Muted gray */
  margin: 0 0 30px 0;
}

/* The Green Browse Button */
.browse-plans-btn {
  background-color: #059669; /* Specific Crestpoint Green */
  color: #ffffff;
  border: none;
  padding: 14px 35px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s;
}

.browse-plans-btn:active {
  transform: scale(0.96);
  background-color: #047857;
}


/* ================= CUSTOM ALERT ================= */
.custom-alert {
  position: fixed;
  top: 50%;           /* center vertically */
  left: 50%;          /* center horizontally */
  transform: translate(-50%, -50%); /* center perfectly */

  background: rgba(0, 0, 0, 0.85);  /* semi-transparent black */
  color: #ffffff;                   /* white text */

  padding: 14px 24px;
  border-radius: 12px;

  font-weight: 500;
  font-size: 15px;
  text-align: center;

  max-width: 90%;       /* responsive width */
  box-sizing: border-box;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99999;
}

/* ================= SHOW ALERT ================= */
.custom-alert.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}


/* ================= FULLSCREEN LOADER ================= */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ================= DOTS CONTAINER ================= */
.loader-dots {
  display: flex;
  gap: 10px; /* spacing between dots */
}

/* ================= INDIVIDUAL DOTS ================= */
.loader-dots span {
  width: 12px;
  height: 12px;
  background: gold; /* gold dots */
  border-radius: 50%;
  display: inline-block;
  animation: wave 1.2s infinite ease-in-out;
}

/* Delay each dot for wave effect */
.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ================= WAVE ANIMATION ================= */
@keyframes wave {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-12px); } /* dot moves up */
}


/* Investment Ticker */
.investment-ticker {
  width: 100%;
  overflow: hidden;
  background-color: #f3f4f6;  /* light gray */
  padding: 10px 0;
  border-radius: 12px;
  margin: 20px 0;            /* space under the ATM card image */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;         /* start offscreen to the right */
  animation: ticker 15s linear infinite;
}

.ticker-content span {
  margin-right: 50px;
  font-size: 14px;
  color: #111827;
}

.ticker-content i {
  color: #EF4444; /* red megaphone icon */
  margin-right: 6px;
}

/* Keyframes for horizontal scrolling */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}




/* 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 */
  }
}