
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Base body styles */
body {
  background: #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;
}


/* ================= GLASS FORM CONTAINER ================= */
.container {
  width: 400px;
  max-width: 90%;
  padding: 40px 30px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;

  background: url("photo5.jpg") center / cover no-repeat;

  box-shadow: 0 8px 32px rgba(10, 42, 102, 0.3);
  color: #000000; /* BLACK TEXT */

  display: none;
  flex-direction: column;
  text-align: center;

  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

/* glass layer — WHITE */
.container::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border: 1px solid rgba(255, 255, 255, 1);
  z-index: 0;
}

/* bring content above glass */
.container > * {
  position: relative;
  z-index: 1;
}

/* active state */
.container.active {
  display: flex;
}

.container:hover {
  transform: rotateY(2deg) rotateX(2deg);
}

/* ================= 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 #0a2a66;
  box-shadow: 0 4px 20px rgba(10, 42, 102, 0.6);
}

/* ================= FORM ELEMENTS ================= */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 10px 0 5px;
  font-weight: 600;
  color: #000000; /* BLACK */
}

input {
  padding: 12px;
  border-radius: 15px;
  border: 1px solid #0a2a66;
  outline: none;
  font-size: 16px;
  background: #ffffff;
  color: #000000; /* BLACK */
  transition: all 0.3s ease;
}

input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

input:focus {
  border-color: #0a2a66;
  box-shadow: 0 0 12px rgba(10, 42, 102, 0.4);
}

/* ================= BUTTON ================= */
button {
  margin-top: 20px;
  padding: 14px;
  background: #0a2a66;
  color: #ffffff; /* WHITE TEXT */
  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(10, 42, 102, 0.5);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 42, 102, 0.7);
}

/* ================= WELCOME TEXT ================= */
.welcome-text {
  margin-bottom: 25px;
}

.welcome-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000000; /* BLACK */
}

.welcome-text p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
}

/* ================= TOGGLE TEXT ================= */
.toggle-text {
  margin-top: 15px;
  font-size: 14px;
  color: #000000; /* BLACK */
  cursor: pointer;
}

/* ================= PHONE INPUT ================= */
.phone-input {
  display: flex;
  margin-top: 10px;
}

.phone-input .country-code {
  background: #0a2a66;
  padding: 12px;
  border: 1px solid #0a2a66;
  border-right: none;
  border-radius: 15px 0 0 15px;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
}

.phone-input input {
  flex: 1;
  border-radius: 0 15px 15px 0;
  border: 1px solid #0a2a66;
  padding: 12px;
  outline: none;
  background: #ffffff;
  color: #000000; /* BLACK */
}

.phone-input input:focus {
  border-color: #0a2a66;
  box-shadow: 0 0 10px rgba(10, 42, 102, 0.4);
}


/* 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: #0a2a66;            /* lemon green */
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Remove extra spacing in dashboard cards if used */
.dashboard-card h2.dashboard-header {
  margin: 0;
}



/* ===============================
   QUICK ACTIONS GRID (ASH)
   =============================== */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;

  margin-top: 24px;
  margin-bottom: 10px;

  padding: 14px 10px;
  background: #676767;        /* ash background */
  border-radius: 0;
  box-shadow: none;
}

/* ===============================
   BUTTON STYLE
   =============================== */
.quick-actions-grid .qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: transparent;
  padding: 0;
  border-radius: 0;

  cursor: pointer;
  text-decoration: none;

  color: #000000;
  font-weight: 600;
  font-size: 12px;
}

/* ===============================
   ICON STYLE (BOLD + WHITE)
   =============================== */
.quick-actions-grid .qa-btn i {
  font-size: 18px;            /* slightly bigger */
  font-weight: 900;           /* BOLD icon */

  width: 34px;
  height: 34px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 6px;

  background: #0a2a66;        /* dark blue circle */
  color: #ffffff;             /* WHITE icon */
}

/* ===============================
   TEXT STYLE
   =============================== */
.quick-actions-grid .qa-btn span {
  white-space: nowrap;
  color: #000000;
  font-weight: 600;
}

/* ===============================
   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: #000000;              /* 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;
}


/* ===== BLUE ATM CARD ===== */
.balance-bar-slim {
  width: 90%;
  max-width: 380px;
  height: 220px;
  margin: 25px auto;
  padding: 26px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* ATM BLUE CARD */
  background: linear-gradient(
    135deg,
    #0a2a66,
    #081a7a
  );

  border-radius: 30px; /* ATM curves */
  position: relative;
  overflow: hidden;

  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 12px rgba(255, 255, 255, 0.15);
}

/* SUBTLE LIGHT PATTERN */
.balance-bar-slim::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: rotate(20deg);
}

/* GOLD CHIP */
.balance-bar-slim::after {
  content: "";
  position: absolute;
  top: 65px;
  left: 26px;

  width: 58px;
  height: 44px;

  background: linear-gradient(
    135deg,
    #f5d76e,
    #d4af37
  );

  border-radius: 8px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.4),
    inset 0 0 10px rgba(0, 0, 0, 0.25),
    0 4px 10px rgba(0, 0, 0, 0.4);
}

/* CHIP LINES */
.balance-bar-slim::after {
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.25) 1px, transparent 1px),
    linear-gradient(135deg, #f5d76e, #d4af37);
  background-size: 18px 100%, 100% 14px, cover;
}

/* TITLE */
.balance-title-slim {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* BALANCE */
.balance-amount-slim {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* MOBILE */
@media (max-width: 480px) {
  .balance-bar-slim {
    height: 200px;
  }

  .balance-amount-slim {
    font-size: 30px;
  }
}


/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0a2a66; /* blue background */

  display: none; /* 👈 HIDDEN BY DEFAULT (important) */

  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  box-shadow: 0 -2px 12px rgba(30, 64, 255, 0.35); /* blue shadow */
  z-index: 1000;
}

/* ================= NAV ITEMS ================= */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff; /* white text */
  font-size: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* SVG / ICON STYLE */
.bottom-nav .nav-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  fill: #ffffff; /* white icons */
}

/* HOVER / ACTIVE STATE */
.bottom-nav .nav-item:hover {
  color: #dbeafe; /* soft light blue */
  transform: translateY(-2px);
}

.bottom-nav .nav-item:hover svg {
  fill: #dbeafe;
}


/* ===== 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: 18px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(10, 60, 255, 0.12);
  margin-top: 20px;
}

/* GRID LAYOUT (4 ITEMS) */
.settings-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 x 2 GRID */
  gap: 14px;
}

/* EACH BUTTON */
.settings-item,
.logout-btn {
  display: flex;
  flex-direction: column;       /* icon top, text bottom */
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 18px 10px;
  height: 90px;

  border-radius: 14px;
  background: #f8faff;          /* light white/blue */
  color: #0a3cff;               /* BLUE TEXT */
  font-weight: 700;
  text-align: center;

  cursor: pointer;

  box-shadow: 0 4px 12px rgba(10, 60, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ICON */
.settings-item i,
.logout-btn i {
  font-size: 22px;
  color: #0a2a66;
}

/* HOVER */
.settings-item:hover,
.logout-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(10, 60, 255, 0.25);
}

/* MOBILE POLISH */
@media (max-width: 450px) {
  .settings-item,
  .logout-btn {
    height: 80px;
    font-size: 14px;
  }

  .settings-item i,
  .logout-btn i {
    font-size: 20px;
  }
}



/* CARD WRAPPER — VERY IMPORTANT */
.atm-card-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* USER NUMBER ABOVE ATM CARD (TOP-LEFT) */
.card-user-number {
  position: absolute;
  top: -14px;
  left: 4%;

  padding: 6px 14px;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  z-index: 10;
}



/* ===== PURE GLASS SECTION ===== */
.apex-info-section {
  width: 100%;
  min-height: 60vh;
  margin-top: 20px;

  /* GLASS ONLY */
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-top-left-radius: 22px;
  border-top-right-radius: 22px;

  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px 20px;
}

/* TEXT CONTENT */
.apex-glass-overlay {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

/* TITLE */
.apex-glass-overlay h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0a3cff;
  margin-bottom: 16px;
}

/* PARAGRAPH */
.apex-glass-overlay p {
  font-size: 15px;
  font-weight: 600;
  color: #0a3cff;
  line-height: 1.7;
  margin-bottom: 12px;
}


/* ================= BANK PAGE ================= */

.bank-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 12px;
  display: none;

  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(30, 64, 255, 0.12);

  color: #000000;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding-top: 70px; /* space for fixed header */
}

/* ================= HEADER ================= */

.bank-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  max-width: 400px;
  height: 52px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: #1e40ff;
  padding: 10px 14px;

  z-index: 100;
  box-shadow: 0 3px 10px rgba(30, 64, 255, 0.15);
}

/* Header Title */
.bank-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff; /* BLUE */
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

/* Back Button */
.back-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #000000;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: transform 0.2s;
}

.back-btn:hover {
  transform: translateY(-2px);
}

/* ================= FORM ================= */

.bank-form {
  display: flex;
  flex-direction: column;
  gap: 22px;

  background: #ffffff;
  padding: 20px;
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(30, 64, 255, 0.1);
}

/* Section Headers */
.form-section h3 {
  color: #1e40ff;
  font-weight: 700;
  margin-bottom: 8px;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e40ff;
  display: block;
}

/* ================= INPUTS ================= */

select,
input {
  width: 100%;
  padding: 14px 14px;

  border-radius: 12px;
  border: 2px solid #1e40ff; /* BLUE GRID */

  font-size: 15px;
  background: #ffffff;
  color: #000000;

  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

select:focus,
input:focus {
  border-color: #0a3cff;
  box-shadow: 0 0 0 3px rgba(30, 64, 255, 0.15);
}

/* ================= BUTTON ================= */

.update-bank-btn {
  padding: 15px;
  font-size: 16px;
  font-weight: 700;

  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;

  border: none;
  border-radius: 14px;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s;
}

.update-bank-btn:hover {
  transform: translateY(-2px);
}

/* ================= SUCCESS MESSAGE ================= */

.success-message {
  text-align: center;
  font-weight: 700;
  color: #16a34a;
  margin-top: 15px;
  font-size: 16px;
}

/* ================= MOBILE ================= */

@media (max-width: 450px) {
  .bank-header h2 {
    font-size: 18px;
  }

  select,
  input {
    padding: 12px;
    font-size: 14px;
  }

  .update-bank-btn {
    padding: 13px;
    font-size: 15px;
  }
}



/* ===== FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;       
  background: #2563eb;           /* BLUE header */
  z-index: 10000;         
  text-align: center;
  padding: 12px 20px;      
  border-bottom: 2px solid #60a5fa; /* lighter BLUE 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;        
}

.recharge-header-fixed h2 {
  margin: 0;
  color: #ffffff;        
  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;     
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== SUBHEADER ===== */
.recharge-subheader {
  font-size: 16px;
  color: #000000;  /* BLACK text (was yellow) */
  margin-bottom: 15px;
}

/* ===== AMOUNT GRID ===== */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.amount-option {
  background: #ffffff;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: bold;
  color: #2563eb;          /* BLUE text */
  text-align: center;
  cursor: pointer;
  border: 1px solid #c0c0c0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.2s;
  font-size: 14px;
}

.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;
  background: #333333;
  color: #2563eb;          /* BLUE text */
  caret-color: #ffffff;
}

.custom-amount input::placeholder {
  color: #ffffff;
}

/* ===== DEPOSIT BUTTON ===== */
.deposit-btn {
  width: 100%;
  padding: 15px;
  background: #2563eb;     /* BLUE background */
  color: #ffffff;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  transition: all 0.3s;
}

.deposit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,99,235,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;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e40ff;      /* black */
  color: #ffffff;           /* white */
  text-align: center;
  padding: 8px 15px;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* Header Title */
.confirmation-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;           /* white */
}

/* Selected Amount Display */
.confirmation-header .selected-amount {
  margin: 0;
  font-weight: bold;
  font-size: 16px;
  color: #1e40ff;           /* blue */
}


/* ================= ACCOUNT DETAILS CARD ================= */
.account-details {
  background: #ffffff;      /* white */
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  color: #000000;           /* black */
  border: 1px solid #1e40ff;/* blue border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ================= DETAIL ROWS ================= */
.detail-row {
  display: flex;
  align-items: center;
  font-weight: bold;
  padding: 12px 0;
  border-bottom: 1px solid #000000; /* black separator */
  position: relative;
}

.detail-row:last-child {
  border-bottom: none;
}

/* ================= COPY BUTTON ================= */
.copy-btn {
  background: #1e40ff;      /* blue */
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: #ffffff;           /* white */
  font-weight: bold;
  transition: 0.3s;

  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.copy-btn:hover {
  background: #000000;      /* black */
  box-shadow: 0 0 6px rgba(30,64,255,0.6);
}

/* ================= CONFIRM PAYMENT BUTTON ================= */
.confirm-payment-btn {
  width: 100%;
  padding: 15px;
  background: #1e40ff;      /* blue */
  color: #ffffff;           /* white */
  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: #000000;      /* black */
}

/* ================= 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;
  }
  .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;
  top: 8px;
  left: 16px;
  z-index: 10001;
  background: #000000;      /* black */
  color: #ffffff;           /* white */
  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;
}

.recharge-back-btn:hover {
  transform: translateY(-2px);
}


/* ===== LOGO STYLING ===== */
.recharge-logo img,
.withdraw-logo img,
.confirmation-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #1e40ff; /* blue */
  box-shadow: 0 4px 12px rgba(30,64,255,0.25);
  background: #ffffff;      /* white */
}


/* ================= PAYMENT FORM ================= */
.payment-form {
  background: #ffffff;      /* white */
  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: #1e40ff;           /* blue */
  font-weight: 600;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #000000;           /* black */
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #000000;/* black */
  background: #ffffff;      /* white */
  color: #000000;           /* black */
  font-size: 14px;
}

.form-group input::placeholder {
  color: #000000;
  opacity: 0.5;
}

.form-group input:focus {
  outline: none;
  border-color: #1e40ff;    /* blue */
  box-shadow: 0 0 0 2px rgba(30,64,255,0.2);
}



/* ================= 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;
  }
}

/* ================= POPUP TEXT CONTENT ================= */
.popup-content {
  width: 100%;
  text-align: left;
  color: #0a2a66; /* primary blue */
  margin-bottom: 20px;
}

/* Title */
.popup-content h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #0a2a66;
}

/* Paragraphs */
.popup-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #0a2a66;
}

/* Strong highlights */
.popup-content strong {
  font-weight: 700;
  color: #0a2a66; /* slightly deeper blue for emphasis */
}

/* Commission List */
.popup-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.popup-content ul li {
  font-size: 15px;
  padding: 8px 12px;
  margin-bottom: 6px;
  background: rgba(30, 64, 255, 0.08); /* soft blue background */
  border-radius: 10px;
  font-weight: 600;
  color: #0a2a66;
}

/* Notes (earnings & withdrawal hours) */
.popup-content .note {
  font-size: 14px;
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(30, 64, 255, 0.06);
  border-left: 4px solid #0a2a66;
  border-radius: 8px;
  color: #0a2a66;
}

/* ================= MOBILE TEXT TWEAK ================= */
@media (max-width: 450px) {
  .popup-content h3 {
    font-size: 20px;
  }

  .popup-content p,
  .popup-content ul li {
    font-size: 14px;
  }
}




/* ===== PRODUCT PAGE ===== */
.product-page {
  width: 100%;
  padding: 20px;
  padding-bottom: 80px;
  padding-top: 65px; /* space for fixed header */
  background: #ffffff; /* white background */
  min-height: 100vh;
  color: #ffffff;      /* white text */
  display: none;       /* show when active */
}

/* ===== FIXED HEADER ===== */
.product-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e40ff; /* blue header */
  padding: 12px 0;
  z-index: 1000;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;      /* white text */
  box-shadow: 0 3px 8px rgba(30, 64, 255, 0.2); /* subtle blue shadow */
}

.product-header i {
  margin-right: 8px;
  color: #ffffff; /* white icon */
}



/* PRODUCT LIST */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0; /* edge to edge */
  padding-bottom: 120px;
}

/* PRODUCT CARD (ATM STYLE) */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;

  border-left: 5px solid #1e90ff; /* blue left edge */
}

/* HEADER */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-name {
  font-size: 16px;
  font-weight: bold;
  color: #000000; /* black */
}

.product-price {
  font-size: 16px;
  font-weight: bold;
  color: #0a2a66; /* blue */
}

/* BODY */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-row {
  display: flex;
  justify-content: space-between;
}

.card-row div {
  display: flex;
  flex-direction: column;
}

.card-row small {
  font-size: 12px;
  color: #000000; /* black */
}

.card-row strong {
  font-size: 14px;
  font-weight: bold;
  color: #0a2a66; /* blue highlight */
}

/* BUTTON */
.invest-btn {
  width: 100%;
  padding: 12px;
  background: #0a2a66;
  color: #ffffff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.invest-btn:hover {
  opacity: 0.9;
}

/* MOBILE — SAME LOOK */
@media (max-width: 480px) {
  .product-card {
    padding: 14px;
  }

  .plan-name,
  .product-price {
    font-size: 15px;
  }
}


/* ================= INVITE PAGE ================= */
.invite-page {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ================= HEADER ================= */
.invite-header-fixed {
  width: 100%;
  background: #0a2a66;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  padding: 14px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.invite-back-btn {
  position: absolute;
  left: 12px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

/* ================= HERO ================= */
.invite-hero {
  margin-top: 65px;
  text-align: center;
}

.invite-hero img {
  width: 100%;
  height: 160px;              /* smaller */
  object-fit: cover;
}

.invite-hero-text {
  color: #000000;
  font-size: 16px;            /* smaller */
  font-weight: bold;
  margin: 8px 0;
}

/* ================= GRID ================= */
.invite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;                  /* tighter gap */
  padding: 12px;
}

/* ================= INVITE BOX ================= */
.invite-box {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;        /* slightly smaller */
  padding: 12px;              /* tighter padding */

  display: grid;
  grid-template-rows: auto auto auto;
  text-align: center;
}

/* ================= TEXT ================= */
.box-label {
  font-size: 13px;
  color: #000000;
  margin-bottom: 4px;
}

.box-value,
.hint-text {
  font-size: 15px;
  font-weight: bold;
  color: #000000;
}

.hint-text {
  opacity: 0.7;
}

/* ================= COPY BUTTON ================= */
.copy-btn {
  margin-top: 8px;
  justify-self: center;
  background: #1e90ff;
  color: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 6px 14px;          /* smaller button */
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= HIDDEN INPUT ================= */
.hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

/* ================= TEAM PERFORMANCE ================= */
.team-performance-text {
  margin: 16px 12px;
  font-size: 16px;
  font-weight: bold;
  color: #0a2a66;
}


/* ================= BIG TEAM PERFORMANCE TABLE ================= */

.team-performance-box {
  width: 100%;                 /* FULL WIDTH */
  margin: 15px 0 30px;         /* no auto-centering */
  background: #ffffff;
  border-radius: 0;            /* EDGE TO EDGE */
  box-shadow: none;
  overflow: hidden;
  font-size: 16px;
}

/* Header row */
.performance-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0a2a66;         /* STRONG BLUE */
  color: #ffffff;
  padding: 18px 12px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
}

/* Data rows */
.performance-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 12px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
}

/* Text styling */
.performance-row span {
  font-weight: 700;
  color: #000000;
  font-size: 16px;
}

/* Highlight LEVEL */
.performance-row span:first-child {
  color: #0a2a66;              /* BLUE STATUS */
  font-weight: 800;
}

/* BONUS column highlight */
.performance-row span:last-child {
  color: #000000;
  font-weight: 800;
}

/* MOBILE BOOST */
@media (max-width: 480px) {
  .performance-header,
  .performance-row {
    padding: 20px 10px;
  }

  .performance-header {
    font-size: 14px;
  }

  .performance-row span {
    font-size: 15px;
  }
}


/* ================= COMMISSION DETAILS ================= */

.commission-details-box {
  width: 100%;
  margin: 20px 0 30px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
  border-top: 3px solid #0a3cff; /* blue accent */
  padding-bottom: 10px;
}

.commission-header {
  background: #000000;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 14px;
  text-transform: uppercase;
}

.commission-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 14px;
  border-bottom: 1px solid #eee;
}

.commission-number {
  min-width: 28px;
  height: 28px;
  background: #0a3cff;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
}

.commission-text {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
}

.rate-blue {
  color: #0a3cff;
  font-weight: 800;
}

/* Mobile polish */
@media (max-width: 480px) {
  .commission-text {
    font-size: 14px;
  }
}



/* ================= 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: #0a2a66;     
  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: #0a2a66; 
  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: #0a2a66;
}

/* Success Message */
.withdraw-success {
  text-align: center;
  margin-top: 15px;
  color: rgb(7, 56, 141);
  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: #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: #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 (PRODUCT STYLE) ================= */
.investment-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  gap: 14px;

  border-left: 5px solid #1e90ff; /* ATM blue edge */
}

/* ================= HEADER ================= */
.investment-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.investment-card .plan-name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.investment-card .product-price {
  font-size: 16px;
  font-weight: 700;
  color: #1e40af;
}

/* ================= BODY ================= */
.investment-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.investment-card .card-row {
  display: flex;
  justify-content: space-between;
}

.investment-card .card-row > div {
  display: flex;
  flex-direction: column;
}

.investment-card small {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.investment-card strong {
  font-size: 14px;
  font-weight: 600;
  color: #0a2a66;
}

/* ================= TIMER (BOTTOM CENTER) ================= */
.investment-card .timer-box {
  margin-top: auto;
  padding-top: 8px;
  text-align: center;
  border-top: 1px dashed #c7d2fe;
}

.investment-card .timer-box .countdown {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb; /* BLUE */
}

/* ================= ACTIVE BUTTON (BLUE, LEFT) ================= */
.investment-card .invest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  align-self: flex-start;
  margin-right: auto;

  min-width: 120px;
  padding: 10px 18px;

  background: linear-gradient(135deg, #1e90ff, #2563eb);
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;

  border: none;
  border-radius: 10px;
  cursor: default;

  box-shadow: 0 4px 10px rgba(30, 144, 255, 0.35);
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .investment-card {
    padding: 14px;
  }

  .investment-card .plan-name,
  .investment-card .product-price {
    font-size: 15px;
  }
}




/* ================= 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;
}


/* ================= PROTECTED UI ================= */
#dashboard,
#bottomNav {
  display: none;
}



/* ================= FLOATING NAV CONTROL ================= */

#navToggle {
  position: fixed;
  bottom: 90px; /* sits above bottom nav */
  right: 20px;

  width: 64px;
  height: 44px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: #0a2a66;
  font-size: 22px;

  border: 1px solid rgba(10, 42, 102, 0.35);
  cursor: pointer;

  z-index: 2001;
  display: none; /* auth decides */

  box-shadow: 0 8px 18px rgba(10, 42, 102, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Show toggle ONLY when logged in */
body.logged-in #navToggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover / press feedback */
#navToggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 42, 102, 0.35);
}

#navToggle:active {
  transform: scale(0.95);
}

/* ================= BOTTOM NAV ================= */

/* Hidden forever by default */
#bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2000;
}

/* Visible ONLY when toggled */
#bottomNav.open {
  transform: translateY(0);
}


/* ================= FLOATING TELEGRAM (PROFILE PAGE) ================= */
.profile-page .telegram-float-profile {
  position: fixed;
  bottom: 90px;              /* above bottom nav */
  left: 16px;
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: #1e90ff;       /* Telegram blue */
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(30,144,255,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover / tap */
.profile-page .telegram-float-profile:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(30,144,255,0.45);
}

/* Mobile safe */
@media (max-width: 480px) {
  .profile-page .telegram-float-profile {
    bottom: 100px;
    left: 12px;
  }
}
