

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}


/* Base body styles */
body {
  background: linear-gradient(180deg, #1E3A8A, #87CEEB); /* navy to sky blue gradient */
  color: #F5F5F5;      /* light text for readability */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 20px;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s, color 0.3s;
}


/* ================= FULL PAGE CONTAINER ================= */
.container {
  width: 100vw;
  height: 100vh;
  padding: 40px 28px;

  position: fixed;
  top: 0;
  left: 0;

  /* Background image */
  background-image: url('photo2.png'); /* replace with your image path */
  background-size: cover;       /* make sure it covers the entire container */
  background-position: center;  /* center the image */
  background-repeat: no-repeat; /* prevent tiling */

  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container.active {
  display: flex;
}



/* ================= FORM CARD ================= */
.container form {
  width: 100%;
  max-width: 400px;
  padding: 40px 28px;
  border-radius: 22px;
  background: #000000; /* slightly lighter dark for card */

  box-shadow:
    12px 12px 24px rgba(0, 0, 0, 0.2),
   -12px -12px 24px rgba(50, 50, 50, 0.6);

  display: flex;
  flex-direction: column;
  transform: translateY(-5px);
}



/* ================= LOGIN LOGO (PROFILE STYLE) ================= */
#loginContainer .logo {
  width: 150px;    /* fixed width for circle */
  height: 150px;   /* same as width to make circle */
  margin: 0 auto 30px auto; /* center horizontally + 30px space below */
  display: flex;
  justify-content: center;
  align-items: center;
}

#loginContainer .logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* makes it perfectly circular */
  object-fit: cover;
  background: linear-gradient(145deg, #1C1C1C, #0B3D91); /* dark → forest gradient */
  padding: 8px; /* inner padding for depth */
  box-shadow:
    8px 8px 20px rgba(0, 0, 0, 0.4),
   -8px -8px 20px rgba(70, 70, 70, 0.5);
  border: 1px solid #0B3D91;
  transform: scale(0.98);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#loginContainer .logo img:hover {
  transform: scale(1);
  box-shadow:
    6px 6px 16px rgba(239, 231, 231, 0.35),
   -6px -6px 16px rgba(255, 255, 255, 0.5);
}


/* ================= WELCOME TEXT ================= */
.welcome-text {
  text-align: center;
  margin-bottom: 24px;
}

.welcome-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0B3D91; /* navy blue instead of mint green */
  margin-bottom: 6px;
}

.welcome-text p {
  font-size: 14px;
  color: #000000; /* black text */
}

/* ================= LABELS ================= */
label {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0B3D91; /* navy blue labels */
}

/* ================= INPUTS (NEOMORPHIC) ================= */
input {
  height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #FFFFFF; /* white input bg */
  color: #000000; /* black text */
  font-size: 14px;
  border: none;
  outline: none;

  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.1),
    inset -4px -4px 8px rgba(200, 200, 200, 0.3);

  transition: box-shadow 0.25s ease;
}

input::placeholder {
  color: #9CA3AF; /* soft gray placeholder */
}

input:focus {
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.15),
   -6px -6px 14px rgba(150, 150, 150, 0.25);
}

/* ================= PHONE INPUT ================= */
.phone-input {
  display: flex;
}

.phone-input input {
  flex: 1;
}

/* ================= BUTTON (NEOMORPHIC NAVY) ================= */
button {
  margin-top: 24px;
  height: 46px;
  border-radius: 16px;
  border: none;

  background: linear-gradient(145deg, #0B3D91, #0A2A6F); /* navy → darker navy */
  color: #FFFFFF; /* white text */
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow:
    6px 6px 14px rgba(0, 0, 50, 0.45),
   -4px -4px 10px rgba(50, 50, 50, 0.4);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:active {
  transform: translateY(1px);
  box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.25),
    inset -4px -4px 10px rgba(50, 50, 50, 0.4);
}

/* ================= TOGGLE TEXT ================= */
.toggle-text {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #ffffff; /* navy blue toggle text */
}


/* Dashboard container */
.dashboard {
  width: 100%;
  max-width: 400px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
  background: #ffffff;
  color: #000000;
}


/* Dashboard header */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  max-width: 600px;

  padding: 12px 20px;
  margin: 0;

  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;

  background: #000000; /* ✅ sky navy blue */
  box-shadow: 0 4px 14px rgba(15, 82, 186, 0.45);

  z-index: 10000;
}



/* Remove extra spacing in dashboard cards if used */
.dashboard-card h2.dashboard-header {
  margin: 0;
}


/* Wrapper for card + floating buttons */
.card-section {
  position: relative;   /* needed for absolute positioning of buttons */
  width: 100%;
}

/* ATM-style full-width slim card */
.atm-card-slider {
  width: 100vw;            /* full screen width */
  aspect-ratio: 2 / 1;     /* slim ATM card ratio */
  margin: 0;
  overflow: hidden;        
  box-shadow: 0 6px 15px rgba(0,0,0,0.2); 
  position: relative;
}

/* Slider track */
.slider-track {
  display: flex;
  height: 100%;            
  transition: transform 0.5s ease-in-out;
}

/* Each slide image */
.slider-track img {
  width: 100%;
  height: 100%;            
  flex-shrink: 0;          
  object-fit: cover;       
  display: block;
}

/* Floating button box */
.quick-actions-container {
  position: absolute;
  left: 50%;
  bottom: -25%;              /* half overlaps card */
  transform: translateX(-50%);
  width: 90%;                /* almost full width */
  padding: 12px 16px;
  background: #ffffff;       
  border-radius: 20px;       
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  z-index: 10;
  display: flex;
  justify-content: center;
  overflow-x: auto;          
}

/* Quick actions in a row */
.quick-actions-grid {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  width: 100%;
}

/* Button style */
.quick-actions-grid .qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 60px;
  padding: 8px 6px;
  background: #f9f9f9;
  border-radius: 12px;
  cursor: pointer;

  text-decoration: none;
  color: #0F52BA;
  font-weight: 600;
  font-size: 12px;

  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}

.quick-actions-grid .qa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* Icon style */
.quick-actions-grid .qa-btn i {
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;

  background: #0F52BA;
  color: #ffffff;
}

/* Text style */
.quick-actions-grid .qa-btn span {
  text-align: center;
  color: #0F52BA;
  font-size: 11px;
}



.ticker-container {
  margin-top: 70px;          
  overflow: hidden;
  width: 100%;
  background: #ffffff;        
  border-radius: 12px;
  border: 2px solid #000000; 
  box-sizing: border-box;
  padding: 6px 10px;         
  display: flex;
  align-items: center;
  position: relative;
}

/* Megaphone Icon */
.ticker-icon {
  flex: 0 0 auto;
  margin-right: 12px;
  font-size: 18px;
  color: #0F52BA;            
}

/* Ticker Track */
.ticker-track {
  display: flex;
  gap: 40px;                 
  white-space: nowrap;
  flex: 1;
}

/* Ticker Item */
.ticker-item {
  flex: 0 0 auto;
  color: #0F52BA;            
  font-weight: 600;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #ffffff;
}



/* ===============================
   USER GREETING TEXT
   =============================== */
.user-header {
  margin: 16px 0 8px 16px;   /* added 16px left margin */
  font-size: 16px;
  font-weight: 600;
  color: #006400;            /* dark green text */
}


/* ===============================
   HEADER LAYOUT
   =============================== */
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===============================
   HEADER TITLE
   =============================== */
.products-header h2 {
  font-size: 18px;
  font-weight: bold;
  color: #32CD32;
}

/* ===============================
   BUTTON CONTAINER UNDER BALANCE CARD
   =============================== */
.products-actions {
  display: flex;
  justify-content: center;   /* center buttons under card */
  gap: 12px;                 /* space between buttons */
  width: auto;               /* shrink container to content */
  margin: 12px auto 0 auto;  /* top margin, centered */
}

/* ===============================
   PILL BUTTONS
   =============================== */
.products-actions .settings-item {
  flex: none;                 /* prevent stretching */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 8px 16px;

  background: linear-gradient(135deg, #0b3d91, #1e90ff); /* Navy → Sky */
  color: #ffffff;

  border-radius: 50px;        /* pill shape */
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
}

/* ===============================
   HOVER EFFECT
   =============================== */
.products-actions .settings-item:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}




.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;
}


/* ===== PROFILE TOP ===== */
.profile-top {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}


/* ===== SQUARE LOGO ===== */
.profile-logo {
  width: 85px;
  height: 85px;
  margin: -10px auto 4px; /* lifted up closer to top */
  border-radius: 20px; /* curved square */
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #0B3D2E;
  position: relative; /* allow top adjustment if needed */
  top: -8px; /* lift logo slightly */
}

.profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ID PILL CONTAINER ===== */
.profile-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #071a14; /* forest + black mix */
  border: 1px solid #0B3D2E;

  padding: 8px 16px;
  border-radius: 50px; /* pill shape */

  margin: -6px auto 12px; /* lifted up, centered under logo */
  position: relative;
  top: -6px; /* further push upward */
}

/* ID text on left */
.id-label {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

/* User Number */
.profile-number {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff; /* white number */
}



/* ===== SLIM BALANCE CARD ===== */
.balance-card-slim {
  background: #0F52BA;
  border-radius: 20px;
  padding: 16px 18px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 360px;
  margin: 0 auto;

  border: 1px solid #0b3d91;
}

/* Each Side */
.balance-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Labels */
.balance-label {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

/* Amount */
.balance-amount {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff; /* forest green */
}








/* ===== SLIM BALANCE CARD ===== */
.dashboard-balance-card  {
  background: #0F52BA; /* Sky Blue */
  border-radius: 20px;
  padding: 16px 18px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 360px;

  margin: 25px auto 0 auto;  /* Push it down */

  border: 2px solid #0b3d91; /* Navy edge */
}

/* Each Side */
.dashboard-balance-card .balance-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Labels */
.dashboard-balance-card .balance-label {
  font-size: 13px;
  font-weight: 600;
  color: #000000;  /* Navy blue */
}

/* Amount */
.dashboard-balance-card .balance-amount {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;  /* White */
}





/* ===== WHITE ATM CARD ===== */
.atm-white-card {
  width: 100%;
  max-width: 360px;
  background-color: #ffffff; /* keep card white */
  border-radius: 20px;
  padding: 18px 16px 20px;
  margin-top: 24px; /* space from balance card */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== CARD HEADER ===== */
.atm-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Brand text */
.atm-brand {
  font-size: 18px;
  font-weight: 700;
  color: #32CD32; /* green text */
}

/* ===== ASH GRID DIVIDER ===== */
.atm-divider {
  height: 1px;
  margin: 14px 0 18px;
  background: repeating-linear-gradient(
    to right,
    #dcdcdc,
    #dcdcdc 6px,
    transparent 6px,
    transparent 12px
  );
}

/* ===== ATM TELEGRAM ACTION LINE ===== */
.atm-telegram-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  background: transparent;
  color: #32CD32; /* green text */
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  /* slim ash grid line */
  border-top: 1px dashed #dcdcdc;
}

/* Icon */
.atm-telegram-line i {
  font-size: 18px;
  color: #32CD32; /* green icon */
}


/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  
  /* Navy blue background */
  background-color: #ffffff; 

  display: flex; 
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

/* ================= NAV ITEMS ================= */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 12px;

  /* White text */
  color: #000000; 
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ================= ICONS ================= */
.bottom-nav .nav-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;

  /* White icons */
  fill: #ffffff; 
  transition: fill 0.2s ease;
}

/* ================= HOVER ================= */
.bottom-nav .nav-item:hover {
  color: #f0f0f0; /* slightly lighter white on hover */
  transform: translateY(-2px);
}

.bottom-nav .nav-item:hover svg {
  fill: #f0f0f0; /* match hover text */
}

/* ================= ACTIVE STATE ================= */
.bottom-nav .nav-item.active {
  color: #ffffff; 
  font-weight: 600;
}

.bottom-nav .nav-item.active svg {
  fill: #ffffff;
}


/* ===== PROFILE FIXED HEADER ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #000000 0%, #001f4d 100%); /* black to navy blue */
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  color: #ffffff; /* white text */
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* subtle shadow */
}



.profile-header-bar i {
  margin-right: 8px;
  color: #ffffff; /* white icon */
}

/* Push content down so it doesn’t go under header */
.profile-content {
  padding-top: 60px; /* same as header height */
}

/* ===== PROFILE PAGE ===== */
.profile-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: none;
  padding: 0 10px 80px 10px;
  height: calc(100vh - 0px);
  overflow-y: auto;
  box-sizing: border-box;

  /* White background */
  background: #ffffff;
  
  color: #87CEEB; /* sky blue text for contrast */
}



/* Profile Header Image - ATM card style */
.profile-header {
  width: 100%;
  height: 180px;
  margin: -10px 0 25px 0; /* move up by 10px, increase bottom space to 25px */
  border-radius: 16px;
  overflow: hidden;

  /* Navy-blue to black shadow */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 3px 10px rgba(0, 31, 77, 0.4);

  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: #531d1d;
  text-align: center;
}

/* ===== SETTINGS BOX ===== */
.settings-box {
  background: #ffffff;
  border-radius: 35px; /* modern, rounded box */
  padding: 20px;       /* smaller padding to prevent overflow */
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: 20px auto;   /* center box */
  max-width: 400px;    /* prevent box from being too wide */
  box-sizing: border-box;
}

/* Header */
.settings-header {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

/* Settings list */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Settings item - just text, no stretching */
.settings-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  padding: 12px 0; /* moderate height */
}

/* Icon in item */
.settings-item i {
  font-size: 18px;
  color: #001f4d; /* navy blue */
  flex-shrink: 0;
}

/* Text span */
.settings-item span {
  flex: none; /* no stretching */
}

/* Right arrow (if needed) */
.arrow-right {
  font-size: 12px !important;
  color: #ccc !important;
}

/* ================= LOGOUT BUTTON ================= */
.logout-btn {
  display: block;
  width: 90%;           /* fit within viewport, no calc overflow */
  max-width: 400px;
  margin: 20px auto 0 auto; /* center below box */
  padding: 14px 0;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #000000 0%, #001f4d 100%); /* black to navy pill */
  border: none;
  border-radius: 50px;  /* pill shape */
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}


/* ================= BANK PAGE (WHITE BACKGROUND) ================= */
.bank-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 70px 12px 20px;
  display: none;

  /* White background */
  background: #ffffff;

  /* Text color navy blue or black for contrast */
  color: #0a1a3a;

  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}



/* ================= FIXED HEADER ================= */
.bank-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  /* Navy Blue Background */
  background: linear-gradient(145deg, #0a1a3a, #000000);

  /* Optional shadow for depth */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

  /* Remove previous border line or set subtle if needed */
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);

  z-index: 1000;
}

/* ================= HEADER TITLE ================= */
.bank-header h2 {
  flex-grow: 1;
  text-align: center;
  margin: 0;

  font-size: 20px;
  font-weight: 800;

  /* White text */
  color: #ffffff;
}


/* ================= BACK BUTTON (NAVY BLUE) ================= */
.back-btn {
  background: #0a1a3a; /* Navy Blue */
  border: 1px solid #000000; /* subtle black edge */
  border-radius: 50%; /* circular */

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  color: #ffffff; /* white icon */
  font-size: 18px;

  /* Smooth hover & click animations */
  transition: background 0.2s ease, transform 0.1s ease;

  /* Position inside header */
  position: absolute;
  left: 12px; /* distance from left edge */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1010; /* above header content */
}

/* Hover */
.back-btn:hover {
  background: #08122a; /* darker navy for hover */
}

/* Click */
.back-btn:active {
  transform: translateY(-50%) scale(0.95);
}


/* ================= FORM CARD ================= */
.bank-form {
  background: #0a1a3a; /* navy blue background */
  padding: 28px;
  border-radius: 24px; /* smooth curved edges */

  display: flex;
  flex-direction: column;
  gap: 18px;

  margin: 80px auto 30px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;

  transform: translateY(-4px); /* slight lift */
}

/* ================= SECTION HEADERS ================= */
.form-section h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: #ffffff; /* white text */
  font-weight: 800;
}

/* ================= LABELS ================= */
label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff; /* white label */
  margin-bottom: 6px;
  display: block;
}

/* ================= INPUTS ================= */
select,
input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px; /* curved smooth input */
  border: none;
  font-size: 15px;

  background: #ffffff; /* white input */
  color: #0a1a3a; /* navy blue text */

  outline: none;

  /* inner subtle shadow for depth */
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.08),
    inset -4px -4px 8px rgba(255, 255, 255, 0.6);

  transition: all 0.2s ease;
}

/* Placeholder */
input::placeholder {
  color: #888888;
}

/* Focus effect */
input:focus,
select:focus {
  box-shadow: 
    0 0 0 3px rgba(10, 26, 58, 0.2), /* navy focus ring */
    inset 4px 4px 8px rgba(0, 0, 0, 0.08);
}

/* ================= UPDATE BUTTON ================= */
.update-bank-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;

  background: #ffffff; /* white button */
  color: #0a1a3a; /* black/navy text */

  border: none;
  border-radius: 20px; /* smooth curved button */

  cursor: pointer;

  box-shadow: 
    4px 4px 10px rgba(0, 0, 0, 0.2),
    -2px -2px 6px rgba(255, 255, 255, 0.4);

  transition: all 0.2s ease;
}

/* Button Press Effect */
.update-bank-btn:active {
  transform: translateY(2px);
  box-shadow: 
    inset 4px 4px 10px rgba(0, 0, 0, 0.3);
}

/* ================= SUCCESS MESSAGE ================= */
.success-message {
  text-align: center;
  margin-top: 12px;
  font-weight: 700;
  color: #ffffff; /* white text */
  font-size: 15px;
}

/* ================= MOBILE ================= */
@media (max-width: 450px) {

  .bank-form {
    padding: 22px;
    border-radius: 20px;
  }

  select,
  input {
    font-size: 14px;
    padding: 12px 14px;
  }

  .update-bank-btn {
    font-size: 15px;
    padding: 14px;
  }
}



/* ===== FIXED RECHARGE HEADER ===== */
.recharge-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 56px;

  background: #0a1a3a;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  box-sizing: border-box;

  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  gap: 12px;
}

/* ===== 3D Back Button ===== */
.recharge-back-btn {
  position: absolute;
  left: 16px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 2px 2px 6px rgba(0,0,0,0.25),
              inset -2px -2px 6px rgba(255,255,255,0.6);

  transition: transform 0.2s, box-shadow 0.2s;
}

.recharge-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 8px rgba(0,0,0,0.3),
              inset -3px -3px 8px rgba(255,255,255,0.7);
}

/* ===== Arrow inside button ===== */
.recharge-back-btn .arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #0a1a3a;
  border-bottom: 2px solid #0a1a3a;
  transform: rotate(45deg); /* points left */
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

/* Header title */
.recharge-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Page content offset */
.page-content {
  padding-top: 56px; /* same as header height */
}






/* ===== PAGE CONTENT ===== */
.recharge-page {
  width: 100%;
  max-width: 400px;
  margin: 80px auto 0;   /* space below header */
  padding: 0;            /* page itself has no extra padding */
  text-align: center;
  display: none;
  background: transparent;  /* normal page background */
  color: #000000;
  box-sizing: border-box;
}


/* ===== TOP RECHARGE CARD (BIG ATM STYLE IMAGE TOUCHING TOP) ===== */
.recharge-card {
  background: url('photo3.png') no-repeat center center;
  background-size: cover;      /* cover entire card */
  
  color: #ffffff;              /* white text over image */
  width: 100%;                 /* full width edge-to-edge */
  max-width: 100%;             /* override previous max-width */
  
  /* make it taller */
  min-height: 220px;
  padding: 32px 24px;          /* more padding for bigger card */
  
  border-radius: 20px;         /* smooth ATM card curves */
  text-align: left;

  /* lift the card to touch top */
  margin-top: 0px;           /* negative margin pulls card up */
  
  /* floating card effect */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  position: relative;          /* for z-index control */
  z-index: 5;                  /* above header if needed */
}

/* ===== CARD TITLE ===== */
.recharge-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* better readability */
}

/* ===== CARD SUBTEXT ===== */
.recharge-card .subtext {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* ===== CARD INFO ROW ===== */
.recharge-card .info-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .recharge-card {
    min-height: 200px;
    padding: 28px 18px;
    border-radius: 16px;
    margin-top: -16px;         /* smaller negative margin for small screens */
  }

  .recharge-card h3 {
    font-size: 18px;
  }

  .recharge-card .subtext {
    font-size: 14px;
  }

  .recharge-card .info-row {
    font-size: 13px;
  }
}


/* Container Card */
.amount-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 25px;
  margin: 20px auto;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-header {
  font-size: 18px;
  font-weight: 600;
  color: #44505e;
  margin-bottom: 25px;
  text-align: left; /* left align the header */
}


/* Amount Grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.amount-option {
  padding: 12px 5px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: #44505e;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
}


/* Custom Input Styling */
.input-label {
  font-size: 16px;
  font-weight: 600;
  color: #44505e;
  margin-bottom: 12px;
}

.custom-amount {
  position: relative;
  margin-bottom: 25px;
}

.custom-amount input {
  width: 100%;
  padding: 18px 18px 18px 45px;
  font-size: 22px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background: #3e3e3e; /* Dark background like image */
  color: #ffffff;
  box-sizing: border-box;
}

.currency-symbol {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a7a7a;
  font-size: 20px;
}


/* Gradient Deposit Button */
.deposit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(to right, #001f54, #000000); /* Navy blue to black gradient */
  color: #ffffff; /* White text */
  font-weight: 600;
  font-size: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.deposit-btn:hover {
  background: linear-gradient(to right, #002366, #111111); /* Slightly lighter hover effect */
}



/* Security Text Footer */
.security-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.security-info p {
  font-size: 13px;
  color: #7d8b9a;
  margin: 0;
  line-height: 1.4;
}


.shield-icon {
  background: #001f54; /* navy blue */
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ===== RECHARGE CONFIRMATION PAGE (WHITE + NAVY) ===== */
.recharge-confirmation-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 100px 16px 24px;   /* space for header */
  display: none;
  overflow-y: auto;

  text-align: center;

  background: #ffffff;       /* pure white background */
  color: #0A1F44;            /* navy blue text */

  box-sizing: border-box;
}

/* ================= CONFIRMATION HEADER ================= */
.confirmation-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  background: linear-gradient(135deg, #0A1F44, #000000); /* navy to black */
  color: #ffffff;  /* white text */

  padding: 12px 16px;
  z-index: 10000;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* clean modern shadow */
}

/* Header Title */
.confirmation-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;             /* brown */
}

/* Selected Amount */
.confirmation-header .selected-amount {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;             /* lighter brown for emphasis */
}


/* ================= ACCOUNT DETAILS CARD ================= */
.account-details {
  background: #ffffff;            
  padding: 22px;
  margin-bottom: 28px;

  border-radius: 20px;            
  color: #0A1F44;                 

  /* Clean 3D elevated effect */
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.08);

  border: 1px solid rgba(0, 0, 0, 0.05);

  /* Modern font upgrade */
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* ================= DETAIL ROW ================= */
.detail-row {
  position: relative;
  display: flex;
  align-items: center;

  padding: 14px 0;
  font-weight: 500;

  border-bottom: 1px solid rgba(10, 31, 68, 0.1); 
  color: #0A1F44; 

  font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 15px;
}

.detail-row:last-child {
  border-bottom: none;
}

/* ================= AMOUNT STYLE ================= */
.amount-value {
  color: #000000;  
  font-weight: 700;
  font-size: 20px;
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
  letter-spacing: 0.5px;
}

/* ================= COPY BUTTON ================= */
.copy-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  background: #0A1F44;     
  color: #ffffff;           

  border: none;
  padding: 6px 12px;
  border-radius: 8px;

  font-weight: 600;
  font-family: 'Inter', 'Roboto', sans-serif;
  font-size: 13px;
  cursor: pointer;

  box-shadow: 0 4px 10px rgba(10, 31, 68, 0.3);

  transition: all 0.2s ease;
}

.copy-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

/* ================= CONFIRM PAYMENT BUTTON ================= */
.confirm-payment-btn {
  width: 100%;
  padding: 16px;

  background: linear-gradient(135deg, #0A1F44, #000000);
  color: #ffffff;

  font-weight: 700;
  font-size: 17px;
  font-family: 'Inter', 'Roboto', sans-serif;
  letter-spacing: 0.5px;

  border: none;
  border-radius: 20px;
  cursor: pointer;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);

  transition: all 0.3s ease;

  margin-top: -12px; /* brings button up closer to form */
}

.confirm-payment-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}


/* ================= MOBILE ================= */
@media (max-width: 450px) {
  .recharge-confirmation-page {
    padding: 110px 12px 24px;
    background: #ffffff;
    color: #0A1F44;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}





/* ===== LOGO STYLING FOR RECHARGE & WITHDRAW PAGES ===== */
.recharge-logo img,
.withdraw-logo img,
.confirmation-logo img {
  width: 80px;                /* size */
  height: 80px;               /* size */
  border-radius: 50%;         /* round */
  margin-bottom: 20px;        /* spacing below */
  object-fit: cover;          /* maintain aspect ratio */
  display: block;
  margin-left: auto;
  margin-right: auto;         /* center horizontally */
  border: 2px solid #1e40ff; /* blue border */
  box-shadow: 0 4px 12px rgba(30,64,255,0.25); /* subtle blue glow */
  background: #ffffff;        /* white background behind logo */
}



/* ===== PAYMENT FORM CONTAINER (SLIM ATM-STYLE CARD) ===== */
.payment-form {
  display: none; /* hide initially */
  background: linear-gradient(135deg, #0A1F44, #000000); /* navy → black */
  border-radius: 16px;               /* slightly smaller curve for slim card look */
  padding: 20px 18px;                /* less padding for slimness */
  margin: 10px auto 24px auto;       /* push up by reducing top margin */
  max-width: 380px;                  /* narrower width for slim card */
  flex-direction: column;
  gap: 14px;                         /* less vertical spacing */
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
  color: #ffffff;
  transition: all 0.3s ease;         /* smooth appearance when shown */
}

/* Form heading */
.payment-form h3 {
  margin: 0 0 12px 0;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-align: left;                  /* heading aligned left */
}

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;                          /* tighter spacing */
}

/* Labels */
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.25px;
  text-align: left;                  /* label positioned left */
}

/* Inputs */
.form-group input {
  padding: 10px 12px;                /* slightly smaller height */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #0A1F44;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', 'Roboto', sans-serif;
  transition: all 0.2s ease;
}

/* Placeholder */
.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Focus */
.form-group input:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}


/* Payment Countdown & Status */
#paymentCountdown,
#paymentStatusMessage {
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}

/* Mobile responsive */
@media (max-width: 450px) {
  .payment-form {
    padding: 20px 16px;
    margin: 16px auto;
  }

  .payment-form h3 {
    font-size: 18px;
  }
}



.status-success {
  color: #28a745; /* green */
}

.status-pending {
  color: #ff9800; /* orange */
}

.status-declined {
  color: #dc3545; /* red */
}

.status-failed {
  color: #d32f2f; /* dark red */
}

.status-unknown {
  color: #6c757d; /* gray */
}


/* ================= FULLSCREEN OVERLAY ================= */


/* Fullscreen overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none; /* Changed to flex for centering */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85); /* Darker backdrop */
  backdrop-filter: blur(5px); /* Optional: blurs background like modern apps */
}


/* ===== THE MAIN MODAL (NAVY → BLACK) ===== */
.popup-box {
  width: 90%;
  max-width: 360px;
  background: linear-gradient(135deg, #1a4d8d, #000000); /* navy → black */
  border-radius: 25px;
  padding: 25px 20px;
  text-align: center;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff; /* white text */
  box-shadow: 0 15px 35px rgba(0,0,0,0.35); /* deeper 3D effect */
  position: relative;
  animation: popIn 0.3s ease-out;
}

/* Optional: Smooth pop-in animation */
@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.announcement-title {
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* INNER LIGHTER BOX */
.inner-content-box {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white overlay */
  border-radius: 15px;
  padding: 20px;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 20px;
}

.inner-content-box h3 {
  font-size: 1rem;
  margin-bottom: 15px;
}

.inner-content-box p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.description {
  font-size: 0.85rem !important;
  color: #d1d1d1;
}

/* SOCIAL SECTION */
.join-text {
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.social-row a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: bold;
}

.btn-telegram { background: #0088cc; }
.btn-whatsapp { background: #25d366; }

.social-row img {
  width: 18px;
  margin-right: 8px;
}

/* ACKNOWLEDGE BUTTON */
.acknowledge-btn {
  width: 100%;
  background: white;
  color: #1a4d8d; /* Dark text on white button */
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.1s;
}

.acknowledge-btn:active {
  transform: scale(0.98);
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}



/* ===== PRODUCT PAGE ===== */
.product-page {
  width: 100%;
  padding: 20px;
  padding-bottom: 80px;
  padding-top: 65px; /* space for fixed header */
  background: #ffffff; /* white background */
  min-height: 100vh;
  color: #ffffff;      /* white text */
  display: none;       /* show when active */
}

/* ===== FIXED HEADER ===== */
.product-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e40ff; /* blue header */
  padding: 12px 0;
  z-index: 1000;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;      /* white text */
  box-shadow: 0 3px 8px rgba(30, 64, 255, 0.2); /* subtle blue shadow */
}

.product-header i {
  margin-right: 8px;
  color: #ffffff; /* white icon */
}

/* =============================== 
   PRODUCT LIST CONTAINER 
   =============================== */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 95%;           /* slightly narrower so card doesn't touch edges */
  max-width: 600px;     /* optional: limit max width on large screens */
  margin: 0 auto;       /* center container */
  padding: 20px 10px;
  padding-bottom: 140px; 
  box-sizing: border-box;
  background-color: #ffffff;
}

/* =============================== 
   PRODUCT CARD (SIDE-BY-SIDE) 
   =============================== */
.product-card {
  display: flex;
  align-items: center;
  background: #0F52BA;  /* blue card background */
  padding: 12px 15px;   /* slightly slimmer padding */
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}



/* =============================== 
   LEFT SIDE: Image 
   =============================== */
.product-image-side,
.product-right { 
  flex: 0 0 100px; /* slightly smaller */
  order: 0;
  margin-right: 12px;
}

.product-image-side img,
.product-logo img {
  width: 100px;
  height: 100px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
  background: #14532D;
  padding: 3px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.5),
              -2px -2px 8px rgba(50,50,50,0.6);
}

/* =============================== 
   RIGHT SIDE: Content 
   =============================== */
.product-info-side,
.product-info-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  order: 1;
}

/* Plan Title */
.plan-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF; /* white title */
  margin-bottom: 6px;
}

/* Info rows */
.info-row,
.info-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 14px;
  padding: 4px 0;
}

.label {
  color: #FFFFFF; /* white labels */
}

.value,
.value-alt,
.info-box span {
  color: #ffffff; /* black values */
  font-weight: bold;
}

/* BUTTON */
.invest-btn {
  margin-top: 8px;
  background: #FFFFFF; /* white button */
  color: #000000;      /* black text */
  border: none;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
  width: 120px;
  transition: background 0.3s, transform 0.2s;
}

.invest-btn:hover {
  transform: translateY(-1px);
  background: #f0f0f0; /* subtle hover */
}

/* LOCKED CARD */
.product-card[data-locked="true"] {
  opacity: 0.7;
  filter: grayscale(0.8);
}

/* =============================== 
   MOBILE VIEW
   =============================== */
@media (max-width: 480px) {
  .product-card {
    flex-direction: row;
    align-items: center;
    padding: 10px 12px;
  }

  .product-image-side,
  .product-right {
    flex: 0 0 80px;
    margin-right: 10px;
  }

  .product-image-side img,
  .product-logo img {
    width: 80px;
    height: 80px;
  }

  .invest-btn {
    width: 100px;
    font-size: 13px;
  }
}


/* ================= PRODUCT CARD TEXT ================= */
.product-card {
  color: #ffffff;   /* make all text white */
}

/* Specific items (to override browser defaults) */
.product-card h3,
.product-card span,

.product-card div {
  color: #ffffff;
}



/* If info-box has darker background */
.info-box {
  color: #ffffff;
}


/* ================= INVITE PAGE (SOFT ASH WHITE) ================= */
.invite-page {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #f2f2f2 0%, #e6f0e8 50%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  color: #000; /* black text for readability */
}



/* =================================================
   INVITE PAGE SPACING
   ================================================= */
.invite-page {
  padding-top: 64px;
}


/* =================================================
   FIXED INVITE HEADER (NAVY + BLACK)
   ================================================= */
.invite-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;

  background: linear-gradient(135deg, #000000 0%, #001f4d 100%);
  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
   ================================================= */
.invite-header-fixed h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}


/* =================================================
   3D BACK BUTTON (MATCHING OTHER PAGES)
   ================================================= */
.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 SHAPE
   ================================================= */
.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);
}



/* ================= AFFILIATE SECTION ================= */
.affiliate-page {
  padding: 20px;
  color: #000;
  margin-top: 60px; /* offset for fixed header */
}

.header-section {
  margin-bottom: 30px;
  padding-left: 10px;
}

.header-section h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

.header-section p {
  font-size: 16px;
  opacity: 0.9;
}

/* MAIN WHITE CARD */
.affiliate-container {
  background: #f4f7fa;
  border-radius: 35px;
  padding: 30px 20px;
  color: #333;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* INPUT GROUPS */
.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #8a94a6;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* THE BOXES */
.custom-input-box {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 20px;
  height: 60px;
  box-sizing: border-box;
}

.code-text {
  font-size: 22px;
  font-weight: 800;
  color: #1a4d8d;
  flex: 1;
}

#refLink {
  border: none;
  background: transparent;
  font-size: 15px;
  color: #8a94a6;
  flex: 1;
  outline: none;
  width: 100%;
}

/* COPY BUTTONS */
.copy-btn-blue {
  background: #1a4d8d;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.copy-btn-blue.wide-btn {
  padding: 10px 15px;
  white-space: nowrap;
}

.copy-btn-blue:active {
  transform: scale(0.96);
}

/* ================= REFERRAL LEVELS ================= */
.referral-levels-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  margin: 20px 0;
  background: transparent;
}




/* LEVEL CARD */
.level-card {
  background-color: #fff;      /* card color */
  border-radius: 35px;          /* fully curved */
  padding: 30px 20px;
  display: flex;
  align-items: center;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.level-card:hover {
  transform: translateY(-3px);
}

/* LEVEL BADGE */
.level-badge {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, #2a6dbd 0%, #1a4d8d 100%);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 15px rgba(26, 77, 141, 0.3);
}

.badge-percent {
  font-size: 18px;
  font-weight: 800;
}

.badge-label {
  font-size: 9px;
  font-weight: bold;
  margin-top: 2px;
  opacity: 0.9;
}

/* STATS GRID */
.level-stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  width: 100%;
  padding-left: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-label {
  font-size: 11px;
  color: #8a94a6;
  font-weight: 500;
}

.stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

/* ================= MOBILE ================= */
@media (max-width: 400px) {
  .referral-levels-container {
    padding: 0 10px;
  }
  .level-card {
    padding: 20px;
  }
  .level-stats {
    grid-template-columns: 1fr 1fr 0.5fr;
    padding-left: 10px;
  }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 13px; }
  .custom-input-box { padding-left: 12px; }
  .code-text { font-size: 18px; }
}


/* ================= TEAM PAGE ================= */

/* Team Page Container */
.team-page {
  width: 100%;
  min-height: 100vh;
  background: #f6f6f6; /* light ash page */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0 20px;
  margin: 0;
  box-sizing: border-box;
}


/* =================================================
   TEAM PAGE CONTAINER
   ================================================= */
.team-page {
  padding-top: 64px; /* pushes content below fixed header */
}


/* =================================================
   FIXED HEADER
   ================================================= */
.team-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;

  background: linear-gradient(135deg, #000000 0%, #001f4d 100%);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1000;
}


/* =================================================
   HEADER TITLE
   ================================================= */
.team-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* =================================================
   3D BACK BUTTON
   ================================================= */
.team-header .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
   ================================================= */
.team-header .back-btn .arrow {
  width: 12px;
  height: 12px;

  border-left: 2px solid #001f4d;
  border-bottom: 2px solid #000000;

  transform: rotate(45deg);
}


/* =================================================
   BUTTON PRESS EFFECT
   ================================================= */
.team-header .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);
}

/* ================= DIRECTORY TITLE ================= */
.directory-title {
  font-size: 18px;
  font-weight: 700;
  color: #001f4d;      /* navy blue */
  text-align: left;
  position: relative;
  top: 20px;            /* moves the text down 20px */
}




/* ================= LEVEL BUTTONS ================= */
#levelButtons {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

/* DEFAULT BUTTON - pill shape */
.level-btn {
  flex: 1;
  padding: 8px 0;               /* smaller height */
  border-radius: 50px;           /* pill shape */
  background: #000000;           /* black base */
  color: #ffffff;                /* white text */
  font-weight: 600;
  text-align: center;
  border: 1px solid #001f4d;     /* navy border */
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
  outline: none;
  font-size: 13px;
}

/* HOVER EFFECT */
.level-btn:hover {
  background: linear-gradient(135deg, #000000 0%, #001f4d 100%); /* black to navy */
  color: #ffffff;
}

/* ACTIVE / CURRENT LEVEL */
.level-btn.active {
  background: linear-gradient(135deg, #000000 0%, #001f4d 100%); /* black to navy */
  color: #ffffff;
  border-color: #001f4d;
}



/* ================= TEAM LIST ================= */
#teamList {
  margin: 16px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;               /* slightly tighter */
  max-width: 500px;
}

/* ================= TEAM CARD ================= */
.team-card {
  width: 100%;
  min-height: 88px;        /* SLIM CARD */
  background: #ffffff;
  padding: 14px 16px;      /* lighter padding */
  border-radius: 14px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 14px;
  color: #000000;

  /* SUBTLE 3D DEPTH */
  border: 1px solid #e6e6e6;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.12);
}

/* ================= LEFT / RIGHT ================= */
.team-card .left,
.team-card .right {
  display: flex;
  flex-direction: column;
}

/* ================= NUMBER / NAME ================= */
.team-card .primary-text {
  font-weight: 800;        /* BOLD NUMBER */
  font-size: 15px;
  color: #000000;
}

/* ================= SECONDARY TEXT ================= */
.team-card .secondary-text {
  font-size: 12px;
  margin-top: 4px;
  color: #2ecc71;          /* GREEN ACCENT */
  font-weight: 500;
}

/* ================= AMOUNT ================= */
.team-card .amount {
  font-weight: 900;        /* EXTRA BOLD */
  font-size: 17px;
  color: #2ecc71;
  text-align: right;
  letter-spacing: 0.3px;  /* crisp number look */
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .team-card {
    min-height: 80px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .team-card .primary-text {
    font-size: 14px;
  }

  .team-card .amount {
    font-size: 16px;
  }
}



/* ================= RESET & GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background: #ffffff;
}

/* ================= PAGE CONTAINER ================= */
.withdraw-page {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  padding-top: 70px; /* space for fixed header */
}


/* ================= FIXED WITHDRAW HEADER ================= */
.withdraw-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: linear-gradient(135deg, #0a1a3a, #000000); /* navy blue to black */
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Header title */
.withdraw-header-fixed h2 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ===== 3D Back Button ===== */
.withdraw-back-btn {
  position: absolute;
  left: 16px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 2px 2px 6px rgba(0,0,0,0.3),
              inset -2px -2px 6px rgba(255,255,255,0.6);

  transition: transform 0.2s, box-shadow 0.2s;
}

.withdraw-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 8px rgba(0,0,0,0.35),
              inset -3px -3px 8px rgba(255,255,255,0.7);
}

/* ===== Arrow inside button ===== */
.withdraw-back-btn .arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #0a1a3a; /* navy black */
  border-bottom: 2px solid #0a1a3a;
  transform: rotate(45deg); /* points left */
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

/* Optional page content offset */
.page-content {
  padding-top: 64px; /* same as header height */
}



/* ================= CONTENT WRAPPER ================= */
.withdraw-content {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px; /* space between cards */
}



/* ================= BALANCE CARD ================= */
.withdraw-card {
  width: calc(100% - 32px);
  max-width: 400px;       /* slightly bigger card */
  margin: 20px auto;      /* more space around the card */

  padding: 30px 25px;     /* more padding to make it taller */
  border-radius: 25px;    /* bigger curved edges */

  /* NAVY → SKYBLUE GRADIENT CARD */
  background: linear-gradient(135deg, #000000, #1e90ff);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #ffffff; /* white text on gradient */

  display: flex;
  justify-content: center;   /* center content horizontally */
  align-items: center;
  flex-direction: column;    /* stack top-to-bottom */

  border: 1px solid rgba(255, 255, 255, 0.25);

  box-shadow: 0 8px 24px rgba(0,0,0,0.2); /* subtle shadow for depth */
}

/* Balance content wrapper */
.balance-content {
  text-align: center;       /* center all text inside */
}

/* Top label */
.withdraw-label {
  font-size: 16px;           /* slightly bigger */
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 12px;       /* more spacing from amount */
}

/* Amount */
.withdraw-balance {
  font-size: 36px;           /* bigger amount */
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

/* Subtext */
.withdraw-subtext {
  font-size: 14px;           /* slightly bigger */
  font-weight: 500;
  color: #ffffff;
  opacity: 0.85;
}


/* ================= BANK DISPLAY CARD ================= */
.bank-display-card {
  width: calc(100% - 32px);
  margin: 20px auto 0;

  /* NAVY → SKYBLUE GRADIENT */
  background: linear-gradient(135deg, #000000, #1e90ff);
  border-radius: 12px;
  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.3);

  display: flex;
  flex-direction: column;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 15px;
  font-weight: 700;
  color: #ffffff; /* white text */

  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
}

.edit-btn {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff; /* white text */
  cursor: pointer;
}

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* remove line from last row */
.account-row:last-child {
  border-bottom: none;
}

/* LEFT TEXT */
.account-row span:first-child {
  font-size: 14px;
  color: #ffffff; /* white text */
  font-weight: 500;
}

/* RIGHT TEXT */
.account-row span:last-child {
  font-size: 14px;
  color: #ffffff; /* white text */
  font-weight: 600;
  text-align: right;
}


/* ================= WITHDRAWAL CARD ================= */
.withdraw-card-container {
  width: calc(100% - 32px);
  margin: 20px auto 0;

  /* NAVY → SKYBLUE GRADIENT WITH TOUCH OF BLACK */
  background: linear-gradient(135deg, #1e90ff, #000000);
  border-radius: 16px;   /* slightly more curved edges */
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  display: flex;
  flex-direction: column;
  gap: 12px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15); /* stronger shadow for depth */
}

.withdraw-card-container .section-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff; /* white text on dark gradient */
}

#withdrawAmountInput {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3); /* light border for contrast */
  outline: none;
  background: rgba(255,255,255,0.05); /* subtle transparent background */
  color: #ffffff; /* white input text */
}

#withdrawAmountInput:focus {
  border-color: #FFD700; /* gold focus border */
}

/* ================= FEE CARD ================= */
.withdraw-card-container .fee-card {
  width: 100%;
  background: #FFD700; /* gold background */
  color: #0F52BA;      /* navy text for contrast */
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  padding: 8px 0;
  text-align: center;
}

/* ================= WITHDRAW BUTTON ================= */
.withdraw-card-container .withdraw-submit-btn {
  width: 100%;
  margin-top: 8px;

  /* NAVY → SKYBLUE BUTTON */
  background: linear-gradient(135deg, #0F52BA, #1e90ff);
  color: #ffffff;

  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.withdraw-card-container .withdraw-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* ================= SUCCESS MESSAGE ================= */
.withdraw-success {
  text-align: center;
  color: #FFD700; /* gold text for success */
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .withdraw-card-container {
    padding: 14px;
  }

  #withdrawAmountInput {
    font-size: 15px;
    padding: 12px;
  }

  .withdraw-card-container .withdraw-submit-btn {
    font-size: 15px;
    padding: 12px;
  }

  .withdraw-card-container .fee-card {
    font-size: 13px;
    padding: 6px 0;
  }
}


/* ================= IMPORTANT INFO CARD ================= */
.info-card {
  width: calc(100% - 32px);
  margin: 20px auto 0;

  /* WHITE CARD → text skyblue/navy */
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;

  display: flex;
  flex-direction: column;
  gap: 12px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  flex-grow: 1;
}

.info-card .section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F52BA; /* skyblue/navy */
  margin-bottom: 12px;
}

.info-card ol {
  padding-left: 20px;
  margin: 0;
}

.info-card li {
  font-size: 14px;
  color: #0F52BA; /* skyblue/navy text */
  margin: 6px 0;
}

.info-card li::marker {
  color: #0F52BA; /* skyblue/navy numbers */
  font-weight: 700;
}

/* Responsive */
@media (max-width: 480px) {
  .info-card {
    padding: 14px;
  }

  .info-card .section-title {
    font-size: 14px;
  }

  .info-card li {
    font-size: 13px;
  }
}

/* ================= MOBILE TWEAKS ================= */
@media (max-width: 480px) {
  .withdraw-balance {
    font-size: 22px;
  }

  .withdraw-submit-btn {
    font-size: 15px;
  }
}



.settings-item {
 
  text-decoration: none;   /* remove underline */
  
}


/* ================= 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: linear-gradient(90deg, #0a1a3a, #000000);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;

  z-index: 10000;
  box-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

/* HEADER TITLE */
.records-title {
  font-family: "Segoe UI", sans-serif;
}

/* BACK BUTTON */
.records-back-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;
  border-radius: 12px;

  border: none;
  background: rgba(255,255,255,0.15);
  color: #00d4ff;

  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.records-back-btn:hover {
  background: #00d4ff;
  color: #000;
  transform: translateY(-50%) scale(1.05);
}




/* ================= 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;
  }

  .records-back-btn {
    top: 60px;
    font-size: 14px;
  }
}



/* ================= FULL PAGE ================= */
#myInvestmentPage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
  background: #f2f1f1;        /* white background */
  padding-top: 100px;         /* reduced from 120px to push cards up */
  margin: 0;
  width: 100vw;
}


/* =================================================
   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: linear-gradient(135deg, #000000 0%, #001f4d 100%);
  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;
  color: #ffffff;
  letter-spacing: 0.5px;
}


/* =================================================
   3D BACK BUTTON (MATCHES OTHER PAGES)
   ================================================= */
.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 SHAPE
   ================================================= */
.investment-back-btn .arrow {
  width: 12px;
  height: 12px;

  border-left: 2px solid #001f4d;
  border-bottom: 2px solid #000000;

  transform: rotate(45deg);
}


/* =================================================
   BUTTON 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);
}

/* ==================== CONTAINER ==================== */
.grid-invest-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  background-color: #0b1e3d; /* Deep navy background for page */
}



/* ==================== CARD ==================== */
.grid-invest-card {
  position: relative; /* for any inner elements */
  display: flex;
  flex-direction: column; /* stack content vertically */
  background: #0F52BA; /* solid blue background */
  padding: 20px;
  border-radius: 18px;

  /* 3D effect shadow */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 4px 6px rgba(0, 0, 0, 0.25);

  font-family: 'Roboto', 'Segoe UI', sans-serif;
  color: #ffffff; /* default card text color */

  /* add spacing from page edges */
  margin: 0 15px; /* top/bottom 0, left/right 15px */
}

/* ==================== LEFT SIDE GRID ==================== */
.grid-invest-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 15px;
  width: 100%;
  margin-left: 75px; /* leave space for the top-left image */
}

/* Top row flex for Name + Price */
.grid-top-row {
  grid-column: span 2; /* span both columns */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  color: #000000;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

/* Info boxes for other text items */
.grid-info-box {
  background-color: #ffffff;
  color: #000000;
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}

/* ==================== IMAGE TOP-LEFT ==================== */
.grid-invest-right {
  position: absolute; /* top-left small box */
  top: 15px;
  left: 15px;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 480px) {
  .grid-invest-left {
    grid-template-columns: 1fr; /* stack vertically on mobile */
    margin-left: 0;
  }

  .grid-top-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-info-box {
    font-size: 13px;
  }

  .grid-invest-right {
    top: auto;
    left: auto;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    position: relative;
  }
}


/* ================= FINTECH ALERT ================= */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;

  background: rgba(0, 0, 0, 0.85); /* slightly transparent black for glass effect */
  backdrop-filter: blur(10px);      /* glassy blur behind alert */
  color: #32CD32;                   /* bright fintech green text */

  padding: 16px 22px;
  border-radius: 12px;

  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;

  box-shadow:
    0 4px 12px rgba(50,205,50,0.4),   /* soft neon green glow */
    0 8px 24px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 99999;

  border: 1px solid rgba(50,205,50,0.4); /* subtle neon border */
}

/* ================= SHOW ALERT ================= */
.custom-alert.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow:
    0 6px 18px rgba(50,205,50,0.6),
    0 12px 30px rgba(0,0,0,0.6);
}

/* ================= OPTIONAL ICON ================= */
.custom-alert i {
  margin-right: 8px;
  font-size: 16px;
  vertical-align: middle;
  color: #32CD32;
}


/* ================= FULLSCREEN LOADER ================= */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a1a3a; /* dark navy background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ================= HEARTBEAT LINE ================= */
.heartbeat-line {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.heartbeat-line span {
  display: block;
  width: 6px;
  height: 20px;
  background: #1976d2; /* navy blue */
  animation: spike 1s linear infinite;
  transform-origin: bottom;
}

/* stagger each bar for wave effect */
.heartbeat-line span:nth-child(1) { animation-delay: 0s; }
.heartbeat-line span:nth-child(2) { animation-delay: 0.1s; }
.heartbeat-line span:nth-child(3) { animation-delay: 0.2s; }
.heartbeat-line span:nth-child(4) { animation-delay: 0.3s; }
.heartbeat-line span:nth-child(5) { animation-delay: 0.4s; }

/* spike animation */
@keyframes spike {
  0%, 20%, 40%, 60%, 80%, 100% { height: 20px; }
  10% { height: 50px; } /* spike up */
  30% { height: 35px; } /* smaller spike */
  50% { height: 45px; } /* big spike */
  70% { height: 25px; } /* small spike */
  90% { height: 40px; } /* medium spike */
}

/* Investment Ticker */
.investment-ticker {
  width: 100%;
  overflow: hidden;
  background-color: #f3f4f6;  /* light gray */
  padding: 10px 0;
  border-radius: 12px;
  margin: 20px 0;            /* space under the ATM card image */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;         /* start offscreen to the right */
  animation: ticker 15s linear infinite;
}

.ticker-content span {
  margin-right: 50px;
  font-size: 14px;
  color: #111827;
}

.ticker-content i {
  color: #EF4444; /* red megaphone icon */
  margin-right: 6px;
}

/* Keyframes for horizontal scrolling */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}




/* Header Image */
.product-header-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}


/* Reviews Ticker Wrapper - fills remaining viewport height */
.reviews-ticker-wrapper {
  width: 100%;
  height: calc(100vh - 250px); /* adjust based on your header/image height */
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff; /* blue background */
  padding: 10px;
  box-sizing: border-box;
}

/* Ticker container */
.reviews-ticker {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: scrollReviews 300s linear infinite; /* very slow scroll */
}

/* Each review item */
.review-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #ffffff; /* white card background */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 80px; /* make each review taller */
}

/* User logo / icon */
.review-item .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* keeps image from shrinking */
}

/* Review text */
.review-item .review-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #1e40ff; /* blue text */
}

/* Smooth scroll animation */
@keyframes scrollReviews {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}



/* Full-width black box around dashboard image */
.dashboard-image-box-full {
    width: 100%;                 /* full width of parent container */
    background-color: #6A0DAD;   /* black box (you can change to green) */
    padding: 15px;               /* space inside box for image */
    border-radius: 16px;         /* rounded corners */
    box-sizing: border-box;
    text-align: center;          /* center image */
    margin: 20px 0;              /* vertical spacing only, no horizontal shift */
    overflow: hidden;            /* prevent any overflow */
}

/* Dashboard image inside the box */
.dashboard-image {
    max-width: 100%;             /* fit inside green box */
    height: auto;
    border-radius: 12px;         /* slightly rounded corners */
    display: inline-block;       /* center properly */
}




/* ===== PAYMENT TYPE ===== */
.payment-type {
  margin: 15px 0;
  text-align: left;
  width: 100%;
  position: relative;
  font-family: sans-serif;
}

.payment-type label {
  display: block;
  margin-bottom: 6px;
  color: #f4b400; /* green label */
  font-weight: 600;
  font-size: 14px;
}

/* The clickable box */
.payment-box {
  width: 100%;
  background: #ffffff;          /* white box */
  color: #000000;               /* green text */
  border: 1px solid #c0c0c0;   /* silver edge */
  border-radius: 12px;
  padding: 12px 15px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.payment-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-box .arrow {
  font-size: 14px;
}



/* Options list hidden by default */
.payment-options {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 48px; /* below the box */
  width: 100%;
  background: #ffffff;
  border: 1px solid #c0c0c0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none; /* hidden initially */
  z-index: 100;
}

.payment-options li {
  padding: 10px 15px;
  cursor: pointer;
  color: #000000;
  font-weight: 500;
  transition: background 0.2s;
}

.payment-options li:hover {
  background: rgba(15,157,88,0.1); /* light green hover */
}


/* Selected Amount Display */
.selected-amount {
  font-weight: bold;
  color: #000000;   /* black */
  font-size: 20px;
  margin-top: 8px;
  text-align: center;
}



#paymentCountdown {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ff0707; /* green */
}


#paymentStatusMessage {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  display: none;
}


.status-pending {
  background: #f0fff6;
  color: #1faa59;
}

.status-approved {
  background: #e6fff1;
  color: #1faa59;
}

.status-declined {
  background: #ffecec;
  color: #d62828;
}

.status-timeout {
  background: #fff6e5;
  color: #c77700;
}


/* ================= PROTECTED UI ================= */
#dashboard {
  display: none;
}

/* ================= BOTTOM NAV ================= */
#bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  transform: translateY(100%);
  transition: transform 0.35s ease;

  z-index: 2000;
}

#bottomNav.open {
  transform: translateY(0);
}

/* ================= LOCKED STATE ================= */
body.locked {
  overflow: hidden;
}

/* Blur ONLY the app content (allow interactions to pass through) */
body.locked #appWrapper {
  filter: blur(16px);
  user-select: none;
}






.verification-wrapper {
  position: relative;
}

.verification-wrapper input {
  padding-right: 90px; /* space for code on the right */
}

.verification-code {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  user-select: none;
}

.verification-code span:nth-child(1) { color: #2ecc71; } /* green */
.verification-code span:nth-child(2) { color: #ff69b4; } /* pink */
.verification-code span:nth-child(3) { color: #9b59b6; } /* purple */
.verification-code span:nth-child(4) { color: #f39c12; } /* orange */





/* ================= FULL PAGE CHAT ================= */
#chatPage {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: #ffffff; /* WHITE PAGE */
  color: #000;

  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  padding-bottom: 70px;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ================= CHAT HEADER ================= */
.chat-header {
  background: linear-gradient(135deg, #0F52BA, #1e90ff); /* NAVY → SKYBLUE */
  color: #ffffff;
  padding: 14px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

/* ================= CHAT MESSAGES ================= */
.chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  color: #000;
  background: #f8f9fb; /* very light background */
}

/* ================= CHAT INPUT AREA ================= */
.chat-input {
  display: flex;
  border-top: 1px solid #0F52BA; /* navy border */
  flex-shrink: 0;
  background: #ffffff;
  min-height: 55px;
}

/* ================= TEXT INPUT ================= */
.chat-input input {
  flex: 1;
  padding: 0 12px;
  border: none;
  outline: none;
  background: #f1f3f6;
  color: #000;
  font-size: 16px;
  border-radius: 8px 0 0 8px;
  height: 100%;
  box-sizing: border-box;
}

/* ================= SEND BUTTON ================= */
.chat-input button.send-btn {
  background: linear-gradient(135deg, #0F52BA, #1e90ff); /* NAVY → SKYBLUE */
  color: #ffffff;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 18px;
  font-size: 18px;
  border-radius: 0 8px 8px 0;
  height: 100%;
  box-sizing: border-box;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-input button.send-btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.chat-input button.send-btn:active i {
  transform: rotate(20deg);
}

/* ================= SHOW/HIDE ANIMATION ================= */
#chatPage.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

#chatPage:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ================= CHAT BUBBLES ================= */
.chat-wrapper {
  display: flex;
  margin: 10px 0;
  align-items: flex-end;
}

.chat-wrapper.user {
  justify-content: flex-end;
}

.chat-wrapper.admin {
  justify-content: flex-start;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 70%;
  font-size: 14px;
}

/* USER MESSAGE (NAVY BLUE) */
.user .chat-bubble {
  background: linear-gradient(135deg, #0F52BA, #1e90ff);
  color: rgb(0, 0, 0);
  border-bottom-right-radius: 6px;
}

/* ADMIN MESSAGE (LIGHT SKY STYLE) */
.admin .chat-bubble {
  background: #e9f2ff;
  color: #0F52BA;
  border-bottom-left-radius: 6px;
}

/* Admin Avatar */
.admin img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 8px;
}



/* ===== ATM CARD SECTION ===== */
.atm-card-section {
  width: calc(100% - 32px);
  margin: 20px auto;
  display: flex;
  justify-content: center;
}

/* ATM CARD STYLE */
.atm-card-image {
  width: 100%;
  max-width: 380px;

  /* Real ATM card proportion */
  aspect-ratio: 1.586 / 1; /* Standard credit card ratio */

  object-fit: cover;

  /* Smooth professional curved edges */
  border-radius: 22px;

  /* Soft realistic shadow */
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.atm-card-image:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 5px 12px rgba(0, 0, 0, 0.15);
}



.nav-item svg {
  width: 22px;
  height: 22px;
  color: #0F52BA; /* navy */
}

.nav-item.active svg {
  color: #1e90ff; /* skyblue when active */
}
