
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



:root {
  --brand-yellow: #F5A623;
  --brand-yellow-dark: #D68910;
  --brand-yellow-light: #FBC463;
  --brand-yellow-soft: #FEF3E2;
  --auth-bg: #ffffff;
  --text-dark: #14151A;
  --text-muted: #7A8494;
}

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: 28px 22px;
  box-sizing: border-box;
  width: 100%;
}

/* ===== LOGO ===== */
.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}


.auth-logo-square {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #f5f0e6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.04),
              0 8px 20px rgba(245, 166, 35, 0.22),
              0 16px 32px rgba(20, 21, 26, 0.06);
  overflow: hidden;
  transform: translateY(-2px);
}


.auth-logo-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 4px 0;
  letter-spacing: -0.2px;
}

.auth-welcome-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 22px 0;
}

/* ===== INPUTS ===== */
.fieldmark-input-group {
  margin-bottom: 14px;
}

.fieldmark-input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.optional-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: #a3adbd;
  font-size: 12px;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e6e9ef;
  border-radius: 30px;
  padding: 12px 18px;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: var(--brand-yellow);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.14);
}

.prefix {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 8px;
  border-right: 1.5px solid #e6e9ef;
}

.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
}

.fieldmark-field-box input::placeholder {
  color: #a3adbd;
}

.field-icon {
  color: #c3cad6;
  font-size: 13px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon {
  cursor: pointer;
  color: #a3adbd;
  font-size: 13px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon:hover {
  color: var(--brand-yellow-dark);
}

/* ===== BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: var(--brand-yellow);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  margin-top: 6px;
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.3);
  transition: background 0.2s, transform 0.1s;
}

.fieldmark-btn-submit:hover {
  background: var(--brand-yellow-dark);
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

/* ===== DIVIDER ===== */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eceff3;
}

.auth-divider span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== SECONDARY BUTTON ===== */
.fieldmark-btn-secondary {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--brand-yellow);
  border-radius: 30px;
  background: #ffffff;
  color: var(--brand-yellow-dark);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: background 0.2s;
}

.fieldmark-btn-secondary:hover {
  background: var(--brand-yellow-soft);
}

/* ===== SWITCH ===== */
.fieldmark-switch-action {
  text-align: center;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: var(--brand-yellow-dark);
  font-weight: 700;
  cursor: pointer;
  font-size: 12.5px;
  font-family: inherit;
  padding: 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 22px 18px; }
  .auth-logo-square { width: 56px; height: 56px; }
  .auth-welcome-title { font-size: 20px; }
  .fieldmark-field-box { padding: 11px 16px; }
}

@media (max-height: 700px) {
  .auth-page-inner { padding: 18px 22px; }
  .auth-logo-wrap { margin-bottom: 14px; }
  .auth-welcome-sub { margin-bottom: 18px; }
}


.fieldmark-switch-action {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: var(--brand-yellow);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
}

.auth-terms-text {
  text-align: center;
  font-size: 11px;
  color: #b6bec9;
  margin-top: 16px;
  line-height: 1.4;
  padding: 0 8px;
}


.dashboard {
  width: 100%;
  max-width: 800px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0 auto;
  padding: 50px 16px 24px 16px;
  box-sizing: border-box;
  background: #f8f9fa;
  background-attachment: fixed;
  color: #192231;
}




:root {
  --brand-yellow: #F5A623;
  --brand-yellow-dark: #D68910;
  --brand-yellow-light: #FBC463;
  --text-dark: #14151A;
}

body {
  padding-top: 0px !important;
  margin: 0;
}

.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  border-radius: 0 0 24px 24px;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.25);
  box-sizing: border-box;
  padding-bottom: 14px;
}

.header-top-row {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  box-sizing: border-box;
}

.welcome-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.action-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #E5484D;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--brand-yellow);
}

/* ── TICKER ── */
.header-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.18);
  margin: 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  overflow: hidden;
}

.ticker-icon {
  color: #ffffff;
  font-size: 13px;
  flex-shrink: 0;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 16s linear infinite;
  overflow: hidden;
}

.ticker-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #ffffff;
  padding-right: 40px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.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-yellow: #F5A623;
  --brand-yellow-soft: #FEF3E2;
  --brand-green: #1BA97F;
  --brand-green-soft: #E5F7F0;
  --brand-blue: #2E7CD6;
  --brand-blue-soft: #EAF2FE;
  --text-dark: #14151A;
}

.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: 20px 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.action-card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.action-card:active {
  transform: scale(0.94);
}

.mx-circle-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

.action-card:active .mx-circle-badge {
  transform: translateY(0);
}

.badge-amber {
  background: var(--brand-yellow-soft);
  box-shadow: 0 2px 3px rgba(20, 21, 26, 0.03),
              0 6px 14px rgba(245, 166, 35, 0.20);
}

.badge-green {
  background: var(--brand-green-soft);
  box-shadow: 0 2px 3px rgba(20, 21, 26, 0.03),
              0 6px 14px rgba(27, 169, 127, 0.20);
}

.badge-blue {
  background: var(--brand-blue-soft);
  box-shadow: 0 2px 3px rgba(20, 21, 26, 0.03),
              0 6px 14px rgba(46, 124, 214, 0.20);
}

.action-icon {
  font-size: 19px;
}

.icon-amber { color: var(--brand-yellow); }
.icon-green { color: var(--brand-green); }
.icon-blue  { color: var(--brand-blue); }

.action-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  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 {
  --rech-yellow: #F5A623;
  --rech-yellow-dark: #D68910;
  --rech-yellow-soft: #FEF3E2;
  --nav-text: #14151A;
  --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: 62px;
  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: 4px;
  -webkit-tap-highlight-color: transparent;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}


.nav-label-text {
  font-size: 10px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

/* active state — soft circular highlight like the reference */
.nav-item.active .nav-icon-wrapper {
  background: var(--rech-yellow-soft);
}

.nav-item.active .nav-icon-wrapper i {
  color: var(--rech-yellow-dark);
}

.nav-item.active .nav-label-text {
  color: var(--nav-text);
  font-weight: 700;
}

/* hover feedback for all items, including non-active */
.nav-item:hover .nav-icon-wrapper {
  background: var(--rech-yellow-soft);
}

.nav-item:hover .nav-icon-wrapper i {
  color: var(--rech-yellow-dark);
}

/* tap/press feedback */
.nav-item:active .nav-icon-wrapper {
  transform: scale(0.88);
  background: var(--rech-yellow-soft);
}

/* 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&display=swap');

:root {
  --brand-yellow: #b8860b;
  --brand-yellow-soft: #fef6e0;
  --brand-yellow-dark: #8a670a;
  --bg-main: #f6f7f9;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
  --danger: #E5484D;
  --danger-soft: #FDECEC;
}

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);
}

.pf-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 16px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.pf-header i {
  position: absolute;
  left: 16px;
  color: var(--text-dark);
  font-size: 15px;
  cursor: pointer;
}

.pf-header span {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.profile-scroll-container {
  padding: 72px 0 calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

/* ===== PROFILE INFO CARD ===== */
.pf-info-card {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border-radius: 18px;
  margin: 0 16px;
  padding: 18px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}

.pf-info-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pf-info-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-info-avatar i {
  font-size: 18px;
  color: #ffffff;
}

.pf-info-phone {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pf-info-member {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}

.pf-info-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px 14px;
}

.pf-info-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf-info-stat-right {
  align-items: flex-end;
}

.pf-info-stat-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}

.pf-info-stat-value {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.pf-info-code {
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* ===== QUICK ACTIONS ===== */
.pf-quick-actions {
  display: flex;
  gap: 10px;
  margin: 0 16px;
}

.pf-quick-btn {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1px solid var(--border-soft);
  transition: background 0.15s;
}

.pf-quick-btn:active { background: #fdfaf3; }

.pf-quick-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

.pf-quick-icon-deposit {
  background: var(--brand-yellow-soft);
  color: var(--brand-yellow-dark);
}

.pf-quick-icon-withdraw {
  background: #EAF2FE;
  color: #2E7CD6;
}

.pf-quick-btn span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ===== MENU CARD / SECTIONS ===== */
.pf-menu-card {
  margin: 0 16px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.pf-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.pf-section-title span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.pf-section-title .pf-menu-icon {
  background: var(--brand-yellow-soft);
}

.pf-section-title .pf-menu-icon i {
  color: var(--brand-yellow-dark);
}

.pf-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 13px 16px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  border-top: 1px solid var(--border-soft);
}

.pf-menu-item:active { background: #fafafa; }

.pf-menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pf-menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-menu-icon i {
  color: var(--brand-yellow-dark);
  font-size: 13px;
}

.pf-menu-icon-flat {
  background: #f2f3f6;
}

.pf-menu-icon-flat i {
  color: #8a94a6;
}

.pf-menu-icon-danger {
  background: var(--danger-soft);
}

.pf-menu-icon-danger i {
  color: var(--danger);
}

.pf-menu-left span {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-dark);
}

.pf-logout-text {
  color: var(--danger);
  font-weight: 500;
}

.pf-chevron {
  color: #cbd5e1;
  font-size: 11px;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-yellow: #F5A623;
  --brand-yellow-dark: #D68910;
  --brand-yellow-soft: #FEF3E2;
  --bg-light: #f4f5f7;
  --card-white: #ffffff;
  --text-main: #14151A;
  --text-muted: #64748b;
  --text-hint: #9aa5b4;
  --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: 56px;
  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: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.bank-header h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 76px 16px 40px;
}

.honda-bank-form {
  background: var(--card-white);
  border-radius: 20px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 22px rgba(20, 21, 26, 0.05);
}

.honda-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.honda-input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.honda-bank-form input,
.honda-bank-form select {
  background: #ffffff;
  border: 1px solid #e6e9ef;
  border-radius: 30px;
  padding: 14px 18px;
  font-size: 14px;
  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-yellow);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.14);
}

.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 16px center;
  background-size: 16px;
}

.honda-submit-btn {
  width: 100%;
  background: var(--brand-yellow);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.3);
  transition: transform 0.1s, background 0.2s;
}

.honda-submit-btn:hover {
  background: var(--brand-yellow-dark);
}

.honda-submit-btn:active {
  transform: scale(0.98);
}



/* ================= RECHARGE PAGE ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --rech-yellow: #F5A623;
  --rech-yellow-dark: #D68910;
  --rech-yellow-soft: #FEF3E2;
  --rech-border: #eceef2;
  --rech-text: #14151A;
  --rech-muted: #64748b;
  --rech-white: #ffffff;
  --rech-bg: #f6f7f9;
  --rech-green: #16A34A;
}

.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: 16px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0;
}

.recharge-back-btn-v2 {
  background: transparent;
  border: none;
  color: var(--rech-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  width: 32px;
  height: 32px;
}

.recharge-back-btn-v2:active { opacity: 0.5; }

.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 16px calc(100px + env(safe-area-inset-bottom, 0px)) 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── ORDER SUMMARY HERO — gateway checkout style ── */
.rech-order-hero {
  background: linear-gradient(160deg, #1a1200 0%, #14100a 100%);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(214, 137, 16, 0.25);
  box-sizing: border-box;
}

.rech-order-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rech-order-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.3px;
}

.rech-session-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--rech-yellow);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  font-variant-numeric: tabular-nums;
}

.rech-session-badge.rech-session-warning {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #F87171;
}

.rech-order-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.rech-order-currency {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.rech-order-amount {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

.rech-order-ref-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 14px;
}

.rech-order-ref-row span:last-child {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

.rech-session-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}

.rech-session-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--rech-yellow), #FFD166);
  border-radius: 999px;
  transition: width 1s linear, background 0.3s;
}

.rech-session-progress-fill.rech-session-warning {
  background: linear-gradient(90deg, #EF4444, #F87171);
}

/* ── CARDS ── */
.rech-card {
  background: var(--rech-white);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 20px rgba(20, 21, 26, 0.04);
}

.rech-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0 0 14px 0;
}

.rech-card-title i { color: var(--rech-yellow); font-size: 14px; }

.rech-card-title-plain {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rech-text);
  margin: 0 0 10px 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: 14px 4px;
  border-radius: 30px;
  text-align: center;
  color: var(--rech-text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.amount-option:hover {
  border-color: var(--rech-yellow);
  background: var(--rech-yellow-soft);
}

.amount-option.selected {
  background: var(--rech-yellow);
  border-color: var(--rech-yellow);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.3);
  transform: scale(1.03);
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  background: var(--rech-white);
  border: 1px solid var(--rech-border);
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 52px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.custom-amount-wrapper:focus-within { border-color: var(--rech-yellow); }

.custom-amount-currency { color: var(--rech-muted); 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: #a3adbd; font-weight: 400; }

/* ── PAYMENT METHOD — checkout-style selector ── */
.payment-method-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--rech-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.payment-method-option.selected {
  border-color: var(--rech-yellow);
  background-color: var(--rech-yellow-soft);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.18);
}

.pm-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 17px;
  color: #ffffff;
}

.pm-icon-monnify { background: linear-gradient(135deg, #F5A623, #D68910); }
.pm-icon-paga { background: linear-gradient(135deg, #64748b, #475569); }

.pm-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.pm-label { font-size: 14px; font-weight: 700; color: var(--rech-text); }
.pm-sub { font-size: 11.5px; font-weight: 500; color: var(--rech-muted); }

.pm-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.pm-badge-fast { background: var(--rech-green); color: #ffffff; }

.pm-radio {
  width: 21px;
  height: 21px;
  min-width: 21px;
  border-radius: 50%;
  border: 2px solid #d7dbe3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 10px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.payment-method-option.selected .pm-radio {
  border-color: var(--rech-yellow);
  background: var(--rech-yellow);
  color: #ffffff;
}

/* ── MANUAL DEPOSIT — numbered step flow ── */
.manual-deposit-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--rech-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.manual-step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.manual-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rech-yellow);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.manual-step-title { font-size: 13px; font-weight: 700; color: var(--rech-text); }

.manual-bank-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px;
}

.manual-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 7px 0;
}

.manual-bank-row-main { color: var(--rech-muted); }
.manual-bank-row-main strong { color: var(--rech-text); }

.manual-bank-row-highlight {
  background: var(--rech-yellow-soft);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 4px 0;
}

.manual-bank-row-highlight strong {
  font-size: 15px;
  color: var(--rech-yellow-dark);
  letter-spacing: 0.5px;
}

.manual-bank-copy-wrap { display: flex; align-items: center; gap: 8px; }

#copyManualAccBtn {
  background: var(--rech-yellow);
  border: none;
  color: #ffffff;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.manual-field-group { margin-bottom: 12px; }
.manual-field-group:last-child { margin-bottom: 0; }

.manual-field-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rech-text);
  margin-bottom: 6px;
}

.manual-field-group input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rech-border);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.manual-field-group input[type="text"]:focus { border-color: var(--rech-yellow); }

.manual-upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  font-size: 13px;
  color: var(--rech-muted);
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.manual-upload-dropzone:hover { border-color: var(--rech-yellow); }
.manual-upload-dropzone i { color: var(--rech-yellow-dark); }

/* ── CONFIRM BUTTON ── */
.deposit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--rech-yellow), var(--rech-yellow-dark));
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 50px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(245, 166, 35, 0.32);
}

.deposit-btn:active { transform: scale(0.97); }

.deposit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.rech-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--rech-muted);
  padding-bottom: 4px;
}

.rech-secure-note i { color: var(--rech-green); font-size: 11px; }

@media (max-width: 360px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .rech-order-amount { font-size: 28px; }
}
.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}


:root {
  --brand-yellow: #F5A623;
  --brand-yellow-dark: #D68910;
  --brand-yellow-soft: #FEF3E2;
  --text-dark: #14151A;
  --text-muted: #5c6a7e;
}

.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: linear-gradient(135deg, #d4af37, #b8860b);
  width: 100%;
  max-width: 320px;
  max-height: 56vh;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mx-close-x-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(255,255,255,0.2);
  border: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* HEADER PANEL */
.mx-modal-header {
  padding: 14px 16px 18px;
  text-align: center;
  flex-shrink: 0;
}

.mx-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 15px;
  color: #ffffff;
}

.mx-modal-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.mx-modal-subtitle {
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* WHITE BODY PANEL — overlaps header, scrolls internally */
.mx-modal-body {
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  margin-top: -14px;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
}

.mx-scroll-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
  padding-right: 4px;
}

.mx-rule-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fafb;
  border-radius: 9px;
  padding: 7px 9px;
}

.mx-rule-num {
  width: 19px;
  height: 19px;
  background: var(--brand-yellow-soft);
  color: var(--brand-yellow-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.mx-rule-text {
  font-size: 11px;
  color: var(--text-dark);
  line-height: 1.3;
  text-align: left;
}

.mx-rule-text strong {
  color: var(--brand-yellow-dark);
}

/* BUTTON */
.mx-action-btn {
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform 0.15s;
  color: #ffffff;
  flex-shrink: 0;
}

.mx-btn-primary {
  background: var(--brand-yellow);
  box-shadow: 0 6px 14px rgba(245, 166, 35, 0.3);
}

.mx-action-btn:active { transform: scale(0.97); }
#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-yellow: #F5A623;
  --brand-yellow-dark: #D68910;
  --brand-yellow-soft: #FEF3E2;
  --bg-page: #f6f7f9;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --text-hint: #9aa5b4;
  --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: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
  position: relative;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.invite-back-btn-v2 {
  position: absolute;
  left: 16px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 15px;
  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;
}

/* HERO BANNER */
.iv-hero-banner {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border-radius: 18px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}

.iv-hero-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.iv-hero-banner h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.iv-hero-banner p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.4;
}

/* CARDS */
.iv-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-sizing: border-box;
}

.iv-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.iv-card-title i {
  color: var(--brand-yellow-dark);
  font-size: 14px;
}

/* REFERRAL TOOLS FIELDS */
.iv-field-group {
  margin-bottom: 14px;
}

.iv-field-group:last-child {
  margin-bottom: 0;
}

.iv-field-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.iv-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 6px 6px 6px 14px;
}

.iv-field-value {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iv-field-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
}

.iv-copy-btn {
  background: var(--brand-yellow);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.iv-copy-btn:active {
  transform: scale(0.96);
}

/* HOW IT WORKS STEPS */
.iv-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.iv-step-item:last-child {
  margin-bottom: 0;
}

.iv-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-yellow-soft);
  color: var(--brand-yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.iv-step-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 3px 0;
}

.iv-step-info p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* SHARE WITH FRIENDS */
.iv-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.iv-share-btn {
  border: none;
  border-radius: 12px;
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.iv-share-btn i {
  font-size: 18px;
  color: #ffffff;
}

.iv-share-btn span {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.iv-share-btn:active {
  transform: scale(0.95);
}

.iv-share-fb { background: #1877F2; }
.iv-share-tw { background: #1DA1F2; }
.iv-share-wa { background: #25D366; }
.iv-share-tg { background: #229ED9; }

/* 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-yellow-soft);
  color: var(--brand-yellow-dark);
  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(--text-dark);
  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-yellow-dark);
}

/* INVITATION RULES CARD */
.iv-rules-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  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-yellow-dark);
  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: #f6f7f9;
  color: #14151A;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.team-page-container {
  padding: 70px 16px 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: 15.5px;
  font-weight: 600;
  color: #14151A;
}

.back-btn-white {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #14151A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}

/* ===== TABS ===== */
.team-list-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.team-tab-btn {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  border: 1.5px solid #e6e9ef;
  background: #ffffff;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.team-tab-btn.active {
  background: var(--brand-yellow, #F5A623);
  border-color: var(--brand-yellow, #F5A623);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(245, 166, 35, 0.25);
}

/* ===== LIST ===== */
.team-list-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eef1f6;
}

.team-list-number {
  font-size: 13.5px;
  font-weight: 600;
  color: #14151A;
}

.team-list-amount {
  font-size: 13.5px;
  font-weight: 700;
  color: #D68910;
}

/* ===== EMPTY STATE ===== */
.team-list-empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 90px 20px 0;
}

.team-list-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eceef2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.team-list-empty-icon i {
  font-size: 26px;
  color: #b0b8c4;
}

.team-list-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #14151A;
  margin: 0 0 6px 0;
}

.team-list-empty-sub {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  margin: 0;
}

#earningsPage.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}





/* ── WITHDRAWAL PAGE ── */
:root {
  --wd-yellow: #F5A623;
  --wd-yellow-dark: #D68910;
  --wd-yellow-soft: #FEF3E2;
}

.withdraw-page {
  background: #f6f7f9;
  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 #eef1f6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.wd-back-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #14151A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.wd-history-btn {
  border: none;
  background: transparent;
  color: var(--wd-yellow-dark);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  padding: 0;
}

.wd-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #14151A;
  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;
}

/* ── BALANCE CARD ── */
.wd-balance-card {
  position: relative;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border-radius: 18px;
  padding: 22px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.28);
}

.wd-bal-content {
  position: relative;
  z-index: 1;
}

.wd-bal-amount {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.wd-bal-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.wd-bal-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wd-bal-icon i {
  font-size: 18px;
  color: #ffffff;
}

/* ── SECTION CARDS ── */
.wd-section-card,
.wd-bank-card,
.wd-rules-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 18px rgba(20, 21, 26, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wd-section-card:active,
.wd-bank-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(20, 21, 26, 0.05),
              0 14px 26px rgba(245, 166, 35, 0.12);
}

.wd-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 14px;
}

.wd-section-title i {
  color: var(--wd-yellow-dark);
  font-size: 13.5px;
}

/* ── INPUT ── */
.wd-input-row {
  display: flex;
  align-items: center;
  background: #f6f7f9;
  border: 1.5px solid #eef1f6;
  border-radius: 12px;
  padding: 0 16px;
  height: 52px;
  gap: 10px;
  transition: border-color 0.2s;
}

.wd-input-row:focus-within {
  border-color: var(--wd-yellow);
  background: #ffffff;
}

.wd-currency {
  font-size: 17px;
  font-weight: 700;
  color: #94a3b8;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  font-weight: 600;
  color: #14151A;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #a3adbd;
  font-weight: 400;
  font-size: 13.5px;
}

.wd-fee-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

/* ── BANK VERIFIED ROW ── */
.wd-bank-verified-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--wd-yellow-soft);
  border-left: 3px solid var(--wd-yellow);
  border-radius: 14px;
  padding: 14px;
}

.wd-bank-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--wd-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wd-bank-icon i {
  color: #ffffff;
  font-size: 15px;
}

.wd-bank-details {
  flex: 1;
  min-width: 0;
}

.wd-bank-number {
  font-size: 14.5px;
  font-weight: 700;
  color: #14151A;
  margin-bottom: 2px;
}

.wd-bank-name {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wd-bank-verified-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--wd-yellow-dark);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.wd-bank-verified-tag i {
  font-size: 11px;
}

/* ── WITHDRAW BUTTON ── */
.wd-submit-btn {
  width: 100%;
  height: 52px;
  background: var(--wd-yellow);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 10px 22px rgba(245, 166, 35, 0.3);
  transition: transform 0.1s ease, background 0.2s ease;
}

.wd-submit-btn:hover {
  background: var(--wd-yellow-dark);
}

.wd-submit-btn:active {
  transform: scale(0.98);
}

/* ── RULES CARD ── */
.wd-rules-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wd-yellow-dark);
  margin-bottom: 12px;
}

.wd-rules-title i {
  font-size: 13.5px;
}

.wd-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: wd-rule;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wd-rules-list li {
  counter-increment: wd-rule;
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.wd-rules-list li::before {
  content: counter(wd-rule) ".";
  position: absolute;
  left: 0;
  color: var(--wd-yellow-dark);
  font-weight: 700;
}

.wd-rules-list li strong {
  color: var(--wd-yellow-dark);
  font-weight: 700;
}

.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: var(--wd-yellow-dark);
  font-size: 11px;
}

.card-order-row strong {
  color: #14151A;
  font-weight: 700;
}

/* ── MOBILE ── */
@media (max-width: 380px) {
  .wd-bal-amount { font-size: 24px; }
  .wd-title { font-size: 14.5px; }
}

.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }



.bank-page {
  background-color: #f6f7f9;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #14151A;
  box-sizing: border-box;
}

/* ── HERO HEADER ── */
.records-hero {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  padding: 16px 20px 40px;
  border-radius: 0 0 32px 32px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}

.records-hero-top {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.records-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.records-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin: 8px 0 6px 0;
  letter-spacing: -0.3px;
}

.records-hero-sub {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: 0 0 24px 0;
}

/* ── FILTER PILLS ── */
.records-filter-row {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.records-filter-pill {
  flex: 1;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 30px;
  padding: 12px 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.records-filter-pill.active {
  background: #14151A;
  color: #ffffff;
}


/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: -20px auto 0 auto;
  padding: 0 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 3;
}

#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── RECORD CARD ── */
.record-card {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px;
  box-sizing: border-box;
  border: 1px solid #eef1f6;
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 20px rgba(20, 21, 26, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.record-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(20, 21, 26, 0.05),
              0 14px 28px rgba(20, 21, 26, 0.08);
}

/* Row 1 — small gray labels */
.record-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-label {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

/* Row 2 — bold ID + bold amount */
.record-row-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.record-title {
  font-size: 16px;
  font-weight: 800;
  color: #14151A;
  letter-spacing: 0;
  word-break: break-all;
  padding-right: 10px;
}

.record-amount-value {
  font-size: 18px;
  font-weight: 800;
  color: #1BA97F;
  white-space: nowrap;
}

.record-amount-value.debit-amount  { color: #E5484D; }
.record-amount-value.pending-amount { color: #D68910; }
.record-amount-value.failed-amount {
  color: #94a3b8;
  text-decoration: line-through;
}

/* Divider between rows */
.record-divider {
  height: 1px;
  background: #eef1f6;
  margin: 12px 0;
}

/* Row 3 — clock/time + status pill */
.record-row-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-time {
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.record-time i {
  color: #94a3b8;
  font-size: 13px;
}

/* Row 4 — bold description */
.record-subtitle-row {
  font-size: 15px;
  font-weight: 800;
  color: #14151A;
}

/* ── STATUS BADGE ── */
.record-status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.status-approved {
  background: #E5F7F0;
  color: #1BA97F;
}
.status-pending {
  background: #FEF3E2;
  color: #D68910;
}
.status-failed {
  background: #FDECEC;
  color: #E5484D;
}



/* ================= 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;
}

}



:root {
  --brand-yellow: #F5A623;
  --brand-yellow-dark: #D68910;
  --brand-yellow-soft: #FEF3E2;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
}

.investment-page {
  background: #f6f7f9;
  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 var(--border-soft);
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: #f1f4f9;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}


.card-wrapper {
  flex: 1;
  padding: calc(56px + env(safe-area-inset-top, 0px) + 32px) 14px 100px 14px;
  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: var(--brand-yellow-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
  color: var(--brand-yellow-dark);
}

.inv-empty-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px 0;
}

.inv-empty-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 22px 0;
  line-height: 1.5;
}

.inv-browse-btn {
  background: var(--brand-yellow);
  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(245, 166, 35, 0.3);
  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: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 8px 20px rgba(20, 21, 26, 0.04);
  padding: 12px;
  box-sizing: border-box;
}

/* BANNER */
.inv-banner {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
}

.inv-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inv-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.92);
  color: #1BA97F;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.inv-status-badge.expired {
  color: #E5484D;
}

.inv-plan-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px 4px;
}

/* 2x2 STAT GRID */
.inv-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.inv-stat-box {
  background: #f6f7f9;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.inv-stat-key {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.inv-stat-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.inv-stat-val.income {
  color: #1BA97F;
}

.inv-stat-val.earned {
  color: #E5484D;
}

.inv-stat-val.days {
  color: #1BA97F;
}

/* NEXT PROFIT DROP */
.inv-countdown-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f7f9;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.inv-countdown-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.inv-countdown-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-yellow-dark);
}

/* EXPIRES ROW */
.inv-expires-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  border-top: 1px solid var(--border-soft);
  margin-bottom: 8px;
}

.inv-expires-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

.inv-expires-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
}

/* STARTED PILL */
.inv-started-pill {
  text-align: center;
  background: var(--brand-yellow-soft);
  border: 1px dashed #f0d9a8;
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.inv-started-pill strong {
  color: var(--text-dark);
  font-weight: 700;
}


.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-yellow: #F5A623;
  --brand-yellow-dark: #D68910;
  --brand-yellow-soft: #FEF3E2;
  --text-dark: #14151A;
  --text-muted: #64748b;
  --border-soft: #eef1f6;
}

/* Section header */
.mx-section-header {
  padding: 14px 16px 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.mx-myproducts-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-yellow-dark);
  text-decoration: none;
}

.mx-myproducts-link i {
  font-size: 11px;
}

.mx-myproducts-link:active {
  opacity: 0.7;
}

/* Product Grid */
#dynamicProductList {
  display: grid !important;
  gap: 14px !important;
  padding: 12px 12px 40px 12px !important;
}

/* Product Card */
.mx-product-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 16px !important;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 4px rgba(20, 21, 26, 0.03),
              0 6px 14px rgba(20, 21, 26, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mx-product-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(20, 21, 26, 0.05),
              0 12px 24px rgba(245, 166, 35, 0.12);
}

.mx-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mx-img-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-yellow-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.mx-img-box img { width: 100%; height: 100%; object-fit: cover; }

.mx-plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

/* Stat bar - 3 divided columns */
.mx-stats-bar {
  display: flex;
  align-items: center;
  background: #f6f7f9;
  border-radius: 12px;
  padding: 10px 4px;
  margin-bottom: 14px;
}

.mx-stat-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border-right: 1px solid var(--border-soft);
}

.mx-stat-col:last-child {
  border-right: none;
}

.mx-stat-col-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.mx-stat-col-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.mx-stat-col-value.highlight {
  color: var(--brand-yellow-dark);
}

/* Unit Price row */
.mx-unit-price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.mx-unit-price-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.mx-unit-price-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Buy Button */
.mx-add-to-portfolio-btn {
  width: 100% !important;
  background: var(--brand-yellow) !important;
  color: #ffffff !important;
  padding: 13px !important;
  border: none !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(245, 166, 35, 0.25);
  transition: transform 0.15s !important, background 0.2s !important;
}

.mx-add-to-portfolio-btn:hover {
  background: var(--brand-yellow-dark) !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-fintech-card {
  background: #ffffff;
  padding: 38px 34px;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(245, 166, 35, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 240px;
}

/* ROTATING RING */
.ft-ring-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  animation: ftRingSpin 1.8s linear infinite;
}

.ft-ring-track {
  fill: none;
  stroke: #FEF3E2;
  stroke-width: 6;
}

.ft-ring-progress {
  fill: none;
  stroke: #F5A623;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 276;
  stroke-dashoffset: 200;
}

.ft-center-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FEF3E2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-center-icon i {
  color: #D68910;
  font-size: 20px;
  animation: ftIconBreathe 2s ease-in-out infinite;
}

/* TEXT */
.ft-brand-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.ft-brand-yellow {
  color: #F5A623;
}

.ft-brand-black {
  color: #14151A;
}

.ft-status-text {
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  margin: -6px 0 0 0;
  display: flex;
  align-items: center;
}

.ft-dots span {
  animation: ftDotBlink 1.4s infinite;
  opacity: 0;
}

.ft-dots span:nth-child(1) { animation-delay: 0s; }
.ft-dots span:nth-child(2) { animation-delay: 0.2s; }
.ft-dots span:nth-child(3) { animation-delay: 0.4s; }

/* STEP INDICATOR */
.ft-step-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.ft-step {
  width: 20px;
  height: 4px;
  border-radius: 4px;
  background: #eceef2;
  transition: background 0.3s ease;
}

.ft-step.active {
  background: #F5A623;
  animation: ftStepGlow 1.6s ease-in-out infinite;
}

/* ANIMATIONS */
@keyframes ftRingSpin {
  0% { transform: rotate(-90deg); }
  100% { transform: rotate(270deg); }
}

@keyframes ftIconBreathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes ftDotBlink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes ftStepGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
/* 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: 24px;
  right: 24px;
  left: auto;
  transform: translateX(110%);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toast-overlay.toast-show {
  opacity: 1;
  transform: translateX(0);
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 14px 18px;
  border-radius: 12px;
  border-left: 4px solid #f0b100;
  font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 320px;
}

.toast-type-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast-success .toast-type-icon { color: #16a34a; }
.toast-success { border-left-color: #16a34a; }

.toast-error   .toast-type-icon { color: #dc2626; }
.toast-error   { border-left-color: #dc2626; }

.toast-warning .toast-type-icon { color: #f0b100; }
.toast-warning { border-left-color: #f0b100; }

.toast-msg {
  line-height: 1.4;
  color: #333;
}

@media (max-width: 480px) {
  #toast-overlay {
    top: 16px;
    right: 16px;
    left: 16px;
    transform: translateY(-120%);
  }
  #toast-overlay.toast-show {
    transform: translateY(0);
  }
  .toast-inner {
    max-width: none;
  }
}





.payment-confirm-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 24px;
}

.pc-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.pc-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #f2e9c9;
  border-top-color: #f0b100;
  animation: pc-spin 0.9s linear infinite;
  margin-bottom: 20px;
}

@keyframes pc-spin {
  to { transform: rotate(360deg); }
}

.pc-icon-success, .pc-icon-fail {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 20px;
}

.pc-icon-success { background: #16a34a; }
.pc-icon-fail { background: #dc2626; }

.pc-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.pc-sub {
  font-size: 13.5px;
  color: #8a8a8a;
  margin: 0 0 24px;
  line-height: 1.5;
}

.pc-btn {
  background: #f0b100;
  color: #1a1a1a;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}


.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;
}



:root {
  --tsk-gold: #F5A623;
  --tsk-gold-dark: #D68910;
  --tsk-gold-soft: #FEF3E2;
  --tsk-bg: #f6f7f9;
  --tsk-text-dark: #14151A;
  --tsk-text-muted: #64748b;
  --tsk-border: #eef1f6;
}

#tasksPage {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0;
  right: 0;
  box-sizing: border-box;
}

.tsk-wrapper {
  background: var(--tsk-bg);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  padding-bottom: 100px;
}

/* ── SIMPLE HEADER ── */
.tsk-header {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--tsk-border);
  box-sizing: border-box;
  position: relative;
}

.tsk-back-btn {
  position: absolute;
  left: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--tsk-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}

.tsk-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--tsk-text-dark);
  margin: 0;
}

/* ── STAT ROW ── */
.tsk-stat-row {
  display: flex;
  gap: 10px;
  padding: 16px;
  box-sizing: border-box;
}

.tsk-stat-box {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--tsk-border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
}

.tsk-stat-label {
  font-size: 11px;
  color: var(--tsk-text-muted);
  font-weight: 500;
}

.tsk-stat-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--tsk-text-dark);
}

/* ── SECTION LABEL ── */
.tsk-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tsk-text-muted);
  padding: 0 16px 10px;
}

.tsk-section-label i {
  color: var(--tsk-gold-dark);
  font-size: 11px;
}

/* ── TASK LIST ── */
.tsk-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
}

/* ── TASK CARD (compact, matches reference layout) ── */
.tsk-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--tsk-border);
  border-radius: 14px;
  padding: 14px;
  box-sizing: border-box;
  width: 100%;
}

.tsk-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.tsk-card-desc {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tsk-text-dark);
  line-height: 1.35;
  flex: 1;
}

/* Reward pill doubles as the claim button */
.tsk-reward-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.tsk-reward-badge i {
  font-size: 11px;
}

.tsk-reward-badge.locked {
  background: var(--tsk-gold-soft);
  color: var(--tsk-gold-dark);
  opacity: 0.65;
  cursor: not-allowed;
}

.tsk-reward-badge.ready {
  background: var(--tsk-gold);
  color: #ffffff;
}

.tsk-reward-badge.ready:active {
  transform: scale(0.96);
  background: var(--tsk-gold-dark);
}

.tsk-reward-badge.received {
  background: #E5F7F0;
  color: #1BA97F;
  cursor: default;
}

/* ── progress numbers row ── */
.tsk-progress-numbers-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tsk-progress-numbers {
  font-size: 11px;
  color: var(--tsk-text-muted);
  font-weight: 500;
}

.tsk-progress-pct {
  font-size: 11px;
  color: var(--tsk-text-muted);
  font-weight: 600;
}

.tsk-progress-bar-bg {
  width: 100%;
  height: 5px;
  background: #f1f4f9;
  border-radius: 10px;
  overflow: hidden;
}

.tsk-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tsk-gold-dark), var(--tsk-gold));
  border-radius: 10px;
  transition: width 0.4s ease;
}