
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




:root {
  --brand-blue: #F8262A;         /* Changed to Red */
  --brand-blue-dark: #E51D21;    /* Changed to Dark Red (Hover) */
  --brand-blue-soft: #1F1F1F;    /* Changed to Input Dark Gray */
  --auth-bg: #0B0B0B;            /* Changed to Body Dark Background */
  --text-dark: #FFFFFF;          /* Changed to White for Dark Mode */
  --text-muted: #9AA5B8;         /* Kept clean gray for labels */
}

body {
  margin: 0;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  background: var(--auth-bg);
  color: #FFFFFF;
  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: #1F1F1F;
  border: 1px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px rgba(248, 38, 42, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.auth-logo-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}

.auth-welcome-sub {
  font-size: 14px;
  color: var(--text-muted);
  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: var(--text-muted);
  margin-bottom: 8px;
}

.optional-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: #64748b;
}

.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: var(--brand-blue-soft);
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  padding: 15px 16px;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: var(--brand-blue);
  background: #1F1F1F;
  box-shadow: 0 0 0 3px rgba(248, 38, 42, 0.2);
}

.prefix {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 10px;
  border-right: 1.5px solid #2A2A2A;
}

.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
}

.fieldmark-field-box input::placeholder {
  color: #64748b;
}

.eye-icon {
  cursor: pointer;
  color: #64748b;
  font-size: 15px;
  flex-shrink: 0;
  margin-left: auto;
}

.eye-icon:hover {
  color: var(--brand-blue);
}

/* ===== BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px; /* Matched to 16px from your reference */
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 600; /* Matched to 600 from your reference */
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  margin-top: 8px;
  box-shadow: 0 8px 20px rgba(248, 38, 42, 0.25);
  transition: background 0.2s, transform 0.1s;
}

.fieldmark-btn-submit:hover {
  background: var(--brand-blue-dark);
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

/* ===== SWITCH ===== */
.fieldmark-switch-action {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 24px 18px; }
  .auth-logo-square { width: 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; }
}

/* Force typed text to be bright white */
.fieldmark-field-box input {
    color: #FFFFFF !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Make placeholders a lighter gray so they don't look completely invisible */
.fieldmark-field-box input::placeholder {
    color: #A0A0A0 !important;
    opacity: 1;
}

/* Fix browser auto-fill changing the background or text color */
.fieldmark-field-box input:-webkit-autofill,
.fieldmark-field-box input:-webkit-autofill:hover, 
.fieldmark-field-box input:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFFFF !important;
    transition: background-color 5000s ease-in-out 0s;
}

.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: #0B0B0B;
  background-attachment: fixed;
  color: #FFFFFF;
}



.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 58px;
  background: #0B0B0B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1000;
  border-bottom: 1px solid #1F1F1F;
}

.header-left { display: flex; align-items: center; gap: 10px; }

.header-avatar-wrap { position: relative; }

.header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F8262A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  border: 2px solid #2A2A2A;
}

.header-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: #22C55E;
  border-radius: 50%;
  border: 2px solid #0B0B0B;
}

.header-greet-block { display: flex; flex-direction: column; gap: 1px; }

.header-greeting-time {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #888888;
  margin: 0;
}

.header-greeting-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.header-actions { display: flex; align-items: center; }

.header-bell-wrap { position: relative; }

.header-bell-btn {
  width: 36px;
  height: 36px;
  background: #1F1F1F;
  border: none;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s;
}

.header-bell-btn:hover { background: #2A2A2A; }

.header-bell-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: #F8262A;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0B0B0B;
  font-family: 'Inter', sans-serif;
}

body {
  padding-top: 0px !important;
  margin: 0;

  
  
}




.main-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Checkin Banner */
.checkin-banner {
  width: 100%;
  background: #F8262A;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.2s;
}

.checkin-banner:active { opacity: 0.85; }

.checkin-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkin-icon-wrap {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #FFFFFF;
}

.checkin-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkin-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.checkin-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}

.checkin-play-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}

.checkin-play-btn:hover { background: rgba(255,255,255,0.3); }

/* Action Grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.action-card {
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
}

.action-card:active { transform: scale(0.95); }
.action-card:hover { background: #2A2A2A; }

.mx-circle-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FFFFFF;
}

.red-badge    { background: #F8262A; }
.purple-badge { background: #8b5cf6; }
.blue-badge   { background: #3b82f6; }

.action-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
}



/* 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 */
}


.slider-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 100px;
  padding: 0;
}

.image-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 250px;
  background: transparent;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
}

.image-slider::-webkit-scrollbar {
  display: none;
}

.slide {
  min-width: 100%;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-gadget-card {
  position: absolute;
  bottom: -70px;
  left: 12px;
  right: 12px;
  background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.3));
  padding: 16px 18px;
  border-radius: 16px;
  color: white;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.08);
}

.gadget-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.gadget-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.gadget-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.gdot.active {
  width: 20px;
  border-radius: 4px;
  background: #F8262A;
}

/* Products Header */
.products-header {
  margin-bottom: 12px;
  text-align: left; /* align text to left */
}

.products-header h2 {
  display: inline-block;        
  padding: 6px 16px;            
  font-size: 18px;
  font-weight: bold;
  color: #D4AF37;               /* white text */
  background: #d01e1e;          /* sky blue background */
  border-radius: 50px;          
  font-family: 'Arial Black', 'Helvetica', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;    
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* subtle black shadow */
}





.welcome-card {
  background: linear-gradient(135deg, #1E3A8A, #2f6df6); /* SONY-style blue */
  color: white;
  border-radius: 12px;       
  padding: 30px;             
  margin: 0;                 /* remove side margins */
  width: 100%;               /* full width of container/screen */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.welcome-content {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: flex-start;  /* all left aligned */
}

.welcome-text {
  font-size: 16px;           
  font-weight: 300;          
  margin: 0;                 
}

.user-number {
  font-size: 20px;           
  font-weight: 700;          
  margin: 4px 0 0 0;         /* small space below header */
  letter-spacing: 1px;
}


.record-id {
  font-weight: 700;           /* Makes it bold */
  font-family: 'Courier New', Courier, monospace; /* Monospace for numbers */
  color: #000000;                /* Slightly darker for readability */
  background: #f0f0f0;        /* Light grey background badge */
  padding: 2px 6px;           /* Space inside the badge */
  border-radius: 4px;         /* Rounded corners */
  display: inline-block;      /* Keeps the background tight to the text */
  margin-top: 4px;            /* Space from the time above */
  font-size: 11px;            /* Keeps it small but clear */
  letter-spacing: 0.5px;      /* Spacing between numbers */
  user-select: all;           /* Allows user to select full ID with one tap */
}


:root {
  --nav-active: #F8262A;
  --nav-inactive: #555555;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #111111;
  border-top: 1px solid #1E1E1E;
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-pill-container {
  height: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.nav-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--nav-inactive);
  transition: all 0.2s ease;
  gap: 3px;
  position: relative;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.nav-icon-wrapper svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  display: block;
}

.nav-label-text {
  font-size: 10px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

/* Active state */
.nav-item.active {
  color: var(--nav-active);
}

/* Click feedback */
.nav-item:active {
  transform: scale(0.9);
}

/* CENTER GRAB */
.nav-center {
  position: relative;
  overflow: visible;
}

.nav-center-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0B0B0B;
  border: 3px solid #F8262A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -28px;
  overflow: hidden;
  box-shadow: 0 -4px 16px rgba(248, 38, 42, 0.3);
}

.nav-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


#bottomNav {
  display: none;
}

.nav-visible {
  display: block !important;
}

.nav-hidden {
  display: none !important;
}


.ticker-search-bar {
  width: 90%;
  max-width: 400px;
  margin: 15px auto; /* Spacing between flyer and action buttons */
  height: 45px;
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite; /* Adjust speed here */
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6a7e;
  gap: 8px;
}

.user-icon {
  width: 24px;
  height: 24px;
  background: #9d4edd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand-red: #F8262A;
  --brand-red-soft: #1A0D0D;
  --bg-main: #0B0B0B;
  --text-dark: #ffffff;
  --text-muted: #888888;
  --text-hint: #555555;
  --border-soft: #1E1E1E;
}

body {
  background-color: #0B0B0B;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
}

.profile-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: #0B0B0B;
}

.profile-scroll-container {
  padding: 0 0 calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.pf-user-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 4px;
}

.pf-avatar-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #1A0D0D;
  border: 1.5px solid #F8262A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pf-avatar-num {
  font-size: 22px;
  font-weight: 800;
  color: #F8262A;
}

.pf-username {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.pf-member-tag {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

.pf-balance-card {
  background: linear-gradient(135deg, #F8262A, #8B0000);
  border-radius: 20px;
  padding: 20px 18px;
  margin: 0 16px;
  text-align: center;
  border: none;
  box-shadow: 0 4px 24px rgba(248,38,42,0.3);
}

.pf-bal-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.pf-bal-amount {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1;
}

.pf-wallet-row {
  display: flex;
  align-items: center;
}

.pf-wallet-half {
  flex: 1;
  text-align: center;
}

.pf-wallet-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
}

.pf-action-row {
  display: flex;
  gap: 10px;
}

.pf-act-btn {
  flex: 1;
  padding: 12px;
  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;
}

.pf-act-deposit {
  background: #ffffff;
  color: #F8262A;
}

.pf-act-withdraw {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.pf-act-btn:active { transform: scale(0.97); }

.pf-section {
  margin: 0 16px;
}

.pf-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #555555;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-left: 4px;
}

.pf-menu-card {
  background: #141414;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #1E1E1E;
}

.pf-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid #1E1E1E;
  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: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-menu-left span {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.pf-chevron { color: #333333; }

.pf-signout-icon {
  background: #1A0D0D;
  color: #F8262A;
}

.pf-signout-text { color: #F8262A !important; }
.pf-signout-chevron { color: #F8262A44 !important; }

.pf-support-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #141414;
  border: 1px solid #1E1E1E;
  border-radius: 14px;
  padding: 14px;
  color: #F8262A;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pf-footer {
  text-align: center;
  font-size: 11px;
  color: #333333;
  padding: 4px 0 10px;
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.bank-page {
  background: #0B0B0B;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
}

/* ── Header ── */
.bank-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #111111;
  border-bottom: 1px solid #2A2A2A;
  z-index: 100;
  box-sizing: border-box;
}

.bank-back-btn {
  position: absolute;
  left: 16px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  color: #FFFFFF;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.bank-back-btn:hover { background: #2A2A2A; }

.bank-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

/* ── Container ── */
.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 76px 16px 40px;
  box-sizing: border-box;
}

/* ── Payout info card ── */
.honda-payout-card {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.honda-payout-icon {
  width: 48px; height: 48px;
  background: rgba(248, 38, 42, 0.1);
  color: #F8262A;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.honda-payout-text h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.honda-payout-text p {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #555;
}

/* ── Form card ── */
.honda-bank-form {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Input groups ── */
.honda-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.honda-input-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
}

/* Input wrapper with icon */
.honda-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.honda-input-icon {
  position: absolute;
  left: 14px;
  color: #555;
  display: flex;
  align-items: center;
  pointer-events: none;
  font-size: 16px;
}

.honda-bank-form input,
.honda-bank-form select {
  width: 100%;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  padding: 15px 14px 15px 44px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.honda-bank-form input::placeholder { color: #444; }

.honda-bank-form input:focus,
.honda-bank-form select:focus {
  border-color: #F8262A;
  box-shadow: 0 0 0 3px rgba(248, 38, 42, 0.08);
}

/* Select chevron */
.honda-select-wrapper {
  position: relative;
}

.honda-select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  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-select-wrapper .honda-input-icon {
  z-index: 1;
}

.honda-select-wrapper select {
  padding-right: 40px;
}

/* Disabled/readonly account name */
.honda-bank-form input[readonly] {
  color: #555;
  cursor: default;
}

/* ── Submit button ── */
.honda-submit-btn {
  width: 100%;
  background: #F8262A;
  color: #FFFFFF;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.honda-submit-btn:hover { background: #E51D21; }
.honda-submit-btn:active { transform: scale(0.98); }

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.recharge-page {
  font-family: 'Inter', sans-serif;
  background: #0B0B0B;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* Header */
.recharge-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #0B0B0B;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 1px solid #1F1F1F;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recharge-header-fixed h2 {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.recharge-back-btn-v2,
.recharge-history-btn {
  background: #1F1F1F;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: opacity 0.15s ease;
}

.recharge-back-btn-v2:active,
.recharge-history-btn:active { opacity: 0.6; }

/* Scroll Container */
.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 70px 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Page Title Area */
.rech-page-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 2px 0;
}

.rech-back-circle {
  width: 36px;
  height: 36px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 15px;
  flex-shrink: 0;
}

.rech-title-text h2 {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 3px 0;
}

.rech-title-text p {
  font-size: 12px;
  color: #888888;
  margin: 0;
  line-height: 1.4;
}

/* Balance Card — RED */
.rech-balance-card {
  width: 100%;
  background: #F8262A;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.rech-balance-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.rech-balance-col + .rech-balance-col {
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 20px;
}

.rech-balance-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  display: block;
}

.rech-balance-value {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.5px;
}

/* White Cards → Dark Cards */
.recharge-card {
  width: 100%;
  background: #1F1F1F;
  border-radius: 16px;
  padding: 20px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #2A2A2A;
}

/* Section Header */
.rech-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rech-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.rech-section-hint {
  font-size: 12px;
  color: #888888;
}

/* Amount Input */
.custom-amount-wrapper {
  background: #0B0B0B;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 54px;
  box-sizing: border-box;
}

.currency-icon {
  color: #F8262A;
  font-size: 20px;
  font-weight: 700;
  margin-right: 10px;
}

#customAmount {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  outline: none;
  width: 100%;
  padding: 0;
}

#customAmount::placeholder {
  color: #444444;
  font-weight: 400;
}

/* Amount Grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.amount-option {
  background: #0B0B0B;
  border: 1px solid #2A2A2A;
  padding: 14px 4px;
  border-radius: 10px;
  text-align: center;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.amount-option:hover {
  border-color: #F8262A;
  color: #F8262A;
}

.amount-option.selected {
  background: #F8262A;
  color: #FFFFFF;
  border-color: #F8262A;
  font-weight: 700;
}

/* 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;
  transition: all 0.2s ease;
  background: #0B0B0B;
}

.rech-channel-item.active {
  border-color: #FFFFFF;
  border-width: 2px;
  background: #0B0B0B;
}

.rech-channel-icon {
  width: 42px;
  height: 42px;
  background: #1F1F1F;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8262A;
  font-size: 16px;
  flex-shrink: 0;
}

.rech-channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rech-channel-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.rech-channel-sub {
  font-size: 12px;
  color: #888888;
}

.rech-recommended-badge {
  font-size: 11px;
  font-weight: 600;
  color: #F8262A;
  border: 1px solid #F8262A;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

.rech-channel-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 11px;
  transition: all 0.2s ease;
}

.rech-channel-radio.active {
  background: #F8262A;
  border-color: #F8262A;
  color: #FFFFFF;
}

/* Confirm Button */
.deposit-btn {
  width: 100%;
  background: #F8262A;
  color: #FFFFFF;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.deposit-btn:hover { background: #E51D21; }
.deposit-btn:active { transform: scale(0.98); }

/* Rules Box */
.rech-rules-box {
  width: 100%;
  background: #1F1F1F;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #2A2A2A;
}

.rech-rules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.rech-rules-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.rech-rules-chevron {
  color: #888888;
  transition: transform 0.3s ease;
}

.rech-rules-chevron.open { transform: rotate(180deg); }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-icon {
  width: 22px;
  height: 22px;
  background: #2A2A2A;
  color: #F8262A;
  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: #888888;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.highlight-blue {
  color: #F8262A;
  font-weight: 600;
}

.rech-minimum-note {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

.rech-min-highlight {
  color: #F8262A;
  font-weight: 700;
}

@media (max-width: 360px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }



.pay-page {
  background: #0B0B0B;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

/* Header */
.rc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0B0B0B;
  padding: 0 16px;
  border-bottom: 1px solid #1F1F1F;
}

.rc-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.rc-header-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.rc-back-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #1F1F1F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.rc-back-btn:active {
  background: #2A2A2A;
  transform: scale(0.93);
}

.pay-container {
  padding: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* Amount Card */
.pay-amount-card {
  background: #F8262A;
  border-radius: 20px;
  padding: 24px 20px 18px;
  text-align: center;
  margin-bottom: 14px;
}

.pay-amount-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pay-amount-value {
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1;
}

.pay-countdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.pay-timer {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.pay-timer.urgent { color: #fca5a5; }

/* Bank Details Card */
.pay-details-card {
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 6px 20px;
  margin-bottom: 14px;
}

.pay-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #2A2A2A;
}

.pay-detail-row:last-child { border-bottom: none; }

.pay-detail-label {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
  flex-shrink: 0;
}

.pay-detail-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-detail-value {
  font-size: 15px;
  font-weight: 700;
  color: #FFD700;
  text-align: right;
}

.pay-note-value {
  color: #FFD700;
  letter-spacing: 1px;
  font-weight: 700;
}

.pay-copy-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #1a3a1a;
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: .2s;
}

.pay-copy-btn:active {
  background: #22C55E;
  color: #FFFFFF;
  transform: scale(.93);
}

/* Note Box */
.pay-note-box {
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  color: #888888;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.pay-note-box svg {
  color: #FFD700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pay-note-box strong { color: #FFD700; }

/* Warning Box */
.pay-warning-box {
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 20px;
}

.pay-warning-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #888888;
  line-height: 1.6;
}

.pay-warning-item:last-child { margin-bottom: 0; }

.pay-warn-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2A2A2A;
  color: #FFD700;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pay-warn-red {
  color: #F8262A;
  font-weight: 600;
}

/* Confirm Button */
.pay-confirm-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: #F8262A;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 20px;
}

.pay-confirm-btn:hover { background: #E51D21; }
.pay-confirm-btn:active {
  transform: scale(0.98);
}

.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;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.mx-unique-modal {
  background: #111111;
  width: 340px;
  height: 340px;
  border-radius: 24px;
  padding: 24px 20px;
  position: relative;
  text-align: center;
  border: 1px solid #2A2A2A;
  box-shadow: 0 0 60px rgba(248, 38, 42, 0.1), 0 25px 50px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.mx-close-x-btn {
  position: absolute;
  top: 14px; right: 14px;
  background: #2A2A2A;
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: #888;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mx-telegram-icon-wrap {
  width: 64px; height: 64px;
  background: #F8262A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tg-blink 1.8s ease-in-out infinite;
}

.mx-telegram-icon-wrap svg {
  width: 32px; height: 32px;
  fill: #fff;
}

@keyframes tg-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 38, 42, 0.6); }
  50%       { box-shadow: 0 0 0 16px rgba(248, 38, 42, 0); }
}

.mx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(248, 38, 42, 0.1);
  border: 1px solid rgba(248, 38, 42, 0.25);
  color: #F8262A;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.mx-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.mx-modal-subtitle {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

.mx-btn-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mx-close-btn {
  flex: 1;
  padding: 12px;
  background: #2A2A2A;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.mx-telegram-btn {
  flex: 2;
  padding: 12px;
  background: #F8262A;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mx-telegram-btn:hover { background: #E51D21; }


.mx-tg-join-btn {
  flex: 2;
  padding: 12px;
  background: #229ED9;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mx-tg-join-btn:hover { background: #1a8bbf; }

#welcomePopup {
  display: none; /* Changed from none to flex for visibility during testing */
}


/* ── TRUST SECTION ── */
.trust-section {
  width: 100%;
  padding: 32px 16px 80px 16px; /* 120px bottom clears the navbar */
  box-sizing: border-box;
  background: #f5f0ff;
}

.trust-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
  margin: 0 0 24px 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

.trust-highlight {
  color: #9d4edd;
}

/* ── 2x2 GRID ── */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.trust-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #ede9f6;
  box-shadow: 0 2px 10px rgba(75, 0, 130, 0.05);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  background: #f0e8ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #9d4edd;
}

.trust-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
  font-family: 'Poppins', sans-serif;
}

.trust-card-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ── PARTNERS ── */
.trust-partners-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid #ede9f6;
  box-shadow: 0 2px 10px rgba(75, 0, 130, 0.05);
  max-width: 500px;
  margin: 0 auto 24px auto;
}

.trust-partners-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #94a3b8;
  margin: 0 0 14px 0;
  text-transform: uppercase;
}

.trust-partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-partner {
  font-size: 15px;
  font-weight: 700;
  color: #9d4edd;
  opacity: 0.7;
}

/* ── FOOTER ── */
.trust-footer {
  text-align: center;
}

.trust-footer p {
  font-size: 12px;
  color: #94a3b8;
  margin: 4px 0;
  line-height: 1.5;
}

/* 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;
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.invite-page {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  background: #0B0B0B;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  display: none;
  flex-direction: column;
  box-sizing: border-box;
}

/* ── Header ── */
.invite-header-fixed-v2 {
  width: 100%;
  padding: 52px 16px 16px;
  background: #0B0B0B;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
}

.invite-back-btn-v2 {
  width: 36px; height: 36px;
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 13px;
}

.invite-header-text h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.invite-header-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #666;
}

/* ── Container ── */
.referral-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 4px 14px 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Hero Banner ── */
.invite-hero-card {
  background: linear-gradient(160deg, #F8262A, #c0191c);
  border-radius: 18px;
  padding: 28px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.invite-hero-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 6px;
}

.invite-hero-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.invite-hero-amount {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.invite-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-weight: 400;
}

/* ── Section label ── */
.invite-section-label {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.invite-section-label i { color: #F8262A; font-size: 13px; }

/* ── Link card ── */
.invite-link-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invite-link-box {
  background: #181818;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 13px 14px;
}

.invite-link-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #CCCCCC;
  font-size: 13px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.invite-btn-row {
  display: flex;
  gap: 8px;
}

.invite-copy-btn {
  flex: 1;
  padding: 13px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  color: #FFFFFF;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.invite-copy-btn:hover { background: #2A2A2A; }

.invite-share-btn {
  flex: 1.2;
  padding: 13px;
  background: #F8262A;
  border: none;
  color: #FFFFFF;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.invite-share-btn:hover { background: #E51D21; }

/* ── Stats ── */
.invite-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.invite-stat-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invite-stat-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.invite-stat-icon.blue  { background: rgba(59,130,246,0.15); color: #3b82f6; }
.invite-stat-icon.green { background: rgba(34,197,94,0.12);  color: #22c55e; }

.invite-stat-label {
  font-size: 12px;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.invite-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1;
}

/* ── How it works ── */
.invite-how-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 16px 16px 8px;
}

.invite-how-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #181818;
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.step-number {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(248,38,42,0.12);
  color: #F8262A;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #CCCCCC;
  line-height: 1.4;
}




#earningsPage {
  background: #0B0B0B;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.recharge-page-container {
  padding: 68px 14px 80px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#teamDetailView {
  padding: 68px 14px 80px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── 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;
  color: #FFFFFF;
  z-index: 1000;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.team-header-main span {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.back-btn-white {
  position: absolute;
  left: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #2A2A2A;
  background: #1F1F1F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
}

/* ── Top stats row ── */
.team-top-stats-row {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.team-top-stat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.team-top-stat-divider {
  width: 1px;
  height: 50px;
  background: #2A2A2A;
}

.team-top-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.team-top-stat-label {
  font-size: 12px;
  color: #666;
}

/* ── Banner row ── */
.team-banner-row {
  background: #F8262A;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-banner-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.team-banner-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.team-details-btn {
  background: #FFFFFF;
  color: #1A1A1A;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

/* ── Level list card ── */
.team-level-list {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 4px 0;
}

.team-level-row {
  display: flex;
  align-items: center;
  padding: 18px 16px;
}

.team-level-medal-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
  flex-shrink: 0;
  gap: 2px;
}

.team-medal-label {
  font-size: 10px;
  font-weight: 700;
  color: #555;
}

.team-level-col {
  flex: 1;
  text-align: center;
}

.team-level-col-value {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.team-level-col-label {
  font-size: 11px;
  color: #555;
}

.team-level-divider {
  height: 1px;
  background: #1E1E1E;
  margin: 0 16px;
}

/* ── Rules card ── */
.team-rules-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-rules-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.team-rules-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ── Detail view tabs ── */
.team-tab-row {
  display: flex;
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.team-tab {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, color 0.2s;
}

.team-tab.active {
  background: #F8262A;
  color: #FFFFFF;
}

/* ── Member list ── */
.team-member-list {
  display: flex;
  flex-direction: column;
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  overflow: hidden;
}

.team-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #1A1A1A;
}

.team-member-row:last-child { border-bottom: none; }

.team-member-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-member-avatar {
  width: 42px; height: 42px;
  background: rgba(248, 38, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8262A;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.team-member-number {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.team-member-date {
  font-size: 11px;
  color: #555;
  margin-top: 2px;
}

.team-member-right {
  text-align: right;
}

.team-member-amount {
  font-size: 15px;
  font-weight: 700;
  color: #22C55E;
}

.team-member-invest-count {
  font-size: 11px;
  color: #555;
  margin-top: 2px;
}


#teamDetailView {
  display: none;
  padding: 68px 14px 80px;
  box-sizing: border-box;
  flex-direction: column;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #0B0B0B;
  z-index: 998;
}

.withdraw-page {
  background: #0B0B0B;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  color: #ffffff;
}

.wd-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 16px 12px;
  background: #0B0B0B;
  gap: 12px;
}

.wd-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.wd-subtitle {
  font-size: 12px;
  color: #888888;
  margin: 0;
  line-height: 1.4;
}

.wd-nav-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: #1F1F1F;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.wd-container {
  padding: 8px 14px 100px;
}

.wd-balance-card {
  background: linear-gradient(135deg, #F8262A, #8B0000);
  border: none;
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 12px;
  text-align: center;
}

.wd-bal-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
}

.wd-bal-amount {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
}

.wd-wallet-row {
  display: flex;
  align-items: center;
}

.wd-wallet-half {
  flex: 1;
  text-align: center;
}

.wd-wallet-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
}

.wd-section-card {
  background: #141414;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 12px;
}

.wd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wd-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.wd-positive-tag {
  font-size: 11px;
  font-weight: 600;
  color: #F8262A;
}

.wd-input-row {
  display: flex;
  align-items: center;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 0 14px;
  height: 54px;
  gap: 8px;
  transition: .2s;
}

.wd-input-row:focus-within {
  border-color: #F8262A;
}

.wd-currency {
  font-size: 18px;
  font-weight: 700;
  color: #F8262A;
  flex-shrink: 0;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.wd-input::placeholder {
  color: #555555;
  font-weight: 400;
  font-size: 14px;
}

.wd-bank-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wd-bank-icon {
  width: 44px;
  height: 44px;
  background: #1F1F1F;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8262A;
  flex-shrink: 0;
}

.wd-bank-details { flex: 1; }

.wd-acct-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.wd-acct-num {
  font-size: 12px;
  color: #888888;
}

.wd-bank-shield {
  color: #F8262A;
  flex-shrink: 0;
}

.wd-submit-btn {
  width: 100%;
  height: 54px;
  background: #F8262A;
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  transition: .2s;
}

.wd-submit-btn:hover { background: #E51D21; }
.wd-submit-btn:active { transform: scale(.98); }

.wd-rules-card {
  background: #141414;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}

.wd-rules-header {
  padding: 16px;
}

.wd-rules-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.wd-rules-body {
  display: block;
  padding: 0 16px 16px;
}

.wd-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wd-rules-list li {
  font-size: 13px;
  color: #888888;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.wd-rules-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #F8262A;
  font-weight: 700;
}

.wd-highlight {
  color: #F8262A;
  font-weight: 700;
}


/* ── EMPTY BANK STATE ────────────────────────────────────────────── */
.bank-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  gap: 10px;
}

.bank-empty .bank-icon {
  width: 56px;
  height: 56px;
  background: #1A0D0D;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 4px;
}

.bank-empty h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.bank-empty p {
  font-size: 12px;
  color: #888888;
  margin: 0;
  line-height: 1.6;
  max-width: 240px;
}

#addAccountBtn {
  margin-top: 6px;
  padding: 10px 24px;
  background: #F8262A;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(248, 38, 42, 0.3);
  transition: .2s;
}

#addAccountBtn:hover  { background: #E51D21; }
#addAccountBtn:active { transform: scale(.97); }



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.bank-page {
  background: #0B0B0B;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  box-sizing: border-box;
}

/* ── HEADER ── */
.records-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #2A2A2A;
  box-sizing: border-box;
}

.records-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.records-back-btn {
  position: absolute;
  left: 16px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px; height: 36px;
  transition: background 0.2s;
}
.records-back-btn:hover { background: #2A2A2A; }

.records-count-badge {
  position: absolute;
  right: 16px;
  background: #F8262A;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 76px 16px 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── RECORD CARDS ── */
#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-card {
  width: 100%;
  background: #111111;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2A2A2A;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.record-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ── CARD HEADER BAND ── */
.card-header-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-type-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.card-type-icon.icon-credit { background: rgba(34, 197, 94, 0.12); }
.card-type-icon.icon-debit  { background: rgba(248, 38, 42, 0.12); }

.card-type-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 3px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.card-amount {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.card-amount.credit { color: #22C55E; }
.card-amount.debit-success { color: #F8262A; }
.card-amount.debit-pending { color: #F97316; }
.card-amount.debit-failed  { color: #888; }

/* ── CARD BODY ── */
.card-body {
  padding: 0 16px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-body-full {
  grid-column: 1 / -1;
}

.card-field {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  padding: 10px 12px;
}

.card-field-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 4px;
}

.card-field-value {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  word-break: break-all;
}

/* ── STATUS PILL ── */
.record-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.record-status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-confirmed-green { background: rgba(34,197,94,0.1);  color: #22C55E; }
.status-failed-red      { background: rgba(248,38,42,0.1);  color: #F8262A; }
.status-pending-orange  { background: rgba(249,115,22,0.12); color: #F97316; }



/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

/* ================= MODAL CARD ================= */
.modal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= INNER CARD ================= */
.slim-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRODUCT ROW ================= */
.product-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon-container {
  width: 48px;
  height: 48px;
  background: #2D6BEF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= PRODUCT DETAILS ================= */
.product-details strong {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin-top: 3px;
}

/* ================= DIVIDER ================= */
.divider-line {
  height: 1px;
  background: #e5e5e5;
  margin: 14px 0;
}

/* ================= BALANCE ================= */
.account-balance-row {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* ================= PURCHASE BUTTON ================= */
.purchase-btn {
  background: #2D6BEF;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}



.investment-page {
  background: #0B0B0B;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Header ── */
.investment-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, #F8262A, #a01519);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(248, 38, 42, 0.35);
  box-sizing: border-box;
}

.investment-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

.investment-back-btn {
  position: absolute;
  left: 16px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s;
}
.investment-back-btn:active { background: rgba(255,255,255,0.3); }

/* ── Active pill ── */
.inv-active-pill {
  margin: 72px 16px 0 16px;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 30px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
}

.inv-active-pill i { color: #F8262A; font-size: 16px; }
.inv-active-pill #invActiveCount { font-weight: 700; color: #F8262A; }

/* ── Card wrapper ── */
.card-wrapper {
  flex: 1;
  padding: 16px 16px 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Empty state ── */
.inv-empty-state {
  text-align: center;
  max-width: 320px;
  margin: 60px auto 0;
}

.inv-empty-icon {
  width: 64px; height: 64px;
  background: rgba(248,38,42,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #F8262A;
}

.inv-empty-title {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.inv-empty-sub {
  font-size: 13px;
  color: #555;
  margin: 0 0 22px;
  line-height: 1.5;
}

.inv-browse-btn {
  background: #F8262A;
  color: #ffffff;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(248,38,42,0.3);
  transition: transform 0.15s;
  font-family: inherit;
}
.inv-browse-btn:active { transform: scale(0.97); }

/* ── Cards list ── */
#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-card {
  background: #111111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #2A2A2A;
  box-shadow: 0 4px 24px rgba(248,38,42,0.08);
  padding: 16px;
}

/* ── Top badges ── */
.inv-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.inv-popular-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(248,38,42,0.12);
  color: #F8262A;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
}

.inv-days-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #F8262A;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(248,38,42,0.4);
}

/* ── Main row ── */
.inv-card-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.inv-card-left { flex: 1; min-width: 0; }

.inv-plan-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px;
}

.inv-plan-desc {
  font-size: 12px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.4;
}

.inv-features-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #CCCCCC;
  font-weight: 500;
}

.inv-feature-icon {
  width: 26px; height: 26px;
  background: rgba(248,38,42,0.12);
  color: #F8262A;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.inv-card-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 110px;
}

.inv-returns-label {
  display: block;
  font-size: 11px;
  color: #666;
  margin-bottom: 4px;
}

.inv-returns-value {
  font-size: 22px;
  font-weight: 800;
  color: #F8262A;
  white-space: nowrap;
}

.inv-returns-unit {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  margin-left: 2px;
}

/* ── Stats grid ── */
.inv-stats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.inv-stat-box-v2 {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.inv-stat-box-icon {
  width: 28px; height: 28px;
  background: #F8262A;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-bottom: 2px;
}

.inv-stat-label {
  font-size: 9px;
  color: #555;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inv-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
}

.inv-stat-val small {
  font-size: 9px;
  font-weight: 600;
  color: #555;
}

/* ── Progress ── */
.inv-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.inv-progress-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #666;
  text-transform: uppercase;
}

.inv-progress-percent {
  font-size: 13px;
  font-weight: 800;
  color: #F8262A;
}

.inv-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #1F1F1F;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.inv-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F8262A, #ff6b6b);
  border-radius: 99px;
  transition: width 0.5s ease;
}

.inv-date-range {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #555;
  font-weight: 500;
  margin-bottom: 14px;
}

/* ── Countdown banner ── */
.inv-countdown-banner {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inv-countdown-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inv-countdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #F8262A;
  text-transform: uppercase;
}

.inv-countdown-timer-box {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 8px 14px;
  width: fit-content;
}

.inv-countdown-timer {
  font-family: monospace;
  font-size: 18px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: 1px;
}

.inv-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inv-trust-icon {
  width: 42px; height: 42px;
  background: rgba(248,38,42,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8262A;
  font-size: 16px;
  flex-shrink: 0;
}

.inv-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-trust-text strong {
  font-size: 13px;
  color: #FFFFFF;
  font-weight: 700;
}

.inv-trust-text span {
  font-size: 11px;
  color: #555;
}

.inv-trust-text .inv-ssl-green {
  color: #22C55E;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 340px) {
  .inv-card-right { min-width: 80px; }
  .inv-returns-value { font-size: 18px; }
  .inv-trust-text span { display: none; }
}



.header-bell-badge {
  transition: opacity 0.4s ease;
}

.product-section {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
}

.product-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 12px 0 14px 4px;
  letter-spacing: 0.2px;
}

#dynamicProductList {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  padding: 0 !important;
}

/* Card */
.mx-product-card {
  background: #1F1F1F !important;
  border-radius: 16px !important;
  border: 1px solid #2A2A2A !important;
  overflow: hidden;
  padding: 0 !important;
  box-shadow: none !important;
  transition: transform 0.2s ease !important;
  cursor: pointer;
  position: relative;
}

.mx-product-card:hover {
  transform: translateY(-3px) !important;
}

/* Image Area */
.mx-img-box {
  width: 100%;
  height: 110px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.mx-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quota overlay on image */
.mx-quota-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.55);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
}

/* Popular blinking badge */
.mx-popular-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #F8262A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  animation: blink-badge 1.2s infinite;
  z-index: 2;
}

@keyframes blink-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Card Body */
.mx-card-body {
  padding: 10px 10px 12px 10px;
}

.mx-validity {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #F8262A;
  margin: 0 0 3px 0;
}

.mx-plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

/* Divider */
.mx-card-divider {
  border: none;
  border-top: 1px solid #2A2A2A;
  margin: 8px 0;
}

.mx-daily-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mx-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #888888;
  font-weight: 400;
}

.mx-stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #F8262A;
}


.mx-add-to-portfolio-btn {
  width: 100% !important;
  background: #F8262A !important;
  color: #FFFFFF !important;
  padding: 10px !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer;
  transition: background 0.2s !important;
  letter-spacing: 0.2px;
}

.mx-add-to-portfolio-btn:hover {
  background: #E51D21 !important;
}

/* Responsive — single column on very small screens */
@media (max-width: 320px) {
  #dynamicProductList {
    grid-template-columns: 1fr !important;
  }
}


.mx-popular-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #F8262A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  animation: blink-badge 1.2s infinite;
  z-index: 2;
  letter-spacing: 0.3px;
}

/* 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;
}


.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
   margin: -70px 0 24px 0;
  margin: 24px 0;
}
.kpi-card {
  background: #141414;
  border: 1px solid #1E1E1E;
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.icon-red   { background: #1A0D0D; color: #F8262A; }
.icon-blue  { background: #0D1A2B; color: #3B9EFF; }
.icon-amber { background: #1A150D; color: #F5A623; }
.icon-pink  { background: #1A0D15; color: #E0529A; }
.kpi-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 8px;
}
.badge-up   { background: #0D2B1A; color: #2ECC71; }
.badge-down { background: #2B0D0D; color: #F8262A; }
.kpi-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #555;
  text-transform: uppercase;
}
.kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
  transition: color 0.3s;
}
.kpi-value.flash { color: #F8262A; }


/* ================= 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: #0B0B0B;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  will-change: opacity;
  overflow: hidden;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader-ambient::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(248, 38, 42, 0.12) 0%, transparent 70%);
  animation: ambient-pulse 3s ease-in-out infinite;
  border-radius: 50%;
}

.loader-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  background: #F8262A;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: icon-breathe 2s ease-in-out infinite;
}

.brand-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.brand-wordmark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.brand-wordmark span {
  color: #F8262A;
}

.progress-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 220px;
}

.progress-track {
  width: 100%;
  height: 3px;
  background: #1F1F1F;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #F8262A;
  border-radius: 99px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #F8262A;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.9;
}

.progress-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}

.segment-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.seg {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2A2A2A;
  transition: background 0.3s ease, transform 0.3s ease;
}

.seg.active {
  background: #F8262A;
  transform: scale(1.4);
}

.corner-tl,
.corner-br {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.25;
}

.corner-tl {
  top: -32px;
  left: -20px;
  border-top: 1.5px solid #F8262A;
  border-left: 1.5px solid #F8262A;
}

.corner-br {
  bottom: -32px;
  right: -20px;
  border-bottom: 1.5px solid #F8262A;
  border-right: 1.5px solid #F8262A;
}

@keyframes ambient-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes icon-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 38, 42, 0.45); }
  50%       { box-shadow: 0 0 0 14px rgba(248, 38, 42, 0); }
}

/* 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: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  z-index: 99999;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 360px;
}

#toast-overlay.toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

#toast-overlay.toast-hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-30px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 18px;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.toast-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-msg {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
}

.toast-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.5);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  transition: background 0.2s;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  border-radius: 0 0 14px 14px;
  animation: toast-drain 3.5s linear forwards;
  transform-origin: left;
}

@keyframes toast-drain {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}