
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #FFC107;
  --brand-hover: #FFB300;
  --brand-soft: rgba(255, 193, 7, 0.08);
  --auth-bg: #0A0A0A;
  --text-dark: #FFFFFF;
  --text-muted: #8A8A8A;
}

body {
  margin: 0;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  background: #0A0A0A;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.honda-auth-container {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  box-sizing: border-box;
}

.honda-auth-container.active {
  display: flex;
}

.auth-page-inner {
  padding: 32px 24px;
  box-sizing: border-box;
  width: 100%;
}

/* ===== LOGO ===== */
.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.auth-logo-square {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: #111111;
  border: 1px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px rgba(255,193,7,0.06), 0 10px 30px rgba(255,193,7,0.12);
  overflow: hidden;
}

.auth-logo-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}

.auth-welcome-sub {
  font-size: 14px;
  color: #8A8A8A;
  text-align: center;
  margin: 0 0 28px 0;
}

/* ===== INPUTS ===== */
.fieldmark-input-group {
  margin-bottom: 16px;
}

.fieldmark-input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 8px;
}

.optional-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: #555;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: #151515;
  border: 1.5px solid #2A2A2A;
  border-radius: 14px;
  padding: 15px 16px;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: #FFC107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.prefix {
  font-weight: 700;
  color: #FFC107;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 10px;
  border-right: 1.5px solid #2A2A2A;
}

.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  background: transparent;
  color: #FFFFFF;
  font-family: inherit;
}

.fieldmark-field-box input::placeholder {
  color: #555;
}

.eye-icon {
  cursor: pointer;
  color: #555;
  font-size: 15px;
  flex-shrink: 0;
  margin-left: auto;
  transition: color 0.2s;
}

.eye-icon:hover {
  color: #FFC107;
}

/* ===== BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: #FFC107;
  color: #111111;
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.35);
  transition: background 0.2s, transform 0.1s;
}

.fieldmark-btn-submit:hover {
  background: #FFB300;
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

/* ===== SWITCH ===== */
.fieldmark-switch-action {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: #8A8A8A;
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: #FFC107;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 24px 18px; }
  .auth-logo-square { width: 72px; height: 72px; border-radius: 18px; }
  .auth-welcome-title { font-size: 24px; }
  .fieldmark-field-box { padding: 13px 14px; }
}

@media (max-height: 700px) {
  .auth-page-inner { padding: 20px 24px; }
  .auth-logo-wrap { margin-bottom: 16px; }
  .auth-welcome-sub { margin-bottom: 20px; }
}


.dashboard {
  width: 100%;
  max-width: 800px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  background: #0A0A0A;
  background-attachment: fixed;
  color: #FFFFFF;
}


.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 64px;
  background: #0B0B0B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1000;
  border-bottom: 1px solid #1E1E1E;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #2A2A2A;
  overflow: hidden;
  flex-shrink: 0;
}

.header-brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-app-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.3px;
  line-height: 1;
}

.header-app-tag {
  font-size: 10px;
  font-weight: 500;
  color: #555555;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #0D2B1A;
  border: 1px solid #2ECC7133;
  border-radius: 20px;
  padding: 4px 10px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #2ECC71;
  border-radius: 50%;
  animation: liveBlink 1.4s infinite;
  flex-shrink: 0;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.live-text {
  font-size: 11px;
  font-weight: 700;
  color: #2ECC71;
  font-family: 'Inter', sans-serif;
}

.header-notif-btn {
  width: 38px;
  height: 38px;
  background: #141414;
  border: 1px solid #1E1E1E;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  position: relative;
}

.notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: #F8262A;
  border-radius: 50%;
  border: 1.5px solid #0B0B0B;
}




.gle-slim-card {
  border-radius: 20px;
  width: 100%;
  max-width: 100%;
  margin: 76px auto 16px;
  box-sizing: border-box;
  overflow: hidden;
  aspect-ratio: 16/9;
  padding: 0;
}



.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
   margin-bottom: 20px;
  padding: 0 4px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s;
  background: #141414;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 14px 8px;
}

.action-card:active {
  transform: scale(0.93);
}

.action-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.action-text {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

/* CONTAINER & HEADER */
.features-section {
  padding: 20px;
  background: transparent;
  font-family: sans-serif;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.features-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.view-all-link {
  color: #2D6BEF; /* Matching Syncox Blue */
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

/* 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 */
}


#bottomNav {
  display: none;
}

.nav-visible {
  display: block !important;
}

.nav-hidden {
  display: none !important;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #0F0F0F;
  border-top: 1px solid #1E1E1E;
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-pill-container {
  position: relative;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  max-width: 500px;
  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: #444444;
  transition: all 0.2s ease;
  gap: 5px;
  position: relative;
}

.nav-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-icon-wrapper i {
  font-size: 17px;
  color: #444444;
  transition: all 0.2s ease;
}

.nav-label-text {
  font-size: 9px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #444444;
  transition: color 0.2s ease;
  letter-spacing: 0.2px;
}

/* ACTIVE */
.nav-item.active .nav-icon-wrapper {
  background: rgba(255, 193, 7, 0.1);
}

.nav-item.active .nav-icon-wrapper i {
  color: #FFC107;
}

.nav-item.active .nav-label-text {
  color: #FFC107;
}

.nav-item:active {
  transform: scale(0.9);
}

/* CENTER */
.nav-item-center {
  position: relative;
  justify-content: flex-end;
  padding-bottom: 6px;
}

.nav-center-circle {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0F0F0F;
  border: 2.5px solid #FFC107;
  box-shadow: 0 0 16px rgba(255, 193, 7, 0.25), 0 0 40px rgba(255, 193, 7, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-center-label {
  color: #FFC107 !important;
  font-weight: 700;
}

/* Default state */
#bottomNav {
    display: none; 
}

/* Visibility state */
.nav-visible {
    display: flex !important;
}




.ticker-search-bar {
  width: 90%;
  max-width: 400px;
  margin: 15px auto; /* Spacing between flyer and action buttons */
  height: 45px;
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite; /* Adjust speed here */
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6a7e;
  gap: 8px;
}

.user-icon {
  width: 24px;
  height: 24px;
  background: #9d4edd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  background: #0A0A0A;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
}

.profile-page {
  width: 100%;
  min-height: 100vh;
  background: #0A0A0A;
  box-sizing: border-box;
}

.profile-scroll-container {
  padding: 0 0 calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

/* ── User block ── */
.pf-user-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 52px 16px 16px;
  background: #0A0A0A;
}

.pf-avatar-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: #111111;
  border: 1px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.pf-avatar-num {
  font-size: 14px;
  font-weight: 800;
  color: #FFC107;
}

.pf-user-info { flex: 1; }

.pf-username {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 2px;
}

.pf-member-tag {
  font-size: 12px;
  color: #8A8A8A;
  margin: 0;
}

.pf-header-refresh {
  width: 38px; height: 38px;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A8A8A;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Balance card ── */
.pf-balance-card {
  background: linear-gradient(135deg, #1A1200 0%, #111111 40%, #1A1200 100%);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: 20px;
  padding: 20px 18px;
  margin: 0 16px 16px;
  box-shadow: 0 8px 32px rgba(255,193,7,0.1);
}

.pf-bal-row {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.pf-bal-box {
  flex: 1;
  text-align: center;
}

.pf-bal-box:first-child {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.pf-bal-label {
  font-size: 11px;
  font-weight: 500;
  color: #8A8A8A;
  margin-bottom: 6px;
}

.pf-bal-amount {
  font-size: 26px;
  font-weight: 800;
  color: #FFC107;
  line-height: 1;
}

.pf-action-row {
  display: flex;
  gap: 10px;
}

.pf-act-btn {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: transform 0.1s;
}

.pf-act-btn:active { transform: scale(0.97); }

.pf-act-deposit {
  background: #FFC107;
  color: #111111;
  box-shadow: 0 4px 16px rgba(255,193,7,0.3);
}

.pf-act-withdraw {
  background: #1A1A1A;
  color: #FFFFFF;
  border: 1px solid #2A2A2A;
}

/* ── Sections ── */
.pf-section {
  margin: 0 0 2px;
}

.pf-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  padding: 14px 16px 10px;
  background: #0A0A0A;
}

.pf-menu-card {
  background: #111111;
  border-top: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
  overflow: hidden;
}

.pf-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid #1A1A1A;
  cursor: pointer;
  transition: background 0.15s;
}

.pf-menu-item:last-child { border-bottom: none; }
.pf-menu-item:active { background: #1A1A1A; }

.pf-menu-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pf-menu-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.pf-menu-text { display: flex; flex-direction: column; gap: 2px; }

.pf-menu-text span {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.pf-menu-text small {
  font-size: 12px;
  color: #8A8A8A;
  font-weight: 400;
}

.pf-chevron {
  color: #2A2A2A;
  font-size: 12px;
}

/* ── Sign out ── */
.pf-signout-item {
  margin: 12px 16px;
  background: #111111;
  border: 1px solid #1A1A1A;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.pf-signout-text {
  font-size: 15px;
  font-weight: 700;
  color: #F43F5E !important;
}

.pf-signout-icon {
  color: #F43F5E;
  font-size: 15px;
}

/* ── Support ── */
.pf-support-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,193,7,0.08);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: 14px;
  padding: 14px;
  color: #FFC107;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin: 0 16px;
}

/* ── Footer ── */
.pf-footer {
  text-align: center;
  font-size: 11px;
  color: #555;
  padding: 12px 0 10px;
}




@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.bank-page {
  background: #0A0A0A;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
}

.bank-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #0A0A0A;
  border-bottom: 1px solid #1A1A1A;
  z-index: 100;
  box-sizing: border-box;
}

.bank-back-btn {
  position: absolute;
  left: 16px;
  width: 34px; height: 34px;
  background: #1A1A1A;
  border-radius: 10px;
  border: 1px solid #2A2A2A;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.bank-header h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #FFFFFF;
}

.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 16px 40px;
  box-sizing: border-box;
}

.honda-bank-form {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.honda-input-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.honda-bank-form input,
.honda-bank-form select {
  background: #0A0A0A;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 15px 14px;
  font-size: 15px;
  outline: none;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.honda-bank-form input::placeholder { color: #555; }

.honda-bank-form input:focus,
.honda-bank-form select:focus {
  border-color: #FFC107;
  box-shadow: 0 0 0 3px rgba(255,193,7,0.08);
}

.honda-select-wrapper {
  position: relative;
}

.honda-select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #555;
  pointer-events: none;
}

.honda-submit-btn {
  width: 100%;
  background: #FFC107;
  color: #111111;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 6px 20px rgba(255,193,7,0.3);
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.1s;
}

.honda-submit-btn:hover { background: #FFB300; }
.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');

.recharge-page {
  font-family: 'Inter', sans-serif;
  background: #0A0A0A;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  color: #FFFFFF;
  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: #111111;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 1px solid #2A2A2A;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recharge-header-fixed h2 {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.recharge-back-btn-v2,
.recharge-history-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  width: 36px; height: 36px;
  border-radius: 8px;
  transition: background 0.15s;
}
.recharge-back-btn-v2:active,
.recharge-history-btn:active { background: #1e1e1e; }

/* ── SCROLL CONTAINER ── */
.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 56px 0 100px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ── BANNER ── */
.rech-banner-slot {
  width: 100%;
  aspect-ratio: 16/7;
  background: #1a1a1a;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.rech-banner-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.rech-balance-overlay {
  position: absolute;
  top: 0; left: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, transparent 100%);
  width: 100%;
}
.rech-balance-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.rech-balance-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ── VOUCHER NOTICE ── */
.rech-voucher-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #161616;
  border-top: 1px solid #2A2A2A;
  border-bottom: 1px solid #2A2A2A;
  padding: 13px 16px;
  cursor: pointer;
  box-sizing: border-box;
}
.rech-voucher-notice i {
  font-size: 18px;
  color: #FFC107;
  flex-shrink: 0;
}
.rech-voucher-notice span {
  font-size: 13px;
  color: #CFCFCF;
  line-height: 1.4;
}

/* ── SECTION WRAPPER ── */
.rech-section {
  padding: 20px 16px 0 16px;
  box-sizing: border-box;
}

.rech-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 14px 0;
}

.rech-min-highlight {
  color: #FFC107;
  font-weight: 700;
}

/* ── AMOUNT GRID ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.amount-option {
  background: #111111;
  border: 1px solid #2A2A2A;
  padding: 12px 4px;
  border-radius: 10px;
  text-align: center;
  color: #CFCFCF;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.18s ease;
}
.amount-option:active { opacity: 0.75; }
.amount-option.selected {
  background: #FFC107;
  color: #111111;
  border-color: #FFC107;
  box-shadow: 0 4px 14px rgba(255,193,7,0.3);
}

/* ── WARNING NOTE ── */
.rech-warning-note {
  font-size: 12px;
  color: #e05b5b;
  margin: 0;
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  background: #151515;
  border: 1px solid #303030;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 52px;
  box-sizing: border-box;
  gap: 8px;
}
.rech-naira-sign {
  font-size: 17px;
  font-weight: 700;
  color: #FFC107;
  flex-shrink: 0;
}
#customAmount {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  width: 100%;
  padding: 0;
}
#customAmount::placeholder {
  color: #8A8A8A;
  font-weight: 400;
}

/* ── DIVIDER ── */
.rech-divider {
  height: 1px;
  background: #2A2A2A;
  margin: 20px 16px 0 16px;
}

/* ── PAYMENT CHANNELS ── */
.rech-channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rech-channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #2A2A2A;
  cursor: pointer;
  background: #111111;
  box-sizing: border-box;
  transition: all 0.18s ease;
}
.rech-channel-item.active {
  border-color: #FFC107;
  background: rgba(255,193,7,0.07);
  box-shadow: 0 0 0 1px #FFC107 inset;
}
.rech-channel-icon {
  width: 40px; height: 40px;
  background: rgba(255,193,7,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFC107;
  font-size: 16px;
  flex-shrink: 0;
}
.rech-channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rech-channel-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}
.rech-channel-item.active .rech-channel-name { color: #FFC107; }
.rech-channel-sub {
  font-size: 12px;
  color: #8A8A8A;
}
.rech-channel-radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 11px;
  transition: all 0.18s;
}
.rech-channel-radio.active {
  background: #FFC107;
  border-color: #FFC107;
  color: #111111;
}

/* ── CONFIRM BUTTON ── */
.deposit-btn {
  width: 100%;
  background: linear-gradient(90deg, #FFC107 0%, #FFD54F 100%);
  color: #111111;
  border: none;
  padding: 17px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  transition: transform 0.1s ease, opacity 0.1s ease;
  box-shadow: 0 8px 24px rgba(255,193,7,0.28);
  box-sizing: border-box;
}
.deposit-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* ── RULES BOX ── */
.rech-rules-box {
  margin: 20px 16px 0 16px;
  background: #111111;
  border-radius: 14px;
  border: 1px solid #2A2A2A;
  overflow: hidden;
  box-sizing: border-box;
}
.rech-rules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 15px 16px;
}
.rech-rules-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}
.rech-rules-chevron {
  color: #8A8A8A;
  transition: transform 0.3s ease;
  font-size: 13px;
}
.rech-rules-chevron.open { transform: rotate(180deg); }
.rech-rules-body {
  padding: 0 16px 16px 16px;
  border-top: 1px solid #2A2A2A;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.info-icon {
  width: 22px; height: 22px;
  background: rgba(255,193,7,0.12);
  color: #FFC107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.info-list p {
  font-size: 13px;
  color: #8A8A8A;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.highlight-blue {
  color: #FFC107;
  font-weight: 600;
}

@media (max-width: 360px) {
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
}

.fintech-toast {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}


.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 16px;
  box-sizing: border-box;
}

.wl-modal {
  background: #111111;
  width: 100%;
  max-width: 360px;
  border-radius: 26px;
  border: 1px solid #1E1E1E;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  box-sizing: border-box;
}

/* CLOSE */
.wl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1E1E1E;
  border: none;
  color: #888888;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: .2s;
}

.wl-close:hover { background: #2A2A2A; color: #fff; }

/* BANNER */
.wl-banner {
  background: linear-gradient(160deg, #1A1200, #0A0A0A);
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  border-bottom: 1px solid #1E1E1E;
  overflow: hidden;
}

.wl-banner-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,193,7,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wl-banner-img-wrap {
  position: relative;
  width: 72px;
  height: 72px;
}

.wl-banner-img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid #FFC107;
  position: relative;
  z-index: 2;
}

.wl-banner-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,193,7,0.25);
  animation: wlRing 2s ease-in-out infinite;
}

@keyframes wlRing {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.wl-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.wl-tagline {
  font-size: 12px;
  color: #FFC107;
  font-weight: 600;
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

/* STATS */
.wl-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 16px;
  border-bottom: 1px solid #1E1E1E;
}

.wl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.wl-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.wl-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #FFC107;
  font-family: 'Inter', sans-serif;
}

.wl-stat-lbl {
  font-size: 10px;
  color: #555555;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.wl-stat-divider {
  width: 1px;
  height: 40px;
  background: #1E1E1E;
  flex-shrink: 0;
}

/* DESC */
.wl-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #666666;
  padding: 16px 20px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid #1E1E1E;
}

/* BUTTONS */
.wl-btns {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wl-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s;
}

.wl-btn:active { transform: scale(0.97); }

.wl-btn-tg {
  background: #FFC107;
  color: #111111;
  box-shadow: 0 8px 24px rgba(255,193,7,0.25);
}

.wl-btn-tg:hover { background: #FFB300; }

.wl-btn-ch {
  background: #141414;
  color: #ffffff;
  border: 1px solid #2A2A2A;
}

.wl-btn-ch:hover { background: #1A1A1A; }

#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;
  }
}


.invite-page {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  background: #0A0A0A;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 80px;
}

/* ── Header ── */
.invite-header-fixed-v2 {
  background: #0A0A0A;
  padding: 52px 16px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #1A1A1A;
  box-sizing: border-box;
}

.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.invite-back-btn-v2 {
  width: 34px; height: 34px;
  background: #1A1A1A;
  border-radius: 10px;
  border: 1px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Container ── */
.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Main card ── */
.iv-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.iv-card-title {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.iv-card-title i { color: #FFC107; }

/* ── Code / link section ── */
.iv-section {
  background: rgba(255,193,7,0.05);
  border: 1px solid rgba(255,193,7,0.12);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
}

.iv-section:last-of-type { margin-bottom: 0; }

.iv-section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #FFC107;
  margin-bottom: 10px;
}

.iv-code-value {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.iv-link-value {
  font-size: 12px;
  color: #8A8A8A;
  word-break: break-all;
  line-height: 1.5;
  margin-bottom: 14px;
  font-family: monospace;
}

.iv-link-value input {
  background: transparent;
  border: none;
  outline: none;
  color: #8A8A8A;
  font-size: 12px;
  font-family: monospace;
  width: 100%;
  text-align: center;
}

.iv-copy-btn {
  width: 100%;
  padding: 12px;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: 10px;
  color: #FFC107;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.iv-copy-btn:hover { background: rgba(255,193,7,0.15); }

/* ── Tier cards ── */
.iv-tier {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 16px;
}

.iv-tier-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.iv-tier-1 .iv-tier-badge {
  background: rgba(255,193,7,0.1);
  color: #FFC107;
}

.iv-tier-2 .iv-tier-badge {
  background: rgba(34,197,94,0.1);
  color: #22C55E;
}

.iv-tier-info { flex: 1; }

.iv-tier-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 3px;
}

.iv-tier-info p {
  font-size: 12px;
  color: #8A8A8A;
  margin: 0;
}

.iv-tier-pct {
  font-size: 22px;
  font-weight: 800;
}

.iv-tier-1 .iv-tier-pct { color: #FFC107; }
.iv-tier-2 .iv-tier-pct { color: #22C55E; }

/* ── Rules card ── */
.iv-rules-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 20px;
  padding: 20px;
}

.iv-rules-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 16px;
}

.iv-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #CFCFCF;
  line-height: 1.5;
}

.iv-rule-item:last-child { margin-bottom: 0; }

.iv-rule-item i {
  color: #FFC107;
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}



#earningsPage {
  background: #0A0A0A;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.team-page-container {
  padding: 70px 14px 100px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  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: #111111;
  border-bottom: 1px solid #2A2A2A;
  z-index: 1000;
  box-sizing: border-box;
}

.team-header-main span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.back-btn-white {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: #1F1F1F;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* SUMMARY STRIP */
.team-summary-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.team-summary-card {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 18px 16px;
}

.team-summary-label {
  font-size: 12px;
  color: #8A8A8A;
  margin-bottom: 8px;
  font-weight: 500;
}

.team-summary-value {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

/* LEVEL CARDS */
.team-level-card {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.team-lv-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
}

.team-lv-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.lv1-badge {
  background: rgba(255, 193, 7, 0.12);
  color: #FFC107;
}

.lv2-badge {
  background: rgba(255, 193, 7, 0.08);
  color: #FFC107;
}

.team-lv-info { flex: 1; }

.team-lv-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.team-lv-sub {
  font-size: 13px;
  color: #8A8A8A;
}

.team-lv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
}

.team-lv-stat-box {
  background: #151515;
  border: 1px solid #2B2B2B;
  border-radius: 10px;
  padding: 10px 8px;
}

.team-lv-stat-lbl {
  font-size: 11px;
  color: #8A8A8A;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}

.team-lv-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.team-lv-stat-val.yellow {
  color: #FFC107;
}

/* DETAIL VIEW */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.detail-header h4 {
  color: #ffffff;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.detail-close-btn {
  background: #111111;
  border: 1px solid #2A2A2A;
  color: #ffffff;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.user-list-wrapper-box {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 14px;
}

.tier-card {
  background: #151515;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #2B2B2B;
  border-left: 3px solid #FFC107;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tier-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.tier-badge {
  background: rgba(255,193,7,0.12);
  color: #FFC107;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
}

.inner-user-grid-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
}

.inner-user-box {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 8px 4px;
}

.inner-user-value {
  color: #FFC107;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.inner-user-label {
  color: #8A8A8A;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

/* TAP HINT */
.team-tap-hint {
  text-align: center;
  font-size: 12px;
  color: #8A8A8A;
  padding: 4px 0;
}

/* REWARD CARD */
.team-reward-card {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-reward-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.team-reward-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-reward-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #FFC107;
  line-height: 1.55;
}

.team-reward-list li::before {
  content: "•";
  color: #FFC107;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}


/* ── WITHDRAWAL PAGE ── */
.withdraw-page {
  background: #0A0A0A;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
  color: #FFFFFF;
}

/* ── HEADER ── */
.wd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  background: #111111;
  border-bottom: 1px solid #2A2A2A;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.wd-back-btn,
.wd-history-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.wd-back-btn:active,
.wd-history-btn:active { background: #1e1e1e; }

.wd-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

/* ── CONTAINER ── */
.wd-container {
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

/* ── BANNER SLOT ── */
.wd-banner-slot {
  width: 100%;
  aspect-ratio: 16/7;
  background: #1a1a1a;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.wd-banner-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wd-balance-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 14px 16px 16px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  width: 100%;
  box-sizing: border-box;
}
.wd-bal-amount {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.wd-bal-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

/* ── FLAT ROWS (bank + input) ── */
.wd-flat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  background: #0A0A0A;
  cursor: pointer;
  box-sizing: border-box;
}
.wd-flat-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
}
.wd-flat-row-left svg { color: #FFFFFF; flex-shrink: 0; }
.wd-flat-row > svg { color: #8A8A8A; }

.wd-row-divider {
  height: 1px;
  background: #2A2A2A;
  margin: 0 16px;
}

.wd-flat-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  background: #0A0A0A;
  box-sizing: border-box;
}
.wd-currency-sign {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}
.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.wd-input::placeholder {
  color: #8A8A8A;
  font-weight: 400;
}

/* ── TAX ROW ── */
.wd-tax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 4px 16px;
  box-sizing: border-box;
}
.wd-tax-received {
  font-size: 13px;
  color: #CFCFCF;
}
.wd-tax-label {
  font-size: 13px;
  color: #CFCFCF;
}
.wd-min-note {
  font-size: 13px;
  color: #FFC107;
  font-weight: 600;
  padding: 4px 16px 16px 16px;
  box-sizing: border-box;
}

/* ── WITHDRAW BUTTON ── */
.wd-submit-btn {
  width: calc(100% - 32px);
  margin: 4px 16px 0 16px;
  height: 54px;
  background: linear-gradient(90deg, #FFC107 0%, #FFD54F 100%);
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: opacity 0.15s, transform 0.1s;
}
.wd-submit-btn:active {
  transform: scale(0.98);
  opacity: 0.85;
}

/* ── NOTES CARD ── */
.wd-rules-card {
  margin: 20px 16px 0 16px;
  box-sizing: border-box;
}
.wd-rules-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}
.wd-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: wd-counter;
}
.wd-rules-list li {
  font-size: 13px;
  color: #8A8A8A;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
  counter-increment: wd-counter;
}
.wd-rules-list li::before {
  content: counter(wd-counter) ".";
  position: absolute;
  left: 0;
  color: #8A8A8A;
  font-weight: 600;
}

@media (max-width: 380px) {
  .wd-bal-amount { font-size: 24px; }
  .wd-title { font-size: 15px; }
}

.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }




/* ── EMPTY BANK STATE (Transparent Yellow ATM Card) ── */
.bank-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px; 
  
  /* 💳 STRICT ATM CARD DIMENSIONS */
  width: 100%;
  max-width: 340px;             
  aspect-ratio: 1.58 / 1;       /* Forces the exact slim ATM ratio */
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;

  /* 🟡 TRANSPARENT YELLOW THEME PROFILE */
  background: rgba(255, 193, 7, 0.08); /* Transparent yellow glass look */
  backdrop-filter: blur(4px);          /* Optional glassmorphism blur effect */
  border: 1px solid #FFC107;           /* Solid yellow border */
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.15); /* Soft yellow glow */
}

.bank-empty .bank-icon {
  width: 38px;                  
  height: 38px;
  background: rgba(255, 193, 7, 0.12); /* Matching icon-bg theme */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 0px;
}

.bank-empty h4 {
  font-size: 14px;              
  font-weight: 700;
  color: #FFFFFF;               /* White text */
  margin: 0;
  letter-spacing: -0.2px;
}

.bank-empty p {
  font-size: 11px;              
  color: #CFCFCF;               /* Secondary text */
  margin: 0;
  line-height: 1.3;
  max-width: 240px;
}

#addAccountBtn {
  margin-top: 4px;
  padding: 8px 18px;            
  background: #111111;          /* Black Button */
  color: #FFFFFF;               /* White Text */
  border: 1px solid #303030;    /* Premium dark border matching your theme */
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s, background-color 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}

#addAccountBtn::before {
  content: '+';
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #FFC107;               /* Yellow plus icon for a clean pop accent */
}

#addAccountBtn:hover {
  background: #151515;          /* Slight shift on hover */
}

#addAccountBtn:active {
  transform: scale(0.97);
  opacity: 0.9;
}



.bank-page {
  background: #0A0A0A;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  box-sizing: border-box;
}

.records-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: #111111;
  border-bottom: 1px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10000;
  box-sizing: border-box;
}

.records-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.records-back-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 193, 7, 0.12);
  border: none;
  color: #FFC107;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}

.records-back-btn:active {
  background: rgba(255, 193, 7, 0.25);
}

.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* RECORD CARD */
.record-card {
  width: 100%;
  background: #111111;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #2A2A2A;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.record-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.record-amount-value {
  font-size: 18px;
  font-weight: 800;
  color: #FFC107;
}

.record-amount-value.debit-amount  { color: #EF4444; }
.record-amount-value.pending-amount { color: #F59E0B; }
.record-amount-value.failed-amount {
  color: #64748B;
  text-decoration: line-through;
}

.card-mid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.record-type-label {
  font-size: 12px;
  color: #8A8A8A;
  font-weight: 400;
}

/* STATUS PILLS */
.record-status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.record-status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.status-confirmed-green {
  background: rgba(255, 193, 7, 0.12);
  color: #FFC107;
}

.status-failed-red {
  background: rgba(239, 68, 68, 0.10);
  color: #EF4444;
}

.status-pending-orange {
  background: rgba(245, 158, 11, 0.10);
  color: #F59E0B;
}

/* ORDER ID ROW */
.card-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px dashed #2A2A2A;
}

.card-order-row i {
  color: #FFC107;
  font-size: 11px;
}

.card-order-row strong {
  color: #FFC107;
  font-weight: 700;
}

/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

/* ================= MODAL CARD ================= */
.modal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= INNER CARD ================= */
.slim-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRODUCT ROW ================= */
.product-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon-container {
  width: 48px;
  height: 48px;
  background: #2D6BEF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= PRODUCT DETAILS ================= */
.product-details strong {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin-top: 3px;
}

/* ================= DIVIDER ================= */
.divider-line {
  height: 1px;
  background: #e5e5e5;
  margin: 14px 0;
}

/* ================= BALANCE ================= */
.account-balance-row {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* ================= PURCHASE BUTTON ================= */
.purchase-btn {
  background: #2D6BEF;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}



/* ── INVESTMENT PAGE ── */
.investment-page {
  background: #0A0A0A;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
}

/* ── HEADER ── */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 10000;
  border-bottom: 1px solid #2A2A2A;
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.investment-back-btn:active { background: #1e1e1e; }

/* ── TAB ROW ── */
.inv-tab-row {
  display: flex;
  gap: 10px;
  margin: 72px 16px 0 16px;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 30px;
  padding: 4px;
  box-sizing: border-box;
}

.inv-tab {
  flex: 1;
  padding: 11px;
  border: none;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: #8A8A8A;
  transition: all 0.2s;
}

.inv-tab.active {
  background: #FFC107;
  color: #111111;
  box-shadow: 0 4px 14px rgba(255,193,7,0.3);
}

/* ── CARD WRAPPER ── */
.card-wrapper {
  flex: 1;
  padding: 16px 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── EMPTY STATE ── */
.inv-empty-state {
  text-align: center;
  max-width: 320px;
  margin: 60px auto 0 auto;
}

.inv-empty-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,193,7,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
  color: #FFC107;
}

.inv-empty-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.inv-empty-sub {
  font-size: 13px;
  color: #8A8A8A;
  margin: 0 0 22px 0;
  line-height: 1.5;
}

.inv-browse-btn {
  background: #FFC107;
  color: #111111;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(255,193,7,0.25);
  transition: transform 0.15s;
  font-family: inherit;
}
.inv-browse-btn:active { transform: scale(0.97); }

#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── INVESTMENT CARD ── */
.premium-card {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
}

/* ── CARD TOP ── */
.inv-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.inv-card-top-left { flex: 1; }

.inv-plan-name {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.inv-plan-price {
  font-size: 22px;
  font-weight: 800;
  color: #FFC107;
  letter-spacing: -0.5px;
}

.inv-card-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #2A2A2A;
  background: #1a1a1a;
}

.inv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── INFO LIST ── */
.inv-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #2A2A2A;
  padding-top: 12px;
}

.inv-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.inv-info-label {
  color: #8A8A8A;
  font-weight: 500;
}

.inv-info-val {
  color: #CFCFCF;
  font-weight: 600;
}

.inv-remaining {
  color: #FFC107 !important;
  font-weight: 700 !important;
}

/* ── ACTIVE PILL (keep for JS reference) ── */
.inv-active-pill {
  display: none;
}

.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 {
  --primary: #FFC107;
  --primary-hover: #FFB300;
  --text-dark: #ffffff;
  --text-muted: #8A8A8A;
}

.mx-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 12px;
  margin-bottom: 4px;
}

.product-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.mx-section-sub {
  font-size: 13px;
  color: #8A8A8A;
  margin: 0;
}

.mx-myplans-link {
  background: none;
  border: none;
  color: #FFC107;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
}

#dynamicProductList {
  display: grid !important;
  gap: 14px !important;
  padding: 16px 12px 120px 12px !important;
}

/* CARD */
.mx-product-card {
  background: #111111 !important;
  border-radius: 18px !important;
  padding: 0 !important;
  border: 1px solid #2A2A2A;
  border-top: 3px solid #FFC107;
  box-shadow: 0 4px 24px rgba(255, 193, 7, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease !important;
}

/* HOT BADGE */
.mx-hot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FFC107;
  color: #111111;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  animation: mx-hot-pulse 1.4s ease-in-out infinite;
  z-index: 2;
}

@keyframes mx-hot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,193,7,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(255,193,7,0); }
}

/* IMAGE */
.mx-product-card .mx-top-row {
  display: block;
  padding: 0;
  margin-bottom: 0;
}

.mx-product-card .mx-img-box {
  width: 100%;
  height: 110px;
  border-radius: 0;
  overflow: hidden;
}

.mx-product-card .mx-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* INFO */
.mx-info-col {
  padding: 10px 14px 0 14px;
}

.mx-plan-label {
  font-size: 9px;
  font-weight: 700;
  color: #FFC107;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.mx-plan-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px 0;
}

.mx-validity {
  font-size: 11px;
  color: #8A8A8A;
  margin: 0 0 10px 0;
}

.mx-divider {
  height: 1px;
  background: #2A2A2A;
  margin: 0 14px 10px;
}

/* STATS GRID */
.mx-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 14px 10px;
}

.mx-stat-item {
  background: #151515;
  border: 1px solid #2B2B2B;
  border-radius: 10px;
  padding: 8px 6px;
  text-align: left;
}

.mx-stat-label {
  font-size: 8px;
  color: #8A8A8A;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mx-stat-value {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 2px;
}

.mx-stat-value.yellow {
  color: #FFC107;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.mx-stat-value.green { color: #2ECC71; }
.mx-stat-value.yellow { color: #FFC107; }

/* TOTAL RETURN ROW */
.mx-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #151515;
  border: 1px solid #2B2B2B;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 0 14px 10px;
}

.mx-total-label {
  font-size: 12px;
  color: #8A8A8A;
  font-weight: 500;
}

.mx-total-value {
  font-size: 13px;
  font-weight: 800;
  color: #2ECC71;
}

/* INVEST BUTTON */
.mx-add-to-portfolio-btn {
  width: calc(100% - 28px) !important;
  margin: 0 14px 14px !important;
  background: #FFC107 !important;
  color: #111111 !important;
  padding: 12px !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 8px 24px rgba(255,193,7,0.25);
  transition: transform 0.15s !important;
}

.mx-add-to-portfolio-btn:hover { background: #FFB300 !important; }
.mx-add-to-portfolio-btn:active { transform: scale(0.97); }

.mx-loader, .mx-error {
  text-align: center;
  padding: 30px;
  color: #8A8A8A;
  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;
  inset: 0;
  background: #0A0A0A;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* BG GLOW */
.ld-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,193,7,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* CONTENT */
.ld-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* COIN */
.ld-coin-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ld-coin {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFC107, #E6A700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255,193,7,0.4);
  animation: ldCoinFloat 2.5s ease-in-out infinite;
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.ld-coin-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ld-coin-shadow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 10px;
  background: rgba(255,193,7,0.2);
  border-radius: 50%;
  filter: blur(6px);
  animation: ldShadow 2.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes ldCoinFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes ldShadow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.4; }
  50% { transform: translateX(-50%) scale(0.7); opacity: 0.15; }
}

/* GLOW RINGS */
.ld-glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,193,7,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ldRingPulse 2.5s ease-out infinite;
}

.ld-glow-1 { width: 90px; height: 90px; animation-delay: 0s; }
.ld-glow-2 { width: 110px; height: 110px; animation-delay: 0.6s; }
.ld-glow-3 { width: 130px; height: 130px; animation-delay: 1.2s; }

@keyframes ldRingPulse {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* BRAND */
.ld-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ld-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* TAGLINE */
.ld-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #555555;
  font-weight: 500;
  margin: -14px 0 0 0;
  letter-spacing: 0.3px;
}

/* PROGRESS */
.ld-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
}

.ld-progress-track {
  width: 100%;
  height: 3px;
  background: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
}

.ld-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFC107, #FFD54F, #FFC107);
  background-size: 200% 100%;
  border-radius: 10px;
  animation: ldBarSlide 1.6s ease-in-out infinite;
}

@keyframes ldBarSlide {
  0%   { width: 0%; margin-left: 0%; }
  50%  { width: 70%; margin-left: 15%; }
  100% { width: 0%; margin-left: 100%; }
}

.ld-progress-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #444444;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: ldLabelBlink 1.6s ease-in-out infinite;
}

@keyframes ldLabelBlink {
  0%, 100% { opacity: 0.4; }
  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: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: calc(100% - 32px);
  max-width: 380px;
  transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

#toast-overlay.toast-show {
  top: 20px;
}

#toast-overlay.toast-hide {
  top: -100px;
  transition: top 0.35s ease-in;
}

.toast-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

/* Left accent bar */
.toast-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
}

.toast-success .toast-accent-bar { background: #22c55e; }
.toast-error   .toast-accent-bar { background: #ef4444; }
.toast-warning .toast-accent-bar { background: #f59e0b; }
.toast-info    .toast-accent-bar { background: #3b82f6; }

/* Icon circle */
.toast-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
  margin-left: 8px;
}

.toast-success .toast-icon-wrap { background: #f0fdf4; color: #22c55e; }
.toast-error   .toast-icon-wrap { background: #fef2f2; color: #ef4444; }
.toast-warning .toast-icon-wrap { background: #fffbeb; color: #f59e0b; }
.toast-info    .toast-icon-wrap { background: #eff6ff; color: #3b82f6; }

/* Text */
.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.toast-msg {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
}

/* Progress bar at bottom */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #f1f5f9;
}

.toast-progress-bar {
  height: 100%;
  width: 100%;
  animation: toastProgress 3.5s linear forwards;
}

.toast-success .toast-progress-bar { background: #22c55e; }
.toast-error   .toast-progress-bar { background: #ef4444; }
.toast-warning .toast-progress-bar { background: #f59e0b; }
.toast-info    .toast-progress-bar { background: #3b82f6; }

@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}




.tsk-wrapper {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  z-index: 999;
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
  padding-bottom: 60px;
}

/* ── Header ── */
.tsk-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 16px 20px;
  background: #0A0A0A;
  position: relative;
}

.tsk-back-btn {
  position: absolute;
  left: 16px;
  top: 52px;
  width: 36px; height: 36px;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tsk-header-refresh {
  position: absolute;
  right: 16px;
  top: 52px;
  width: 36px; height: 36px;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  color: #8A8A8A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.tsk-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.tsk-header-sub {
  font-size: 13px;
  color: #8A8A8A;
  margin: 0;
}

/* ── Stats banner ── */
.tsk-stats-banner {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 18px;
  margin: 0 16px 20px;
  padding: 18px 0;
  display: flex;
  align-items: center;
}

.tsk-stat-box {
  flex: 1;
  text-align: center;
}

.tsk-stat-box:not(:last-child) {
  border-right: 1px solid #1E1E1E;
}

.tsk-stat-label {
  font-size: 12px;
  color: #8A8A8A;
  margin-bottom: 6px;
}

.tsk-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}

/* ── Cards ── */
.tsk-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tsk-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
}

.tsk-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1A1A1A;
  margin-bottom: 14px;
}

.tsk-card-icon {
  width: 44px; height: 44px;
  background: rgba(255,193,7,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFC107;
  font-size: 18px;
  flex-shrink: 0;
}

.tsk-card-title-wrap { flex: 1; }

.tsk-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 2px;
}

.tsk-card-sub {
  font-size: 12px;
  color: #8A8A8A;
}

.tsk-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.tsk-badge.received {
  color: #FFC107;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.2);
}

.tsk-badge.ready {
  color: #22C55E;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
}

.tsk-badge.not-ready {
  color: #8A8A8A;
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
}

/* ── Reward row ── */
.tsk-reward-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #1A1A1A;
  margin-bottom: 12px;
}

.tsk-reward-row-label {
  font-size: 13px;
  color: #8A8A8A;
}

.tsk-reward-row-val {
  font-size: 20px;
  font-weight: 800;
  color: #FFC107;
}

/* ── Progress rows ── */
.tsk-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tsk-info-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8A8A8A;
}

.tsk-info-left i { color: #555; font-size: 13px; }

.tsk-info-right {
  font-size: 13px;
  color: #CFCFCF;
  font-weight: 500;
}

.tsk-progress-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  margin-top: 10px;
}

.tsk-progress-label {
  font-size: 12px;
  color: #8A8A8A;
}

.tsk-progress-pct {
  font-size: 12px;
  color: #FFC107;
  font-weight: 600;
}

.tsk-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #1A1A1A;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}

.tsk-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFC107, #FFD54F);
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* ── Claim button ── */
.tsk-claim-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.tsk-claim-btn.claimable {
  background: #FFC107;
  color: #111111;
  box-shadow: 0 4px 16px rgba(255,193,7,0.3);
}

.tsk-claim-btn.claimable:hover {
  background: #FFB300;
  transform: translateY(-1px);
}

.tsk-claim-btn.claimed {
  background: #1A1A1A;
  color: #FFC107;
  border: 1px solid rgba(255,193,7,0.2);
  cursor: default;
}

.tsk-claim-btn.locked {
  background: #1A1A1A;
  color: #555;
  border: 1px solid #2A2A2A;
  cursor: default;
}