
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --primary: #1E63D9;
  --primary-dark: #0F54C7;
  --primary-light: #4A89F5;
  --bg-primary: #EEF4FF;
  --bg-secondary: #F8FBFF;
  --secondary: #DDEBFF;
  --border: #D5E4FA;
  --border-light: #EAF3FF;
  --text-primary: #173E8C;
  --text-secondary: #56657C;
  --text-muted: #9099AA;
  --shadow-soft: 0 8px 20px rgba(30,99,217,.08);
  --shadow-medium: 0 12px 35px rgba(30,99,217,.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center; /* ← was flex-start, change to center */
  color: var(--text-primary);
}

.honda-auth-container {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  min-height: 100vh; /* ← remove this line entirely */
  margin: 0 auto;
  position: relative;
}

.honda-auth-container.active {
  display: flex;
}


.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 24px 32px; /* ← increase bottom padding to push form down from logo */
}


.auth-topbar-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.auth-topbar-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-topbar-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.auth-topbar-link:hover {
  color: var(--primary-dark);
}

/* ===== PAGE INNER ===== */
.auth-page-inner {
  padding: 28px 24px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== HEADING ===== */
.auth-welcome-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0 0 8px 0;
  line-height: 1.15;
}

.auth-welcome-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  line-height: 1.5;
}

/* ===== FORM ===== */
.fieldmark-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ===== INPUT GROUP ===== */
.fieldmark-input-group {
  margin-bottom: 20px;
}

.fieldmark-input-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.optional-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 11px;
}

/* ===== FIELD BOX ===== */
.fieldmark-field-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fieldmark-field-box:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 99, 217, 0.10);
}

/* ===== FIELD ICON ===== */
.field-icon {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* ===== PREFIX (+234) ===== */
.prefix {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 1.5px solid var(--border);
}

/* ===== INPUT ===== */
.fieldmark-field-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 500;
}

.fieldmark-field-box input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* ===== EYE ICON ===== */
.eye-icon {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
  margin-left: auto;
  transition: color 0.2s;
}

.eye-icon:hover {
  color: var(--primary);
}

/* ===== SUBMIT BUTTON ===== */
.fieldmark-btn-submit {
  width: 100%;
  padding: 17px;
  border: none;
  border-radius: 16px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  margin-top: 10px;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(30, 99, 217, 0.30);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fieldmark-btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 28px rgba(30, 99, 217, 0.38);
}

.fieldmark-btn-submit:active {
  transform: scale(0.98);
}

/* ===== TERMS TEXT ===== */
.auth-terms {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

.auth-terms a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* ===== DIVIDER ===== */
.auth-divider {
  height: 1px;
  background: var(--border-light);
  margin: 28px 0;
}

/* ===== SWITCH ACTION ===== */
.fieldmark-switch-action {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.fieldmark-link-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s;
}

.fieldmark-link-btn:hover {
  color: var(--primary-dark);
}

/* ===== FOOTER ===== */
.auth-footer {
  text-align: center;
  padding: 20px 24px 32px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== MOBILE ===== */
@media (max-width: 380px) {
  .auth-page-inner { padding: 20px 18px 32px; }
  .auth-welcome-title { font-size: 26px; }
  .fieldmark-field-box { padding: 14px 16px; }
}

@media (max-height: 700px) {
  .auth-page-inner { padding: 20px 24px 28px; }
  .auth-welcome-sub { margin-bottom: 22px; }
  .fieldmark-input-group { margin-bottom: 14px; }
}

.dashboard {
  width: 100%;
  max-width: 800px; /* Increase this to whatever width you prefer */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  background: #f8f9fa;
  background-attachment: fixed;
  color: #192231;
}



/* ── WELCOME HEADER ── */
.dash-top-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  box-sizing: border-box;
}

.dash-welcome-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  margin: 0 0 3px 0;
  text-transform: uppercase;
}

.dash-welcome-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.2px;
}

.dash-notif-btn {
  width: 38px;
  height: 38px;
  background: var(--icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ── SCROLL CONTAINER ── */
.dash-scroll {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0; /* zero gap — each section controls its own spacing */
}

/* ── BANNER — flush, no gap ── */
.dash-banner {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.dash-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── LIVE TICKER — flush under banner ── */
.dash-ticker-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  height: 38px;
}

.dash-ticker-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 0 12px;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.dash-ticker-content {
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
  animation: tickerScroll 22s linear infinite;
  display: inline-block;
  padding-left: 16px;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── ACTION BUTTONS — tight under ticker ── */
.dash-actions-card {
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  margin: 0; /* no margin — sits directly under ticker */
  padding: 18px 10px;
  border: 1px solid var(--border-light);
  border-top: none; /* merges cleanly with ticker border */
  box-shadow: var(--shadow-soft);
}

.dash-actions-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.dash-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.1s;
}

.dash-action-item:active {
  transform: scale(0.93);
}

.dash-action-icon {
  width: 52px;
  height: 52px;
  background: var(--icon-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  border: 1px solid var(--border);
}

.dash-action-icon-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.dash-action-item span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}



/* 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: #1E63D9;
  --nav-inactive: #94a3b8;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid #eef1f6;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  z-index: 9999;
}

.nav-pill-container {
  position: relative;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.nav-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--nav-inactive);
  transition: all 0.2s ease;
  gap: 5px;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.nav-icon-wrapper i {
  font-size: 20px;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

.nav-label-text {
  font-size: 11px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--nav-inactive);
  transition: color 0.2s ease;
}

.nav-item.active .nav-icon-wrapper i {
  color: var(--nav-active);
}

.nav-item.active .nav-label-text {
  color: var(--nav-active);
}

.nav-item:active {
  transform: scale(0.92);
}

/* Default state */
#bottomNav {
    display: none; 
}

/* Visibility state */
.nav-visible {
    display: flex !important;
}




.ticker-search-bar {
  width: 90%;
  max-width: 400px;
  margin: 15px auto; /* Spacing between flyer and action buttons */
  height: 45px;
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite; /* Adjust speed here */
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6a7e;
  gap: 8px;
}

.user-icon {
  width: 24px;
  height: 24px;
  background: #9d4edd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1E63D9;
  --primary-dark: #0F54C7;
  --secondary: #DDEBFF;
  --icon-bg: #E8F1FF;
  --border: #D5E4FA;
  --border-light: #EAF3FF;
  --text-primary: #173E8C;
  --text-secondary: #56657C;
  --text-muted: #9099AA;
  --shadow-soft: 0 8px 20px rgba(30,99,217,.08);
  --bg-main: #EEF4FF;
}

.profile-page {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  box-sizing: border-box;
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--text-primary);
}

.profile-scroll-container {
  padding: 0 0 calc(100px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── USER HEADER ── */
.pf-user-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 18px 10px;
}

.pf-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-avatar-initials {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.pf-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pf-username {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.pf-user-phone {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ── QUICK ACTION ROW ── */
.pf-quick-card {
  background: #fff;
  border-radius: 20px;
  margin: 0 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: stretch;
}

.pf-quick-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 20px;
}

.pf-quick-item:active {
  background: var(--icon-bg);
}

.pf-quick-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--icon-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 17px;
}

.pf-quick-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.pf-quick-divider {
  width: 1px;
  background: var(--border-light);
  margin: 14px 0;
}

/* ── BALANCE ROW ── */
.pf-balance-row {
  display: flex;
  gap: 12px;
  margin: 0 16px;
}

.pf-bal-card {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  padding: 16px 14px;
}

.pf-bal-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pf-bal-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

/* ── SERVICES SECTION ── */
.pf-services-section {
  margin: 0 16px;
}

.pf-services-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  padding-left: 4px;
}

.pf-services-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pf-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 0;
}

.pf-grid-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0 16px;
}

.pf-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.pf-grid-item:active {
  background: var(--icon-bg);
}

.pf-grid-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.pf-grid-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--icon-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 17px;
}

.pf-grid-item span,
.pf-grid-link span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

/* logout */
.pf-logout-icon {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

.pf-logout-text {
  color: #dc2626 !important;
}

/* ── FOOTER ── */
.pf-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 0 10px;
}


.bank-page {
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #173E8C;
}

.bank-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #EEF4FF;
  border-bottom: 1px solid #D5E4FA;
  z-index: 100;
  box-sizing: border-box;
}

.bank-back-btn {
  width: 36px;
  height: 36px;
  background: #E8F1FF;
  border: 1px solid #D5E4FA;
  border-radius: 10px;
  color: #1E63D9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bank-header h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #173E8C;
}

.honda-bank-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 76px 16px 60px;
  box-sizing: border-box;
}

/* PAGE TITLE */
.bank-page-title {
  margin-bottom: 24px;
}

.bank-page-title h1 {
  font-size: 24px;
  font-weight: 800;
  color: #173E8C;
  margin: 0 0 8px 0;
}

.bank-page-title p {
  font-size: 13px;
  color: #56657C;
  margin: 0;
  line-height: 1.6;
}

/* FORM CARD */
.honda-bank-form {
  background: #ffffff;
  border: 1px solid #D5E4FA;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(30,99,217,0.08);
}

.honda-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.honda-input-label {
  font-size: 10px;
  font-weight: 700;
  color: #9099AA;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* FIELD WRAP — icon + input side by side */
.honda-field-wrap {
  display: flex;
  align-items: stretch;
  background: #F8FBFF;
  border: 1px solid #D5E4FA;
  border-radius: 14px;
  overflow: hidden;
  transition: .2s;
}

.honda-field-wrap:focus-within {
  border-color: #1E63D9;
  box-shadow: 0 0 0 3px rgba(30,99,217,0.1);
  background: #ffffff;
}

.honda-field-icon {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9099AA;
  font-size: 16px;
  border-right: 1px solid #D5E4FA;
  flex-shrink: 0;
}

.honda-bank-form input,
.honda-select-wrapper select {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 12px;
  font-size: 15px;
  outline: none;
  font-family: 'Poppins', sans-serif;
  color: #173E8C;
  width: 100%;
  box-sizing: border-box;
}

.honda-bank-form input::placeholder {
  color: #9099AA;
  font-weight: 400;
}

.honda-select-wrapper {
  flex: 1;
  display: flex;
}

.honda-select-wrapper select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239099AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* WARNING BOX */
.bank-warning-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #EDF5FF;
  border: 1px solid #D5E4FA;
  border-radius: 14px;
  padding: 14px;
}

.bank-warning-box i {
  color: #1E63D9;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bank-warning-box p {
  margin: 0;
  font-size: 13px;
  color: #56657C;
  line-height: 1.6;
}

/* SUBMIT BUTTON */
.honda-submit-btn {
  width: 100%;
  background: #1E63D9;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(30,99,217,0.25);
  transition: .2s;
}

.honda-submit-btn:hover { background: #1555C7; }
.honda-submit-btn:active { transform: scale(0.98); }


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1E63D9;
  --primary-dark: #0F54C7;
  --icon-bg: #E8F1FF;
  --border: #D5E4FA;
  --border-light: #EAF3FF;
  --text-primary: #173E8C;
  --text-secondary: #56657C;
  --text-muted: #9099AA;
  --shadow-soft: 0 8px 20px rgba(30,99,217,.08);
}

.recharge-page {
  font-family: 'Inter', 'Poppins', sans-serif;
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: var(--text-primary);
  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: 56px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recharge-header-fixed h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.recharge-back-btn-v2,
.recharge-history-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.15s;
}

.recharge-back-btn-v2:hover,
.recharge-history-btn:hover {
  background: var(--icon-bg);
}

/* ── SCROLL CONTAINER ── */
.recharge-page-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 56px 0 100px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ── BANNER — add this div right after recharge-page-container opens in your HTML ── */
/* <div class="rech-banner"><img src="your-image.jpg" alt=""></div> */
.rech-banner {
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 14px;
}

.rech-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── BALANCE CARD ── */
.rech-balance-card {
  background: #ffffff;
  border-radius: 20px;
  margin: 0 14px 14px;
  padding: 18px 16px;
  box-sizing: border-box;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.rech-balance-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.rech-balance-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rech-balance-icon {
  width: 36px;
  height: 36px;
  background: var(--icon-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.rech-balance-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

/* ── WHITE CARDS ── */
.recharge-card {
  background: #ffffff;
  border-radius: 20px;
  margin: 0 14px 14px;
  padding: 18px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.rech-section-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.rech-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

.rech-minimum-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
}

.rech-min-highlight {
  color: var(--primary);
  font-weight: 700;
}

/* ── CUSTOM AMOUNT INPUT ── */
.custom-amount-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--icon-bg);
  transition: border-color 0.2s, background 0.2s;
}

.custom-amount-wrapper:focus-within {
  border-color: var(--primary);
  background: #ffffff;
}

#customAmount {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  width: 100%;
  padding: 14px 16px;
  height: 50px;
  box-sizing: border-box;
}

#customAmount::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* ── AMOUNT GRID ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.amount-option {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 12px 4px;
  border-radius: 10px;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s;
}

.amount-option:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--icon-bg);
}

.amount-option.selected {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30,99,217,0.25);
}

/* ── DEPOSIT BUTTON ── */
.deposit-btn {
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 17px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(30,99,217,0.28);
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deposit-btn:hover {
  background: var(--primary-dark);
}

.deposit-btn:active {
  transform: scale(0.98);
}

/* ── RULES BOX ── */
.rech-rules-box {
  background: #ffffff;
  border-radius: 20px;
  margin: 0 14px 14px;
  padding: 18px 16px;
  box-sizing: border-box;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.rech-rules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.rech-rules-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.rech-rules-chevron {
  color: var(--text-muted);
  transition: transform 0.3s;
}

.rech-rules-chevron.open {
  transform: rotate(180deg);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--icon-bg);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.info-list p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  padding-top: 3px;
}

.highlight-blue {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 360px) {
  .amount-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}




.pay-page {
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

/* Header */
.rc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #EEF4FF;
  padding: 0 16px;
  border-bottom: 1px solid #D5E4FA;
}

.rc-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.rc-header-title {
  font-size: 16px;
  font-weight: 600;
  color: #173E8C;
  margin: 0;
}

.rc-back-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #E8F1FF;
  color: #1E63D9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.rc-back-btn:active {
  background: #D5E4FA;
  transform: scale(0.93);
}

.pay-container {
  padding: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* Amount Card */
.pay-amount-card {
  background: linear-gradient(135deg, #0d1f5c 0%, #1E63D9 100%);
  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: #ffffff;
  border: 1px solid #D5E4FA;
  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 #EAF3FF;
}

.pay-detail-row:last-child { border-bottom: none; }

.pay-detail-label {
  font-size: 13px;
  color: #9099AA;
  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: #173E8C;
  text-align: right;
}

.pay-note-value {
  color: #1E63D9;
  letter-spacing: 1px;
  font-weight: 700;
}

.pay-copy-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #E8F1FF;
  color: #1E63D9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: .2s;
}

.pay-copy-btn:active {
  background: #1E63D9;
  color: #FFFFFF;
  transform: scale(.93);
}

/* Note Box */
.pay-note-box {
  background: #EEF4FF;
  border: 1px solid #D5E4FA;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  color: #56657C;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.pay-note-box svg {
  color: #1E63D9;
  flex-shrink: 0;
  margin-top: 2px;
}

.pay-note-box strong { color: #173E8C; }

/* Warning Box */
.pay-warning-box {
  background: #EEF4FF;
  border: 1px solid #D5E4FA;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 20px;
}

.pay-warning-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #56657C;
  line-height: 1.6;
}

.pay-warning-item:last-child { margin-bottom: 0; }

.pay-warn-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8F1FF;
  color: #1E63D9;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pay-warn-red {
  color: #1E63D9;
  font-weight: 600;
}

/* Confirm Button */
.pay-confirm-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: #1E63D9;
  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: #0F54C7; }
.pay-confirm-btn:active {
  transform: scale(0.98);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
  box-sizing: border-box;
}

.mx-unique-modal {
  background: #EEF4FF;
  width: 100%;
  max-width: 360px;
  border-radius: 26px;
  padding: 32px 20px 20px;
  position: relative;
  box-shadow: 0 12px 35px rgba(30,99,217,0.12);
  box-sizing: border-box;
  border: 1px solid #D5E4FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mx-bell-wrap {
  width: 72px;
  height: 72px;
  background: #E8F1FF;
  border: 1px solid #D5E4FA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #1E63D9;
}

.mx-announce-label {
  font-size: 13px;
  font-weight: 700;
  color: #9099AA;
  letter-spacing: 2px;
  text-align: center;
}

.mx-scroll-body {
  background: #F8FBFF;
  border: 1px solid #EAF3FF;
  border-radius: 16px;
  padding: 18px;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #D5E4FA transparent;
}

.mx-scroll-body::-webkit-scrollbar {
  width: 4px;
}

.mx-scroll-body::-webkit-scrollbar-thumb {
  background: #D5E4FA;
  border-radius: 4px;
}

.mx-modal-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #56657C;
  margin: 0 0 12px 0;
  font-family: 'Poppins', sans-serif;
}

.mx-modal-desc:last-child {
  margin-bottom: 0;
}

.mx-got-it-btn {
  width: 100%;
  padding: 16px;
  background: #DDEBFF;
  color: #173E8C;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: .2s;
}

.mx-got-it-btn:hover { background: #C8DBFA; }
.mx-got-it-btn:active { transform: scale(0.97); }

.mx-action-btn {
  width: 100%;
  padding: 16px;
  background: #1E63D9;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  transition: .2s;
  box-shadow: 0 8px 20px rgba(30,99,217,0.25);
  margin: 0;
}

.mx-action-btn:hover { background: #1555C7; }
.mx-action-btn:active { transform: scale(0.97); }
#welcomePopup {
  display: none; /* Changed from none to flex for visibility during testing */
}

.cs-section {
  padding: 0 14px 20px;
}

.cs-section-header {
  padding: 12px 0 12px;
}

.cs-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #173E8C;
  margin: 0 0 2px 0;
  font-family: 'Poppins', sans-serif;
}

.cs-section-sub {
  font-size: 10px;
  font-weight: 700;
  color: #9099AA;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cs-card {
  background: #FFFFFF;
  border: 1px solid #D5E4FA;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(30,99,217,.08);
}

.cs-card-img {
  width: 100%;
  height: 130px;
  position: relative;
  overflow: hidden;
}

.cs-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-quota-tag {
  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: 6px;
  font-family: 'Poppins', sans-serif;
}

.cs-hot-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #1E63D9;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
}

.cs-presale-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #DDEBFF;
  color: #1E63D9;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
}

.cs-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
}

.cs-days {
  font-size: 11px;
  font-weight: 700;
  color: #1E63D9;
  font-family: 'Poppins', sans-serif;
}

.cs-name {
  font-size: 15px;
  font-weight: 800;
  color: #173E8C;
  font-family: 'Poppins', sans-serif;
}

.cs-income-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-income-label {
  font-size: 11px;
  color: #9099AA;
  font-family: 'Poppins', sans-serif;
}

.cs-income-val {
  font-size: 12px;
  font-weight: 700;
  color: #1E63D9;
  font-family: 'Poppins', sans-serif;
}

.cs-price-btn {
  background: #173E8C;
  border: none;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  margin-top: 4px;
}

.cs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(238,244,255,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.cs-lock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cs-lock-icon {
  width: 52px;
  height: 52px;
  background: #E8F1FF;
  border: 1.5px solid #1E63D9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #1E63D9;
}

.cs-coming-text {
  font-size: 13px;
  font-weight: 800;
  color: #173E8C;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  animation: csBlink 1.4s ease-in-out infinite;
}

@keyframes csBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}


/* DAILY LOADER OVERLAY */
.daily-loader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9999;
}

/* 3D SPINNER */
.spinner-3d{
  width:60px;
  height:60px;
  border:6px solid rgba(255,255,255,0.2);
  border-top:6px solid #00c2ff;
  border-radius:50%;
  animation:spin3d 1s linear infinite;
  margin-bottom:15px;
}

@keyframes spin3d{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

.daily-loader p{
  color:white;
  font-weight:600;
  font-size:16px;
}


/* ===== PRODUCT PAGE ===== */
.product-page {
  width: 100%;
  padding: 20px;
  padding-bottom: 80px;
  padding-top: 65px; /* space for fixed header */
  background: #ffffff; /* white background */
  min-height: 100vh;
  color: #ffffff;      /* white text */
  display: none;       /* show when active */
}

/* ===== FIXED HEADER ===== */
.product-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e40ff; /* blue header */
  padding: 12px 0;
  z-index: 1000;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;      /* white text */
  box-shadow: 0 3px 8px rgba(30, 64, 255, 0.2); /* subtle blue shadow */
}

.product-header i {
  margin-right: 8px;
  color: #ffffff; /* white icon */
}

/* ===== PREMIUM PRODUCT CARD - REDESIGNED ===== */
.premium-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  margin-top: -12px;
  margin-bottom: 16px;
  border: 1px solid #ede9f6;
  box-shadow: 0 4px 18px rgba(75, 0, 130, 0.07);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ── TOP STRIP ── */
.inv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #4b0082, #9d4edd);
}

.inv-vip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.inv-vip-badge i {
  color: #e9d5ff;
  font-size: 14px;
}

.inv-days-pill {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── BODY: IMAGE + STATS GRID ── */
.inv-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.inv-product-img {
  width: 85px;
  height: 85px;
  min-width: 85px;
  border-radius: 12px;
  background: #f5f0ff;
  border: 1px solid #ede9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inv-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inv-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.inv-stat-box {
  background: #faf7ff;
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #ede9f6;
}

.inv-stat-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inv-stat-label i {
  color: #9d4edd;
  font-size: 9px;
}

.inv-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #9d4edd;
}

.inv-stat-val.dark {
  color: #0f172a;
}

.inv-stat-val.green {
  color: #16a34a;
}

/* ── FOOTER: DATE + PROGRESS BAR ── */
.inv-card-footer {
  padding: 0 16px 14px 16px;
  border-top: 1px solid #f3eeff;
  padding-top: 12px;
}

.inv-date-range {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 8px;
}

.inv-date-range i {
  color: #9d4edd;
}

.inv-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #ede9f6;
  border-radius: 99px;
  overflow: hidden;
}

.inv-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4b0082, #9d4edd);
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* ── COUNTDOWN ROW ── */
.inv-countdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #faf7ff;
  border-top: 1px solid #f3eeff;
}

.inv-next-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

.inv-countdown-timer {
  font-family: monospace;
  font-weight: 700;
  color: #4b0082;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .inv-product-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }
  .inv-stat-val {
    font-size: 12px;
  }
}



/* ============================================================ */
/* REPLACE YOUR ENTIRE invite CSS + earnings CSS WITH THIS      */
/* ============================================================ */

/* ── ROOT VARS ── */
:root {
  --primary: #1E63D9;
  --primary-dark: #0F54C7;
  --border: #D5E4FA;
  --border-light: #EAF3FF;
  --text-primary: #173E8C;
  --text-secondary: #56657C;
  --text-muted: #9099AA;
  --shadow-soft: 0 8px 20px rgba(30,99,217,.08);
}

#earningsPage {
  background: #f2f4f8;
  font-family: 'Poppins', 'Inter', sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  padding-top: 56px;
  padding-bottom: 80px;
  overflow-y: auto;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ── HEADER ── */
.team-header-main {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #EEF4FF;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-sizing: border-box;
}

.team-header-main span {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.back-btn-white {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #E8F1FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}

.tm-banner {
  background: linear-gradient(135deg, #0d1f5c 0%, #1E63D9 100%);
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.tm-banner-row {
  display: flex;
  align-items: center;
  padding: 20px 20px 12px;
}

.tm-banner-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.tm-banner-val {
  font-size: 20px;
  font-weight: 800;
  color: #f5a623;
  letter-spacing: 1.5px;
  text-align: center;
}

.tm-banner-link {
  font-size: 11px;
  font-weight: 600;
  word-break: break-all;
  letter-spacing: 0;
  line-height: 1.4;
}

.tm-banner-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.tm-banner-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 12px;
}

.tm-banner-btns {
  display: flex;
  gap: 10px;
  padding: 0 14px 18px;
}

.tm-banner-btn {
  flex: 1;
  padding: 12px 0;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background .2s;
}

.tm-banner-btn:active {
  background: rgba(255,255,255,0.22);
}

/* ── STATS ROW ── */
.tm-stats-row {
  background: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.tm-stats-cell {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
}

.tm-stats-divider {
  width: 1px;
  height: 44px;
  background: var(--border-light);
  flex-shrink: 0;
}

.tm-stats-icon {
  font-size: 28px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.tm-star-icon {
  color: #f5a623;
}

.tm-stats-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 3px;
}

.tm-stats-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── MY TEAM BAR ── */
.tm-myteam-bar {
  background: linear-gradient(90deg, #0d1f5c 0%, #1a3fa8 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  width: 100%;
  box-sizing: border-box;
}

.tm-myteam-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.tm-myteam-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.tm-myteam-btn {
  background: #fff;
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── LEVEL ROWS ── */
.tm-level-row {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 18px 16px;
  width: 100%;
  box-sizing: border-box;
  gap: 4px;
}

.tm-row-divider {
  height: 1px;
  background: var(--border-light);
  width: 100%;
}

.tm-lv-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
  font-size: 10px;
  font-weight: 800;
  gap: 2px;
}

.tm-lv-badge i {
  font-size: 22px;
}

.tm-lv-badge span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Gold for NO.1 */
.tm-lv1-badge {
  background: radial-gradient(circle, #ffe082 0%, #f5a623 100%);
  color: #7a4800;
  box-shadow: 0 4px 12px rgba(245,166,35,0.35);
}

/* Silver for NO.2 */
.tm-lv2-badge {
  background: radial-gradient(circle, #e8e8e8 0%, #b0b0b0 100%);
  color: #444;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Bronze for NO.3 */
.tm-lv3-badge {
  background: radial-gradient(circle, #f0c080 0%, #c07830 100%);
  color: #5a2800;
  box-shadow: 0 4px 12px rgba(192,120,48,0.3);
}

.tm-lv-col {
  flex: 1;
  text-align: center;
}

.tm-lv-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tm-lv-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── RULES ── */
.tm-rules {
  background: #fff;
  padding: 20px 20px 36px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 1px;
}

.tm-rules-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.tm-rules p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 8px 0;
}

/* ============================================================ */
/* TEAM DETAILS PAGE — UNCHANGED                                */
/* ============================================================ */

#teamDetailsPage {
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.td-container {
  padding: 60px 0 100px;
  width: 100%;
  box-sizing: border-box;
}

.td-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.td-tab {
  padding: 16px;
  text-align: center;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: .2s;
}

.td-tab.active {
  border-bottom-color: var(--primary);
}

.td-tab-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.td-tab-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.td-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
}

.td-member-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(30,99,217,0.06);
  width: 100%;
  box-sizing: border-box;
}

.td-member-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #E8F1FF;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.td-member-info { flex: 1; }

.td-member-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.td-member-date {
  font-size: 11px;
  color: var(--text-muted);
}

.td-member-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.td-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 14px;
}

.td-empty i { font-size: 48px; color: var(--border); }
.td-empty p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Keep these for any JS that still references old classes */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.detail-header h4 {
  color: var(--text-primary);
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.detail-close-btn {
  background: #E8F1FF;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.user-list-wrapper-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.tier-card {
  background: #F8FBFF;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tier-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.tier-badge {
  background: #E8F1FF;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
}

.inner-user-grid-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
}

.inner-user-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 4px;
}

.inner-user-value {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.inner-user-label {
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}





/* ── WITHDRAWAL PAGE ── */
.withdraw-page {
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
  color: #173E8C;
}

/* ── HEADER ── */
.wd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  background: #ffffff;
  border-bottom: 1px solid #EAF3FF;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.wd-back-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #173E8C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.wd-back-btn:active { opacity: 0.6; }

.wd-title {
  font-size: 17px;
  font-weight: 700;
  color: #173E8C;
  margin: 0;
}

/* ── CONTAINER ── */
.wd-container {
  padding: 16px 16px 80px 16px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── BALANCE CARD ── */
.wd-balance-card {
  background: #ffffff;
  border: 1px solid #EAF3FF;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 20px rgba(30,99,217,.08);
  box-sizing: border-box;
}

.wd-bal-label {
  font-size: 11px;
  font-weight: 700;
  color: #9099AA;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wd-bal-amount {
  font-size: 38px;
  font-weight: 800;
  color: #173E8C;
  letter-spacing: -1px;
  line-height: 1;
}

/* ── SECTION CARDS ── */
.wd-section-card {
  background: #ffffff;
  border: 1px solid #EAF3FF;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 8px 20px rgba(30,99,217,.08);
  box-sizing: border-box;
}

.wd-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #173E8C;
  margin-bottom: 14px;
}

/* ── INPUT ── */
.wd-input-row {
  display: flex;
  align-items: center;
  background: #EEF4FF;
  border: 1.5px solid #D5E4FA;
  border-radius: 14px;
  overflow: hidden;
  height: 54px;
  transition: border-color 0.2s;
}

.wd-input-row:focus-within {
  border-color: #1E63D9;
  background: #ffffff;
}

.wd-currency-box {
  width: 52px;
  height: 100%;
  background: #DDEBFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #1E63D9;
  flex-shrink: 0;
  border-right: 1.5px solid #D5E4FA;
}

.wd-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: #173E8C;
  width: 100%;
  padding: 0 14px;
  font-family: 'Inter', sans-serif;
  height: 100%;
}

.wd-input::placeholder {
  color: #9099AA;
  font-weight: 400;
  font-size: 14px;
}

.wd-fee-tag {
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  color: #56657C;
  background: #EEF4FF;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  float: right;
}

.wd-fee-tag strong { color: #1E63D9; }

/* ── WITHDRAW BUTTON ── */
.wd-submit-btn {
  width: 100%;
  height: 54px;
  background: #1E63D9;
  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;
  box-shadow: 0 8px 20px rgba(30,99,217,.25);
  transition: background 0.2s, transform 0.1s;
  clear: both;
}
.wd-submit-btn:hover { background: #0F54C7; }
.wd-submit-btn:active { transform: scale(0.98); }

/* ── RULES CARD ── */
.wd-rules-card {
  background: #ffffff;
  border: 1px solid #EAF3FF;
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: 0 8px 20px rgba(30,99,217,.08);
  box-sizing: border-box;
}

.wd-rules-title {
  font-size: 15px;
  font-weight: 700;
  color: #173E8C;
  margin-bottom: 16px;
}

.wd-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wd-rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #56657C;
  line-height: 1.6;
}

.wd-rule-num {
  width: 26px;
  height: 26px;
  background: #E8F1FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #1E63D9;
  flex-shrink: 0;
}

.wd-rules-list li strong { color: #173E8C; font-weight: 700; }

/* ── HIDDEN BANK CARD (keep for JS) ── */
.wd-bank-card {
  background: #ffffff;
  border: 1px solid #EAF3FF;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(30,99,217,.08);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-sizing: border-box;
}

.wd-bank-icon-wrap {
  width: 48px;
  height: 48px;
  background: #E8F1FF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E63D9;
  flex-shrink: 0;
}

.wd-bank-info { flex: 1; }

.wd-bank-name {
  font-size: 14px;
  font-weight: 700;
  color: #173E8C;
  margin-bottom: 4px;
}

.wd-bank-detail {
  font-size: 12px;
  color: #9099AA;
  font-weight: 500;
}

/* ── EMPTY BANK STATE ── */
.bank-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  gap: 12px;
}

.bank-empty .bank-icon {
  width: 64px;
  height: 64px;
  background: #E8F1FF;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
}

.bank-empty h4 {
  font-size: 16px;
  font-weight: 700;
  color: #173E8C;
  margin: 0;
}

.bank-empty p {
  font-size: 13px;
  color: #56657C;
  margin: 0;
  line-height: 1.6;
  max-width: 240px;
}

#addAccountBtn {
  margin-top: 4px;
  padding: 13px 28px;
  background: #1E63D9;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 14px rgba(30,99,217,.25);
  transition: transform 0.15s, opacity 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

#addAccountBtn::before {
  content: '+';
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

#addAccountBtn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

@media (max-width: 380px) {
  .wd-bal-amount { font-size: 30px; }
  .wd-title { font-size: 15px; }
}

.page-section { display: none; }
#loginContainer { display: none; }
#signupContainer { display: none; }



.card-order-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.card-order-row i {
  color: #0357EE;
  font-size: 11px;
}

.card-order-row strong {
  color: #0b1220;
  font-weight: 700;
}


.bank-page {
  background-color: #f0f2f5;
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #1c1e21;
  box-sizing: border-box;
}

/* ── HEADER ── */
.records-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10000;
  box-shadow: 0 2px 12px rgba(24,119,242,0.2);
  box-sizing: border-box;
}

.records-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.records-back-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}

.records-back-btn:active {
  background: rgba(255,255,255,0.3);
}

/* ── CONTENT ── */
.records-content-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 72px 14px 100px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#recordsContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── RECORD CARD ── */
.record-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #e4e6eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── TOP ROW: title left, amount right ── */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.record-title {
  font-size: 15px;
  font-weight: 700;
  color: #1c1e21;
}

.record-amount-value {
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
}

.record-amount-value.debit-amount  { color: #dc2626; }
.record-amount-value.pending-amount { color: #f59e0b; }
.record-amount-value.failed-amount {
  color: #94a3b8;
  text-decoration: line-through;
}

/* ── MID ROW: date left, status right ── */
.card-mid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.record-type-label {
  font-size: 12px;
  color: #65676b;
  font-weight: 400;
}

/* ── STATUS PILL ── */
.record-status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.record-status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.status-confirmed-green {
  background: #f0fdf4;
  color: #16a34a;
}

.status-failed-red {
  background: #fef2f2;
  color: #dc2626;
}

.status-pending-orange {
  background: #fffbeb;
  color: #d97706;
}


/* ================= 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: #f0f4ff;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 0;
}

.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #1E63D9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 10000;
  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;
}

.investment-back-btn:active {
  background: rgba(255,255,255,0.3);
}

.card-wrapper {
  flex: 1;
  padding: 120px 16px 100px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#investmentCardsList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── CARD ── */
.kv-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30,99,217,0.12);
  border: 1px solid #D5E4FA;
}

/* Banner */
.kv-banner {
  background: linear-gradient(135deg, #0d1f5c 0%, #1E63D9 100%);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 160px;
}

.kv-banner-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ffffff;
}

.kv-banner-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Info */
.kv-info {
  background: #ffffff;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kv-info-head {
  align-items: flex-start !important;
}

.kv-plan-name {
  font-size: 17px;
  font-weight: 800;
  color: #173E8C;
}

.kv-amount {
  font-size: 17px;
  font-weight: 800;
  color: #f5a623;
}

.kv-divider {
  height: 1px;
  background: #EAF3FF;
  margin: 2px 0;
}

.kv-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kv-label {
  font-size: 13px;
  color: #9099AA;
  font-weight: 500;
}

.kv-value {
  font-size: 13px;
  font-weight: 700;
  color: #173E8C;
}

.kv-green {
  color: #22C55E;
  font-size: 15px;
}

.kv-countdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.kv-countdown-label {
  font-size: 13px;
  color: #9099AA;
  font-weight: 500;
}

.kv-countdown-timer {
  font-size: 15px;
  font-weight: 800;
  color: #1E63D9;
  font-family: monospace;
  letter-spacing: 1px;
}

/* Empty state */
.inv-empty-state {
  text-align: center;
  max-width: 320px;
  margin: 60px auto 0 auto;
}

.inv-empty-icon {
  width: 64px;
  height: 64px;
  background: #E8F1FF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
  color: #1E63D9;
}

.inv-empty-title {
  font-size: 17px;
  font-weight: 600;
  color: #173E8C;
  margin: 0 0 6px 0;
}

.inv-empty-sub {
  font-size: 13px;
  color: #56657C;
  margin: 0 0 22px 0;
  line-height: 1.5;
}

.inv-browse-btn {
  background: #1E63D9;
  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(30,99,217,0.25);
  font-family: inherit;
}

.inv-browse-btn:active { transform: scale(0.97); }




#groupTasksPage {
  background: linear-gradient(180deg, #EEF4FF 0%, #E8F1FF 45%, #F8FBFF 100%);
  min-height: 100vh;
  font-family: 'Poppins', 'Inter', sans-serif;
  padding-bottom: 80px;
}

.tpg-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 56px;
  background: #EEF4FF;
  border-bottom: 1px solid #D5E4FA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-sizing: border-box;
  z-index: 100;
}

.tpg-header span {
  font-size: 16px;
  font-weight: 700;
  color: #173E8C;
}

.tpg-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #D5E4FA;
  background: #E8F1FF;
  color: #1E63D9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}

/* HERO */
.tpg-hero {
  background: linear-gradient(135deg, #0d1f5c 0%, #1E63D9 100%);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tpg-hero-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.tpg-hero-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.tpg-hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

/* STATS */
.tpg-stats-row {
  background: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #EAF3FF;
}

.tpg-stat-cell {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
}

.tpg-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: #173E8C;
  margin-bottom: 3px;
}

.tpg-stat-lbl {
  font-size: 11px;
  color: #9099AA;
  font-weight: 500;
}

.tpg-stat-divider {
  width: 1px;
  height: 36px;
  background: #EAF3FF;
  flex-shrink: 0;
}

/* TASK LIST */
.tpg-list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tpg-loading {
  text-align: center;
  color: #9099AA;
  padding: 40px 0;
  font-size: 14px;
}

/* TASK CARD */
.tpg-card {
  background: #fff;
  border: 1px solid #D5E4FA;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(30,99,217,0.06);
}

.tpg-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.tpg-icon-blue   { background: #E6F1FB; color: #185FA5; }
.tpg-icon-green  { background: #EAF3DE; color: #3B6D11; }
.tpg-icon-purple { background: #EEEDFE; color: #3C3489; }
.tpg-icon-amber  { background: #FAEEDA; color: #854F0B; }
.tpg-icon-teal   { background: #E1F5EE; color: #0F6E56; }
.tpg-icon-red    { background: #FCEBEB; color: #A32D2D; }

.tpg-card-body { flex: 1; min-width: 0; }

.tpg-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #173E8C;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpg-card-desc {
  font-size: 12px;
  color: #56657C;
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpg-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tpg-reward-pill {
  font-size: 12px;
  font-weight: 700;
  color: #185FA5;
  background: #E6F1FB;
  padding: 3px 10px;
  border-radius: 20px;
}

.tpg-members {
  font-size: 11px;
  color: #9099AA;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tpg-card-right { flex-shrink: 0; }

.tpg-join-btn {
  padding: 9px 18px;
  border-radius: 20px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.tpg-join-btn.join    { background: #1E63D9; color: #fff; }
.tpg-join-btn.pending { background: #FFF7E6; color: #854F0B; border: 1px solid #FAEEDA; }
.tpg-join-btn.done    { background: #EAF3DE; color: #3B6D11; border: 1px solid #C0DD97; }

/* EMPTY STATE */
.tpg-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9099AA;
  font-size: 14px;
}

.tpg-empty i {
  font-size: 40px;
  color: #D5E4FA;
  margin-bottom: 12px;
  display: block;
}

/* MODAL */
.tpg-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tpg-modal {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 24px 18px 36px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tpg-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #173E8C;
}

.tpg-modal-sub {
  font-size: 13px;
  color: #56657C;
  line-height: 1.6;
}

.tpg-proof-upload-box {
  border: 2px dashed #D5E4FA;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: #1E63D9;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tpg-proof-upload-box i { font-size: 28px; }

.tpg-modal-btns {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.tpg-modal-cancel {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid #D5E4FA;
  background: #F8FBFF;
  color: #9099AA;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.tpg-modal-submit {
  flex: 2;
  padding: 13px;
  border-radius: 12px;
  border: none;
  background: #1E63D9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}


.gle-swal-popup {
  border-radius: 20px !important;
  padding: 28px 22px !important;
  box-shadow: 0 20px 50px rgba(2, 65, 184, 0.15) !important;
}

.gle-swal-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0b1220 !important;
}

.gle-swal-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  color: #64748b !important;
}

.gle-swal-confirm {
  background: #0241b8 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(2, 65, 184, 0.25) !important;
}

.gle-swal-confirm:hover {
  background: #022e8a !important;
}

.gle-swal-icon {
  border-color: #eaf0fe !important;
}



.gle-whatsapp-fab {
  position: fixed;
  bottom: 180px;
  right: 18px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.gle-whatsapp-fab:active {
  transform: scale(0.92);
}


#dynamicProductList {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px 100px;
}

/* ── CARD ── */
.mx-product-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* ── TOP ROW: image left, content right ── */
.mx-card-top {
  display: flex;
  align-items: stretch;
}

/* image — fixed width, full height of card, no border radius */
.mx-card-image {
  width: 130px;
  flex-shrink: 0;
  overflow: hidden;
}

.mx-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* right side content */
.mx-card-right {
  flex: 1;
  padding: 14px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* plan name + buy button on same row */
.mx-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mx-plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  min-width: 0;
}

.mx-buy-btn {
  background: var(--icon-bg);
  color: var(--primary);
  border: none;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.1s;
}

.mx-buy-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.mx-buy-btn:active {
  transform: scale(0.96);
}

/* ── STATS — 2 columns, label on top value below ── */
.mx-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 4px;
}

.mx-stat-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mx-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.mx-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* section label */
.mx-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 14px 8px;
}

.product-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0;
}

.mx-myplans-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.mx-loader, .mx-error {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 14px;
}


.mx-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 14px 12px;
}

.product-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.mx-section-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0;
}

.mx-myplans-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--icon-bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}

.mx-myplans-link:hover {
  background: var(--border);
}

.mx-myplans-link i {
  font-size: 15px;
  color: var(--text-secondary);
}


/* No hover state defined, so it will remain static */

/* This targets the <a> tag wrapping your settings item */
a.settings-link-wrapper {
    text-decoration: none !important; /* Forces the underline to disappear */
    color: inherit !important;        /* Forces the text to stay your app's color */
    display: block;                   /* Makes the whole row clickable */
    -webkit-tap-highlight-color: transparent; /* Removes the gray box on mobile tap */
}

/* Optional: Add a slight hover or active effect so the user knows it's a button */
a.settings-link-wrapper:active {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* ================= CUSTOM ALERT ================= */
.custom-alert {
  position: fixed !important;

  top: 50% !important;
  left: 50% !important;

  transform: translate(-50%, -50%) !important;

  background: rgba(0, 0, 0, 0.85);
  color: #fff;

  padding: 14px 24px;
  border-radius: 12px;

  font-size: 15px;
  text-align: center;

  max-width: 90%;
  width: max-content;

  box-shadow: 0 8px 20px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;

  z-index: 999999; /* higher than EVERYTHING */
}

.custom-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) !important;
}
.custom-alert {
  right: auto;
  margin: 0;
}

.custom-alert.show {
  animation: alertPop 0.3s ease;
}

@keyframes alertPop {
  0% {
    transform: translate(-50%, -60%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}


/* ================= EMPTY STATE UI (PRODUCT STYLE) ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  padding: 40px 20px; 
  margin: 15px;
  text-align: center;
  
  /* Card Design: Stretch like an ATM card */
  background: #ffffff;
  border-radius: 16px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  
  width: auto; 
  max-width: 100%; 
  box-sizing: border-box;
}

.empty-icon-circle {
  width: 70px; /* Slightly larger for product focus */
  height: 70px;
  background: #f8f9fa; /* Clean grey/white tint */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon-circle i {
  font-size: 28px;
  color: #121b1e; /* Bold dark icon */
}

.empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

.empty-subtitle {
  margin: 8px 0 25px 0;
  font-size: 14px;
  color: #777;
  font-weight: 400;
  line-height: 1.5;
  max-width: 280px; /* Keeps text centered and readable */
}

/* THE BUTTON - Full width button */
.browse-plans-btn {
  background: #4b0082; 
  color: #ffffff;
  border: none;
  width: 100%; 
  max-width: 300px; /* Adjusted for better card balance */
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.browse-plans-btn:active {
  transform: scale(0.97);
}



#pageLoader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #0A0E1A;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

#pageLoader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── BACKGROUND GLOW ── */
.pl-bg-blur {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(30,99,217,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(74,137,245,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── CONTENT ── */
.pl-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 1;
}

/* ── LOGO RING ── */
.pl-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}

.pl-svg-ring {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0; left: 0;
  transform: rotate(-90deg);
}

.pl-track {
  fill: none;
  stroke: rgba(30,99,217,0.1);
  stroke-width: 2;
}

.pl-arc {
  fill: none;
  stroke-linecap: round;
}

.pl-arc-1 {
  stroke: #1E63D9;
  stroke-width: 2.5;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  animation: plArc1 2s cubic-bezier(0.4,0,0.2,1) infinite;
  filter: drop-shadow(0 0 6px rgba(30,99,217,0.8));
}

.pl-arc-2 {
  stroke: #4A89F5;
  stroke-width: 2;
  stroke-dasharray: 251.3;
  stroke-dashoffset: 251.3;
  animation: plArc2 2s cubic-bezier(0.4,0,0.2,1) 0.3s infinite;
  filter: drop-shadow(0 0 4px rgba(74,137,245,0.6));
}

.pl-arc-3 {
  stroke: rgba(30,99,217,0.4);
  stroke-width: 1.5;
  stroke-dasharray: 163.4;
  stroke-dashoffset: 163.4;
  animation: plArc3 2s cubic-bezier(0.4,0,0.2,1) 0.6s infinite;
}

@keyframes plArc1 {
  0%   { stroke-dashoffset: 339.3; opacity: 0; }
  20%  { opacity: 1; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -339.3; opacity: 0; }
}
@keyframes plArc2 {
  0%   { stroke-dashoffset: 251.3; opacity: 0; }
  20%  { opacity: 1; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -251.3; opacity: 0; }
}
@keyframes plArc3 {
  0%   { stroke-dashoffset: 163.4; opacity: 0; }
  20%  { opacity: 1; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -163.4; opacity: 0; }
}

/* ── CORE DOT ── */
.pl-logo-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-core-dot {
  width: 18px;
  height: 18px;
  background: #1E63D9;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(30,99,217,0.9), 0 0 40px rgba(30,99,217,0.4);
  animation: plCorePulse 1.5s ease-in-out infinite;
}

@keyframes plCorePulse {
  0%, 100% { transform: scale(0.8); opacity: 0.7; box-shadow: 0 0 12px rgba(30,99,217,0.6); }
  50%       { transform: scale(1.2); opacity: 1;   box-shadow: 0 0 28px rgba(30,99,217,1), 0 0 50px rgba(30,99,217,0.4); }
}

/* ── BRAND ── */
.pl-brand {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 6px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 0%, #4A89F5 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: plShine 2.5s linear infinite;
}

@keyframes plShine {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.pl-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -12px;
}

/* ── PROGRESS BAR ── */
.pl-bar-wrap {
  width: 160px;
  height: 3px;
  background: rgba(30,99,217,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.pl-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1E63D9, #4A89F5);
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(30,99,217,0.8);
  animation: plBarFill 2s ease-in-out infinite;
}

@keyframes plBarFill {
  0%   { width: 0%;   opacity: 1; }
  70%  { width: 100%; opacity: 1; }
  90%  { width: 100%; opacity: 0; }
  100% { width: 0%;   opacity: 0; }
}

/* ── DOTS ── */
.pl-dots {
  display: flex;
  gap: 8px;
  margin-top: -4px;
}

.pl-dots span {
  width: 5px;
  height: 5px;
  background: rgba(30,99,217,0.5);
  border-radius: 50%;
  animation: plDot 1.2s ease-in-out infinite;
}

.pl-dots span:nth-child(1) { animation-delay: 0s; }
.pl-dots span:nth-child(2) { animation-delay: 0.2s; }
.pl-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes plDot {
  0%, 100% { transform: scale(0.6); opacity: 0.3; }
  50%       { transform: scale(1.4); opacity: 1; background: #1E63D9; box-shadow: 0 0 8px rgba(30,99,217,0.8); }
}


/* Header Image */
.product-header-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}


.debit-amount  { color: #ef4444; font-weight: 700; }
.pending-amount { color: #f59e0b; font-weight: 700; }
.failed-amount  { color: #94a3b8; font-weight: 700; text-decoration: line-through; }
.record-amount-value { color: #16a34a; font-weight: 700; }

/* Reviews Ticker Wrapper - fills remaining viewport height */
.reviews-ticker-wrapper {
  width: 100%;
  height: calc(100vh - 250px); /* adjust based on your header/image height */
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff; /* blue background */
  padding: 10px;
  box-sizing: border-box;
}

/* Ticker container */
.reviews-ticker {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: scrollReviews 300s linear infinite; /* very slow scroll */
}

/* Each review item */
.review-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #ffffff; /* white card background */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 80px; /* make each review taller */
}

/* User logo / icon */
.review-item .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* keeps image from shrinking */
}

/* Review text */
.review-item .review-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #79a2e5; /* blue text */
}

/* Smooth scroll animation */
@keyframes scrollReviews {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}



/* Full-width black box around dashboard image */
.dashboard-image-box-full {
    width: 100%;                 /* full width of parent container */
    background-color: #000000;   /* black box (you can change to green) */
    padding: 15px;               /* space inside box for image */
    border-radius: 16px;         /* rounded corners */
    box-sizing: border-box;
    text-align: center;          /* center image */
    margin: 20px 0;              /* vertical spacing only, no horizontal shift */
    overflow: hidden;            /* prevent any overflow */
}

/* Dashboard image inside the box */
.dashboard-image {
    max-width: 100%;             /* fit inside green box */
    height: auto;
    border-radius: 12px;         /* slightly rounded corners */
    display: inline-block;       /* center properly */
}




/* ===== PAYMENT TYPE ===== */
.payment-type {
  margin: 15px 0;
  text-align: left;
  width: 100%;
  position: relative;
  font-family: sans-serif;
}

.payment-type label {
  display: block;
  margin-bottom: 6px;
  color: #f4b400; /* green label */
  font-weight: 600;
  font-size: 14px;
}

/* The clickable box */
.payment-box {
  width: 100%;
  background: #ffffff;          /* white box */
  color: #000000;               /* green text */
  border: 1px solid #c0c0c0;   /* silver edge */
  border-radius: 12px;
  padding: 12px 15px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.payment-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-box .arrow {
  font-size: 14px;
}



/* Options list hidden by default */
.payment-options {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 48px; /* below the box */
  width: 100%;
  background: #ffffff;
  border: 1px solid #c0c0c0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none; /* hidden initially */
  z-index: 100;
}

.payment-options li {
  padding: 10px 15px;
  cursor: pointer;
  color: #000000;
  font-weight: 500;
  transition: background 0.2s;
}

.payment-options li:hover {
  background: rgba(15,157,88,0.1); /* light green hover */
}


/* Selected Amount Display */
.selected-amount {
  font-weight: bold;
  color: #000000;   /* black */
  font-size: 20px;
  margin-top: 8px;
  text-align: center;
}



#paymentCountdown {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ff0707; /* green */
}


#paymentStatusMessage {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  display: none;
}


.status-pending {
  background: #f0fff6;
  color: #d29922;
}

.status-approved {
  background: #e6fff1;
  color: #1faa59;
}

.status-declined {
  background: #ffecec;
  color: #d62828;
}

.status-timeout {
  background: #fff6e5;
  color: #c77700;
}




/* ================= FLOATING TELEGRAM (PROFILE PAGE) ================= */
.profile-page .telegram-float-profile {
  position: fixed;
  bottom: 90px;              /* above bottom nav */
  right: 16px;               /* move to right */
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: #0088cc;       /* Telegram blue */
  color: #ffffff;            /* white icon/text */

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,136,204,0.35);  /* subtle blue shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover / tap */
.profile-page .telegram-float-profile:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0,136,204,0.45); /* stronger blue shadow */
}

/* Mobile safe */
@media (max-width: 480px) {
  .profile-page .telegram-float-profile {
    bottom: 100px;
    right: 12px;            /* adjust right for mobile */
  }
}

#toast-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 99999;
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
}

#toast-overlay.toast-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Inner pill */
.toast-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  min-width: 200px;
  max-width: 320px;
  white-space: normal;
}

/* Spinning circle loader */
.toast-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: toast-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes toast-spin {
  to { transform: rotate(360deg); }
}

/* Type icon */
.toast-type-icon {
  font-size: 15px;
  flex-shrink: 0;
}

/* Type colors for icon */
.toast-success .toast-type-icon { color: #4ade80; }
.toast-error   .toast-type-icon { color: #f87171; }
.toast-warning .toast-type-icon { color: #fbbf24; }

/* Spinner color by type */
.toast-success .toast-spinner { border-top-color: #4ade80; }
.toast-error   .toast-spinner { border-top-color: #f87171; }
.toast-warning .toast-spinner { border-top-color: #fbbf24; }

/* Message text */
.toast-msg {
  flex: 1;
  line-height: 1.4;
}



/* ── TASKS PAGE ── */
.tsk-wrapper {
  position: fixed;
  inset: 0;
  background: #F5F7FA;
  z-index: 999;
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
  padding-bottom: 80px;
}

/* ── HEADER ── */
.tsk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 14px 16px 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #F0F0F0;
  gap: 10px;
}

.tsk-back-btn {
  width: 38px; height: 38px;
  background: #F5F7FA;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tsk-header-center { flex: 1; }

.tsk-title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 0 0 2px;
  line-height: 1.2;
}

.tsk-subtitle {
  font-size: 12px;
  color: #888;
  margin: 0;
  font-weight: 400;
}

.tsk-mytasks-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── FILTER TABS ── */
.tsk-tabs-wrap {
  background: #ffffff;
  padding: 12px 16px;
  border-bottom: 1px solid #F0F0F0;
  overflow-x: auto;
}

.tsk-tabs {
  display: flex;
  gap: 8px;
  width: max-content;
}

.tsk-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1.5px solid #E8E8E8;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tsk-tab.active {
  background: #1A1A2E;
  color: #ffffff;
  border-color: #1A1A2E;
}

.tsk-tab-count {
  background: rgba(255,255,255,0.25);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.tsk-tab:not(.active) .tsk-tab-count {
  background: #F0F0F0;
  color: #888;
}

/* ── TASK LIST ── */
.tsk-list {
  padding: 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── TASK CARD ── */
.tsk-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #EFEFEF;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.tsk-card-body {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.tsk-card-left-col {
  flex: 1;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* ── ICON CIRCLE ── */
.tsk-icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
  font-size: 22px;
}
.tsk-icon-circle.purple { background: #F0EEFF; color: #7C3AED; }
.tsk-icon-circle.green  { background: #EDFAF3; color: #16A34A; }
.tsk-icon-circle.orange { background: #FFF4EB; color: #EA6C00; }
.tsk-icon-circle.blue   { background: #EEF4FF; color: #1E63D9; }

.tsk-cat-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.tsk-cat-label.purple { color: #7C3AED; }
.tsk-cat-label.green  { color: #16A34A; }
.tsk-cat-label.orange { color: #EA6C00; }
.tsk-cat-label.blue   { color: #1E63D9; }

.tsk-card-name {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin-bottom: 3px;
}

.tsk-card-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* ── PROGRESS ── */
.tsk-prog-bar-bg {
  width: 100%;
  height: 7px;
  background: #F0F0F0;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}

.tsk-prog-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s ease;
}
.tsk-prog-bar-fill.purple { background: #7C3AED; }
.tsk-prog-bar-fill.green  { background: #16A34A; }
.tsk-prog-bar-fill.orange { background: #EA6C00; }
.tsk-prog-bar-fill.blue   { background: #1E63D9; }

.tsk-prog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tsk-prog-nums {
  font-size: 12px;
  font-weight: 600;
  color: #444;
}

.tsk-prog-pct {
  font-size: 12px;
  font-weight: 700;
}
.tsk-prog-pct.purple { color: #7C3AED; }
.tsk-prog-pct.green  { color: #16A34A; }
.tsk-prog-pct.orange { color: #EA6C00; }
.tsk-prog-pct.blue   { color: #1E63D9; }

/* ── RIGHT REWARD PANEL ── */
.tsk-reward-panel {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px 14px;
  border-left: 1px solid #F5F5F5;
}

.tsk-reward-panel.purple { background: #FAF8FF; }
.tsk-reward-panel.green  { background: #F4FBF7; }
.tsk-reward-panel.orange { background: #FFF9F4; }
.tsk-reward-panel.blue   { background: #F0F6FF; }

.tsk-reward-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tsk-reward-label.purple { color: #7C3AED; }
.tsk-reward-label.green  { color: #16A34A; }
.tsk-reward-label.orange { color: #EA6C00; }
.tsk-reward-label.blue   { color: #1E63D9; }

.tsk-reward-amount {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.tsk-reward-amount.purple { color: #7C3AED; }
.tsk-reward-amount.green  { color: #16A34A; }
.tsk-reward-amount.orange { color: #EA6C00; }
.tsk-reward-amount.blue   { color: #1E63D9; }

.tsk-reward-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

/* ── ACTION BUTTON ── */
.tsk-action-btn {
  width: 100%;
  padding: 9px 6px;
  border-radius: 10px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  text-align: center;
}

.tsk-action-btn.purple { background: #7C3AED; color: #fff; }
.tsk-action-btn.green  { background: #16A34A; color: #fff; }
.tsk-action-btn.orange { background: #EA6C00; color: #fff; }
.tsk-action-btn.blue   { background: #1E63D9; color: #fff; }
.tsk-action-btn.claimed-style {
  background: #F0F0F0;
  color: #888;
  cursor: default;
}

/* ── TIP BANNER ── */
.tsk-tip-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  margin: 14px 14px 0;
  border-radius: 14px;
  padding: 14px 14px;
  border: 1px solid #F0F0F0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tsk-tip-crown { font-size: 20px; flex-shrink: 0; }

.tsk-tip-text {
  flex: 1;
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

.tsk-tip-text div:first-child { font-weight: 600; color: #222; }

.tsk-action-btn.locked-style {
    background: #F0F0F0;
    color: #aaa;
    border: none;
    cursor: not-allowed;
}

.tsk-action-btn.claimed-style {
    background: #EEF4FF;
    color: #1E63D9;
    border: 1px solid #D5E4FA;
    cursor: default;
}



/* ── ABOUT PAGE ── */
.ab-wrap {
  background: #F0F5FF;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  padding-bottom: 40px;
  overflow-x: hidden;
}

.ab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 14px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #E8EFFF;
  box-shadow: 0 2px 12px rgba(30,99,217,0.06);
}

.ab-back-btn {
  width: 36px; height: 36px;
  background: #EEF4FF;
  border: 1px solid #D5E4FA;
  border-radius: 10px;
  color: #1E63D9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-header-title {
  font-size: 16px;
  font-weight: 700;
  color: #0A1F5C;
}

/* HERO */
.ab-hero {
  background: linear-gradient(160deg, #1E63D9 0%, #0A3A8C 100%);
  padding: 40px 20px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ab-hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  animation: abPulse 3s ease-in-out infinite;
}

@keyframes abPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

@keyframes abFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes abBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.ab-logo-mark {
  width: 64px; height: 64px;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #1E63D9;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  animation: abFadeUp 0.6s ease both;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.ab-hero-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
  z-index: 1;
  animation: abFadeUp 0.7s ease both;
}

.ab-hero-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
  animation: abFadeUp 0.8s ease both;
}

.ab-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: abFadeUp 0.9s ease both;
}

.ab-founded-pill {
  margin-top: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: inline-block;
  position: relative;
  z-index: 1;
  animation: abFadeUp 1s ease both;
}

.ab-founded-pill span {
  color: #ffffff;
  font-weight: 700;
}

/* STATS */
.ab-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 16px 0;
  animation: abFadeUp 1.1s ease both;
}

.ab-stat-card {
  background: #ffffff;
  border: 1px solid #E0EAFF;
  border-radius: 16px;
  padding: 16px 8px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(30,99,217,0.07);
}

.ab-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: #1E63D9;
  line-height: 1;
  margin-bottom: 4px;
}

.ab-stat-lbl {
  font-size: 10px;
  color: #8A9DC0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SECTIONS */
.ab-section {
  padding: 24px 16px 0;
}

.ab-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #1E63D9;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ab-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #D5E4FA;
}

/* GLASS CARD */
.ab-glass-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(30,99,217,0.12);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(30,99,217,0.08);
  position: relative;
  overflow: hidden;
}

.ab-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1E63D9, transparent);
}

.ab-typewriter {
  font-size: 14px;
  color: #344A72;
  line-height: 1.8;
  margin: 0;
  min-height: 80px;
}

.ab-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: #1E63D9;
  margin-left: 2px;
  vertical-align: middle;
  animation: abBlink 0.8s steps(1) infinite;
}

/* MISSION */
.ab-mission-card {
  background: linear-gradient(135deg, #EEF4FF, #E0EAFF);
  border: 1px solid #C5D8F8;
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.ab-mission-card::after {
  content: '"';
  position: absolute;
  right: 12px;
  top: -16px;
  font-size: 100px;
  color: rgba(30,99,217,0.07);
  font-family: Georgia, serif;
  line-height: 1;
}

.ab-mission-text {
  font-size: 14px;
  font-weight: 600;
  color: #173E8C;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* VALUES */
.ab-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ab-value-item {
  background: #ffffff;
  border: 1px solid #E0EAFF;
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 2px 10px rgba(30,99,217,0.05);
}

.ab-value-icon {
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

.ab-value-name {
  font-size: 13px;
  font-weight: 700;
  color: #0A1F5C;
  margin-bottom: 4px;
}

.ab-value-desc {
  font-size: 11px;
  color: #8A9DC0;
  line-height: 1.5;
}

/* TIMELINE */
.ab-timeline {
  position: relative;
  padding-left: 26px;
}

.ab-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #1E63D9, #C5D8F8);
  border-radius: 2px;
}

.ab-tl-item {
  position: relative;
  margin-bottom: 24px;
}

.ab-tl-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #1E63D9;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(30,99,217,0.2);
}

.ab-tl-year {
  font-size: 10px;
  font-weight: 700;
  color: #1E63D9;
  letter-spacing: 1px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.ab-tl-title {
  font-size: 14px;
  font-weight: 700;
  color: #0A1F5C;
  margin-bottom: 4px;
}

.ab-tl-desc {
  font-size: 12px;
  color: #8A9DC0;
  line-height: 1.5;
}

/* TEAM */
.ab-team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #E0EAFF;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(30,99,217,0.05);
}

.ab-avatar {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E63D9, #4A89F5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.ab-team-name {
  font-size: 14px;
  font-weight: 700;
  color: #0A1F5C;
  margin-bottom: 2px;
}

.ab-team-role {
  font-size: 11px;
  color: #8A9DC0;
}

/* BOTTOM BANNER */
.ab-bottom-banner {
  margin: 24px 16px 0;
  background: linear-gradient(135deg, #1E63D9, #0A3A8C);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(30,99,217,0.25);
}

.ab-bottom-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.ab-bottom-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ANIMATIONS */
.ab-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ab-anim.ab-visible {
  opacity: 1;
  transform: translateY(0);
}

.mx-action-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mx-action-row .mx-action-btn {
  flex: 1;
}

.tg-btn {
  background: #229ED9;
}

.tg-btn:hover {
  background: #1a8bbf;
}

.wa-btn {
  background: #25D366;
}

.wa-btn:hover {
  background: #1ebe5a;
}