

/* 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 GLASS CONTAINER ================= */
.container {
  width: 100vw;
  height: 100vh;
  padding: 40px 30px;
  border-radius: 0; /* full screen, no rounded edges */

  position: fixed;
  top: 0;
  left: 0;

  /* IMAGE BACKGROUND WITH GLASS EFFECT */
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("photo2.jpg") center / cover no-repeat;

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border: none;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);

  color: #eaffea;
  display: none;
  flex-direction: column;
  text-align: center;

  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

/* SHOW CONTAINER */
.container.active {
  display: flex;
}

/* SUBTLE 3D EFFECT */
.container:hover {
  transform: scale(1.01);
}


/* ================= LOGO ================= */
.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(107, 255, 138, 0.8);
  box-shadow: 0 4px 20px rgba(0, 100, 0, 0.4);
}

/* ================= FORM ELEMENTS ================= */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 10px 0 5px;
  font-weight: 600;
  color: #6bff8a;
}

input {
  padding: 12px;
  border-radius: 15px;
  border: 1px solid rgba(107, 255, 138, 0.6);
  outline: none;
  font-size: 16px;

  background: rgba(180, 180, 180, 0.35); /* GREY INPUT */
  color: #6bff8a;

  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input::placeholder {
  color: rgba(200, 255, 220, 0.6);
}

input:focus {
  border-color: #6bff8a;
  box-shadow: 0 0 12px rgba(107, 255, 138, 0.5);
}

/* ================= BUTTON ================= */
button {
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(135deg, #0f9d58, #1db954, #34d399);
  color: #ffffff;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 18px rgba(0, 100, 50, 0.4);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 150, 80, 0.5);
  background: linear-gradient(135deg, #1db954, #0f9d58, #34d399);
}

/* ================= WELCOME TEXT ================= */
.welcome-text {
  margin-bottom: 25px;
}

.welcome-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
}

.welcome-text p {
  font-size: 14px;
  color: rgba(200, 255, 220, 0.85);
}

/* ================= TOGGLE TEXT ================= */
.toggle-text {
  margin-top: 15px;
  font-size: 14px;
  color: #6bff8a;
  cursor: pointer;
}

/* ================= PHONE INPUT ================= */
.phone-input {
  display: flex;
  margin-top: 10px;
}


.phone-input input {
  flex: 1;
  border-radius: 0 15px 15px 0;
  border: 1px solid #1db954;
  padding: 12px;
  outline: none;

  background: rgba(180, 180, 180, 0.35);
  color: #6bff8a;
}

.phone-input input:focus {
  border-color: #6bff8a;
  box-shadow: 0 0 10px rgba(107, 255, 138, 0.5);
}



/* 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: #000000;
}

/* Dashboard header */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;                 /* white text */
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  padding: 12px 20px;
  z-index: 10000;
  background: #32cd32;            /* lemon green */
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(50, 205, 50, 0.4);
}

/* Remove extra spacing in dashboard cards if used */
.dashboard-card h2.dashboard-header {
  margin: 0;
}


/* ===============================
   QUICK ACTIONS GRID (WITH BOX)
   =============================== */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;

  margin-top: 24px;           /* push it down from top content */
  margin-bottom: 10px;

  padding: 14px 10px;         /* inner spacing */
  background: #f2f2f2;        /* light ash */
  border-radius: 0;           /* NO curved edges */
  box-shadow: none;
}


/* ===============================
   BUTTON STYLE (CLEAN)
   =============================== */
.quick-actions-grid .qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 0;
  background: transparent;
  border-radius: 0;

  cursor: pointer;
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  font-size: 12px;
}

/* ===============================
   ICON STYLE (SMALL CIRCLE)
   =============================== */
.quick-actions-grid .qa-btn i {
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 6px;
  background: #32cd32;        /* lemon green */
  color: #ffffff;
}

/* ===============================
   TEXT STYLE
   =============================== */
.quick-actions-grid .qa-btn span {
  white-space: nowrap;
  color: #000000;
}

/* ===============================
   REMOVE LINK UNDERLINE
   =============================== */
.quick-actions-grid a {
  text-decoration: none;
}



/* 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: center;          /* center the text */
}

.products-header h2 {
  font-size: 18px;
  font-weight: bold;
  color: #f4b400;              /* light orange / yellow */
}



.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;
}



/* ===== SLIM BALANCE CARD ===== */
.balance-bar-slim-card {
    width: 100%;                        /* full width */
    padding: 12px 20px;                 /* vertical and horizontal padding */
    display: flex;
    justify-content: space-between;     /* left and right alignment */
    align-items: center;
    background: #ffffff;                /* white card background */
    border-radius: 8px;                 /* slightly rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* subtle shadow */
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 20px;                /* space below the card */
}

/* Title */
.balance-title-slim {
    font-size: 18px;
    font-weight: 600;
    color: #000;                        /* black text */
}

/* Amount */
.balance-amount-slim {
    font-size: 20px;
    font-weight: 700;
    color: #22c55e;                     /* green text */
}


/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed; /* fixed at bottom */
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2; /* light ash background */
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1); /* subtle shadow for light bg */
  z-index: 1000; /* stays on top */
}

/* Individual nav items */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000000; /* black text for contrast */
  font-size: 12px;
  transition: color 0.2s ease;
}

.bottom-nav .nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  filter: drop-shadow(0 0 1px #000000); /* subtle black glow for visibility */
}

.bottom-nav .nav-item:hover {
  color: #16a34a; /* green highlight on hover for contrast */
}



/* ===== PROFILE FIXED HEADER ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000; /* black 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 black 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: 15px;
  box-shadow: 0 4px 16px rgba(30, 64, 255, 0.1); /* subtle shadow */
  margin-top: 15px;
}

/* Vertical layout for settings items */
.settings-list-grid {
  display: flex;
  flex-direction: column; /* vertical stack */
  gap: 12px;
}

/* Each item box */
.settings-item, .logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: bold;
  color: #000000;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30, 64, 255, 0.15);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

/* Hover effect */
.settings-item:hover, .logout-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: translateX(4px);
}

/* Icon inside each item */
.settings-item i, .logout-btn i {
  font-size: 20px;
  color: #000000;
  transition: color 0.2s;
}

.settings-item:hover i, .logout-btn:hover i {
  color: #000000;
}

/* Mobile responsive */
@media (max-width: 450px) {
  .settings-item, .logout-btn {
    padding: 12px 10px;
    font-size: 14px;
  }

  .settings-item i, .logout-btn i {
    font-size: 18px;
  }
}



/* CSS: hide by default */
#bottomNav {
  display: none;
}




/* ===== BANK PAGE ===== */
.bank-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 10px;
  display: none;
  background: #ffffff;        /* white page background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #000000;             /* black text */
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding-top: 70px;          /* space for fixed header */
}

/* Slim Header */
.bank-header {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  z-index: 100;
  background: #000000;        /* black header */
  padding: 10px 12px;         /* slim padding */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  height: 50px;
}

/* Header Title */
.bank-header h2 {
  font-size: 20px;
  color: #ffffff;  /* white text */
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

/* Back Button */
.back-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 18px;
  color: #ffffff;             /* white text */
  cursor: pointer;
  transition: transform 0.2s;
}

.back-btn:hover {
  transform: translateY(-2px);
}

/* Form Section */
.bank-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Form Section Headers */
.form-section h3 {
  color: #000000;             /* black header */
  font-weight: bold;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #000000;             /* black */
}

/* Inputs & Selects */
select, input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  margin-bottom: 10px;
  font-size: 15px;
  background: #000000;         /* black input */
  color: #ffffff;              /* white text */
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.2);
}

/* Update Button */
.update-bank-btn {
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  background: #32cd32;         /* green */
  color: #ffffff;              /* white text */
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.2s;
}

.update-bank-btn:hover {
  transform: translateY(-2px);
  background: #28a428;         /* darker green on hover */
}

/* Success Message */
.success-message {
  text-align: center;
  font-weight: bold;
  color: green;
  margin-top: 15px;
  font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 450px) {
  .bank-header h2 {
    font-size: 18px;
  }

  select, input {
    padding: 18px 10px;
    font-size: 14px;
  }

  .update-bank-btn {
    padding: 12px;
    font-size: 15px;
  }
}







/* ===== FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;       
  background: #0f9d58;           /* green header */
  z-index: 10000;         
  text-align: center;
  padding: 12px 20px;      
  border-bottom: 2px solid #34d399; /* lighter green underline */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  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: 500;      
}

/* ===== PAGE CONTENT ===== */
.recharge-page {
  width: 100%;
  max-width: 400px;
  margin: 60px auto 0;     
  padding: 15px;
  text-align: center;
  display: none;
  color: #000000;         
  background: #ffffff;     /* white box */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== SUBHEADER ===== */
.recharge-subheader {
  font-size: 16px;
  color: #FFA500;  /* green text */
  margin-bottom: 15px;
}

/* ===== AMOUNT GRID ===== */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;  /* small boxes */
  margin-bottom: 15px;
}

.amount-option {
  background: #ffffff;     /* white box */
  padding: 10px 0;         /* smaller height */
  border-radius: 8px;
  font-weight: bold;
  color: #0f9d58;          /* green text */
  text-align: center;
  cursor: pointer;
  border: 1px solid #c0c0c0; /* silver edge */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.2s;
  font-size: 14px;         /* smaller font for grid */
}

.amount-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.amount-option.active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* ===== CUSTOM AMOUNT INPUT ===== */
.custom-amount input {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #444444; /* dark border */
  background: #333333;         /* grey/black background */
  color: #0f9d58;              /* green text */
  caret-color: #ffffff;         /* white cursor */
}

/* placeholder color */
.custom-amount input::placeholder {
  color: #ffffff;  /* white text placeholder */
}

/* ===== DEPOSIT BUTTON ===== */
.deposit-btn {
  width: 100%;
  padding: 15px;
  background: #0f9d58;  /* green background */
  color: #ffffff;        /* white text */
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(15,157,88,0.3);
  transition: all 0.3s;
}

.deposit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15,157,88,0.5);
}




/* ===== RECHARGE CONFIRMATION PAGE ===== */
.recharge-confirmation-page {
  width: 100%;
  min-height: 100vh;          /* grow naturally with content */
  margin: 0;
  padding: 90px 15px 20px;    /* more top padding to push content below thin header */
  display: none;
  overflow-y: auto;
  text-align: center;
  background: #ffffff;         /* white background */
  color: #000000;              /* default black text */
  box-sizing: border-box;
}


/* ================= CONFIRMATION HEADER ================= */
.confirmation-header {
  position: fixed;          /* stay at top */
  top: 0;
  left: 0;
  width: 100%;              /* full width */
  background: #000000;      /* black background */
  color: #ffffff;           /* default text color */
  text-align: center;
  padding: 8px 15px;        /* thinner header */
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);

  display: flex;
  flex-direction: column;   /* stack h2 and amount vertically */
  justify-content: center;
  align-items: center;
  gap: 4px;                 /* spacing between h2 and amount */
}

/* Header Title */
.confirmation-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

/* Selected Amount Display */
.confirmation-header .selected-amount {
  margin: 0;
  font-weight: bold;
  font-size: 16px;
  color: #00ff00;          /* bright green for visibility */
}


/* ================= ACCOUNT DETAILS CARD ================= */
.account-details {
  background: #ffffff;           /* white background */
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  color: #000000;                /* black text inside card */
  border: 1px solid #c0c0c0;    /* silver border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtle shadow */
}

/* ================= DETAIL ROWS ================= */
.detail-row {
  display: flex;
  align-items: center;
  font-weight: bold;
  padding: 12px 0;
  border-bottom: 1px solid #dcdcdc;  /* light silver separator */
  position: relative;
}

.detail-row:last-child {
  border-bottom: none;
}

/* ================= COPY BUTTON ================= */
.copy-btn {
  background: #000000;            /* silver button */
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: #000000;                 /* black text */
  font-weight: bold;
  transition: 0.3s;

  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.copy-btn:hover {
  background: #a9a9a9;            /* darker silver on hover */
  box-shadow: 0 0 6px #b0b0b0, 0 0 10px #dcdcdc; /* subtle glow */
}

/* ================= CONFIRM PAYMENT BUTTON ================= */
.confirm-payment-btn {
  width: 100%;
  padding: 15px;
  background: #0f9d58;           /* green button */
  color: #ffffff;                /* white text */
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.confirm-payment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  background: #0b7d46;            /* darker green on hover */
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 450px) {
  .amount-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .deposit-btn, .amount-option {
    font-size: 15px;
    padding: 12px 0;
  }
  .recharge-confirmation-page {
    padding: 100px 10px 20px;  /* more top space for header on mobile */
  }
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .confirmation-header h2 {
    font-size: 16px;
  }
}



/* ===== RECHARGE / BACK BUTTON ===== */
.recharge-back-btn {
  position: fixed;           /* fixed so it stays at top */
  top: 8px;                  /* slightly below top edge */
  left: 16px;
  z-index: 10001;
  background: #000000;       /* black button */
  color: #ffffff;            /* white text */
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}

/* Hover effect (just lift, no color change) */
.recharge-back-btn:hover {
  transform: translateY(-2px);
}


/* ===== 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 {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.payment-form h3 {
  margin-bottom: 12px;
  color: #1faa59; /* green text */
  font-weight: 600;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #1faa59; /* green labels */
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #ffffff; /* white input */
  color: #222;
  font-size: 14px;
}

.form-group input::placeholder {
  color: #999;
}

.form-group input:focus {
  outline: none;
  border-color: #1faa59;
  box-shadow: 0 0 0 2px rgba(31, 170, 89, 0.15);
}




/* ================= FULLSCREEN OVERLAY ================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 9999;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.5);
}

/* ================= POPUP BOX ================= */
.popup-box {
  width: 90%;
  max-width: 700px;
  min-height: 40vh;              /* tall popup */
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* content starts from top */
  align-items: center;
  animation: popIn 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3),
              0 0 12px rgba(30,64,255,0.2);
  overflow: hidden;
  text-align: center;
}

/* ================= CLOSE BUTTON ================= */
.popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

/* ================= IMAGE CONTAINER ================= */
.popup-logo {
  width: 100%;
  flex-grow: 1;                  /* container grows to fill popup height */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* ================= IMAGE ================= */
.popup-logo img {
  width: 100%;
  height: 100%;                  /* fills the container completely */
  object-fit: cover;             /* cover without distortion */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ================= TELEGRAM BUTTON ================= */
.telegram-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1e40ff;
  color: #fff;
  padding: 14px 25px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  width: 240px;
  height: 50px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25),
              0 0 10px rgba(30,64,255,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;               /* prevents shrinking */
  margin-bottom: 10px;
}

/* Icon inside button */
.telegram-btn .tg-icon {
  margin-right: 12px;
  width: 28px;
  height: 28px;
}

/* Hover effect */
.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35),
              0 0 15px rgba(30,64,255,0.3);
}

/* ================= ANIMATION ================= */
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ================= MOBILE ADJUSTMENTS ================= */
@media (max-width: 450px) {
  .popup-box {
    width: 95%;
    max-width: 350px;
    min-height: 55vh;
    padding: 15px;
  }

  .popup-logo {
    margin-bottom: 15px;
  }

  .popup-logo img {
    height: 100%;                /* fill mobile popup height */
  }

  .telegram-btn {
    width: 300px;
    height: 35px;
    font-size: 15px;
    padding: 20px 20px;
  }

  .telegram-btn .tg-icon {
    width: 24px;
    height: 24px;
  }
}



/* ===== 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: 12px;
  width: 100%;
  margin-top: 20px;
  padding-bottom: 120px; /* space for bottom nav */
}

/* PRODUCT CARD */
.product-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #ffffff; /* white card */
  color: #000000;      /* black text */
  border-radius: 0;    /* sharp edges */
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  min-height: 90px;    /* slim card */
  position: relative;  /* needed for top-right price */
}

/* LEFT SIDE INFO */
.product-info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.product-info-left h3 {
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 4px 0;
}

.info-box {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  margin: 2px 0;
}

.info-box span {
  color: #16a34a; /* green numbers */
  font-weight: bold;
}

/* BUY BUTTON */
.invest-btn {
  margin-top: 6px;
  padding: 6px 0;
  width: 80px;
  background: #32cd32; /* lemon green */
  color: #ffffff;
  font-weight: bold;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

/* PRICE TOP-RIGHT */
.product-price {
  position: absolute;
  top: 12px;
  right: 12px;
  font-weight: bold;
  color: #000000;
  font-size: 14px;
}

/* RIGHT SIDE IMAGE (LOGO) */
.product-logo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 60px;       /* slightly bigger */
  margin-left: 12px;
}

.product-logo img {
  width: 60px;       /* slightly bigger */
  height: 60px;
  object-fit: cover;
  border-radius: 0;  /* sharp edges */
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .product-card {
    flex-direction: row;      /* horizontal layout */
    align-items: center;      /* vertically center */
    padding: 8px;
    min-height: 70px;         /* slim card */
  }

  .product-info-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product-info-left h3 {
    font-size: 14px;
  }

  .info-box {
    font-size: 12px;
  }

  .invest-btn {
    width: 80px;              /* same as desktop */
    margin-top: 4px;          /* below text */
  }

  .product-logo {
    width: 50px;               /* slightly bigger than before */
    margin-left: 8px;
    justify-content: flex-end;
  }

  .product-logo img {
    width: 50px;               /* slightly bigger than before */
    height: 50px;
  }

  .product-price {
    top: 8px;
    right: 8px;
    font-size: 13px;
  }
}


/* Invite Page Container */
.invite-page {
  width: 100%;
  min-height: 100vh;
  background: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Fixed Header */
.invite-header-fixed {
  width: 100%;
  background: #32cd32;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Back Button */
.invite-back-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Header Title */
.invite-header-fixed h2 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

/* Push content below header */
.invite-top-boxes,
.level-card {
  margin-top: 70px; /* same as header height */
}

/* Top Two Green Boxes */
.invite-top-boxes {
  display: flex;
  gap: 10px;
  padding: 10px;
}

/* Invite Box */
.invite-box {
  flex: 1;
  background: #32cd32;
  color: #ffffff;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  min-height: 100px;
  box-sizing: border-box;
  gap: 10px;
}

/* Box left (copy button) */
.box-left {
  flex-shrink: 0;
}

/* Box content (label + value) */
.box-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* Labels and values */
.box-label {
  font-size: 14px;
  margin-bottom: 8px;
}
.box-value {
  font-size: 18px;
  font-weight: bold;
  word-break: break-word;
}

/* Copy Button */
.copy-btn {
  background: #ffffff;
  color: #32cd32;
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, transform 0.2s;
}

.copy-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* Level Card */
.level-card {
  margin: 15px 10px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Level Items */
.level-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.level1 .level-icon {
  background: orange;
}

.level2 .level-icon {
  background: green;
}

.level-text {
  font-weight: bold;
  font-size: 16px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 480px) {
  .invite-top-boxes {
    flex-direction: column;
  }
}


/* ================= TEAM PAGE ================= */

/* Team Page Container */
.team-page {
  width: 100%;
  min-height: 100vh;
  background: #f9f9f9; /* light grey background for page */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0 20px; /* add horizontal padding */
  margin: 0;
  box-sizing: border-box;
}

/* Fixed Header */
.team-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000; /* black header */
  color: #ffffff;      /* white text */
  text-align: center;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Header Title */
.team-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

/* Back Button in Header */
.team-header .back-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff; /* white button */
  color: #000000;      /* black text */
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 1px 1px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.2s;
}

.team-header .back-btn:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}

/* Spacer below header to prevent content overlap */
.team-page > div[style*="height: 60px"] {
  height: 70px; /* adjust to header height + padding */
}

/* Level Buttons Container */
#levelButtons {
  display: flex;
  justify-content: space-between;
  margin: 20px 0; /* vertical spacing */
  background: #ffffff; /* white box background */
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-wrap: nowrap; /* prevent wrapping on mobile */
  max-width: 500px;  /* limit width so buttons don't stick to edges */
  margin-left: auto;
  margin-right: auto; /* center horizontally */
  
  will-change: transform; /* fixes shaking */
  transform: translateZ(0); /* smooth GPU acceleration */
}

/* Level Buttons */
.level-btn {
  width: 48%;
  padding: 12px 0;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background: #ffffff; /* white button */
  color: #000000;      /* black text */
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.2s;
}

.level-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Team List */
#teamList {
  margin: 20px auto; /* auto margin centers content */
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px; /* prevent stretching on large screens */
}

/* Example Team Card */
.team-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  #levelButtons {
    flex-direction: row; /* keep left/right */
    gap: 10px;
    padding: 10px;
  }
  .level-btn {
    width: 48%; /* stay side by side */
  }
  .team-header h2 {
    font-size: 18px;
  }
  #teamList,
  #levelButtons {
    max-width: 100%; /* allow full width on small screens */
  }
}



/* ================= WITHDRAW PAGE ================= */

/* Page Container */
.withdraw-page {
  width: 100%;
  height: 100vh;          /* full viewport height */
  background: #f9f9f9;    
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;       /* prevent scrolling */
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Fixed Header */
.withdraw-header-fixed {
  width: 100%;
  background: #32cd32;     
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;        /* stay at the top */
  top: 0;                 /* align to top of viewport */
  left: 0;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;          /* above other content */
}

/* Header Title */
.withdraw-header-fixed h2 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}


/* Back Button in Header */
.withdraw-back-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Balance Card */
.withdraw-card {
  width: 100%;
  background: #ffffff;
  margin: 10px 0 5px 0;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  display: flex;               
  justify-content: space-between; 
  align-items: center;         
  flex-shrink: 0;
}

/* Balance label */
.withdraw-label {
  font-size: 16px;
  color: #888888;
  margin: 0;
}

/* Balance amount */
.withdraw-balance {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  margin: 0;
}

/* Bank Card */
.bank-display-card {
  width: 100%;
  background: #ffffff;
  padding: 15px;
  border-radius: 0 0 10px 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.bank-name,
.bank-account-number,
.bank-account-name {
  margin: 5px 0;
  font-size: 16px;
  color: #000000;
}

/* Withdrawal Form */
.withdraw-form {
  width: 100%;
  padding: 10px 10px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 1; /* allow form to take remaining space */
  box-sizing: border-box;
}

/* Form Label */
.withdraw-form label {
  align-self: flex-start;
  margin-left: 5px;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Amount Input */
#withdrawAmountInput {
  width: 100%;
  background: #000000; 
  color: #ffffff;
  border: none;
  padding: 16px 20px;  /* reasonable vertical padding */
  font-size: 16px;
  border-radius: 6px;
  box-sizing: border-box;
  margin-bottom: auto;
}

/* Submit Button */
.withdraw-submit-btn {
  width: 90%;
  max-width: 400px;
  background: #32cd32; 
  color: #ffffff;
  border: none;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px; 
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}

.withdraw-submit-btn:hover {
  transform: translateY(-2px);
  background: #32cd32;
}

/* Success Message */
.withdraw-success {
  text-align: center;
  margin-top: 15px;
  color: green;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .withdraw-header-fixed h2 {
    font-size: 18px;
  }
  #withdrawAmountInput {
    font-size: 14px;
    padding: 14px 12px;  /* reduced for mobile */
  }
  .withdraw-submit-btn {
    font-size: 16px;
    padding: 10px;
  }
}

/* Push content below fixed header */
.withdraw-card {
  margin-top: 70px; /* adjust based on header height */
}



/* ================= 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: #000000;         /* black 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: 6px;          /* PUSH UP */
  left: 12px;
  background: none;
  border: none;
  color: #000000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}


/* ================= RECORD CARD ================= */
.record-card {
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  background: #e5e5e5;         /* ash */
  border-radius: 0;            /* sharp edges */
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #000000;
  box-shadow: none;            /* no hover / depth */
  border-bottom: 1px solid #cccccc;
  box-sizing: border-box;
}

/* ================= CARD TEXT ================= */
.record-transaction,
.record-amount,
.record-status,
.record-time {
  width: 100%;
  color: #000000;
  font-weight: normal;
  text-align: left;
}

/* ================= STATUS COLORS ================= */
.status-success { color: #15803d; }
.status-pending { color: #b45309; }
.status-failed  { color: #b91c1c; }

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .record-card {
    padding: 12px 14px;
  }

  .records-header {
    font-size: 16px;
  }

  .records-back-btn {
    top: 60px;        /* even higher on mobile */
    font-size: 14px;
  }


}



/* ================= FULL PAGE ================= */
#myInvestmentPage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
  background: #ffffff;        /* 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: #000000;        /* black header */
  color: #ffffff;
  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 */
.investment-back-btn {
  position: absolute;          /* relative to header */
  top: 10px;
  left: 10px;
  background: #333333;
  color: #ffffff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  font-size: 16px;
}

.investment-back-btn:hover {
  background: #555555;
}

/* ================= INVESTMENT CARD ================= */
.investment-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #ffffff; 
  color: #000000;
  border-radius: 0;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  min-height: 90px;
  position: relative;
  margin: 8px 0;             /* slightly reduced margin to pull cards up */
}

.investment-info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.investment-info-left h3 {
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 4px 0;
}

.investment-info-left .info-box {
  font-size: 13px;
  font-weight: 600;
  margin: 2px 0;
}

.investment-info-left .info-box span {
  color: #16a34a; /* green numbers */
  font-weight: bold;
}

.investment-info-left .invest-btn {
  margin-top: 6px;
  padding: 6px 0;
  width: 80px;
  background: #32cd32;
  color: #ffffff;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.investment-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.investment-right .product-price {
  font-weight: bold;
  color: #000000;
  font-size: 14px;
  margin-bottom: 4px;
}

.investment-right .product-logo {
  width: 60px;
  height: 60px;
}

.investment-right .product-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .investment-card {
    flex-direction: row;
    padding: 8px;
    min-height: 70px;
  }

  .investment-info-left h3 {
    font-size: 14px;
  }

  .investment-info-left .info-box {
    font-size: 12px;
  }

  .investment-info-left .invest-btn {
    width: 80px;
    margin-top: 4px;
  }

  .investment-right .product-logo {
    width: 50px;
    height: 50px;
  }

  .investment-right .product-logo img {
    width: 50px;
    height: 50px;
  }

  .investment-right .product-price {
    font-size: 13px;
  }
}



/* ================= CUSTOM ALERT ================= */
.custom-alert {
  position: fixed;
  top: 16px;
  right: 16px;

  background: #000000;        /* solid black */
  color: #ffffff;             /* white text */

  padding: 14px 18px;
  border-radius: 8px;         /* subtle rounding */

  font-weight: 500;
  font-size: 15px;

  box-shadow: 0 6px 16px rgba(0,0,0,0.4); /* soft shadow */

  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99999;
}




/* ================= FULLSCREEN LOADER ================= */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;        /* black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* ================= SMALL BLUE SPINNER ================= */
.loader {
  width: 40px;                 /* smaller circle */
  height: 40px;
  border: 5px solid rgba(30, 64, 255, 0.2); /* faint circle */
  border-top: 5px solid #1e40ff;           /* bright blue top */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 10px #1e40ff, 0 0 20px #3b82f6; /* glowing effect */
}

/* ================= ANIMATIONS ================= */
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* 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: #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;
}
