
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



:root {
  --brand-blue: #1338BE;
  --brand-blue-dark: #0C2B8F;
  --brand-blue-light: #4C7CF0;
  --brand-blue-soft: #EAF0FE;
  --auth-bg: #ffffff;
  --text-dark: #0F0F10;
  --text-muted: #64748b;
}

body {
  margin: 0;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  background: var(--auth-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.honda-auth-container {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  box-sizing: border-box;
}

.honda-auth-container.active {
  display: flex;
}

.auth-page-inner {
  padding: 32px 24px;
  box-sizing: border-box;
  width: 100%;
}

/* ===== LOGO ===== */
.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.auth-logo-square {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e7edfb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px var(--brand-blue-soft), 0 10px 30px rgba(19, 56, 190, 0.18);
  overflow: hidden;
}

.auth-logo-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}

.auth-welcome-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
  text-align: center;
  margin: 0 0 28px 0;
}

/* ===== INPUTS ===== */
.fieldmark-input-group {
  margin-bottom: 16px;
}

.fieldmark-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.optional-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: #9aa5b8;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #dfe7fb;
  border-radius: 14px;
  padding: 15px 16px;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(19, 56, 190, 0.12);
}

.prefix {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 10px;
  border-right: 1.5px solid #cdd9f5;
}

.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
}

.fieldmark-field-box input::placeholder {
  color: #9aa5b8;
}

.field-icon {
  color: var(--brand-blue);
  font-size: 15px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon {
  cursor: pointer;
  color: #9aa5b8;
  font-size: 15px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon:hover {
  color: var(--brand-blue);
}

/* ===== BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  margin-top: 8px;
  box-shadow: 0 8px 20px rgba(19, 56, 190, 0.3);
  transition: background 0.2s, transform 0.1s;
}

.fieldmark-btn-submit:hover {
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue-dark));
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

/* ===== DIVIDER ===== */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dfe7fb;
}

.auth-divider span {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
}

/* ===== SECONDARY BUTTON ===== */
.fieldmark-btn-secondary {
  width: 100%;
  padding: 15px;
  border: 1.5px solid var(--brand-blue);
  border-radius: 14px;
  background: #ffffff;
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: background 0.2s;
}

.fieldmark-btn-secondary:hover {
  background: var(--brand-blue-soft);
}

/* ===== SWITCH ===== */
.fieldmark-switch-action {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 24px 18px; }
  .auth-logo-square { width: 80px; height: 80px; }
  .auth-welcome-title { font-size: 24px; }
  .fieldmark-field-box { padding: 13px 14px; }
}

@media (max-height: 700px) {
  .auth-page-inner { padding: 20px 24px; }
  .auth-logo-wrap { margin-bottom: 16px; }
  .auth-welcome-sub { margin-bottom: 20px; }
}




.dashboard {
  width: 100%;
  max-width: 800px; /* Increase this to whatever width you prefer */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  background: #f8f9fa;
  background-attachment: fixed;
  color: #192231;
}


.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 64px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1000;
  border-bottom: 1px solid #eef1f6;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-brand-badge {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0241b8;
  letter-spacing: -0.2px;
}

.welcome-text-accent {
  color: #16a34a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-btn {
  width: 36px;
  height: 36px;
  background: var(--brand-blue-soft);
  border: none;
  border-radius: 50%;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

:root {
  --brand-blue: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
  --text-muted: #8a99ad;
}

body {
  padding-top: 0px !important;
  margin: 0;
}

.gle-slim-card {
  width: 100%;
  max-width: 100%;
  margin: 76px auto 16px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2, 65, 184, 0.08);
  box-sizing: border-box;
}

.gle-slim-card img {
  width: 100%;
  height: auto;
  display: block;
}


@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap');

:root {
  --brand-blue: #0357EE;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
}

.main-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
}

.mx-menu-wrapper {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.action-card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.1s;
}

.action-card:active {
  transform: scale(0.95);
}

.mx-circle-badge {
  width: 64px;
  height: 64px;
  background: var(--brand-blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.action-icon {
  font-size: 24px;
  color: var(--brand-blue);
}

.action-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

/* HORIZONTAL SCROLLING WRAPPER */
.features-scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  /* Hide scrollbar for Chrome/Safari */
  scrollbar-width: none; 
}

.features-scroll-container::-webkit-scrollbar {
  display: none;
}

/* THE CARDS - Optimized for Mobile */
.feature-card {
  flex: 1 1 calc(33.33% - 10px); /* Adjusts to fit 3 cards per row */
  max-width: calc(33.33% - 10px); 
  background: #ffffff;
  border-radius: 15px; /* Slightly smaller radius for mobile */
  padding: 15px 5px;   /* Reduced padding to save space */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
  margin: 5px; /* Adds breathing room between cards */
}

.feature-title {
  font-size: 18px; /* Scaled down from 22px for mobile */
  font-weight: 800;
  color: #1a1a1a; 
  margin-bottom: 2px;
  text-align: center;
}

/* The 100% Blue Highlight */
.highlight-text {
  color: #2D6BEF !important;
}

.feature-subtitle {
  font-size: 11px; /* Scaled down from 14px */
  font-weight: 600;
  color: #99a1b7; 
  text-align: center;
  white-space: nowrap; /* Prevents text from wrapping ugly */
}
:root {
  --neon-purple: #9d4edd;
  --black-solid: #000000;
}

/* Force wrapper to be full width with zero margins */
.slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  margin-bottom: 110px; /* Generates breathing room for the content below */
}

/* Edge-to-edge full-bleed slider */
.image-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 250px; /* Adjusted to a sleek, compact card profile */
  background: transparent;
  margin: 0;
  padding: 0;
  scrollbar-width: none; /* Hides scrollbar on Firefox */
}

/* Hides scrollbar on Chrome/Safari */
.image-slider::-webkit-scrollbar { 
  display: none; 
}

.slide {
  min-width: 100%;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops slightly to fill the edge-to-edge rectangle */
  display: block;
}

/* ATM Card Floating Adjustment (Using fixed pixels for consistent margins on all screens) */
.floating-gadget-card {
  position: absolute;
  bottom: -70px;
  left: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--neon-purple), var(--black-solid));
  padding: 24px 20px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(157, 78, 221, 0.3);
  color: white;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gadget-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.gadget-desc {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}
/* 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: #D4AF37;               /* white text */
  background: #d01e1e;          /* 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: linear-gradient(135deg, #1E3A8A, #2f6df6); /* 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;
}


.record-id {
  font-weight: 700;           /* Makes it bold */
  font-family: 'Courier New', Courier, monospace; /* Monospace for numbers */
  color: #000000;                /* Slightly darker for readability */
  background: #f0f0f0;        /* Light grey background badge */
  padding: 2px 6px;           /* Space inside the badge */
  border-radius: 4px;         /* Rounded corners */
  display: inline-block;      /* Keeps the background tight to the text */
  margin-top: 4px;            /* Space from the time above */
  font-size: 11px;            /* Keeps it small but clear */
  letter-spacing: 0.5px;      /* Spacing between numbers */
  user-select: all;           /* Allows user to select full ID with one tap */
}


:root {
  --brand-blue: #0241b8;
  --nav-inactive: #94a3b8;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid #eef1f6;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  z-index: 9999;
}

.nav-pill-container {
  position: relative;
  height: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.nav-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--nav-inactive);
  transition: all 0.2s ease;
  gap: 3px;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.nav-icon-wrapper i {
  font-size: 15px;
  font-weight: 400;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

.nav-label-text {
  font-size: 10px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

.nav-item.active .nav-icon-wrapper i {
  color: var(--brand-blue);
}

.nav-item.active .nav-label-text {
  color: var(--brand-blue);
}

.nav-item:active {
  transform: scale(0.92);
}

/* Default state */
#bottomNav {
    display: none; 
}

/* Visibility state */
.nav-visible {
    display: flex !important;
}




.ticker-search-bar {
  width: 90%;
  max-width: 400px;
  margin: 15px auto; /* Spacing between flyer and action buttons */
  height: 45px;
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite; /* Adjust speed here */
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6a7e;
  gap: 8px;
}

.user-icon {
  width: 24px;
  height: 24px;
  background: #9d4edd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand-blue: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --bg-main: #f5f7fb;
  --text-dark: #0b1220;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
}

body {
  background-color: var(--bg-main);
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
}

.profile-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: var(--bg-main);
}

/* ===== FIXED HEADER ===== */
.pf-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
}

.pf-header i {
  color: var(--brand-blue);
  font-size: 18px;
  cursor: pointer;
}

.pf-header span {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}

.profile-scroll-container {
  padding: 16px 0 calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* ===== FLYER IMAGE (top banner / plan graphic) ===== */
.pf-flyer-wrap {
  margin: 0 16px;
  border-radius: 16px;
  overflow: hidden;
  height: 160px;
}

.pf-flyer-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
}

/* ===== BALANCE CARD ===== */
.pf-balance-card {
  background: #ffffff;
  border-radius: 16px;
  margin: 0 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--border-soft);
}

.pf-bal-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.pf-bal-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
}

/* ===== MENU LIST ===== */
.pf-menu-card {
  margin: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 14px;
  padding: 15px 16px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.pf-menu-item:active { background: #f8fafc; }

.pf-menu-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pf-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-menu-icon i {
  color: var(--brand-blue);
  font-size: 15px;
}

.pf-menu-left span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.pf-chevron {
  color: #cbd5e1;
  font-size: 12px;
}




.balance-atm-card {
  position: relative;
  background: linear-gradient(135deg, #0357EE, #0241b8);
  border-radius: 18px;
  padding: 16px 18px 16px;
  margin: 14px 12px;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(3, 87, 238, 0.22);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* Curved white accent along the top edge */
.balance-atm-curve {
  position: absolute;
  top: -60%;
  right: -20%;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.balance-atm-curve::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

/* Chip */
.balance-atm-chip {
  position: relative;
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #ffe9a8, #d4af37);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.balance-atm-chip i {
  color: rgba(0,0,0,0.45);
  font-size: 12px;
}

.balance-atm-label {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}

.balance-atm-amount {
  position: relative;
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.6);
  text-decoration-thickness: 2px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.balance-atm-welcome {
  position: relative;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 12px 0;
}

.balance-atm-actions {
  position: relative;
  display: flex;
  gap: 8px;
}

.balance-atm-btn {
  flex: 1;
  background: rgba(255,255,255,0.16);
  border: none;
  border-radius: 24px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.balance-atm-btn:active {
  transform: scale(0.97);
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-blue: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --bg-light: #f0f2f5;
  --card-white: #ffffff;
  --text-main: #0b1220;
  --text-muted: #64748b;
  --text-hint: #94a3b8;
  --border-light: #eef1f6;
}

.bank-page {
  background-color: var(--bg-light);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
}

.bank-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--card-white);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.bank-back-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--brand-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.bank-header h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--brand-blue);
}

.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 80px 16px 40px;
}

.honda-bank-form {
  background: var(--card-white);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(2, 65, 184, 0.06);
}

.honda-input-group {
  display: flex;
  flex-direction: column;
}

.honda-bank-form input,
.honda-bank-form select {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  font-size: 14.5px;
  outline: none;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
}

.honda-bank-form select {
  color: var(--text-hint);
}

.honda-bank-form input::placeholder {
  color: var(--text-hint);
}

.honda-bank-form input:focus,
.honda-bank-form select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(2, 65, 184, 0.1);
}

.honda-select-wrapper select {
  width: 100%;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.honda-submit-btn {
  width: 100%;
  background: var(--brand-blue);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}

.honda-submit-btn:active {
  transform: scale(0.98);
}



/* ================= RECHARGE PAGE ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --rech-blue: #0357EE;
  --rech-blue-dark: #0241b8;
  --rech-light-blue: #eaf0fe;
  --rech-border: #e7edfb;
  --rech-text: #1e293b;
  --rech-muted: #94a3b8;
  --rech-white: #ffffff;
  --rech-bg: #f7f9fc;
}

.recharge-page {
  font-family: 'Inter', sans-serif;
  background-color: var(--rech-bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: var(--rech-text);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* ── FIXED HEADER ── */
.recharge-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--rech-white);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 1px solid var(--rech-border);
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recharge-header-fixed h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--rech-blue);
  margin: 0;
}

.recharge-back-btn-v2 {
  background: transparent;
  border: none;
  color: var(--rech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  width: 32px;
  height: 32px;
}

.recharge-back-btn-v2:active {
  opacity: 0.5;
}

/* ── SCROLL CONTAINER ── */
.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 16px 40px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── INFO BANNER ── */
.rech-info-banner {
  background: var(--rech-white);
  border: 1px solid var(--rech-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rech-text);
  box-shadow: 0 4px 14px rgba(3, 87, 238, 0.06);
}

.rech-info-banner i {
  color: var(--rech-blue);
  font-size: 16px;
  flex-shrink: 0;
}

.rech-info-banner s {
  color: var(--rech-blue);
  font-weight: 700;
}

/* ── SELECT AMOUNT TITLE ── */
.rech-select-title {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--rech-text);
  margin: 4px 0 0 0;
}

/* ── AMOUNT GRID ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.amount-option {
  background: var(--rech-white);
  border: 1px solid var(--rech-border);
  padding: 16px 4px;
  border-radius: 14px;
  text-align: center;
  color: var(--rech-text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.amount-option:hover {
  border-color: var(--rech-blue);
  color: var(--rech-blue);
  background: var(--rech-light-blue);
}

.amount-option.selected {
  background: var(--rech-blue);
  color: var(--rech-white);
  border-color: var(--rech-blue);
  box-shadow: 0 6px 16px rgba(3, 87, 238, 0.3);
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  background: var(--rech-white);
  border: 1px solid var(--rech-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 56px;
  box-sizing: border-box;
}

.custom-amount-currency {
  color: var(--rech-blue);
  font-weight: 700;
  font-size: 15px;
}

#customAmount {
  background: transparent;
  border: none;
  color: var(--rech-text);
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: #9aa5b8;
  font-weight: 400;
}

/* ── CONFIRM BUTTON ── */
.deposit-btn {
  width: 100%;
  background: linear-gradient(90deg, #0357EE 0%, #00b4f0 100%);
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease, opacity 0.1s ease;
  box-shadow: 0 10px 24px rgba(3, 87, 238, 0.3);
}

.deposit-btn:active {
  transform: scale(0.97);
  opacity: 0.92;
}

@media (max-width: 360px) {
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}



:root {
  --brand-blue: #0357EE;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
  --text-muted: #5c6a7e;
  --accent-teal: #14b8a6;
  --accent-green: #16a34a;
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 16px;
  box-sizing: border-box;
}

.mx-unique-modal {
  background: #ffffff;
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  padding: 32px 22px 24px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  box-sizing: border-box;
  text-align: center;
}

.mx-close-x-btn {
  position: absolute;
  top: 14px; right: 14px;
  background: #f3f5f9;
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: #8a94a6;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CENTERED GLOWING AVATAR */
.mx-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--brand-blue-soft), 0 8px 24px rgba(3, 87, 238, 0.25);
}

.mx-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mx-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0 0 20px 0;
}

/* CHECKLIST */
.mx-check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
  text-align: left;
}

.mx-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.mx-check-icon {
  width: 26px;
  height: 26px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.mx-check-item s {
  color: var(--text-muted);
}

/* BUTTONS */
.mx-action-btn {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s;
  color: #ffffff;
}

.mx-btn-blue {
  background: #29a9e0;
  box-shadow: 0 8px 20px rgba(41, 169, 224, 0.3);
}

.mx-btn-teal {
  background: var(--accent-teal);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.mx-action-btn:active { transform: scale(0.97); }

.mx-btn-icon {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 380px) {
  .mx-unique-modal { padding: 26px 16px 20px; }
  .mx-modal-title { font-size: 18px; }
}

#welcomePopup {
  display: none; /* Changed from none to flex for visibility during testing */
}


.referral-promo-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid #e7edfb;
  box-shadow: 0 8px 24px rgba(3, 87, 238, 0.08);
  max-width: 500px;
  
  /* 🌟 CHANGE THIS LINE: Adds negative top margin to shift it up, and pushes the bottom up */
  margin: -20px auto 35px auto; 
  
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.referral-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(3, 87, 238, 0.16);
}

.referral-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.referral-text-col { flex: 1; }

.referral-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0357EE;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.referral-headline {
  font-size: 21px;
  font-weight: 800;
  color: #0b1220;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.referral-subtext {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.referral-icon-badge {
  width: 42px;
  height: 42px;
  background: #eaf0fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #0357EE;
  flex-shrink: 0;
  border: 1px solid #d7e3fb;
}

.referral-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.referral-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 30px;
  white-space: nowrap;
}

.referral-pill.green {
  background: #e8f8ef;
  color: #16a34a;
  border: 1px solid #c8ede0;
}

.referral-pill.amber {
  background: #fff6e6;
  color: #b45309;
  border: 1px solid #fbe3b0;
}

.referral-cta-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 13px;
  background: #0357EE;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(3, 87, 238, 0.25);
  transition: background 0.2s, transform 0.15s;
}

.referral-cta-btn:hover {
  background: #0241b8;
}

.referral-cta-btn:active {
  transform: scale(0.97);
}

@media (max-width: 380px) {
  .referral-headline { font-size: 19px; }
  .referral-icon-badge { width: 38px; height: 38px; border-radius: 10px; font-size: 15px; }
}


/* DAILY LOADER OVERLAY */
.daily-loader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9999;
}

/* 3D SPINNER */
.spinner-3d{
  width:60px;
  height:60px;
  border:6px solid rgba(255,255,255,0.2);
  border-top:6px solid #00c2ff;
  border-radius:50%;
  animation:spin3d 1s linear infinite;
  margin-bottom:15px;
}

@keyframes spin3d{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

.daily-loader p{
  color:white;
  font-weight:600;
  font-size:16px;
}


/* ===== 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 */
}

/* ===== PREMIUM PRODUCT CARD - REDESIGNED ===== */
.premium-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  margin-top: -12px;
  margin-bottom: 16px;
  border: 1px solid #ede9f6;
  box-shadow: 0 4px 18px rgba(75, 0, 130, 0.07);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ── TOP STRIP ── */
.inv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
}

.inv-vip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.inv-vip-badge i {
  color: #e9d5ff;
  font-size: 14px;
}

.inv-days-pill {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── BODY: IMAGE + STATS GRID ── */
.inv-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.inv-product-img {
  width: 85px;
  height: 85px;
  min-width: 85px;
  border-radius: 12px;
  background: #f5f0ff;
  border: 1px solid #ede9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inv-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inv-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.inv-stat-box {
  background: #faf7ff;
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #ede9f6;
}

.inv-stat-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inv-stat-label i {
  color: #9d4edd;
  font-size: 9px;
}

.inv-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #9d4edd;
}

.inv-stat-val.dark {
  color: #0f172a;
}

.inv-stat-val.green {
  color: #16a34a;
}

/* ── FOOTER: DATE + PROGRESS BAR ── */
.inv-card-footer {
  padding: 0 16px 14px 16px;
  border-top: 1px solid #f3eeff;
  padding-top: 12px;
}

.inv-date-range {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 8px;
}

.inv-date-range i {
  color: #9d4edd;
}

.inv-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #ede9f6;
  border-radius: 99px;
  overflow: hidden;
}

.inv-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4b0082, #9d4edd);
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* ── COUNTDOWN ROW ── */
.inv-countdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #faf7ff;
  border-top: 1px solid #f3eeff;
}

.inv-next-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

.inv-countdown-timer {
  font-family: monospace;
  font-weight: 700;
  color: #4b0082;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .inv-product-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }
  .inv-stat-val {
    font-size: 12px;
  }
}



:root {
  --brand-blue: #0241b8;
  --brand-blue-soft: #eaf0fe;
  --bg-page: #f5f7fb;
  --text-dark: #0b1220;
  --text-muted: #64748b;
  --text-hint: #94a3b8;
  --border-soft: #eef1f6;
}

.invite-page {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  background-color: var(--bg-page);
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 80px;
}

.invite-header-fixed-v2 {
  background: #ffffff;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-blue);
}

.invite-back-btn-v2 {
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* MY TEAM HEADER CARD */
.iv-myteam-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.iv-myteam-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0 0 2px 0;
}

.iv-myteam-card p {
  font-size: 12.5px;
  color: var(--brand-blue);
  opacity: 0.75;
  margin: 0;
}

.iv-team-details-pill {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

/* CODE / LINK CARD */
.iv-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-sizing: border-box;
}

.iv-code-block, .iv-link-block {
  background: var(--brand-blue-soft);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.iv-code-block {
  margin-bottom: 14px;
}

.iv-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.iv-code-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 14px;
}

.iv-link-text {
  font-size: 12.5px;
  color: var(--brand-blue);
  font-family: 'Inter', sans-serif;
  display: block;
  width: 100%;
  margin-bottom: 14px;
  background: transparent;
  border: none;
  outline: none;
  text-align: center;
  box-sizing: border-box;
  cursor: text;
}

.iv-btn-soft {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: rgba(2, 65, 184, 0.12);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* TIER ROWS */
.iv-tier {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
}

.iv-tier-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.iv-tier-info {
  flex: 1;
}

.iv-tier-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0 0 2px 0;
}

.iv-tier-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.iv-tier-pct {
  font-size: 19px;
  font-weight: 800;
  color: var(--brand-blue);
}

/* INVITATION RULES CARD */
.iv-rules-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-blue);
  text-align: center;
  margin: 0 0 16px 0;
}

.iv-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.iv-rule-item:last-child {
  margin-bottom: 0;
}

.iv-rule-item i {
  color: var(--brand-blue);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.iv-rule-item span {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.5;
}




#earningsPage {
  background: #f5f7fb;
  color: #0b1220;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.team-page-container {
  padding: 70px 14px 40px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ===== HEADER ===== */
.team-header-main {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
  z-index: 1000;
  box-sizing: border-box;
}

.team-header-main span {
  font-size: 16px;
  font-weight: 700;
  color: #0241b8;
}

.back-btn-white {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: #f1f4f9;
  color: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

/* ===== TABS ===== */
.team-list-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.team-tab-btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid #0241b8;
  background: #ffffff;
  color: #0241b8;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.team-tab-btn.active {
  background: #0241b8;
  color: #ffffff;
}

/* ===== LIST ===== */
.team-list-header-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #e2e8f0;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.team-list-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #eaf0fe;
}

.team-list-number {
  font-size: 14px;
  font-weight: 600;
  color: #0b1220;
}

.team-list-amount {
  font-size: 14px;
  font-weight: 700;
  color: #0241b8;
}

.team-list-empty {
  text-align: center;
  color: #64748b;
  font-size: 13px;
  padding: 30px 0;
}

.team-tab-btn {
  white-space: nowrap;
}

#earningsPage.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}




/* ── WITHDRAWAL PAGE ── */
.withdraw-page {
  background: #f0f2f5;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* ── HEADER ── */
.wd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: #ffffff;
  border-bottom: 1px solid #e4e6eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.wd-back-btn,
.wd-history-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #0241b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.wd-title {
  font-size: 18px;
  font-weight: 700;
  color: #0241b8;
  margin: 0;
  text-align: center;
  flex: 1;
}

/* ── CONTAINER ── */
.wd-container {
  padding: 16px 16px 80px 16px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wd-balance-card {
  background: linear-gradient(135deg, #0357EE, #0241b8);
  border-radius: 18px;
  padding: 24px;
  box-sizing: border-box;
}

.wd-bal-amount {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.6);
  text-decoration-thickness: 2px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.wd-bal-label {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* ── SECTION CARDS ── */
.wd-section-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ── INPUT ── */
.wd-input-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #d7e3fb;
  border-radius: 12px;
  padding: 0 16px;
  height: 54px;
  gap: 10px;
  transition: border-color 0.2s;
}

.wd-input-row:focus-within {
  border-color: #0357EE;
}

.wd-currency {
  font-size: 20px;
  font-weight: 700;
  color: #0357EE;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1c1e21;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #bcc0c4;
  font-weight: 400;
  font-size: 14px;
}

.wd-fee-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12.5px;
  color: #65676b;
}

/* ── WITHDRAW BUTTON ── */
.wd-submit-btn {
  width: 100%;
  height: 54px;
  background: linear-gradient(90deg, #0357EE, #0241b8);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 20px rgba(3, 87, 238, 0.25);
  transition: transform 0.1s ease;
}

.wd-submit-btn:active {
  transform: scale(0.98);
}

/* ── BANK DETAILS CARD ── */
.wd-bank-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.wd-bank-title {
  font-size: 15px;
  font-weight: 700;
  color: #0241b8;
  margin-bottom: 14px;
}

.wd-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.wd-bank-row:last-child {
  margin-bottom: 0;
}

.wd-bank-key {
  font-size: 13.5px;
  color: #65676b;
}

.wd-bank-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #0357EE;
  text-align: right;
}

/* ── RULES CARD ── */
.wd-rules-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.wd-rules-title {
  font-size: 15px;
  font-weight: 700;
  color: #0241b8;
  margin-bottom: 12px;
}

.wd-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wd-rules-list li {
  font-size: 13px;
  color: #65676b;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.wd-rules-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #0357EE;
  font-weight: 700;
}

.wd-rules-list li strong {
  color: #0241b8;
  font-weight: 700;
}

/* ── MOBILE ── */
@media (max-width: 380px) {
  .wd-bal-amount { font-size: 28px; }
  .wd-title { font-size: 16px; }
}


.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }


/* ── EMPTY BANK STATE — SLIM ATM CARD ── */
.bank-empty-card {
  position: relative;
  background: linear-gradient(135deg, #0357EE, #0241b8);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(3, 87, 238, 0.25);
}

.bank-empty-chip {
  width: 28px;
  height: 20px;
  background: linear-gradient(135deg, #ffe9a8, #d4af37);
  border-radius: 5px;
  margin: 0 auto 10px;
}

.bank-empty-dots {
  font-size: 15px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.bank-empty-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.1px;
}

.bank-empty-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 14px 0;
  line-height: 1.5;
}

#addAccountBtn {
  width: 100%;
  padding: 11px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s, background 0.15s;
}

#addAccountBtn:active {
  transform: scale(0.97);
  background: rgba(255,255,255,0.24);
}


.card-order-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.card-order-row i {
  color: #0357EE;
  font-size: 11px;
}

.card-order-row strong {
  color: #0b1220;
  font-weight: 700;
}




.bank-page {
  background-color: #f0f2f5;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #1c1e21;
  box-sizing: border-box;
}

/* ── HEADER ── */
.records-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10000;
  border-bottom: 1px solid #eef1f6;
  box-sizing: border-box;
}

.records-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0241b8;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.records-back-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: #0241b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── RECORD CARD ── */
.record-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #e4e6eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.card-icon-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.record-icon {
  color: #0b1220;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.record-text-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.record-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0b1220;
  font-family: monospace;
  letter-spacing: 0.3px;
}

.record-subtitle {
  font-size: 12.5px;
  font-weight: 600;
  color: #0241b8;
}

.record-amount-value {
  font-size: 16px;
  font-weight: 800;
  color: #16a34a;
  white-space: nowrap;
}

.record-amount-value.debit-amount  { color: #dc2626; }
.record-amount-value.pending-amount { color: #f59e0b; }
.record-amount-value.failed-amount {
  color: #94a3b8;
  text-decoration: line-through;
}

.card-mid-row {
  margin-top: 8px;
  padding-left: 25px;
}

.record-type-label {
  font-size: 12px;
  color: #65676b;
  font-weight: 400;
}


/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

/* ================= MODAL CARD ================= */
.modal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= INNER CARD ================= */
.slim-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRODUCT ROW ================= */
.product-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon-container {
  width: 48px;
  height: 48px;
  background: #2D6BEF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= PRODUCT DETAILS ================= */
.product-details strong {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin-top: 3px;
}

/* ================= DIVIDER ================= */
.divider-line {
  height: 1px;
  background: #e5e5e5;
  margin: 14px 0;
}

/* ================= BALANCE ================= */
.account-balance-row {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* ================= PURCHASE BUTTON ================= */
.purchase-btn {
  background: #2D6BEF;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}



.investment-page {
  background: #f0f2f5;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 10000;
  border-bottom: 1px solid #eef1f6;
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0241b8;
  font-family: 'Inter', sans-serif;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: transparent;
  border: none;
  color: #0241b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}


.card-wrapper {
  flex: 1;
  padding: calc(56px + env(safe-area-inset-top, 0px) + 40px) 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Empty state */
.inv-empty-state {
  text-align: center;
  max-width: 320px;
  margin: 60px auto 0 auto;
}

.inv-empty-icon {
  width: 64px;
  height: 64px;
  background: #eaf0fe;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
  color: #0357EE;
}

.inv-empty-title {
  font-size: 17px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0 0 6px 0;
}

.inv-empty-sub {
  font-size: 13px;
  color: #65676b;
  margin: 0 0 22px 0;
  line-height: 1.5;
}

.inv-browse-btn {
  background: #0357EE;
  color: #ffffff;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(3, 87, 238, 0.25);
  transition: transform 0.15s;
  font-family: inherit;
}

.inv-browse-btn:active { transform: scale(0.97); }

#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* PRODUCT CARD */
.premium-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eef2fb;
  box-shadow: 0 4px 16px rgba(3, 87, 238, 0.06);
  padding: 18px;
}

.inv-plan-title {
  font-size: 17px;
  font-weight: 800;
  color: #0357EE;
  margin: 0 0 14px 0;
}

.inv-card-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.inv-img-box {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #eaf0fe;
  overflow: hidden;
  flex-shrink: 0;
}

.inv-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inv-stats-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inv-stat-key {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.inv-stat-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #0b1220;
  text-decoration: line-through;
  text-decoration-color: #94a3b8;
  text-decoration-thickness: 1.5px;
}

/* COUNTDOWN LINE */
.inv-countdown-line {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #0357EE;
  padding-top: 12px;
  border-top: 1px solid #eef2fb;
}


.gle-swal-popup {
  border-radius: 20px !important;
  padding: 28px 22px !important;
  box-shadow: 0 20px 50px rgba(2, 65, 184, 0.15) !important;
}

.gle-swal-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0b1220 !important;
}

.gle-swal-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  color: #64748b !important;
}

.gle-swal-confirm {
  background: #0241b8 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(2, 65, 184, 0.25) !important;
}

.gle-swal-confirm:hover {
  background: #022e8a !important;
}

.gle-swal-icon {
  border-color: #eaf0fe !important;
}



.gle-whatsapp-fab {
  position: fixed;
  bottom: 180px;
  right: 18px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.gle-whatsapp-fab:active {
  transform: scale(0.92);
}



:root {
  --brand-blue: #0357EE;
  --brand-blue-soft: #eaf0fe;
  --text-dark: #0b1220;
  --text-muted: #64748b;
}

/* Section header */
.mx-section-header {
  padding: 16px 16px 12px;
  background: var(--brand-blue-soft);
}

.product-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0;
}

/* Product Grid */
#dynamicProductList {
  display: grid !important;
  gap: 16px !important;
  padding: 16px 12px 40px 12px !important;
}

/* Product Card */
.mx-product-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 18px !important;
  border: 1px solid #eef2fb;
  box-shadow: 0 4px 16px rgba(3, 87, 238, 0.06);
}

.mx-plan-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0 0 14px 0;
}

.mx-top-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.mx-img-box {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--brand-blue-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.mx-img-box img { width: 100%; height: 100%; object-fit: cover; }

/* Stats list (vertical rows, not grid boxes) */
.mx-stats-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mx-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mx-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.mx-stat-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
  text-decoration-thickness: 1.5px;
}

/* Buy Button */
.mx-add-to-portfolio-btn {
  width: 100% !important;
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  padding: 14px !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform 0.15s !important;
}

.mx-add-to-portfolio-btn:active {
  transform: scale(0.97);
}

.mx-loader, .mx-error {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 14px;
}

/* No hover state defined, so it will remain static */

/* This targets the <a> tag wrapping your settings item */
a.settings-link-wrapper {
    text-decoration: none !important; /* Forces the underline to disappear */
    color: inherit !important;        /* Forces the text to stay your app's color */
    display: block;                   /* Makes the whole row clickable */
    -webkit-tap-highlight-color: transparent; /* Removes the gray box on mobile tap */
}

/* Optional: Add a slight hover or active effect so the user knows it's a button */
a.settings-link-wrapper:active {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* ================= CUSTOM ALERT ================= */
.custom-alert {
  position: fixed !important;

  top: 50% !important;
  left: 50% !important;

  transform: translate(-50%, -50%) !important;

  background: rgba(0, 0, 0, 0.85);
  color: #fff;

  padding: 14px 24px;
  border-radius: 12px;

  font-size: 15px;
  text-align: center;

  max-width: 90%;
  width: max-content;

  box-shadow: 0 8px 20px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;

  z-index: 999999; /* higher than EVERYTHING */
}

.custom-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) !important;
}
.custom-alert {
  right: auto;
  margin: 0;
}

.custom-alert.show {
  animation: alertPop 0.3s ease;
}

@keyframes alertPop {
  0% {
    transform: translate(-50%, -60%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}


/* ================= EMPTY STATE UI (PRODUCT STYLE) ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  padding: 40px 20px; 
  margin: 15px;
  text-align: center;
  
  /* Card Design: Stretch like an ATM card */
  background: #ffffff;
  border-radius: 16px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  
  width: auto; 
  max-width: 100%; 
  box-sizing: border-box;
}

.empty-icon-circle {
  width: 70px; /* Slightly larger for product focus */
  height: 70px;
  background: #f8f9fa; /* Clean grey/white tint */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon-circle i {
  font-size: 28px;
  color: #121b1e; /* Bold dark icon */
}

.empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

.empty-subtitle {
  margin: 8px 0 25px 0;
  font-size: 14px;
  color: #777;
  font-weight: 400;
  line-height: 1.5;
  max-width: 280px; /* Keeps text centered and readable */
}

/* THE BUTTON - Full width button */
.browse-plans-btn {
  background: #4b0082; 
  color: #ffffff;
  border: none;
  width: 100%; 
  max-width: 300px; /* Adjusted for better card balance */
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.browse-plans-btn:active {
  transform: scale(0.97);
}


#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glass-card {
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(3, 87, 238, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 240px;
}

/* GLOWING ORB */
.gl-orb-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 87, 238, 0.35), transparent 70%);
  animation: glHaloPulse 2s ease-in-out infinite;
}

.gl-orb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f83ff, #0357EE 55%, #0241b8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(3, 87, 238, 0.4);
  animation: glOrbFloat 2.4s ease-in-out infinite;
}

.gl-orb i {
  color: #ffffff;
  font-size: 20px;
  animation: glIconPulse 2.4s ease-in-out infinite;
}

/* TEXT */
.brand-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #0241b8, #0357EE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.processing-title {
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  margin: -8px 0 0 0;
}

/* PROGRESS BAR */
.gl-progress-track {
  width: 100%;
  height: 5px;
  background: #eaf0fe;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 4px;
}

.gl-progress-bar {
  height: 100%;
  width: 40%;
  border-radius: 10px;
  background: linear-gradient(90deg, #0241b8, #4f83ff, #0241b8);
  background-size: 200% 100%;
  animation: glProgressSlide 1.6s ease-in-out infinite, glShimmer 1.6s linear infinite;
}

/* ANIMATIONS */
@keyframes glHaloPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes glOrbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}

@keyframes glIconPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes glProgressSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(150%); }
  100% { transform: translateX(-100%); }
}

@keyframes glShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Header Image */
.product-header-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}


.debit-amount  { color: #ef4444; font-weight: 700; }
.pending-amount { color: #f59e0b; font-weight: 700; }
.failed-amount  { color: #94a3b8; font-weight: 700; text-decoration: line-through; }
.record-amount-value { color: #16a34a; font-weight: 700; }

/* 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: #79a2e5; /* 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: #d29922;
}

.status-approved {
  background: #e6fff1;
  color: #1faa59;
}

.status-declined {
  background: #ffecec;
  color: #d62828;
}

.status-timeout {
  background: #fff6e5;
  color: #c77700;
}




/* ================= 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: #0088cc;       /* Telegram blue */
  color: #ffffff;            /* white icon/text */

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,136,204,0.35);  /* subtle blue shadow */
  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(0,136,204,0.45); /* stronger blue shadow */
}

/* Mobile safe */
@media (max-width: 480px) {
  .profile-page .telegram-float-profile {
    bottom: 100px;
    right: 12px;            /* adjust right for mobile */
  }
}



#toast-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

#toast-overlay.toast-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Square HUD card */
.toast-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(40, 40, 42, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #ffffff;
  padding: 28px 24px;
  border-radius: 20px;
  font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  width: 150px;
  height: 150px;
  text-align: center;
}

/* Type icon — large, centered, SF-symbol style */
.toast-type-icon {
  font-size: 42px;
  flex-shrink: 0;
}

.toast-success .toast-type-icon { color: #30d158; }
.toast-error   .toast-type-icon { color: #ff453a; }
.toast-warning .toast-type-icon { color: #ffd60a; }

/* Message text */
.toast-msg {
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}



.tsk-wrapper {
    position: fixed;
    inset: 0;
    background: #f0f4ff;
    z-index: 999;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    padding-bottom: 40px;
}

.tsk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1877F2;
    padding: 16px 18px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.tsk-back-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.2);
    border: none; border-radius: 10px;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.tsk-title {
    font-size: 18px; font-weight: 700;
    color: #fff; margin: 0;
}

.tsk-reward-banner {
    background: #fff;
    margin: 16px;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(24,119,242,0.08);
    border: 1px solid #e8f0fe;
}
.tsk-reward-label {
    font-size: 14px; color: #555; font-weight: 500;
}
.tsk-reward-value {
    font-size: 18px; font-weight: 800;
    color: #1877F2;
}

.tsk-section-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700;
    color: #1a1a2e;
    padding: 0 16px;
    margin-bottom: 12px;
}

.tsk-card {
    background: #fff;
    margin: 0 16px 14px;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(24,119,242,0.07);
    border: 1px solid #e8f0fe;
}

.tsk-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.tsk-card-name {
    font-size: 15px; font-weight: 700;
    color: #1a1a2e;
}
.tsk-card-name span {
    color: #1877F2;
    margin-right: 6px;
}

.tsk-badge {
    font-size: 11px; font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid;
}
.tsk-badge.received {
    color: #1877F2;
    background: #e8f0fe;
    border-color: #b3ccfd;
}
.tsk-badge.ready {
    color: #16a34a;
    background: #dcfce7;
    border-color: #86efac;
}
.tsk-badge.not-ready {
    color: #888;
    background: #f3f4f6;
    border-color: #d1d5db;
}

.tsk-reward-row {
    background: #f8faff;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border: 1px solid #e8f0fe;
}
.tsk-reward-row-label {
    font-size: 13px; color: #777;
}
.tsk-reward-row-val {
    font-size: 16px; font-weight: 800;
    color: #1877F2;
}

.tsk-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.tsk-progress-meta-left {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #555;
}
.tsk-progress-numbers {
    font-size: 12px; color: #555; font-weight: 500;
}

.tsk-progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e8f0fe;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 4px;
}
.tsk-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1877F2, #42a5f5);
    border-radius: 99px;
    transition: width 0.6s ease;
}
.tsk-progress-pct {
    text-align: right;
    font-size: 11px;
    color: #1877F2;
    font-weight: 600;
    margin-bottom: 14px;
}

.tsk-claim-btn {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    font-size: 14px; font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.tsk-claim-btn.claimable {
    background: #1877F2;
    color: #fff;
    box-shadow: 0 4px 14px rgba(24,119,242,0.35);
}
.tsk-claim-btn.claimable:hover {
    background: #1464d8;
    transform: translateY(-1px);
}
.tsk-claim-btn.claimed {
    background: #e8f0fe;
    color: #1877F2;
    cursor: default;
}
.tsk-claim-btn.locked {
    background: #f3f4f6;
    color: #aaa;
    cursor: default;
}


.record-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.status-approved {
  background: #dcfce7;
  color: #16a34a;
}
.status-pending {
  background: #fef9c3;
  color: #ca8a04;
}
.status-failed {
  background: #fee2e2;
  color: #dc2626;
}