
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 {
  width: 400px;
  max-width: 92%;
  padding: 45px 30px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;

  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(18px);

  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  color: #000;
  display: none;
  flex-direction: column;
  text-align: center;
  transition: 0.4s;

  margin-top: 120px;   /* 🔥 THIS moves the form down */
}


/* show form */
.container.active {
  display: flex;
  animation: fadeUp 0.6s ease;
}


/* animation */
@keyframes fadeUp {
  from {opacity:0; transform:translateY(40px);}
  to {opacity:1; transform:translateY(0);}
}


/* ================= LOGO ================= */
.logo img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #79a2e5;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


/* ================= TEXT ================= */
.welcome-text h2 {
  margin: 5px 0;
  font-size: 26px;
  color: #000;
}

.welcome-text p {
  font-size: 14px;
  color: #555;
  margin-bottom: 25px;
}


/* ================= INPUT ================= */
label {
  text-align: left;
  font-weight: 600;
  margin: 12px 0 5px;
}

input {
  padding: 13px;
  border-radius: 14px;
  border: 1px solid #79a2e5;
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

input:focus {
  border-color: #000;
  box-shadow: 0 0 10px rgba(121,162,229,0.5);
}


/* ================= PHONE ================= */
.phone-input {
  display: flex;
}

.country-code {
  background: #79a2e5;
  color: #fff;
  padding: 13px;
  border-radius: 14px 0 0 14px;
  font-weight: bold;
}

.phone-input input {
  flex: 1;
  border-radius: 0 14px 14px 0;
}


/* ================= PASSWORD ================= */
.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}


/* ================= BUTTON ================= */
button {
  margin-top: 22px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #79a2e5;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 8px 25px rgba(121,162,229,0.5);
}

button:hover {
  transform: translateY(-2px);
  background: #000;
}


/* ================= TOGGLE ================= */
.toggle-text {
  margin-top: 18px;
  font-size: 14px;
  color: #000;
  cursor: pointer;
}




/* 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: 16px;                /* slightly smaller for slim look */
  margin: 0;
  padding: 8px 16px;              /* slimmer padding */
  z-index: 10000;
  background: #79a2e5;            /* sky blue background */
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(135, 206, 235, 0.5); /* soft sky blue glow */
  border-radius: 0;               /* keep slim, no rounding */
}


/* Remove extra spacing in dashboard cards if used */
.dashboard-card h2.dashboard-header {
  margin: 0;
}


/* ===============================
   QUICK ACTIONS GRID (SKY BLUE)
   =============================== */
.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: #79a2e5;       /* sky blue 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: #ffffff; /* white text */
  font-weight: 600;
  font-size: 12px;
}

/* ===============================
   ICON STYLE (WHITE ICON)
   =============================== */
.quick-actions-grid .qa-btn i {
  font-size: 18px;
  font-weight: 900;

  width: 34px;
  height: 34px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 6px;

  background: #ffffff;   /* white circle background */
  color: #79a2e5;        /* sky blue icon */
}

/* ===============================
   TEXT STYLE
   =============================== */
.quick-actions-grid .qa-btn span {
  white-space: nowrap;
  color: #ffffff;        /* white text */
  font-weight: 600;
}

/* ===============================
   REMOVE LINK UNDERLINE
   =============================== */
.quick-actions-grid a {
  text-decoration: none;
}

/* Flyer Banner - full width slider */
.balance-flyer {
  width: 100vw;       
  height: 180px;      
  overflow: hidden;
  border-radius: 0;   
  border: none;       
  position: relative;
  margin: 0;          
}

/* Slider wrapper */
.flyer-slider {
  display: flex;
  width: 100%;         /* only as wide as container, images inside flex */
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

/* Each image in the slider */
.flyer-card {
  min-width: 100%;    /* ensures 1 image = full banner width */
  height: 100%;
  flex-shrink: 0;     
  object-fit: cover;  
}



/* Product Section Wrapper */
.product-section {
  margin-top: 20px;
  padding: 0 10px;
}

/* Products Header */
.products-header {
  margin-bottom: 12px;
  text-align: left; /* align text to left */
}

.products-header h2 {
  display: inline-block;        
  padding: 6px 16px;            
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;               /* white text */
  background: #79a2e5;          /* sky blue background */
  border-radius: 50px;          
  font-family: 'Arial Black', 'Helvetica', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;    
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* subtle black shadow */
}





.welcome-card {
  background-color: #1E3A8A; /* SONY-style blue */
  color: white;
  border-radius: 12px;       
  padding: 30px;             
  margin: 0;                 /* remove side margins */
  width: 100%;               /* full width of container/screen */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.welcome-content {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: flex-start;  /* all left aligned */
}

.welcome-text {
  font-size: 16px;           
  font-weight: 300;          
  margin: 0;                 
}

.user-number {
  font-size: 20px;           
  font-weight: 700;          
  margin: 4px 0 0 0;         /* small space below header */
  letter-spacing: 1px;
}




body {
  background-color: #f0f2f5; /* Light background to make the card pop */
  font-family: sans-serif;
}

.dashboard-container {
  width: 95%;
  max-width: 400px;
  margin: 40px auto;
  position: relative;
}

/* TOP BLUE BAR */
.top-header {
  background-color: #79a2e5;
  border-radius: 50px;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.user-greeting {
  color: #1a1a1a;
  font-size: 18px;
}

.account-btn {
  background: black;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* THE BLACK CARD */
.balance-bar-slim {
  background-color: #1a1a1a;
  border-radius: 25px;
  padding: 30px 20px 20px 20px;
  margin-top: -10px; /* Slight overlap */
  position: relative;
  color: white;
}

/* HANGING CONNECTORS */
.connector {
  position: absolute;
  top: -25px;
  width: 3px;
  height: 40px;
  background: #333;
  border-radius: 2px;
}

.connector::before {
  content: "";
  position: absolute;
  top: 0; left: -3px;
  width: 8px; height: 8px;
  background: #333;
  border-radius: 50%;
}

.connector.left { left: 45px; }
.connector.right { right: 45px; }

/* BALANCE SECTION */
.balance-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 0 10px;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label {
  font-size: 13px;
  color: #bbbbbb;
}

.balance-amount-slim, .value {
  font-size: 24px;
  font-weight: bold;
}

/* INNER GREY DOCK */
.action-dock {
  background-color: #333333;
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  padding: 20px 10px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: white;
  text-align: center;
  width: 30%;
}

.icon-circle {
  width: 55px;
  height: 55px;
  background-color: #79a2e5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 22px;
  font-weight: bold;
}

.icon-outline {
  border: 2px solid black;
  background-color: #79a2e5;
}

/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff; /* white background */
  
  display: none; /* 👈 HIDDEN BY DEFAULT (important) */

  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  box-shadow: 0 -2px 12px rgba(135, 206, 235, 0.3); /* soft sky blue shadow */
  z-index: 1000;
}

/* ================= NAV ITEMS ================= */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #79a2e5; /* sky blue 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: #79a2e5; /* sky blue icons */
}

/* HOVER / ACTIVE STATE */
.bottom-nav .nav-item:hover {
  color: #79a2e5; /* slightly darker sky blue on hover */
  transform: translateY(-2px);
}

.bottom-nav .nav-item:hover svg {
  fill: #79a2e5;
}


/* ===== PROFILE FIXED HEADER ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #79a2e5; /* 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;
}



/* VERTICAL LIST */
.settings-list-grid {
  display: flex;
  flex-direction: column;
  gap: 16px; /* space between items */
  padding: 0;
}

/* EACH ITEM: ICON LEFT, TEXT RIGHT */
.settings-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #79a2e5;
}

/* ICON CIRCLE */
.icon-circle {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* ICON STYLE */
.icon-circle i {
  color: #000;
  font-size: 16px;
}

/* HOVER EFFECT */
.settings-item:hover .icon-circle {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 450px) {
  .icon-circle {
    width: 32px;
    height: 32px;
  }

  .icon-circle i {
    font-size: 14px;
  }

  .settings-item {
    font-size: 14px;
  }
}





/* ===== 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 */
}

/* ================= FIXED BANK HEADER (SLIM BLUE) ================= */
.bank-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 48px;                 /* slim height */

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #79a2e5;          /* solid fintech blue */
  color: #ffffff;

  z-index: 1000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25); /* subtle shadow for depth */
  padding: 0 14px;

  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}


/* Header Title */
.bank-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  flex: 1;
}

/* ================= BACK BUTTON ================= */
.back-btn{
  position: absolute;
  left: 14px;
  top: 12px;             /* pushed up inside header */
  width: 34px;
  height: 34px;

  background: #ffffff;    /* white button */
  border-radius: 50%;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

/* ================= ARROW ================= */
.arrow{
  display: block;
  width: 10px;
  height: 10px;
  border-left: 3px solid #0a2a66;  /* navy arrow */
  border-bottom: 3px solid #0a2a66;
  transform: rotate(45deg);
}


/* ================= BANK FORM ATM CARD ================= */
.bank-form {
  display: flex;
  flex-direction: column;
  gap: 20px;

  background: linear-gradient(145deg, #1c1c1c, #2a2a2a); /* black fintech card */
  padding: 22px;
  border-radius: 22px;
  max-width: 400px;
  margin: 20px auto;

  /* 3D card shadow */
  box-shadow:
    0 12px 28px rgba(0,0,0,0.5),
    inset 0 2px 6px rgba(255,255,255,0.05);

  font-family: 'Poppins', 'Orbitron', sans-serif;
  color: #79a2e5; /* fintech blue for labels */
  transition: all 0.3s ease;
}

.bank-form:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(0,0,0,0.6),
    inset 0 2px 6px rgba(255,255,255,0.08);
}

/* ================= SECTION HEADERS ================= */
.form-section h3 {
  color: #79a2e5; /* blue fintech */
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

/* ================= LABELS ================= */
label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #79a2e5; /* fintech blue */
  display: block;
  font-size: 13px;
}

/* ================= INPUTS / SELECT ================= */
select,
input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #79a2e5; /* fintech blue border */
  background: #000000;        /* black input bg */
  color: #ffffff;             /* white text */
  font-size: 15px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

select:focus,
input:focus {
  border-color: #79a2e5;
  box-shadow: 0 0 0 3px rgba(121,162,229,0.2);
}

/* ================= BUTTON ================= */
.update-bank-btn {
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  background: #79a2e5;         /* fintech blue button */
  color: #ffffff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.update-bank-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  background: #5a86c1; /* slightly darker on hover */
}

/* ================= SUCCESS MESSAGE ================= */
.success-message {
  text-align: center;
  font-weight: 700;
  color: #16a34a; /* green success */
  margin-top: 12px;
  font-size: 15px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 450px) {
  .bank-form {
    padding: 18px;
  }
  select,
  input {
    padding: 12px;
    font-size: 14px;
  }
  .update-bank-btn {
    padding: 12px;
    font-size: 15px;
  }
}


/* ================= FINTECH WHITE INPUTS & BLUE BUTTON ================= */
#accountNumber,
#accountName {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #79a2e5;   /* fintech blue border */
  background: #ffffff;          /* white input */
  color: #000000;               /* black text */
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 12px;          /* spacing between inputs */
  transition: border 0.2s, box-shadow 0.2s;
}

#accountNumber::placeholder,
#accountName::placeholder {
  color: #a0a0a0;               /* subtle gray placeholder */
  opacity: 1;
}

#accountNumber:focus,
#accountName:focus {
  border-color: #79a2e5;       /* blue border on focus */
  box-shadow: 0 0 0 3px rgba(121,162,229,0.2); /* subtle glow */
}

/* ================= BLUE FINTECH BUTTON ================= */
.update-bank-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  background: #79a2e5;          /* fintech blue button */
  color: #ffffff;               /* white text */
  border: none;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.update-bank-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  background: #5a86c1;          /* darker blue on hover */
}




/* ===== FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;       
  background: #79a2e5;           /* BLUE header */
  z-index: 10000;         
  text-align: center;
  padding: 12px 20px;      
  border-bottom: 2px solid #000000; /* 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: #FFD700;        /* yellow text */
  margin-bottom: 15px;
  text-align: left;      /* move text to the left */
}

/* ===== 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: #79a2e5;          /* 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: #79a2e5;          /* BLUE text */
  caret-color: #ffffff;
}

.custom-amount input::placeholder {
  color: #ffffff;
}

/* ===== DEPOSIT BUTTON ===== */
.deposit-btn {
  width: 100%;
  padding: 15px;
  background: #79a2e5;     /* 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: #79a2e5;      /* your blue */
  color: #ffffff;           
  text-align: center;
  padding: 8px 15px;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(121,162,229,0.4);

  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 */
}


/* ================= GOOGLE FONTS ================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Poppins:wght@400;600&display=swap');

/* ================= ACCOUNT DETAILS CARD ================= */
.account-details {
  background: #ffffff;
  padding: 14px 16px;              /* smaller padding = slim */
  border-radius: 16px;
  margin-bottom: 18px;
  color: #79a2e5;
  font-family: 'Poppins','Orbitron',sans-serif;
  border: 1px solid #e4ebff;

  /* Fintech 3D soft look */
  box-shadow:
    0 6px 16px rgba(0,0,0,0.12),
    inset 0 1px 3px rgba(255,255,255,0.7);

  transition: 0.25s ease;
}

.account-details:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}


/* ================= DETAIL ROWS ================= */
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;                 /* smaller = slim card */
  border-bottom: 1px dashed #e6ecff;
  font-size: 14px;
}

.detail-row:last-child {
  border-bottom: none;
}

/* BLUE LABEL TEXT */
.detail-row span {
  color: #79a2e5;
  font-weight: 600;
}

/* BLACK AMOUNT / ACCOUNT NUMBER */
.detail-row strong {
  color: #000000;
  font-weight: 700;
}


/* ================= NEW COPY BUTTON ================= */
.copy-btn {
  border: none;
  background: linear-gradient(145deg, #79a2e5, #4d83da);
  color: #ffffff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;

  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
  transition: 0.25s ease;
}

/* NICE PRESS EFFECT */
.copy-btn:active {
  transform: scale(0.9);
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.25);
}

/* HOVER GLOW */
.copy-btn:hover {
  background: #79a2e5;
  box-shadow: 0 0 10px rgba(121,162,229,0.7);
}


/* ================= MOBILE ================= */
@media (max-width: 450px) {

  .detail-row {
    font-size: 13px;
    padding: 6px 0;
  }

  .copy-btn {
    font-size: 11px;
    padding: 3px 8px;
  }

}


/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 450px) {

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .confirm-payment-btn {
    font-size: 15px;
    padding: 14px;
  }

}



/* ================= ATM CARD FORM (FINTECH BLACK) ================= */
.atm-card-form {
  background: linear-gradient(145deg, #1c1c1c, #2a2a2a); /* black → dark ash */
  border-radius: 20px;
  padding: 20px 22px;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  position: relative;

  /* 3D + soft shadow */
  box-shadow:
    0 10px 25px rgba(0,0,0,0.4),
    inset 0 2px 6px rgba(255,255,255,0.05);

  font-family: 'Poppins', 'Orbitron', sans-serif;
  transition: all 0.3s ease;
}

.atm-card-form:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 35px rgba(0,0,0,0.5),
    inset 0 2px 6px rgba(255,255,255,0.08);
}


/* ================= CARD CHIP (FINTECH GOLD) ================= */
.atm-chip {
  width: 40px;
  height: 28px;
  background: linear-gradient(145deg, #ffd966, #e6b800); /* gold gradient */
  border-radius: 4px;
  position: absolute;
  top: 20px;
  left: 20px;

  box-shadow:
    0 2px 6px rgba(0,0,0,0.3),
    inset 0 1px 3px rgba(255,255,255,0.6);
}

/* ================= FORM HEADER ================= */
.atm-card-form h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #1e40ff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}

/* ================= FORM GROUP ================= */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: inline-block;   /* make it inline so it can sit beside input */
  width: 35%;              /* takes left portion of the row */
  font-size: 13px;
  color: #79a2e5;          /* blue label text */
  font-weight: 600;
  margin-bottom: 0;        /* remove bottom margin for proper row alignment */
  text-align: left;        /* ensure text stays left-aligned */
}


.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  color: #000000; /* black amount / input text */
  font-size: 14px;
  transition: all 0.25s ease;
}

.form-group input::placeholder {
  color: #a0a0a0;
  opacity: 0.6;
}

.form-group input:focus {
  outline: none;
  border-color: #79a2e5;
  box-shadow: 0 0 0 2px rgba(121,162,229,0.2);
}

/* ================= CONFIRM PAYMENT BUTTON ================= */
.confirm-payment-btn {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: linear-gradient(145deg, #79a2e5, #4f84d8);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.5px;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.25),
    inset 0 2px 4px rgba(255,255,255,0.35);

  transition: all 0.3s ease;
}

.confirm-payment-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

/* ================= MOBILE ================= */
@media (max-width: 450px) {
  .atm-card-form {
    padding: 16px 18px;
  }

  .form-group input {
    font-size: 13px;
    padding: 8px 10px;
  }

  .confirm-payment-btn {
    font-size: 15px;
    padding: 12px;
  }

  .atm-chip {
    width: 36px;
    height: 24px;
  }
}











/* ===== BACK BUTTON ===== */
.recharge-back-btn{
  position: absolute;
  left: 15px;
  top: 12px;              /* push it UP */
  
  width: 34px;
  height: 34px;
  background: #ffffff;    /* white button */
  border-radius: 50%;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

/* ===== SAME ARROW STYLE ===== */
.arrow{
  display: block;
  width: 10px;
  height: 10px;
  border-left: 3px solid #0a2a66;   /* navy arrow */
  border-bottom: 3px solid #0a2a66;
  transform: rotate(45deg);
}

/* Make withdraw bank card text white */
#withdrawBankCard {
  color: #ffffff;       /* white text */
  font-weight: 600;     /* bold for emphasis */
  font-size: 16px;      /* readable size */
  text-align: center;   /* center the text */
}


/* ===== LOGO STYLING ===== */
.recharge-logo img,
.withdraw-logo img,
.confirmation-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #1e40ff; /* blue */
  box-shadow: 0 4px 12px rgba(30,64,255,0.25);
  background: #ffffff;      /* white */
}

/* ================= 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;
  background: #ffffff; /* fintech black background */
  padding: 20px;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  animation: popIn 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4),
              0 0 12px rgba(121,162,229,0.25);
  overflow: hidden;
  text-align: center;
  border: 1px solid #79a2e5; /* fintech blue border */
  color: #79a2e5; /* fintech blue text */
  font-family: 'Poppins', sans-serif;
}

/* ================= CLOSE BUTTON ================= */
.popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #79a2e5; /* fintech blue */
  font-weight: bold;
}

/* ================= IMAGE CONTAINER ================= */
.popup-logo {
  width: 100%;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* ================= IMAGE ================= */
.popup-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #79a2e5; /* fintech blue border */
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ================= TELEGRAM BUTTON ================= */
.telegram-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #79a2e5; /* keep button blue */
  color: #ffffff;       /* white text */
  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(121,162,229,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  margin-bottom: 10px;
}

/* Icon inside button */
.telegram-btn .tg-icon {
  margin-right: 12px;
  width: 28px;
  height: 28px;
}

/* Hover */
.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35),
              0 0 15px rgba(121,162,229,0.4);
}

/* ================= POPUP TEXT CONTENT ================= */
.popup-content {
  width: 100%;
  text-align: left;
  color: #79a2e5; /* fintech blue text */
  margin-bottom: 20px;
}

/* Title */
.popup-content h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #79a2e5; /* fintech blue */
}

/* Paragraphs */
.popup-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #79a2e5;
}

/* Strong highlights */
.popup-content strong {
  font-weight: 700;
  color: #79a2e5;
}

/* 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(121,162,229,0.15);
  border: 1px solid #79a2e5;
  border-radius: 10px;
  font-weight: 600;
  color: #79a2e5;
}

/* Notes */
.popup-content .note {
  font-size: 14px;
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(121,162,229,0.10);
  border-left: 4px solid #79a2e5;
  border-radius: 8px;
  color: #79a2e5;
}

/* ================= ANIMATION ================= */
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ================= MOBILE ================= */
@media (max-width: 450px) {
  .popup-box {
    width: 95%;
    max-width: 350px;
    min-height: 55vh;
    padding: 15px;
  }

  .popup-content h3 {
    font-size: 20px;
  }

  .popup-content p,
  .popup-content ul li {
    font-size: 14px;
  }

  .telegram-btn {
    width: 300px;
    height: 35px;
    font-size: 15px;
    padding: 20px 20px;
  }
}



/* ===== 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: #79a2e5;
  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 #000000; /* blue left edge */
}

/* HEADER */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-name {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff; /* black */
}

.product-price {
  font-size: 16px;
  font-weight: bold;
  color: #00008B; /* 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: #000000;  /* black background */
  color: #FFFFFF;       /* white text */
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.invest-btn:hover {
  background: #111111;  /* slightly lighter black on hover */
  transform: translateY(-2px);
}

.invest-btn i {
  margin-left: 8px; 
  color: #FFFFFF;       /* white icon to match text */
}



/* MOBILE — SAME LOOK */
@media (max-width: 480px) {
  .product-card {
    padding: 14px;
  }

  .plan-name,
  .product-price {
    font-size: 15px;
  }
}

.card-image {
  width: 100%;
  height: 150px;       /* adjust to make it cover top half */
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Grid layout for card info */
.grid-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 10px;
  padding: 8px 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f5f5f5; /* subtle box background */
}

/* Colored text */
.green-text { color: #00c853; font-weight: bold; }
.red-text { color: #FF0000; font-weight: bold; }
.blue-text { color: #00008B; font-weight: bold; }
.skyblue-text { color: #79a2e5; font-weight: bold; }

.grid-info small {
  font-size: 12px;
  color: #555555;
}


/* ================= INVITE PAGE ================= */
.invite-page {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* ===============================================
   INVITE PAGE SPACING
   =============================================== */
.invite-page {
  padding-top: 64px;
}


/* ===============================================
   FIXED INVITE HEADER (SLIM BLUE FINTECH)
   =============================================== */
.invite-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;                  /* slim height */

  background: #79a2e5;           /* solid fintech blue */
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25); /* slightly lighter shadow for slim look */
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}



/* Header title */
.invite-header-fixed h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* ===============================================
   3D BACK BUTTON
   =============================================== */
.invite-back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 2px 2px 6px rgba(0,0,0,0.3),
              inset -2px -2px 6px rgba(255,255,255,0.7);

  transition: all 0.2s ease;
}


/* Arrow */
.invite-back-btn .arrow {
  width: 12px;
  height: 12px;
  border-left: 2px solid #001f4d;
  border-bottom: 2px solid #000000;
  transform: rotate(45deg);
}


/* Press effect */
.invite-back-btn:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.25),
              inset -2px -2px 5px rgba(255,255,255,0.6);
}


/* ================= 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: #79a2e5;
  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: #79a2e5;
}


/* ================= 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: #79a2e5;         /* 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: #79a2e5;              /* 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 #79a2e5; /* 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: #79a2e5;
  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: #79a2e5;
  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%;
  height: 60px;
  background: #79a2e5;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}


/* ================= BACK BUTTON ================= */
.withdraw-back-btn{
  position: absolute;
  left: 14px;
  top: 12px;              /* pushed up */

  width: 34px;
  height: 34px;
  background: #ffffff;
  border-radius: 50%;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}


/* ================= SAME ARROW STYLE ================= */
.arrow{
  display: block;
  width: 10px;
  height: 10px;
  border-left: 3px solid #0a2a66;
  border-bottom: 3px solid #0a2a66;
  transform: rotate(45deg);
}

/* ================= ATM CARD CONTAINER ================= */
.atm-withdraw-card {
  background: linear-gradient(145deg, #1c1c1c, #2a2a2a); /* black → ash gradient */
  border-radius: 16px; /* slightly softer corners for square feel */
  padding: 20px;
  max-width: 360px; /* narrower than screen to avoid touching edges */
  margin: 100px auto 20px auto; /* top margin = 100px for spacing, bottom 20px */
  position: relative;

  /* 3D shadow */
  box-shadow:
    0 12px 28px rgba(0,0,0,0.5),
    inset 0 2px 6px rgba(255,255,255,0.05);

  font-family: 'Poppins', 'Orbitron', sans-serif;
  transition: all 0.3s ease;
}

.atm-withdraw-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 38px rgba(0,0,0,0.6),
    inset 0 2px 6px rgba(255,255,255,0.08);
}

/* ================= CARD CHIP ================= */
.atm-withdraw-card .atm-chip {
  width: 40px;
  height: 28px;
  background: linear-gradient(145deg, #ffd966, #e6b800); /* gold chip */
  border-radius: 4px;
  position: absolute;
  top: 20px;
  left: 20px;

  box-shadow:
    0 2px 6px rgba(0,0,0,0.3),
    inset 0 1px 3px rgba(255,255,255,0.6);
}

/* ================= BALANCE CARD ================= */
.withdraw-card {
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px; /* space below chip */
}

.withdraw-label {
  font-size: 14px;
  font-weight: 600;
  color: #79a2e5; /* fintech blue */
  margin: 0;
}

.withdraw-balance {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff; /* white balance */
  margin: 0;
}

/* ================= BANK CARD ================= */
.bank-display-card {
  background: transparent;
  margin-top: 12px;
}

.bank-name,
.bank-account-number,
.bank-account-name {
  color: #79a2e5; /* blue fintech text */
  font-size: 14px;
  margin: 4px 0;
  font-weight: 600;
}

/* ================= WITHDRAW FORM ================= */
.withdraw-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.withdraw-form label {
  color: #79a2e5;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
}

#withdrawAmountInput {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: #000000;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

#withdrawAmountInput::placeholder {
  color: #a0a0a0;
}

/* ================= SUBMIT BUTTON ================= */
.withdraw-submit-btn {
  width: 100%;
  background: #79a2e5; 
  color: #ffffff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s, background 0.2s;
}

.withdraw-submit-btn:hover {
  transform: translateY(-2px);
  background: #0a2a66;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .atm-withdraw-card {
    padding: 16px;
    max-width: 90%; /* ensures padding on sides for mobile */
  }
  #withdrawAmountInput {
    font-size: 14px;
    padding: 10px 12px;
  }
  .withdraw-submit-btn {
    font-size: 15px;
    padding: 12px;
  }
}


/* ================= RECORDS PAGE ================= */
.records-page {
  width: 100vw;
  padding-top: 60px;
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow-y: auto;
  background: #f2f4f8;
  box-sizing: border-box;
}

/* ===============================================
   RECORDS PAGE SPACING
   =============================================== */
.records-page {
  padding-top: 64px;
}


/* ===============================================
   FIXED RECORDS HEADER (NAVY + BLACK)
   =============================================== */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;

  background: #79a2e5;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}


/* Header title */
.records-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* ===============================================
   3D BACK BUTTON
   =============================================== */
.records-back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 2px 2px 6px rgba(0,0,0,0.3),
              inset -2px -2px 6px rgba(255,255,255,0.7);

  transition: all 0.2s ease;
}


/* Arrow inside button */
.records-back-btn .arrow {
  width: 12px;
  height: 12px;
  border-left: 2px solid #001f4d;
  border-bottom: 2px solid #000000;
  transform: rotate(45deg);
}


/* Press effect */
.records-back-btn:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.25),
              inset -2px -2px 5px rgba(255,255,255,0.6);
}


/* ================= RECORD CARD (WHITE STYLE) ================= */
.record-card {
  width: 100%;
  min-height: 110px;
  margin: 0 0 14px 0;

  padding: 20px 18px;

  /* White Background */
  background: #ffffff;
  color: #0a1a3a; /* Navy Blue Text */

  border-radius: 18px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 14px;
  box-sizing: border-box;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ================= LEFT SIDE ================= */
.record-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.record-transaction {
  font-weight: 700;
  font-size: 15px;
  color: #0a1a3a; /* Navy */
}

.record-time {
  font-size: 12px;
  color: rgba(10, 26, 58, 0.6); /* Soft navy */
}

/* ================= RIGHT SIDE ================= */
.record-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.record-amount {
  font-weight: 700;
  font-size: 16px;
  color: #0a1a3a; /* Navy */
}

.record-status {
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 50px;    /* makes it a pill */
  display: inline-block;
  text-align: center;
}

/* ================= STATUS PILL COLORS ================= */
.status-success {
  background: rgba(22, 163, 74, 0.12); /* soft green background */
  color: #16a34a;                       /* text color */
}

.status-pending {
  background: rgba(245, 158, 11, 0.12); /* soft amber background */
  color: #f59e0b;
}

.status-failed,
.status-declined {
  background: rgba(220, 38, 38, 0.12);  /* soft red background */
  color: #dc2626;
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {

  .record-card {
    min-height: 100px;
    padding: 18px 16px;
  }

  .record-transaction {
    font-size: 14px;
  }

  .record-amount {
    font-size: 15px;
  }

}


/* ================= FULL PAGE ================= */
#myInvestmentPage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
  background: #f2f1f1;        /* white background */
  padding-top: 100px;         /* reduced from 120px to push cards up */
  margin: 0;
  width: 100vw;
}


/* ===============================================
   INVESTMENT PAGE SPACING
   =============================================== */
.investment-page {
  padding-top: 64px;
}


/* ===============================================
   FIXED INVESTMENT HEADER (NAVY + BLACK)
   =============================================== */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;

  background: #79a2e5;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}


/* Header Title */
.investment-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* ===============================================
   3D BACK BUTTON
   =============================================== */
.investment-back-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 2px 2px 6px rgba(0,0,0,0.3),
              inset -2px -2px 6px rgba(255,255,255,0.7);

  transition: all 0.2s ease;
}


/* Arrow inside button */
.investment-back-btn .arrow {
  width: 12px;
  height: 12px;

  border-left: 2px solid #001f4d;
  border-bottom: 2px solid #000000;

  transform: rotate(45deg);
}


/* Press effect */
.investment-back-btn:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.25),
              inset -2px -2px 5px rgba(255,255,255,0.6);
}

.atm-card {
  background: #000;
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px;

  margin: 2px 16px;   /* 🔥 space left & right */

  max-width: 420px;
  width: calc(100% - 32px); /* keeps same spacing */

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 1px solid #79a2e5;

  display: flex;
  flex-direction: column;
  gap: 10px;
}



/* ================= TOP ================= */
.atm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.atm-top .plan {
  font-weight: 700;
  font-size: 15px;
  color: #79a2e5;
}

.atm-top .price {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}


/* ================= GRID ================= */
.atm-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}

.atm-grid .box {
  background: rgba(121,162,229,0.12);
  border: 1px solid rgba(121,162,229,0.4);
  border-radius: 10px;
  padding: 6px 8px;
  text-align: center;
}

.atm-grid small {
  font-size: 11px;
  color: #aaa;
}

.atm-grid strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: #fff;
}


/* ================= SLIM STYLE ================= */
.atm-card {
  height: 110px;       /* slim ATM look */
}


/* ================= MOBILE ================= */
@media(max-width:480px){
  .atm-card{
    height:auto;
    padding:12px;
  }
}


/* ================= 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 */
  right: 16px;               /* move to right */
  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;
    right: 12px;            /* adjust right for mobile */
  }
}
