

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Base body styles */
body {
  background: #f2f2f2; /* light ash */
  color: #000000; /* 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;
}

/* ================= FULL PAGE CONTAINER ================= */
.container {
  width: 100vw;
  height: 100vh;
  padding: 40px 28px;

  position: fixed;
  top: 0;
  left: 0;

  background: #eef0f4; /* soft neomorphic background */
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container.active {
  display: flex;
}

/* ================= FORM CARD ================= */
.container form {
  width: 100%;
  max-width: 400px;   /* slightly wider for comfort */
  padding: 40px 28px; /* taller form */
  border-radius: 22px;
  background: #ffffff;

  box-shadow:
    12px 12px 24px rgba(0, 0, 0, 0.08),
   -12px -12px 24px rgba(255, 255, 255, 0.9);

  display: flex;
  flex-direction: column;
  transform: translateY(-5px); /* subtle lift */
}

/* ================= LOGO ================= */
.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  padding: 6px;

  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.12),
   -6px -6px 14px rgba(255, 255, 255, 0.9);
}

/* ================= WELCOME TEXT ================= */
.welcome-text {
  text-align: center;
  margin-bottom: 24px;
}

.welcome-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #32CD32; /* green text */
  margin-bottom: 6px;
}

.welcome-text p {
  font-size: 14px;
  color: #000000; /* black text */
}

/* ================= LABELS ================= */
label {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #32CD32; /* green labels */
}

/* ================= INPUTS (NEOMORPHIC) ================= */
input {
  height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f4f6fa;
  color: #000000;
  font-size: 14px;
  border: none;
  outline: none;

  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.08),
    inset -4px -4px 8px rgba(255, 255, 255, 0.9);

  transition: box-shadow 0.25s ease;
}

input::placeholder {
  color: #9ca3af;
}

input:focus {
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.12),
   -6px -6px 14px rgba(255, 255, 255, 0.95);
}

/* ================= PHONE INPUT ================= */
.phone-input {
  display: flex;
}

.phone-input input {
  flex: 1;
}

/* ================= BUTTON (NEOMORPHIC GREEN) ================= */
button {
  margin-top: 24px;
  height: 46px;
  border-radius: 16px;
  border: none;

  background: linear-gradient(145deg, #32CD32, #2aaa2a); /* green gradient */
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow:
    6px 6px 14px rgba(50, 205, 50, 0.45),
   -4px -4px 10px rgba(255, 255, 255, 0.4);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:active {
  transform: translateY(1px);
  box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.25),
    inset -4px -4px 10px rgba(255, 255, 255, 0.4);
}

/* ================= TOGGLE TEXT ================= */
.toggle-text {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #32CD32; /* green text */
}

/* 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: #ffffff;
  color: #000000;
}

/* Dashboard header */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  max-width: 600px;

  padding: 12px 20px;
  margin: 0;

  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;

  background: #32CD32; /* ✅ green */
  box-shadow: 0 4px 14px rgba(106, 13, 173, 0.45);

  z-index: 10000;
}



/* Remove extra spacing in dashboard cards if used */
.dashboard-card h2.dashboard-header {
  margin: 0;
}



/* ===============================
   QUICK ACTIONS GRID (2x2 ALWAYS)
   =============================== */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 14px;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 10px;
}

/* ===============================
   BUTTON BOX STYLE (RECTANGLE)
   =============================== */
.quick-actions-grid .qa-btn {
  display: flex;
  flex-direction: column;      /* icon on top, text below */
  align-items: center;
  justify-content: center;

  padding: 12px 16px;         /* reduced vertical padding, more rectangular */
  background: #f2f2f2;        /* ash box */
  border-radius: 12px;
  cursor: pointer;

  text-decoration: none;
  color: #32CD32;              /* green text */
  font-weight: 600;
  font-size: 13px;

  /* subtle shadow */
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}

.quick-actions-grid .qa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* ===============================
   ICON STYLE
   =============================== */
.quick-actions-grid .qa-btn i {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 6px;        /* smaller margin for rectangle */
  background: #e6e6e6;
  color: #32CD32;             /* green icon */
}

/* ===============================
   TEXT STYLE
   =============================== */
.quick-actions-grid .qa-btn span {
  text-align: center;
  white-space: normal;
  color: #32CD32;             /* green text */
}

/* ===============================
   REMOVE LINK UNDERLINE
   =============================== */
.quick-actions-grid a {
  text-decoration: none;
}


/* ===============================
   USER GREETING TEXT
   =============================== */
.user-header {
  margin: 16px 0 8px 16px;   /* added 16px left margin */
  font-size: 16px;
  font-weight: 600;
  color: #006400;            /* dark green text */
}





/* Flyer Banner at the top of balance */
.balance-flyer {
  width: 100%;
  margin-bottom: 12px; /* space between flyer and balance bar */
  border-radius: 12px;
  overflow: hidden;    /* rounded corners on image */
}

.balance-flyer img {
  width: 100%;
  height: auto;        /* maintain aspect ratio */
  display: block;
  object-fit: cover;   /* fill width nicely */
}

/* Product Section Wrapper */
.product-section {
  margin-top: 20px;
  padding: 0 10px;
}

/* Products Header */
.products-header {
  margin-bottom: 12px;
  text-align: left; /* LEFT aligned */
}

/* Header Text */
.products-header h2 {
  font-size: 18px;
  font-weight: bold;
  color: #32CD32; /* green instead of purple */
}


.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;
}


/* Full flyer display – tight fit */
.dashboard-logo {
  width: 100%;
  margin: 0;
  padding-bottom: 70px; /* small space for bottom nav */
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

/* Image fills width and flows naturally */
.dashboard-logo img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}



/* ===== ATM CARD ===== */
.atm-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(135deg, #32CD32, #228B22); /* green gradient */
  border-radius: 22px;
  padding: 24px 20px;
  color: #ffffff; /* all text white */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== AVATAR CIRCLE ===== */
.atm-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  margin: 0 auto 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.atm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== USER TEXT ===== */
.atm-user {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.atm-hi {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff; /* white text */
}

.atm-user-number {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff; /* white text */
}

/* ===== SLIM BALANCE BAR ===== */
.balance-bar-slim {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
}

/* Balance title */
.balance-title-slim {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff; /* white text */
}

/* Balance amount */
.balance-amount-slim {
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff; /* white text */
}

.atm-hi strong {
  font-weight: 700;
  color: #ffffff; /* ensure bold text stays white */
}



/* ===== WHITE ATM CARD ===== */
.atm-white-card {
  width: 100%;
  max-width: 360px;
  background-color: #ffffff; /* keep card white */
  border-radius: 20px;
  padding: 18px 16px 20px;
  margin-top: 24px; /* space from balance card */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== CARD HEADER ===== */
.atm-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Brand text */
.atm-brand {
  font-size: 18px;
  font-weight: 700;
  color: #32CD32; /* green text */
}

/* ===== ASH GRID DIVIDER ===== */
.atm-divider {
  height: 1px;
  margin: 14px 0 18px;
  background: repeating-linear-gradient(
    to right,
    #dcdcdc,
    #dcdcdc 6px,
    transparent 6px,
    transparent 12px
  );
}

/* ===== ATM TELEGRAM ACTION LINE ===== */
.atm-telegram-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  background: transparent;
  color: #32CD32; /* green text */
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  /* slim ash grid line */
  border-top: 1px dashed #dcdcdc;
}

/* Icon */
.atm-telegram-line i {
  font-size: 18px;
  color: #32CD32; /* green icon */
}



/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2; /* light ash background */
  display: none; /* hidden by default */
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* ================= NAV ITEMS ================= */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  color: #32CD32; /* green text */
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ================= ICONS ================= */
.bottom-nav .nav-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  fill: #32CD32; /* green icons */
  transition: fill 0.2s ease;
}

/* ================= HOVER ================= */
.bottom-nav .nav-item:hover {
  color: #228B22; /* darker green on hover */
}

.bottom-nav .nav-item:hover svg {
  fill: #228B22; /* darker green on hover */
}

/* ================= ACTIVE STATE ================= */
.bottom-nav .nav-item.active {
  color: #32CD32; /* green active text */
  font-weight: 600;
}

.bottom-nav .nav-item.active svg {
  fill: #32CD32; /* green active icon */
}

/* ===== PROFILE FIXED HEADER ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1db954; /* green background */
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  color: #ffffff; /* white text */
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* subtle shadow */
}


.profile-header-bar i {
  margin-right: 8px;
  color: #ffffff; /* white 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: #000000;
  text-align: center;
}

/* ===== SETTINGS BOX ===== */
.settings-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow:
    6px 6px 16px rgba(0,0,0,0.1),
   -6px -6px 16px rgba(255,255,255,0.9);
  margin-top: 20px;
}

/* Header */
.settings-header {
  font-size: 18px;
  font-weight: 700;
  color: #1db954; /* green text */
  margin-bottom: 12px; /* spacing from first item */
}


/* Settings list vertical */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each item box */
.settings-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: #000000; /* default black text */
  background: #f4f4f4;
  cursor: pointer;
  box-shadow:
    4px 4px 12px rgba(0,0,0,0.08),
   -4px -4px 12px rgba(255,255,255,0.9);
  transition: box-shadow 0.2s ease;
}

/* Flash icons */
.settings-item i {
  font-size: 20px;
  color: #1db954; /* green icon */
}

/* Logout special style */
.logout-btn {
  color: #dc2626; /* red text */
}

.logout-btn i {
  color: #dc2626; /* red icon */
}

/* Press effect */
.settings-item:active,
.logout-btn:active {
  box-shadow:
    inset 3px 3px 8px rgba(0,0,0,0.1),
    inset -3px -3px 8px rgba(255,255,255,0.9);
}

/* Mobile responsive */
@media (max-width: 450px) {
  .settings-item {
    padding: 10px 12px;
    font-size: 14px;
  }

  .settings-item i {
    font-size: 18px;
  }
}




/* ================= BANK PAGE (NEUMORPHIC PURPLE & WHITE) ================= */
.bank-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 70px 12px 20px;
  display: none;

  background: #f4f5f8; /* soft white */
  color: #000000;

  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}


/* ================= FIXED HEADER ================= */
.bank-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 40px; /* slimmed down from 55px */

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #32CD32; /* green header */
  z-index: 1000;
  border-bottom: 1px solid #ccc;
}


/* Header Title */
.bank-header h2 {
  flex-grow: 1;
  text-align: center;
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #000000; /* black text */
}


/* Back Button - Neomorphic Circular */
.back-btn {
  background: #ffffff; /* white background */
  border: none;
  border-radius: 50%; /* make it perfectly circular */
  width: 40px; /* circle width */
  height: 40px; /* circle height */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff; /* neomorphic effect */
  transition: all 0.2s ease-in-out;
  color: #000000; /* icon color black */
  font-size: 18px; /* icon size */
}

.back-btn:hover {
  box-shadow: 4px 4px 8px #d1d9e6, -4px -4px 8px #ffffff; /* subtle press effect */
  transform: translateY(-1px);
}



/* ================= FORM CARD ================= */
.bank-form {
  background: #ffffff; /* white card */
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ccc;

  display: flex;
  flex-direction: column;
  gap: 15px;

  margin: 80px auto 20px; /* push down below fixed header */
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

/* Section Headers */
.form-section h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #000000; /* black text */
  font-weight: bold;
}

/* Labels */
label {
  font-size: 14px;
  font-weight: bold;
  color: #000000; /* black text */
  margin-bottom: 4px;
  display: block;
}

/* ================= INPUTS ================= */
select,
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #ffffff; /* white input background */
  color: #000000; /* black text */
  outline: none;
}

input::placeholder {
  color: #999999;
}

/* ================= UPDATE BUTTON ================= */
.update-bank-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;

  background: #32CD32; /* green button */
  color: #ffffff; /* white text */

  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* ================= SUCCESS MESSAGE ================= */
.success-message {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: #32CD32; /* green text */
  font-size: 15px;
}

/* ================= MOBILE ================= */
@media (max-width: 450px) {
  .bank-header h2 {
    font-size: 18px;
  }

  select,
  input {
    font-size: 14px;
    padding: 10px 12px;
  }

  .update-bank-btn {
    font-size: 15px;
    padding: 12px;
  }
}


/* ===== FIXED RECHARGE HEADER (GREEN FINTECH) ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;       

  background: #32CD32;           /* bright green header */
  z-index: 10000;         
  text-align: center;
  padding: 12px 20px;      

  border-bottom: 1px solid #28a428; /* slightly darker green line */
  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: #ffffff;        /* white icon */
}

.recharge-header-fixed h2 {
  margin: 0;
  color: #ffffff;        /* white text */
  font-size: 20px;
  font-weight: 600;      
  letter-spacing: 0.5px;
}



/* ===== PAGE CONTENT ===== */
.recharge-page {
  width: 100%;
  max-width: 400px;
  margin: 80px auto 0;   /* space below header */
  padding: 0;            /* page itself has no extra padding */
  text-align: center;
  display: none;
  background: transparent;  /* normal page background */
  color: #000000;
  box-sizing: border-box;
}

/* ===== TOP RECHARGE CARD (SLIM GREEN BOX) ===== */
.recharge-card {
  background: #32CD32;      /* green box */
  color: #ffffff;           /* white text */
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px;      /* spacing below header */
  padding: 14px 18px;
  border-radius: 12px;      /* slightly rounded */
  text-align: left;
  box-shadow: none;         /* no neomorphic shadows */
}

.recharge-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.recharge-card .subtext {
  font-size: 13px;
  margin-bottom: 10px;
}

.recharge-card .info-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
}

/* ===== SUBHEADER ===== */
.recharge-subheader {
  font-size: 16px;
  color: #32CD32;  /* green subheader */
  margin-bottom: 15px;
}


/* ================= AMOUNT SELECTION CARD (WHITE 3D CARD) ================= */
.amount-card {
  background: #ffffff; /* white card */
  border-radius: 16px;
  padding: 20px;
  margin: 20px auto;
  max-width: 400px;
  box-shadow:
    6px 6px 16px rgba(0,0,0,0.08),
   -6px -6px 16px rgba(255,255,255,0.9);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Section header aligned left */
.amount-card .section-header {
  font-size: 14px;
  font-weight: 600;
  color: #32CD32;
  margin-bottom: 12px;
  text-align: left; /* left align header */
}

/* Grid of amount options */
.amount-card .amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

/* Amount boxes with green border */
.amount-card .amount-option {
  background: #ffffff;
  border: 2px solid #32CD32;
  padding: 12px 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  color: #32CD32;
  transition: all 0.25s ease;
}

.amount-card .amount-option small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #6b7280;
}

/* Active selected amount */
.amount-card .amount-option.active {
  background: #32CD32;
  color: #ffffff;
  border-color: #32CD32;
}

/* Custom amount input (straight edges) */
.amount-card .custom-amount input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  margin-bottom: 18px;
  border-radius: 0;            /* straight edges */
  border: 1px solid #32CD32;
  background: #ffffff;
  color: #32CD32;
  caret-color: #32CD32;
}

/* Placeholder text */
.amount-card .custom-amount input::placeholder {
  color: #000000;
}

/* Deposit button (straight edges) */
.amount-card .deposit-btn {
  width: 100%;
  padding: 16px;
  background: #32CD32;
  color: #ffffff;
  font-weight: bold;
  font-size: 17px;
  border: none;
  border-radius: 0;            /* straight edges */
  cursor: pointer;
}

/* ================= IMPORTANT INFO CARD ================= */
.info-card {
  background: #ffffff;
  width: 100%;
  max-width: 400px;          /* same as amount card */
  margin: 20px auto;         /* center it */
  padding: 20px 18px;        /* equal padding */
  border-radius: 16px;
  border-left: 4px solid #32CD32;  /* green edge line */
  box-shadow:
    6px 6px 16px rgba(0,0,0,0.08),
   -6px -6px 16px rgba(255,255,255,0.9);
  box-sizing: border-box;
}

/* Card header */
.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #32CD32;
  margin-bottom: 12px;
  text-align: left;          /* left align */
}

/* List styling */
.info-card ol {
  padding-left: 18px;
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  margin: 0;                 /* remove default margins */
}

.info-card li {
  margin-bottom: 10px;
  text-align: left;           /* straight line text */
}


/* ===== RECHARGE CONFIRMATION PAGE (NEUMORPHIC) ===== */
.recharge-confirmation-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 100px 16px 24px;   /* space for header */
  display: none;
  overflow-y: auto;

  text-align: center;

  background: #E0DAD1;        /* soft ash/carton background */
  color: #5C4033;             /* brown text */

  box-sizing: border-box;
}

/* ================= CONFIRMATION HEADER ================= */
.confirmation-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  background: #E0DAD1;        /* ash background */
  color: #5C4033;             /* brown text */

  padding: 10px 16px;
  z-index: 10000;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;

  /* neumorphic header */
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.12),
    -6px -6px 14px rgba(255, 255, 255, 0.95);
}

/* Header Title */
.confirmation-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #5C4033;             /* brown */
}

/* Selected Amount */
.confirmation-header .selected-amount {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #8B6D5C;             /* lighter brown for emphasis */
}

/* ================= ACCOUNT DETAILS CARD ================= */
.account-details {
  background: #E0DAD1;        /* ash background */
  padding: 20px;
  margin-bottom: 28px;

  border-radius: 18px;
  color: #5C4033;             /* brown text */

  /* neumorphic card */
  box-shadow:
    10px 10px 22px rgba(0, 0, 0, 0.12),
    -10px -10px 22px rgba(255, 255, 255, 0.95);
}

/* ================= DETAIL ROW ================= */
.detail-row {
  position: relative;

  display: flex;
  align-items: center;

  padding: 14px 0;
  font-weight: 600;

  border-bottom: 1px solid rgba(92, 64, 51, 0.2);  /* light brown divider */
  color: #5C4033;                                  /* brown text */
}

.detail-row:last-child {
  border-bottom: none;
}

/* ================= COPY BUTTON (NEUMORPHIC) ================= */
.copy-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  background: #E0DAD1;        /* ash background */
  color: #5C4033;             /* brown text */

  border: none;
  padding: 6px 10px;
  border-radius: 10px;

  font-weight: 700;
  cursor: pointer;

  box-shadow:
    4px 4px 8px rgba(0, 0, 0, 0.15),
    -4px -4px 8px rgba(255, 255, 255, 0.9);

  transition: all 0.2s ease;
}

.copy-btn:active {
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.2),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

/* ================= CONFIRM PAYMENT BUTTON ================= */
.confirm-payment-btn {
  width: 100%;
  padding: 16px;

  background: #8B6D5C;       /* brown button */
  color: #ffffff;

  font-weight: 700;
  font-size: 17px;

  border: none;
  border-radius: 20px;
  cursor: pointer;

  box-shadow:
    0 10px 25px rgba(92, 64, 51, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.25);

  transition: all 0.3s ease;
}

.confirm-payment-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(92, 64, 51, 0.8),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* ================= MOBILE ================= */
@media (max-width: 450px) {
  .recharge-confirmation-page {
    padding: 110px 12px 24px;
    background: #E0DAD1;
    color: #5C4033;
  }

  .confirmation-header h2 {
    font-size: 16px;
    color: #5C4033;
  }

  .confirmation-header .selected-amount {
    font-size: 15px;
    color: #8B6D5C;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}



/* ===== RECHARGE / BACK BUTTON (NEUMORPHIC CIRCLE) ===== */
.recharge-back-btn {
  position: fixed;           /* fixed so it stays at top */
  top: 12px;                 /* slightly below top edge */
  left: 16px;
  z-index: 10001;
  
  width: 48px;               /* circular size */
  height: 48px;
  padding: 0;                /* no extra padding inside circle */
  
  background: #ffffff;       /* white background */
  border-radius: 50%;        /* perfect circle */
  border: none;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  color: #000000;            /* black icon */
  font-size: 20px;           /* icon/text size */
  cursor: pointer;
  
  /* Neumorphic shadows */
  box-shadow: 4px 4px 6px rgba(0,0,0,0.15), 
              -4px -4px 6px rgba(255,255,255,0.7);
  
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover effect: subtle lift */
.recharge-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 8px rgba(0,0,0,0.2), 
              -6px -6px 8px rgba(255,255,255,0.75);
}


/* ===== LOGO STYLING FOR RECHARGE & WITHDRAW PAGES ===== */
.recharge-logo img,
.withdraw-logo img,
.confirmation-logo img {
  width: 80px;                /* size */
  height: 80px;               /* size */
  border-radius: 50%;         /* round */
  margin-bottom: 20px;        /* spacing below */
  object-fit: cover;          /* maintain aspect ratio */
  display: block;
  margin-left: auto;
  margin-right: auto;         /* center horizontally */
  border: 2px solid #1e40ff; /* blue border */
  box-shadow: 0 4px 12px rgba(30,64,255,0.25); /* subtle blue glow */
  background: #ffffff;        /* white background behind logo */
}



/* ===== PAYMENT FORM CONTAINER ===== */
.payment-form {
  background: #E0DAD1;          /* ash/carton background */
  padding: 24px;
  border-radius: 20px;
  margin: 16px 0;

  display: flex;
  flex-direction: column;
  gap: 16px;

  /* neomorphic outer box */
  box-shadow:
    8px 8px 20px rgba(0, 0, 0, 0.12),
    -8px -8px 20px rgba(255, 255, 255, 0.9);
}

/* Form heading */
.payment-form h3 {
  margin: 0 0 12px 0;
  color: #5C4033;               /* brown header */
  font-weight: 600;
  text-align: left;
}

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


/* Labels */
.form-group label {
  display: block;          /* ensures full width */
  text-align: left;        /* align text to the left */
  font-size: 14px;
  color: #050505;          /* brown/black labels */
  font-weight: 500;
  margin-bottom: 4px;      /* small spacing from input */
}


/* Inputs */
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c4b7a6;    /* soft brown border */
  background: #F7F3EE;           /* slightly lighter ash for input */
  color: #5C4033;                /* brown text */
  font-size: 14px;

  /* inner neomorph */
  box-shadow:
    inset 4px 4px 6px rgba(0, 0, 0, 0.05),
    inset -4px -4px 6px rgba(255, 255, 255, 0.7);
}

.form-group input::placeholder {
  color: #8B6D5C;               /* lighter brown placeholder */
}

.form-group input:focus {
  outline: none;
  border-color: #8B6D5C;        /* darker brown on focus */
  box-shadow:
    inset 2px 2px 4px rgba(0,0,0,0.1),
    inset -2px -2px 4px rgba(255,255,255,0.6);
}




.status-success {
  color: #28a745; /* green */
}

.status-pending {
  color: #ff9800; /* orange */
}

.status-declined {
  color: #dc3545; /* red */
}

.status-failed {
  color: #d32f2f; /* dark red */
}

.status-unknown {
  color: #6c757d; /* gray */
}


/* ================= FULLSCREEN OVERLAY ================= */



/* Fullscreen overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
}


/* ================= POPUP BOX ================= */
.popup-box {
  width: 90%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 40px; /* Very rounded corners */
  position: relative;
  padding: 40px 20px 20px 20px;
  animation: popIn 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  text-align: center;
  font-family: sans-serif;
}

/* THE SIDE WING TABS */
.side-wing {
  position: absolute;
  width: 25px;
  height: 60px;
  background: white;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.side-wing.left { left: -10px; }
.side-wing.right { right: -10px; }

/* ================= CLOSE BUTTON ================= */
.popup-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 22px;
  cursor: pointer;
  color: #ccc;
}

/* ================= CONTENT STYLES ================= */
.subtitle {
  color: #777;
  font-size: 1.1rem;
  margin: 15px 0 25px 0;
}

.stats-list {
  text-align: left;
  padding: 0 15px;
  color: #444;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 25px;
}

.stats-list p { margin: 5px 0; }

/* ================= COMMUNITY BOX ================= */
.community-section {
  background: #f0f4ff; /* Light blue tint */
  border-radius: 25px;
  padding: 20px 15px;
}

.community-section h3 {
  margin-top: 0;
  font-size: 16px;
  color: #1faa59;
  margin-bottom: 15px;
}

.telegram-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1faa59; /* Deep brown */
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.telegram-btn:last-child { margin-bottom: 0; }

.tg-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) invert(1); /* Makes icon white */
}

/* ================= ANIMATION ================= */
@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}




/* ===== 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 GRID
   =============================== */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 20px;
   padding-bottom: 120px;
  background-color: #f5f5f5; /* Light grey bg to make cards pop */
  box-sizing: border-box;
}

/* ===============================
   PRODUCT CARD
   =============================== */
.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* ===============================
   IMAGE SECTION (product-right)
   =============================== */
.product-right {
  order: 1; 
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.product-logo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
}

/* ===============================
   PRICE PILL (Top Right of Image)
   =============================== */
.product-price {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #32CD32; /* Green pill */
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 0;
  z-index: 10;
}

/* ===============================
   INFO BOXES (product-info-left)
   =============================== */
.product-info-left {
  order: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Daily, Cycle, and Total boxes */
.info-box {
  background: #eef2f0; /* Soft ash bg */
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  color: #808080; /* muted label color */
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Total Income spans full width */
.info-box:nth-child(3) {
  grid-column: span 2;
}

/* Numbers inside boxes */
.info-box span {
  color: #32CD32; /* green numbers */
  font-size: 16px;
  font-weight: bold;
}

/* Plan Title spans full width */
.plan-title {
  grid-column: span 2;
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: bold;
  color: #32CD32;
}

/* ===============================
   INVEST BUTTON
   =============================== */
.invest-btn {
  grid-column: span 2; /* Stretch full width */
  margin-top: 10px;
  background: #32CD32; /* green button */
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invest-btn::before {
  content: "+ "; /* optional plus sign */
}

/* ===============================
   LOCK LOGIC (Optional)
   =============================== */
.product-card[data-locked="true"] {
  opacity: 0.8;
  filter: grayscale(0.5);
}

/* ===============================
   MOBILE RESPONSIVE
   =============================== */
@media (max-width: 480px) {
  .product-list {
    flex-direction: column; /* single column always */
    gap: 16px;
  }

  .product-logo img {
    height: 140px;
  }

  .info-box {
    padding: 10px;
  }

  .info-box span {
    font-size: 14px;
  }

  .invest-btn {
    padding: 12px;
    font-size: 15px;
  }

  .plan-title {
    font-size: 18px;
  }

  .product-price {
    font-size: 12px;
    padding: 4px 10px;
  }
}


/* ================= INVITE PAGE (NEUMORPHIC) ================= */
.invite-page {
  width: 100%;
  min-height: 100vh;
  background: #f4f6fb; /* soft off-white */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ================= FIXED HEADER ================= */
.invite-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  background: #1db954; /* green */
  color: #ffffff; /* white text for header title */

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 14px 0;
  z-index: 1000;

  box-shadow:
    4px 4px 12px rgba(0, 0, 0, 0.08),
   -4px -4px 12px rgba(255, 255, 255, 0.9);
}

/* Header Title */
.invite-header-fixed h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff; /* white text */
}

/* Back Button */
.invite-back-btn {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);

  background: #ffffff; /* white background for button */
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;

  color: #000000; /* black text/icon */
  font-size: 18px;
  cursor: pointer;

  box-shadow:
    2px 2px 6px rgba(0,0,0,0.1),
   -2px -2px 6px rgba(255,255,255,0.8);
}


/* ================= EARN CARD ================= */
.earn-card {
  width: calc(100% - 32px);
  margin: 90px auto 16px;
  padding: 16px;
  background: #f4f6fb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000000;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.earn-card p {
  font-size: 16px;
  font-weight: 600;
}

.earn-icon {
  color: #1db954; /* placeholder green */
  font-size: 18px;
}

/* ================= CARDS STRUCTURE ================= */
.bank-display-card {
  width: calc(100% - 32px);
  margin: 12px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Card header */
.bank-display-card .card-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #1db954;
}

/* Status text (top right) */
.status-text {
  font-weight: 500;
  color: #6b7280; /* ash/gray */
}

/* ================= REFERRAL COPY BUTTON ================= */
.ref-copy-btn {
  flex-shrink: 0;       /* prevent shrinking */
  white-space: nowrap;  /* text stays on one line */
  background: #f4f6fb;
  color: #1db954;
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.ref-copy-btn:hover {
  transform: translateY(-1px);
}

/* ================= REF BOX ================= */
.ref-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap; /* prevent wrapping on mobile */
}

.ref-box input,
.ref-box div {
  flex: 1 1 auto; /* grow and shrink */
  min-width: 0;   /* allow shrinking on small screens */
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f4f6fb;
  color: #000000;
  overflow-x: auto;
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .ref-box input,
  .ref-box div {
    font-size: 14px;
    padding: 8px 10px;
  }

  .ref-copy-btn {
    padding: 6px 10px;
    font-size: 14px;
  }
}

/* ================= COMMISSION GRID ================= */
.commission-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.commission-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #000000;
}

.commission-item .green-text {
  color: #1db954;
  font-weight: 700;
}

/* ================= SHARE GRID ================= */
.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.share-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #f4f6fb;
  border-radius: 8px;
  justify-content: center;
  font-size: 14px;
  color: #000000;
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .invite-top-boxes,
  .bank-display-card {
    width: calc(100% - 24px);
    margin: 12px auto;
  }

  .earn-card p {
    font-size: 14px;
  }

  .ref-box input,
  .ref-box div {
    font-size: 14px;
    padding: 8px 10px;
  }

  .share-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================= TEAM PAGE ================= */

/* Team Page Container */
.team-page {
  width: 100%;
  min-height: 100vh;
  background: #f6f6f6; /* light ash page */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0 20px;
  margin: 0;
  box-sizing: border-box;
}

/* ================= FIXED HEADER ================= */
.team-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #2ecc71; /* GREEN HEADER */
  color: #ffffff;      /* WHITE TEXT */
  text-align: center;
  padding: 15px 0;
  z-index: 1000;
}

/* Header Title */
.team-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* ===============================
   BACK BUTTON - NEUMORPHIC CIRCLE
   =============================== */
.team-header .back-btn {
  position: absolute;
  top: 12px;
  left: 12px;

  width: 40px;               /* make it a circle */
  height: 40px;
  padding: 0;                /* remove extra padding */
  
  background: #ffffff;       /* white background */
  border: none;
  border-radius: 50%;        /* perfect circle */

  display: flex;
  align-items: center;
  justify-content: center;

  color: #000000;            /* black icon/text */
  font-size: 18px;
  cursor: pointer;

  /* Neumorphic effect */
  box-shadow: 3px 3px 6px rgba(0,0,0,0.15),
              -3px -3px 6px rgba(255,255,255,0.7);
  transition: all 0.2s ease;
}

/* Pressed effect on click */
.team-header .back-btn:active {
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2),
              inset -2px -2px 5px rgba(255,255,255,0.6);
  transform: scale(0.95);
}


/* Spacer under header */
.team-page > div[style*="height"] {
  height: 70px;
}


/* ================= LEVEL CARD (TRUE EDGE TO EDGE) ================= */
.level-card {
  width: calc(100% + 40px);   /* cancel parent padding */
  margin-left: -20px;
  margin-right: -20px;

  background: #ffffff;
  padding: 10px 14px;
  border-radius: 0;           /* flush edges */

  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


/* ================= LEVEL BUTTONS ================= */
#levelButtons {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* DEFAULT BUTTON */
.level-btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 10px;
  background: #f0f0f0;     /* ASH */
  color: #2ecc71;          /* GREEN TEXT */
  font-weight: 600;
  text-align: center;
  border: 1px solid #d5d5d5;
  cursor: pointer;

  box-shadow: none;
  outline: none;
}

/* ACTIVE / CURRENT LEVEL */
.level-btn.active {
  background: #2ecc71;     /* GREEN */
  color: #ffffff;          /* WHITE TEXT */
  border-color: #2ecc71;
}


/* ================= TEAM LIST ================= */
#teamList {
  margin: 16px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;               /* slightly tighter */
  max-width: 500px;
}

/* ================= TEAM CARD ================= */
.team-card {
  width: 100%;
  min-height: 88px;        /* SLIM CARD */
  background: #ffffff;
  padding: 14px 16px;      /* lighter padding */
  border-radius: 14px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 14px;
  color: #000000;

  /* SUBTLE 3D DEPTH */
  border: 1px solid #e6e6e6;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.12);
}

/* ================= LEFT / RIGHT ================= */
.team-card .left,
.team-card .right {
  display: flex;
  flex-direction: column;
}

/* ================= NUMBER / NAME ================= */
.team-card .primary-text {
  font-weight: 800;        /* BOLD NUMBER */
  font-size: 15px;
  color: #000000;
}

/* ================= SECONDARY TEXT ================= */
.team-card .secondary-text {
  font-size: 12px;
  margin-top: 4px;
  color: #2ecc71;          /* GREEN ACCENT */
  font-weight: 500;
}

/* ================= AMOUNT ================= */
.team-card .amount {
  font-weight: 900;        /* EXTRA BOLD */
  font-size: 17px;
  color: #2ecc71;
  text-align: right;
  letter-spacing: 0.3px;  /* crisp number look */
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .team-card {
    min-height: 80px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .team-card .primary-text {
    font-size: 14px;
  }

  .team-card .amount {
    font-size: 16px;
  }
}


/* ================= RESET & GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background: #ffffff;
}

/* ================= PAGE CONTAINER ================= */
.withdraw-page {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  padding-top: 70px; /* space for fixed header */
}

/* ================= FIXED HEADER ================= */
.withdraw-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #1db954; /* GREEN */
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1000;
}

/* Header title */
.withdraw-header-fixed h2 {
  font-size: 18px;
  font-weight: 600;
}

/* Back button */
.withdraw-back-btn {
  position: absolute;
  left: 14px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

/* ================= CONTENT WRAPPER ================= */
.withdraw-content {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px; /* SPACE BETWEEN CARDS */
}

/* ================= BALANCE CARD ================= */
.withdraw-card {
  width: calc(100% - 32px);
  margin: 0 auto;

  padding: 20px;
  border-radius: 12px;

  /* GREEN GLASS EFFECT */
  background: #1db954;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #ffffff;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border: 1px solid rgba(255, 255, 255, 0.25);
}

.withdraw-label {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.9;
}

.withdraw-balance {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}



/* ================= BANK DISPLAY CARD ================= */
.bank-display-card {
  width: calc(100% - 32px);
  margin: 20px auto 0;

  background: #ffffff;
  border-radius: 12px;
  padding: 16px;

  border: 1px solid #e5e7eb;

  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 15px;
  font-weight: 700;
  color: #1db954;

  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 12px;
}

.edit-btn {
  font-size: 14px;
  font-weight: 600;
  color: #1db954;
  cursor: pointer;
}

/* ================= ACCOUNT ROWS ================= */
.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* remove line from last row */
.account-row:last-child {
  border-bottom: none;
}

/* LEFT TEXT */
.account-row span:first-child {
  font-size: 14px;
  color: #000000;
  font-weight: 500;
}

/* RIGHT TEXT */
.account-row span:last-child {
  font-size: 14px;
  color: #1db954;
  font-weight: 600;
  text-align: right;
}



/* ================= WITHDRAWAL CARD ================= */
.withdraw-card-container {
  width: calc(100% - 32px);
  margin: 20px auto 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;

  display: flex;
  flex-direction: column;
  gap: 12px;

  /* 3D box effect */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Header text */
.withdraw-card-container .section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1db954;
}

/* Input field */
#withdrawAmountInput {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  outline: none;
}

#withdrawAmountInput:focus {
  border-color: #1db954;
}

/* ================= FEE BAR INSIDE CARD ================= */
.withdraw-card-container .fee-card {
  width: 100%; /* same width as input/button */
  background: #FFA500;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  padding: 8px 0;
  text-align: center;
}

/* ================= WITHDRAW BUTTON INSIDE CARD ================= */
.withdraw-card-container .withdraw-submit-btn {
  width: 100%;
  margin-top: 8px;

  background: #1db954;
  color: #ffffff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.withdraw-card-container .withdraw-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Success message */
.withdraw-success {
  text-align: center;
  color: #1db954;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .withdraw-card-container {
    padding: 14px;
  }

  #withdrawAmountInput {
    font-size: 15px;
    padding: 12px;
  }

  .withdraw-card-container .withdraw-submit-btn {
    font-size: 15px;
    padding: 12px;
  }

  .withdraw-card-container .fee-card {
    font-size: 13px;
    padding: 6px 0;
  }
}


/* ================= IMPORTANT INFO CARD ================= */
.info-card {
  width: calc(100% - 32px); /* same spacing as other cards */
  margin: 20px auto 0;

  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;

  display: flex;
  flex-direction: column;
  gap: 12px;

  /* 3D box effect */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  /* take remaining space */
  flex-grow: 1;
}

/* Header text */
.info-card .section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1db954;
  margin-bottom: 12px;
}

/* List styling */
.info-card ol {
  padding-left: 20px;
  margin: 0;
}

.info-card li {
  font-size: 14px;
  color: #000000; /* main text black */
  margin: 6px 0;
}

/* Numbers green */
.info-card li::marker {
  color: #1db954;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 480px) {
  .info-card {
    padding: 14px;
  }

  .info-card .section-title {
    font-size: 14px;
  }

  .info-card li {
    font-size: 13px;
  }
}

/* ================= MOBILE TWEAKS ================= */
@media (max-width: 480px) {
  .withdraw-balance {
    font-size: 22px;
  }

  .withdraw-submit-btn {
    font-size: 15px;
  }
}


/* ================= RECORDS PAGE ================= */
.records-page {
  width: 100vw;
  padding-top: 60px;           /* space for fixed header */
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow-y: auto;
  background: #f5f5f5;
  box-sizing: border-box;
}

/* ================= FIXED HEADER ================= */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;

  background: #2ecc71;   /* GREEN HEADER */
  color: #ffffff;        /* WHITE TEXT */

  font-size: 18px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10000;
}

/* ================= BACK BUTTON (INSIDE HEADER) ================= */
.records-back-btn {
  position: absolute;
  top: 12px;           /* vertically centered in header */
  right: 12px;         /* move to right side */

  background: #ffffff; /* WHITE CIRCLE */
  color: #2ecc71;      /* GREEN ICON / TEXT */
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

  width: 36px;
  height: 36px;
  padding: 0;
  line-height: 36px;   /* center text vertically */
  text-align: center;

  border-radius: 50%;  /* perfect circle */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.records-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* ================= RECORD CARD (ATM STYLE) ================= */
.record-card {
  width: 100%;
  min-height: 110px;                 /* CARD BODY */
  margin: 0 0 14px 0;

  padding: 20px 18px;
  background: #f2f2f2;               /* ASH BACKGROUND */
  color: #2ecc71;                    /* PURPLE TEXT */

  border-radius: 18px;               /* ATM CURVE */
  display: flex;
  flex-direction: column;
  gap: 6px;

  font-size: 14px;
  box-sizing: border-box;

  /* REAL ATM 3D DEPTH */
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    0 3px 0 rgba(255, 255, 255, 0.95) inset,
    0 -2px 0 rgba(0, 0, 0, 0.06) inset;
}

/* ================= CARD TEXT ================= */
.record-transaction {
  font-weight: 700;
  font-size: 15px;
  color: #2ecc71;
}

.record-amount {
  font-weight: 700;
  font-size: 16px;
  color: #2ecc71;
}

.record-status {
  font-weight: 600;
  font-size: 13px;
}

.record-time {
  font-size: 12px;
  color: #2ecc71;                    /* SOFT GREEN */
}

/* ================= STATUS COLORS ================= */
.status-success { color: #16a34a; }  /* green */
.status-pending { color: #ca8a04; }  /* amber */
.status-failed  { color: #dc2626; }  /* red */

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .record-card {
    min-height: 100px;
    padding: 18px 16px;
  }

  .record-transaction {
    font-size: 14px;
  }

  .record-amount {
    font-size: 15px;
  }

  .records-back-btn { top: 60px; font-size: 14px; }
}




/* ================= 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;
}

/* ================= FIXED HEADER ================= */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;               /* fixed height */
  background: #32CD32;        /* green header */
  color: #ffffff;             /* white text */
  z-index: 1000;
  display: flex;
  align-items: center;        /* vertically center content */
  justify-content: center;    /* center title */
  border-bottom: 2px solid #c0c0c0;
  padding: 0 10px;            /* horizontal padding */
  font-weight: 500;
  font-size: 18px;
}

.investment-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  flex: 1;                     /* keeps title centered */
}

/* Back Button - Neumorphic Circle */
.investment-back-btn {
  position: absolute;           /* relative to header */
  top: 10px;
  left: 10px;
  width: 40px;                  /* make it a circle */
  height: 40px;                 /* equal width & height */
  background: #1c1c1c;          /* dark/black base */
  color: #ffffff;
  border: none;
  border-radius: 50%;           /* perfect circle */
  display: flex;
  align-items: center;          /* center icon vertically */
  justify-content: center;      /* center icon horizontally */
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  
  /* Neumorphic shadow */
  box-shadow: 5px 5px 10px #121212, 
             -5px -5px 10px #2a2a2a;
  transition: all 0.2s ease;
}

.investment-back-btn:hover {
  background: #2a2a2a;
  box-shadow: inset 3px 3px 6px #121212, 
              inset -3px -3px 6px #2a2a2a;
}


/* ===============================
   INVESTMENT LIST (GRID – MATCH PRODUCT)
   =============================== */
.investment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two columns */
  gap: 12px;

  width: 100%;
  margin-top: 20px;
  padding-bottom: 120px;
}

/* ===============================
   INVESTMENT CARD (3D STYLE)
   =============================== */
.investment-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #ffffff;
  color: #000000;

  padding: 16px;                     /* a bit more padding inside */
  margin: 12px;                      /* spacing from screen edges */
  border-radius: 16px;               /* curved corners */
  
  /* 3D / raised effect */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15),   /* main shadow */
              0 2px 4px rgba(0,0,0,0.1);     /* subtle inner shadow */

  position: relative;
  min-height: 220px;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* ===============================
   LOGO (TOP LEFT)
   =============================== */
.investment-right {
  order: 1;

  display: flex;
  justify-content: flex-start;
  align-items: flex-start;

  margin-bottom: 10px;
}

.investment-right .product-logo {
  width: 60px;
  height: 60px;
}

.investment-right .product-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0;
}

/* ===============================
   PRICE (TOP RIGHT)
   =============================== */
.investment-right .product-price {
  position: absolute;
  top: 10px;
  right: 10px;

  font-size: 13px;
  font-weight: bold;
  color: #000000;
}

/* ===============================
   INFO (MIDDLE) - TRUE 2x2 GRID
   =============================== */
.investment-info-left {
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2 columns */
  grid-auto-rows: minmax(50px, auto);      /* auto row height */
  gap: 10px;                               /* row & column spacing */
  width: 100%;
  margin-top: 10px;
}

.investment-info-left .info-box {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  padding: 8px 10px;
  background: #f9f9f9;                     /* subtle background */
  border-radius: 4px;
  display: flex;
  justify-content: space-between;          /* label left, value right */
  align-items: center;
}

.investment-info-left .info-box span {
  color: #6A0DAD;                          /* purple numbers */
  font-weight: bold;
}

/* ===============================
   INVEST BUTTON (BOTTOM)
   =============================== */
.investment-info-left .invest-btn {
  grid-column: 1 / -1;                     /* span full width */
  margin-top: 12px;
  width: 100%;
  padding: 8px 0;

  background: #6A0DAD;
  color: #ffffff;

  font-weight: bold;
  font-size: 13px;

  border: none;
  border-radius: 0;
  cursor: pointer;
}

/* ===============================
   SMALL DEVICES - KEEP 2x2 GRID
   =============================== */
@media (max-width: 480px) {
  .investment-info-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* still 2 columns */
    gap: 6px;
  }
}

/* ===============================
   EXTRA SMALL SCREENS - 1 COLUMN
   =============================== */
@media (max-width: 320px) {
  .investment-info-left {
    grid-template-columns: 1fr;           /* stack boxes */
  }
}


/* ================= FINTECH ALERT ================= */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;

  background: rgba(0, 0, 0, 0.85); /* slightly transparent black for glass effect */
  backdrop-filter: blur(10px);      /* glassy blur behind alert */
  color: #32CD32;                   /* bright fintech green text */

  padding: 16px 22px;
  border-radius: 12px;

  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;

  box-shadow:
    0 4px 12px rgba(50,205,50,0.4),   /* soft neon green glow */
    0 8px 24px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 99999;

  border: 1px solid rgba(50,205,50,0.4); /* subtle neon border */
}

/* ================= SHOW ALERT ================= */
.custom-alert.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow:
    0 6px 18px rgba(50,205,50,0.6),
    0 12px 30px rgba(0,0,0,0.6);
}

/* ================= OPTIONAL ICON ================= */
.custom-alert i {
  margin-right: 8px;
  font-size: 16px;
  vertical-align: middle;
  color: #32CD32;
}


/* ================= FULLSCREEN LOADER (GREEN TECH) ================= */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a; /* very dark black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

/* ================= GREEN SPINNER ================= */
.loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  
  border: 6px solid rgba(50, 205, 50, 0.2); /* soft transparent green */
  border-top: 6px solid #32CD32; /* bright neon green */
  border-right: 6px solid #2aaa2a; /* slightly darker green for gradient effect */

  animation: spinPulse 1.2s linear infinite, pulseGlow 1.5s ease-in-out infinite;

  box-shadow:
    0 0 10px #32CD32,
    0 0 20px rgba(50,205,50,0.6),
    0 0 30px rgba(50,205,50,0.4),
    inset 0 0 6px rgba(255,255,255,0.2);
}

/* ================= ANIMATIONS ================= */
@keyframes spinPulse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow:
      0 0 10px #32CD32,
      0 0 20px rgba(50,205,50,0.6),
      0 0 30px rgba(50,205,50,0.4),
      inset 0 0 6px rgba(255,255,255,0.2);
  }
  50% {
    box-shadow:
      0 0 18px #32CD32,
      0 0 36px rgba(50,205,50,0.7),
      0 0 50px rgba(50,205,50,0.5),
      inset 0 0 8px rgba(255,255,255,0.3);
  }
}


/* 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: #1e40ff; /* 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: #6A0DAD;   /* 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 {
  display: none;
}

/* ================= BOTTOM NAV ================= */
#bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  transform: translateY(100%);
  transition: transform 0.35s ease;

  z-index: 2000;
}

#bottomNav.open {
  transform: translateY(0);
}

/* ================= LOCKED STATE ================= */
body.locked {
  overflow: hidden;
}

/* Blur ONLY the app content (allow interactions to pass through) */
body.locked #appWrapper {
  filter: blur(16px);
  user-select: none;
}






.verification-wrapper {
  position: relative;
}

.verification-wrapper input {
  padding-right: 90px; /* space for code on the right */
}

.verification-code {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  user-select: none;
}

.verification-code span:nth-child(1) { color: #2ecc71; } /* green */
.verification-code span:nth-child(2) { color: #ff69b4; } /* pink */
.verification-code span:nth-child(3) { color: #9b59b6; } /* purple */
.verification-code span:nth-child(4) { color: #f39c12; } /* orange */
