/* =========================================================
   GOXO / TRAMCO MALL OFFICIAL THEME STYLES
   Exact color matching: #0570db Royal Blue, Clean White Cards
   ========================================================= */

:root {
  --primary-blue: #0570db;
  --primary-blue-hover: #0461be;
  --bg-page: #f5f5f5;
  --bg-card: #ffffff;
  --border-light: #e0e0e0;
  --border-subtle: #f0f0f0;

  --text-primary: #212121;
  --text-secondary: #666666;
  --text-muted: #9e9e9e;

  /* Color Prediction Casino Accents */
  --color-green: #00c853;
  --color-red: #e53935;
  --color-violet: #9c27b0;
  --color-orange: #f56723;
  --color-gold: #ff9800;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.tramco-theme {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 55%, #020617 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  user-select: none;
}

/* App Viewport Container (Fixed Mobile Frame on Desktop, 100% Edge-to-Edge Full Screen on Phones) */
.app-viewport {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #f0f4f9 0%, #f6f8fb 240px, #edf2f8 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(5, 112, 219, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media screen and (max-width: 600px) {
  html, body.tramco-theme {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f0f4f9 !important;
    overflow-x: hidden !important;
  }
  .app-viewport {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* =========================================================
   TOP NAV BAR (Signature #0570db Electric Blue)
   ========================================================= */
.top-nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: linear-gradient(135deg, #035ec5 0%, #0570db 50%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(5, 112, 219, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.2px;
  background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}

.nav-link-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

/* Sub Navigation Bar (For Recharge & Cashier) */
.sub-nav-bar {
  background: var(--primary-blue);
  color: #ffffff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sub-nav-title {
  font-size: 16.5px;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.back-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 8px;
}

.rec-history-link {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* =========================================================
   PAGE VIEWS (Switchable)
   ========================================================= */
.page-view {
  display: none;
  flex: 1;
  flex-direction: column;
  padding-bottom: 82px;
}

.page-view.active {
  display: flex;
}

/* =========================================================
   VIEW 1: WIN SCREEN (Color Prediction Game)
   ========================================================= */
.game-wallet-bar {
  background: #ffffff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.wallet-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wallet-caption {
  font-size: 12px;
  color: var(--text-secondary);
}

.wallet-val-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.balance-num {
  font-size: 24px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
}

.btn-refresh {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  margin-left: 6px;
  transition: transform 0.3s;
}

.btn-refresh:hover {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

.wallet-right-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-tramco-recharge,
.btn-tramco-withdraw {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tramco-recharge {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-tramco-recharge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-tramco-recharge:active {
  transform: scale(0.96);
}

.btn-tramco-withdraw {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-tramco-withdraw:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-tramco-withdraw:active {
  transform: scale(0.96);
}

.wallet-action-svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
}

/* Game Mode Tabs */
.game-mode-nav {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.mode-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.mode-tab.active {
  color: var(--primary-blue);
  font-weight: 700;
}

.mode-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px 2px 0 0;
}

/* Period & Countdown Panel */
.period-panel {
  background: #ffffff;
  margin: 10px 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.period-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.period-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
}

.period-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.countdown-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.countdown-caption {
  font-size: 11px;
  color: var(--text-muted);
}

.countdown-digits {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
}

.digit-box {
  background: #f0f3f6;
  border: 1px solid #d0d7de;
  padding: 2px 6px;
  border-radius: 4px;
  color: #d97706;
}

.digit-sep {
  color: var(--text-secondary);
}

/* Betting Board */
.betting-board {
  position: relative;
  margin: 0 12px 12px;
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 3 Color Buttons */
.color-btn-group {
  display: flex;
  gap: 8px;
}

.btn-color-action {
  flex: 1;
  padding: 12px 6px;
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
  transition: transform 0.1s;
}

.btn-color-action:active {
  transform: scale(0.97);
}

.btn-green { background-color: var(--color-green); }
.btn-violet { background-color: var(--color-violet); }
.btn-red { background-color: var(--color-red); }

/* Number Buttons (0-9) */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.btn-num {
  aspect-ratio: 1;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.1s;
}

.btn-num:active {
  transform: scale(0.92);
}

.btn-num.num-green { background-color: var(--color-green); }
.btn-num.num-red { background-color: var(--color-red); }
.btn-num.num-split-violet-red { background: linear-gradient(135deg, var(--color-violet) 50%, var(--color-red) 50%); }
.btn-num.num-split-violet-green { background: linear-gradient(135deg, var(--color-violet) 50%, var(--color-green) 50%); }

/* Lock Mask Overlay */
.lock-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lock-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lock-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.lock-sym { font-size: 26px; }
.lock-msg { font-size: 15px; font-weight: 700; color: var(--color-red); }
.lock-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Record Container & Table */
.record-container {
  margin: 0 12px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.rec-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: #fcfcfc;
}

.rec-tab-item {
  flex: 1;
  background: none;
  border: none;
  padding: 11px 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
}

.rec-tab-item.active {
  color: var(--primary-blue);
  font-weight: 700;
}

.rec-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2.5px;
  background: var(--primary-blue);
}

.rec-tab-body {
  display: none;
  padding: 10px;
}

.rec-tab-body.active {
  display: block;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.history-table th {
  padding: 8px 6px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  background: #fafafa;
}

.history-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #f2f2f2;
}

.period-cell {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
}

.price-cell {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--primary-blue);
}

.number-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.color-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-green { background: var(--color-green); }
.dot-red { background: var(--color-red); }
.dot-violet { background: var(--color-violet); }

/* Orders List */
.orders-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-card {
  background: #fafafa;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-period {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.order-target {
  font-size: 13px;
  font-weight: 700;
}

.order-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.status-pending { background: #fff3e0; color: #e65100; }
.status-win { background: #e8f5e9; color: #2e7d32; }
.status-loss { background: #ffebee; color: #c62828; }

.no-data {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}

.no-data-icon { font-size: 28px; }

/* Trend Chart */
.trend-stats-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.stat-pill {
  flex: 1;
  padding: 6px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  text-align: center;
}

.pill-g { background: #e8f5e9; color: #2e7d32; }
.pill-r { background: #ffebee; color: #c62828; }
.pill-v { background: #f3e5f5; color: #6a1b9a; }

.trend-chart-scroll {
  overflow-x: auto;
  padding: 4px 0;
}

.trend-columns-box {
  display: flex;
  gap: 6px;
}

.trend-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trend-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

/* =========================================================
   VIEW 2: MY ACCOUNT CENTER (AUTHENTIC CASINO STYLE)
   ========================================================= */
.mine-user-card {
  background: linear-gradient(135deg, #0d3880 0%, #0570db 55%, #0353a4 100%);
  padding: 22px 16px 36px;
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(5, 112, 219, 0.25);
}

.mine-user-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.mine-user-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.user-avatar-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: visible;
  position: relative;
  background: #ffffff;
  border: 2.5px solid #fcd34d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.user-vip-pill {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111827;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 10px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.user-meta-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-name-line {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.user-phone-val {
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
}

.btn-switch-account {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  margin-left: 8px;
  cursor: pointer;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.btn-switch-account:hover {
  background: rgba(255, 255, 255, 0.35);
}

.user-id-line, .user-invite-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #dbeafe;
}

.user-id-line strong, .user-invite-line strong {
  font-family: 'JetBrains Mono', monospace;
  color: #ffffff;
  font-weight: 700;
}

.btn-copy-mini {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 1px 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
  line-height: 1.4;
  margin-left: 6px;
  vertical-align: middle;
}

.btn-copy-mini:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.sound-status-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 4px;
  letter-spacing: 0.5px;
}

.sound-status-badge.muted {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* =========================================================
   FLOATING ASSET CARD (REALISTIC WALLET CARD)
   ========================================================= */
.mine-asset-card {
  margin: -20px 12px 14px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  z-index: 2;
}

.mac-header {
  margin-bottom: 14px;
}

.mac-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.mac-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mac-refresh-btn {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 13px;
  cursor: pointer;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.mac-refresh-btn:hover {
  transform: rotate(180deg);
  background: #e2e8f0;
}

.mac-balance-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.mac-currency {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-blue);
}

.mac-amount {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  font-family: 'JetBrains Mono', monospace;
}

.mac-actions-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mac-actions-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mac-btn {
  flex: 1;
  height: 52px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s ease;
}

.mac-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: 0.5s;
}

.mac-btn:hover::before {
  left: 100%;
}

.mac-btn:active {
  transform: scale(0.97);
}

.mac-btn-recharge {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.mac-btn-withdraw {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #b45309 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-action-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.btn-action-svg {
  width: 20px;
  height: 20px;
}

.mac-btn-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.mac-btn-main {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.mac-btn-sub {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.88;
  letter-spacing: 0.2px;
}

/* =========================================================
   QUICK SERVICES (4-TILE GRID)
   ========================================================= */
.mine-quick-services {
  margin: 0 12px 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mq-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.mq-card:active {
  transform: scale(0.95);
  background: #f8fafc;
}

.mq-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mq-icon-box.bg-blue { background: #eff6ff; color: #2563eb; }
.mq-icon-box.bg-green { background: #ecfdf5; color: #059669; }
.mq-icon-box.bg-gold { background: #fffbeb; color: #d97706; }
.mq-icon-box.bg-purple { background: #faf5ff; color: #9333ea; }

.mq-title {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}

/* GOXO Menu List (van-cell items) */
.mine-menu-list {
  background: #ffffff;
  margin: 0 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.menu-cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-cell:last-child {
  border-bottom: none;
}

.menu-cell:hover {
  background: #f8fafc;
}

.menu-cell:active {
  background: #f1f5f9;
  transform: scale(0.995);
}

.cell-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.cell-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-cell:hover .cell-icon-wrap {
  transform: scale(1.08);
}

.cell-svg {
  width: 19px;
  height: 19px;
}

/* Individual vibrant gradient themes for real icons */
.icon-wrap-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.icon-wrap-purple {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  color: #9333ea;
  border: 1px solid rgba(147, 51, 234, 0.3);
}

.icon-wrap-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.icon-wrap-emerald {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-wrap-orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.icon-wrap-indigo {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.3);
}

.icon-wrap-cyan {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  color: #0891b2;
  border: 1px solid rgba(8, 145, 178, 0.3);
}

.icon-wrap-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.icon-wrap-sound {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.icon-wrap-slate {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #475569;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

.cell-title {
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.cell-arrow {
  color: #94a3b8;
  font-size: 18px;
  transition: transform 0.15s ease;
}

.menu-cell:hover .cell-arrow {
  transform: translateX(3px);
  color: var(--primary-blue);
}

.cell-badge {
  background: #e8f0fe;
  color: var(--primary-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.logout-wrapper {
  padding: 0 14px 32px;
}

.btn-tramco-logout {
  width: 100%;
  background: #ffffff;
  color: #dc2626;
  border: 1.5px solid #fee2e2;
  padding: 13px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tramco-logout:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.14);
}

.btn-tramco-logout:active {
  transform: scale(0.98);
}
}

/* =========================================================
   VIEW 3: RECHARGE PAGE (Tramco Fast Recharge)
   ========================================================= */
.recharge-balance-card {
  background: #ffffff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.rec-bal-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.rec-bal-amount {
  font-size: 18px;
  color: var(--primary-blue);
}

.recharge-section-card {
  background: #ffffff;
  margin-top: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.card-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 10px;
}

.recharge-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.amt-chip {
  background: #f7f8fa;
  border: 1px solid #e2e8f0;
  padding: 9px 0;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  text-align: center;
}

.amt-chip.active {
  background: #e8f0fe;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.recharge-input-wrap {
  display: flex;
  align-items: center;
  background: #f7f8fa;
  border: 1px solid #d0d7de;
  border-radius: var(--radius-sm);
  padding: 0 12px;
}

.in-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-right: 6px;
}

.recharge-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.channel-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.channel-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.channel-item input {
  margin-right: 10px;
}

.channel-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.channel-item input:checked + .channel-box {
  background: #e8f0fe;
  border-color: var(--primary-blue);
}

.channel-icon { font-size: 20px; }

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-info strong { font-size: 13px; }
.channel-info small { font-size: 11px; color: var(--text-muted); }

.btn-tramco-primary {
  width: 100%;
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.recharge-tips-card {
  margin: 12px;
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #e5e5e5;
  font-size: 12px;
  color: var(--text-secondary);
}

.recharge-tips-card h4 {
  margin-bottom: 6px;
  color: var(--text-primary);
}

.recharge-tips-card ol {
  padding-left: 18px;
  line-height: 1.6;
}

/* =========================================================
   VIEW 4: REALISTIC UPI CASHIER SCREEN
   ========================================================= */
.upi-cashier-header {
  background: #1f2937;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cashier-title {
  font-size: 16px;
  font-weight: 700;
}

.cashier-timer {
  background: #374151;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #fbbf24;
}

.cashier-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cashier-order-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.bill-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border-light);
  padding-top: 8px;
  margin-top: 4px;
}

.bill-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-red);
}

.upi-target-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.target-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  align-self: flex-start;
}

.upi-copy-field {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.upi-id-txt {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 13px;
}

.btn-copy-upi {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}

.qr-preview-box {
  text-align: center;
}

.qr-caption {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.upi-apps-row {
  display: flex;
  gap: 8px;
}

.app-btn-item {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 8px 4px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-btn-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.app-btn-item:active {
  background: #f1f5f9;
  transform: scale(0.96);
}

.cashier-app-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.app-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
}

.paytm { color: #002e6e; }
.phonepe { color: #5f259f; }
.gpay { color: #16a34a; }
.bhim { color: #097938; }

.utr-input-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.utr-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.utr-label small {
  color: var(--text-secondary);
  font-size: 11px;
}

.utr-field-wrap input {
  width: 100%;
  background: #f7f8fa;
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  outline: none;
  font-family: 'JetBrains Mono', monospace;
}

.btn-submit-utr {
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

/* =========================================================
   BOTTOM NAVIGATION (Ultra-Luxury 3D Black Obsidian Deck)
   ========================================================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  height: 66px;
  background: linear-gradient(180deg, #181d26 0%, #0d1017 40%, #050609 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 50;
  box-shadow: 
    0 -12px 32px rgba(0, 0, 0, 0.85),
    0 -2px 10px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 2px 5px rgba(255, 255, 255, 0.04);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #7d899b;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 13px;
  background: linear-gradient(180deg, #1e2430 0%, #11151e 50%, #090c12 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.75);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 62px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-item svg {
  stroke: #8a96a8;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.2s ease, filter 0.2s ease;
}

.nav-item:hover {
  transform: translateY(-2px);
  color: #cbd5e1;
  background: linear-gradient(180deg, #242c3b 0%, #151a25 50%, #0c0f16 100%);
  box-shadow: 
    0 6px 14px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.8);
}

.nav-item:hover svg {
  stroke: #cbd5e1;
  transform: translateY(-1px) scale(1.08);
}

.nav-item:active {
  transform: translateY(2px) scale(0.96);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.8),
    inset 0 2px 4px rgba(0, 0, 0, 0.9);
}

.nav-item.active {
  color: #38bdf8;
  background: linear-gradient(180deg, #1c273c 0%, #0c1628 50%, #060e1c 100%);
  border: 1px solid rgba(56, 189, 248, 0.65);
  box-shadow: 
    0 4px 16px rgba(14, 165, 233, 0.42),
    0 0 12px rgba(56, 189, 248, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}

.nav-item.active svg {
  stroke: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.85));
  transform: scale(1.05);
}

/* Special Win Tab Accent (Keeps exact same baseline, height, and alignment with Home, Share, My) */
.nav-item[data-nav="win"] svg {
  stroke: #94a3b8;
}

.nav-item[data-nav="win"].active {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 
    0 4px 18px rgba(14, 165, 233, 0.45),
    0 0 12px rgba(56, 189, 248, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.85);
}

.nav-item[data-nav="win"].active svg {
  stroke: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
}

/* =========================================================
   MODALS & BOTTOM SHEETS
   ========================================================= */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.sheet-modal {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .sheet-modal {
  transform: translateY(0);
}

.sheet-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sheet-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet-title {
  font-size: 15px;
  font-weight: 700;
}

.target-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
}

.sheet-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.chip-group {
  display: flex;
  gap: 6px;
}

.chip-btn {
  flex: 1;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
}

.chip-btn.active {
  background: #e8f0fe;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.stepper-row {
  display: flex;
  gap: 8px;
}

.stepper {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 120px;
}

.stepper-btn {
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.stepper-input {
  flex: 1;
  background: none;
  border: none;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  width: 40px;
}

.multiplier-chips {
  flex: 1;
  display: flex;
  gap: 5px;
}

.mult-chip {
  flex: 1;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

.mult-chip.active {
  background: #e8f0fe;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.summary-box {
  background: #fafafa;
  border: 1px solid #ededed;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.summary-amount {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: 'JetBrains Mono', monospace;
}

.presale-agree {
  font-size: 11px;
  color: var(--text-muted);
}

.sheet-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}

.btn-cancel {
  background: #f0f0f0;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

.btn-confirm {
  flex: 1;
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Center Modals */
.center-modal {
  width: 88%;
  max-width: 360px;
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-top: auto;
  margin-bottom: auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  overflow: hidden;
}

.modal-top {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.modal-top h3 {
  font-size: 15px;
  font-weight: 700;
}

.modal-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 12px;
  color: var(--text-secondary);
}

.modal-input {
  width: 100%;
  background: #f7f8fa;
  border: 1px solid #d0d7de;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}

.withdraw-info-bar {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.withdraw-info-bar strong {
  color: var(--primary-blue);
}

.payout-acc-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}

.payout-acc-badge small {
  color: #16a34a;
  font-weight: 700;
}

/* Winner Announcement Popup */
.result-popup-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.result-popup-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.result-popup-card {
  width: 85%;
  max-width: 330px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.result-confetti { font-size: 32px; margin-bottom: 4px; }
.result-header-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.result-ball {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.result-colors-wrap {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.res-color-pill {
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.pill-green { background: var(--color-green); }
.pill-red { background: var(--color-red); }
.pill-violet { background: var(--color-violet); }

.result-period-txt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.result-user-outcome {
  width: 100%;
  margin-bottom: 14px;
}

.outcome-box {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
}

.outcome-win { background: #e8f5e9; color: #2e7d32; }
.outcome-loss { background: #ffebee; color: #c62828; }

.btn-popup-close {
  width: 100%;
  background: var(--primary-blue);
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* =========================================================
   BOTTOM FLOATING NOTIFICATION SNACKBAR (REALISTIC CASINO TOAST)
   ========================================================= */
.toast-container {
  position: fixed;
  bottom: 74px; /* Perfectly elevated above the 56px bottom navigation bar */
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
  width: 92%;
  max-width: 400px;
  align-items: center;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #f8fafc;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 2px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  pointer-events: auto;
  animation: toastSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  letter-spacing: 0.15px;
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast.toast-fadeout {
  opacity: 0 !important;
  transform: translateY(14px) scale(0.92) !important;
  transition: all 0.25s ease !important;
}

.toast-success {
  border-left: 4px solid #10b981;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: #ecfdf5;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.toast-error {
  border-left: 4px solid #ef4444;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: #fef2f2;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.toast-info {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: #eff6ff;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   MALL VIEW: OFFICIAL JILI GAMES LIVE LOBBY
   ========================================================= */

/* Notice Marquee */
.lobby-notice-bar {
  background: #fffbe6;
  border-bottom: 1px solid #ffe58f;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d46b08;
  overflow: hidden;
}

.notice-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.notice-marquee {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.notice-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: noticeMarquee 25s linear infinite;
  font-weight: 500;
}

@keyframes noticeMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Hero Carousel Banner */
.lobby-hero-banner {
  margin: 12px 14px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(5, 112, 219, 0.2);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 155px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #034ea2 0%, #0570db 60%, #1e88e5 100%);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-badge {
  position: absolute;
  top: 10px;
  left: 14px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.hero-content {
  flex: 1;
  max-width: 60%;
  z-index: 2;
  margin-top: 12px;
}

.hero-content h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 11px;
  opacity: 0.9;
  margin-bottom: 10px;
  line-height: 1.3;
}

.btn-hero-play {
  background: #ffc107;
  color: #1a1a1a;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.15s, background 0.15s;
}

.btn-hero-play:active {
  transform: scale(0.96);
  background: #ffb300;
}

.hero-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
  z-index: 1;
  transition: transform 0.3s ease;
}

.hero-slide.active .hero-img {
  transform: scale(1.05);
}

.hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.hero-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s;
}

.hero-dots .dot.active {
  width: 18px;
  background: #ffffff;
}

/* Provider Bar */
.provider-bar {
  margin: 0 14px 10px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.provider-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.provider-logo-tag {
  background: #e53935;
  color: #ffffff;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: 4px;
}

.provider-info {
  display: flex;
  flex-direction: column;
}

.provider-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.provider-status {
  font-size: 10.5px;
  color: #2e7d32;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.ping-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00c853;
  display: inline-block;
  box-shadow: 0 0 6px #00c853;
  animation: pulsePing 1.8s infinite;
}

@keyframes pulsePing {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.total-games-pill {
  background: #e8f3fc;
  color: var(--primary-blue);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Search Bar */
.lobby-search-bar {
  margin: 0 14px 12px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  box-shadow: var(--shadow-card);
}

.search-icon {
  font-size: 13px;
  margin-right: 8px;
  color: var(--text-muted);
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--text-primary);
  background: transparent;
}

.search-input-wrap input::placeholder {
  color: var(--text-muted);
}

.search-clear-btn {
  background: #e0e0e0;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category Filter Chips */
.lobby-category-tabs {
  margin: 0 14px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.lobby-category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cat-chip svg {
  stroke: #64748b;
  transition: stroke 0.18s ease;
}

.cat-chip:hover {
  background: #f8fafc;
  color: #1e293b;
}

.cat-chip:active {
  transform: scale(0.96);
}

.cat-chip.active {
  background: linear-gradient(135deg, #035ec5 0%, #0570db 100%);
  color: #ffffff;
  border-color: #035ec5;
  box-shadow: 0 4px 12px rgba(5, 112, 219, 0.35);
}

.cat-chip.active svg {
  stroke: #ffffff;
}

/* Games Grid Container */
.games-grid-container {
  margin: 0 14px 80px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jili-game-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}

.jili-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.jili-game-card:hover .card-thumb-wrap img {
  transform: scale(1.08);
}

.card-provider-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 2;
}

.card-rtp-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 200, 83, 0.9);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 2;
}

/* Hover Play Overlay */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 3;
}

.jili-game-card:hover .card-hover-overlay,
.jili-game-card:active .card-hover-overlay {
  opacity: 1;
}

.btn-card-play {
  background: #ffc107;
  color: #1a1a1a;
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.15s;
}

.jili-game-card:hover .btn-card-play {
  transform: scale(1);
}

.card-info-box {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-cat-tag {
  font-size: 10px;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 3px;
}

.card-live-dot {
  font-size: 9.5px;
  color: #2e7d32;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-live-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00c853;
  display: inline-block;
}

/* No Games State */
.no-games-found {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.no-games-icon {
  font-size: 36px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

.no-games-found p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.btn-reset-filter {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* =========================================================
   FULLSCREEN REAL-TIME GAME LAUNCHER MODAL
   ========================================================= */
.game-launcher-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0f172a;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.game-launcher-modal.active {
  display: flex;
}

.launcher-header {
  height: 50px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #ffffff;
  flex-shrink: 0;
  z-index: 10;
}

.launcher-btn-back {
  background: #334155;
  border: none;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.15s;
}

.launcher-btn-back:active {
  background: #475569;
}

.launcher-game-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 50%;
}

.lg-title-text {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lg-server-badge {
  font-size: 9.5px;
  color: #4ade80;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.launcher-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.launcher-action-btn {
  background: #334155;
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.launcher-action-btn:active {
  background: #475569;
}

.launcher-frame-wrap {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 0;
  background: #000000;
}

.launcher-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #000000;
}

.launcher-loader {
  position: absolute;
  inset: 0;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.launcher-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner-circle {
  width: 44px;
  height: 44px;
  border: 4px solid #334155;
  border-top-color: #0570db;
  border-right-color: #ffc107;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-txt {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.loader-sub {
  font-size: 11px;
  color: #94a3b8;
}

/* Evolution Live Luxury Styling */
.card-provider-badge.badge-evo {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: #0b0f19;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 4px rgba(212, 175, 55, 0.4);
}

.card-evo-theme {
  border-color: #f1e5c5;
}

.card-evo-theme .card-title {
  color: #111827;
}

.card-evo-theme:hover {
  border-color: #d4af37;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

/* =========================================================
   WITHDRAWAL & WALLET BUTTON STYLES
   ========================================================= */
.btn-tramco-withdraw {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
  transition: transform 0.15s, opacity 0.15s;
}

.btn-tramco-withdraw:active {
  transform: scale(0.96);
}

.mine-btn-dual {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 4px;
}

.mine-action-btn.btn-orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.cell-icon.icon-withdraw {
  background: #fef3c7;
  color: #d97706;
}

.cell-icon.icon-history {
  background: #e0e7ff;
  color: #4f46e5;
}

/* =========================================================
   SHARE & PROMOTION VIEW STYLES
   ========================================================= */
.share-hero-card {
  margin: 12px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0570db 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 112, 219, 0.25);
  position: relative;
  overflow: hidden;
}

.share-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fef08a;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.share-hero-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}

.share-hero-sub {
  font-size: 11.5px;
  color: #dbeafe;
  line-height: 1.4;
  margin-bottom: 16px;
}

.share-code-card, .share-link-card {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 10px;
}

.share-code-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.share-code-row, .share-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.share-code-val {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fbbf24;
  font-family: 'JetBrains Mono', monospace;
}

.btn-copy-code, .btn-copy-link {
  background: #fbbf24;
  border: none;
  color: #1e1b4b;
  font-size: 10.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s;
}

.btn-copy-code:active, .btn-copy-link:active {
  transform: scale(0.95);
}

.share-link-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 11px;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 10px 4px;
  color: #1e293b;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.social-btn:active {
  transform: scale(0.95);
}

.social-app-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: block;
}

.social-share-circle {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  font-size: 17px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}

.social-btn.btn-wa span { color: #075e54; font-weight: 800; }
.social-btn.btn-tg span { color: #0088cc; font-weight: 800; }
.social-btn.btn-insta span { color: #c13584; font-weight: 800; }
.social-btn.btn-copy span { color: #4338ca; font-weight: 800; }

/* Share Stats Dashboard */
.share-stats-section {
  margin: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.section-heading {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.share-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.share-stat-item {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  text-align: center;
}

.share-stat-num {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 2px;
}

.share-stat-label {
  font-size: 10.5px;
  color: var(--text-secondary);
}

/* Tier Table */
.share-tiers-card {
  margin: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.tier-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-row {
  display: grid;
  grid-template-columns: 60px 1fr 100px;
  align-items: center;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  font-size: 11px;
}

.tier-row.tier-head {
  background: #f1f5f9;
  font-weight: 800;
  color: #64748b;
  font-size: 10px;
  text-transform: uppercase;
}

.tier-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
}

.tier-badge.t1 { background: #dbeafe; color: #1e40af; }
.tier-badge.t2 { background: #fef3c7; color: #92400e; }
.tier-badge.t3 { background: #f3e8ff; color: #6b21a8; }

.tier-rate {
  text-align: right;
  color: #16a34a;
  font-weight: 800;
}

/* =========================================================
   WITHDRAWAL VIEW STYLES
   ========================================================= */
.withdraw-hero-card {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-refresh-sm {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-refresh-sm:active {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

.withdraw-type-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.wtype-tab {
  background: #f1f5f9;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.wtype-tab.active {
  background: #eff6ff;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.payout-fields-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payout-field-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* =========================================================
   TRANSACTION & ALL BETS HISTORY VIEW STYLES
   ========================================================= */
.history-filter-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  scrollbar-width: none;
}

.history-filter-bar::-webkit-scrollbar { display: none; }

.hchip {
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.hchip.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

.history-list-section {
  padding: 12px;
}

.history-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trans-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trans-card.status-win {
  border-left-color: #10b981;
}

.trans-card.status-loss {
  border-left-color: #ef4444;
}

.trans-card.status-pending {
  border-left-color: #f59e0b;
}

.trans-card.status-recharge {
  border-left-color: #0570db;
}

.trans-card.status-withdraw {
  border-left-color: #d97706;
}

.trans-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trans-game-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trans-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.trans-badge.badge-win { background: #d1fae5; color: #065f46; }
.trans-badge.badge-loss { background: #fee2e2; color: #991b1b; }
.trans-badge.badge-pending { background: #fef3c7; color: #92400e; }
.trans-badge.badge-success { background: #d1fae5; color: #065f46; font-weight: 700; }

.trans-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}

.trans-detail-text {
  font-weight: 600;
}

.trans-money-col {
  text-align: right;
}

.trans-amt-val {
  font-size: 14px;
  font-weight: 800;
}

.trans-amt-val.amt-plus { color: #10b981; }
.trans-amt-val.amt-minus { color: #ef4444; }
.trans-amt-val.amt-neutral { color: #0570db; }

.trans-time-val {
  font-size: 10px;
  color: #94a3b8;
}

.no-history-box {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.no-hist-icon {
  font-size: 42px;
  display: block;
  margin-bottom: 10px;
}

.no-history-box h4 {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.no-history-box p {
  font-size: 11.5px;
  line-height: 1.4;
}

/* =========================================================
   SLOT NATIVE IN-GAME BALANCE BADGE
   Seamlessly overlays the demo 2,000.00 inside slot footer
   ========================================================= */
.slot-native-balance-badge {
  position: absolute;
  bottom: clamp(14px, 4.2vh, 42px);
  left: calc(50vw - min(100vw, (100vh - 44px) * 1.7777) * 0.335);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 125px;
  max-width: 180px;
  height: 44px;
  background: linear-gradient(180deg, #1f1811 0%, #110c08 100%);
  border: 1px solid rgba(168, 120, 52, 0.65);
  border-radius: 5px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  z-index: 100;
  user-select: none;
  transition: all 0.2s ease;
}

.slot-native-balance-badge .snb-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #ffca28;
  text-shadow: 0 1px 2px #000, 0 0 4px rgba(0,0,0,0.8);
  line-height: 1.1;
  text-transform: capitalize;
}

.slot-native-balance-badge .snb-amount {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-shadow: 0 2px 4px #000, 0 0 2px #000;
  line-height: 1.2;
}

.slot-native-balance-badge.snb-win {
  animation: snbPulseWin 0.6s ease 2;
  border-color: #4ade80;
}

@keyframes snbPulseWin {
  0% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 rgba(74, 222, 128, 0); }
  50% { transform: translateX(-50%) scale(1.08); box-shadow: 0 0 16px rgba(74, 222, 128, 0.8); }
  100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 rgba(74, 222, 128, 0); }
}

.slot-native-balance-badge.snb-deduct {
  animation: snbPulseDeduct 0.35s ease 1;
}

@keyframes snbPulseDeduct {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(0.95); opacity: 0.85; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .slot-native-balance-badge {
    left: 49.5%;
    bottom: clamp(4px, 1.5vh, 16px);
    min-width: 170px;
    height: 28px;
    padding: 2px 10px;
    flex-direction: row;
    gap: 7px;
    background: #16100b;
    border: 1px solid rgba(168, 120, 52, 0.4);
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.9);
  }
  .slot-native-balance-badge .snb-label {
    font-size: 13px;
    font-weight: 700;
    color: #ffca28;
  }
  .slot-native-balance-badge .snb-amount {
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
  }
}

/* =========================================================
   COMING SOON BADGES & HERO CAROUSEL STYLES
   ========================================================= */
.card-coming-soon-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111827;
  font-size: 8px;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 2;
  text-transform: uppercase;
}

.coming-soon-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(4px);
  color: #fbbf24;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  padding: 4px 0;
  letter-spacing: 0.6px;
  border-top: 1px solid rgba(251, 191, 36, 0.35);
  z-index: 2;
  text-transform: uppercase;
}

.btn-card-coming-soon {
  background: linear-gradient(135deg, #f59e0b, #b45309) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  letter-spacing: 0.5px;
}

.btn-hero-cs {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #111827 !important;
  font-weight: 800 !important;
}

/* =========================================================
   COMING SOON MODAL POPUP
   ========================================================= */
.coming-soon-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.coming-soon-modal.active {
  display: flex !important;
}

.cs-modal-card {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, #1f1b33 0%, #0d0a18 70%, #06040c 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 20px;
  width: 100%;
  max-width: 370px;
  padding: 30px 22px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(245, 158, 11, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  animation: csPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes csPopIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.cs-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.cs-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.cs-badge-top {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0914;
  font-size: 9.5px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cs-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: csPulse 1.2s infinite alternate;
}
@keyframes csPulse {
  0% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.3); }
}

.cs-art-frame {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 10px auto 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cs-art-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.45) 0%, transparent 70%);
  filter: blur(12px);
  z-index: 1;
}
.cs-icon-wrap {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2b2247 0%, #151128 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.6);
}
.cs-icon {
  font-size: 36px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
.cs-stage-tag {
  position: absolute;
  bottom: -6px;
  z-index: 3;
  background: #10b981;
  color: #022c22;
  font-size: 8.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.cs-title {
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cs-game-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}

.cs-msg {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 16px;
  padding: 0 4px;
}

.cs-info-box {
  background: rgba(15, 12, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cs-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}
.cs-label {
  color: #94a3b8;
  font-weight: 500;
}
.cs-val-amber {
  color: #fbbf24;
  font-weight: 700;
}
.cs-val-gold {
  color: #facc15;
  font-weight: 700;
}
.cs-val-green {
  color: #34d399;
  font-weight: 700;
}

.cs-actions-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-cs-play-parity {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.btn-cs-play-parity:active {
  transform: scale(0.98);
}

.btn-cs-close {
  width: 100%;
  padding: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cs-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.btn-cs-close:active {
  transform: scale(0.98);
}

/* =========================================================
   LOGIN & SIGN UP (CREATE ACCOUNT) AUTH MODAL STYLES
   ========================================================= */

/* Top Nav Auth Status Button */
.nav-auth-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  color: #ffffff;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.nav-auth-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.nav-auth-btn .auth-icon {
  font-size: 12px;
}

/* Switch Account button on Mine view */
.btn-switch-account {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 7px;
  margin-left: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.15s;
  vertical-align: middle;
}

.btn-switch-account:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Mine View Login Button (Shown when logged out) */
.btn-tramco-auth-open {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0570db 0%, #00c853 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 112, 219, 0.35);
  transition: transform 0.15s;
}

.btn-tramco-auth-open:active {
  transform: scale(0.98);
}

/* Auth Modal Overlay */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-modal.active {
  display: flex !important;
  animation: authFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes authSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 410px;
  max-height: 94vh;
  overflow-y: auto;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  padding: 24px 20px 20px;
  border: 1px solid rgba(5, 112, 219, 0.15);
  text-align: center;
}

/* Auth Close Button */
.btn-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: all 0.15s;
}

.btn-auth-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Brand Header */
.auth-brand-header {
  margin-bottom: 4px;
}

.auth-logo-badge {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--primary-blue);
  background: rgba(5, 112, 219, 0.08);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 6px;
}

.auth-tagline {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

/* Tab Segmented Control */
.auth-tabs-nav {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin: 16px 0 14px;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.auth-tab.active {
  background: #ffffff;
  color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-tab-pill {
  background: linear-gradient(135deg, #00c853, #059669);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  letter-spacing: 0.2px;
}

/* Form Panels */
.auth-form-panel {
  display: none;
  flex-direction: column;
  gap: 13px;
}

.auth-form-panel.active {
  display: flex;
  animation: authSlideUp 0.22s ease forwards;
}

/* Bonus Incentive Banner */
.auth-bonus-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1.5px dashed #10b981;
  border-radius: 10px;
  padding: 9px 12px;
  text-align: left;
}

.bonus-banner-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.bonus-banner-text strong {
  color: #047857;
  font-size: 12.5px;
  display: block;
  font-weight: 800;
}

.bonus-banner-text small {
  color: #065f46;
  font-size: 10.5px;
  display: block;
  line-height: 1.25;
}

/* Field Groups */
.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.auth-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.auth-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 12px;
  height: 44px;
  transition: all 0.2s ease;
}

.auth-input-wrapper:focus-within {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 112, 219, 0.12);
}

.auth-prefix {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  padding-right: 9px;
  border-right: 1.5px solid #cbd5e1;
  margin-right: 9px;
  flex-shrink: 0;
}

.auth-input-icon {
  font-size: 14px;
  margin-right: 8px;
  color: #64748b;
  flex-shrink: 0;
}

.auth-input-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 13.5px;
  color: #0f172a;
  width: 100%;
  font-weight: 500;
}

.auth-input-wrapper input::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
}

.btn-pwd-toggle {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.btn-pwd-toggle:hover {
  opacity: 1;
}

/* OTP Input Group */
.otp-wrapper {
  padding-right: 6px;
}

.btn-send-otp {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}

.btn-send-otp:hover:not(:disabled) {
  background: #0461be;
}

.btn-send-otp:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.8;
}

.auth-field-hint {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
}

/* Options & Links */
.auth-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #475569;
}

.auth-remember-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.auth-remember-label input[type="checkbox"] {
  accent-color: var(--primary-blue);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.btn-auth-link {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-auth-link:hover {
  text-decoration: underline;
}

.btn-auth-link.bold {
  font-weight: 800;
}

.auth-agreement-row {
  font-size: 11px;
  color: #64748b;
  text-align: left;
}

.auth-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
}

.auth-agree-label input[type="checkbox"] {
  accent-color: var(--primary-blue);
  margin-top: 2px;
  cursor: pointer;
}

.auth-agree-label a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Primary Auth Submit Button */
.btn-auth-submit {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #0570db 0%, #0353a4 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(5, 112, 219, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 4px;
}

.btn-auth-submit:active {
  transform: scale(0.98);
}

.btn-auth-submit.btn-submit-register {
  background: linear-gradient(135deg, #00c853 0%, #059669 100%);
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.35);
}

.btn-arrow-icon {
  font-size: 14px;
}

/* Footer Switching */
.auth-switch-footer {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}


/* =========================================================
   ADMIN DEPOSIT APPROVAL DESK & MODAL STYLING
   ========================================================= */

/* Admin Cell in Mine View */
.menu-cell.admin-cell {
  background: linear-gradient(90deg, #eff6ff 0%, #ffffff 100%);
  border-left: 3px solid #0284c7;
}

.cell-info-col {
  display: flex;
  flex-direction: column;
}

.cell-sub {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 1px;
}

.admin-pending-pill {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
  animation: pendingPulse 2s infinite ease-in-out;
}

@keyframes pendingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

/* Admin Quick Strip in Transaction History */
.admin-quick-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 10px 14px;
  margin: 10px 14px 4px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aq-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aq-icon {
  font-size: 18px;
}

.aq-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
}

.aq-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  transition: transform 0.15s;
}

.aq-btn:active {
  transform: scale(0.96);
}

/* Admin Modal Overlay */
.admin-deposit-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.admin-deposit-modal.active {
  display: flex;
  animation: authFadeIn 0.25s ease-out forwards;
}

.adm-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid #cbd5e1;
}

.adm-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.adm-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-shield {
  font-size: 26px;
}

.adm-header h3 {
  font-size: 15px;
  font-weight: 900;
  margin: 0;
  color: #38bdf8;
  letter-spacing: 0.3px;
}

.adm-header p {
  font-size: 11px;
  color: #94a3b8;
  margin: 2px 0 0;
}

.adm-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats Bar */
.adm-stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
  background: #f8fafc;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.adm-stat {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.adm-stat strong {
  font-size: 15px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

.txt-amber { color: #d97706; }
.txt-green { color: #059669; }
.txt-blue { color: #0284c7; }

/* Body & List */
.adm-body {
  padding: 14px 16px;
  overflow-y: auto;
  max-height: calc(90vh - 170px);
  background: #f1f5f9;
}

.adm-deposit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s;
}

.adm-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.adm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.adm-user-info {
  display: flex;
  flex-direction: column;
}

.adm-user-phone {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.adm-user-id {
  font-size: 10.5px;
  color: #64748b;
}

.adm-amt {
  font-size: 16px;
  font-weight: 900;
  color: #059669;
  font-family: 'JetBrains Mono', monospace;
}

.adm-card-utr {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}

.adm-utr-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #0369a1;
}

.adm-btn-copy-utr {
  background: #e0f2fe;
  color: #0284c7;
  border: none;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
}

.adm-card-time {
  font-size: 10.5px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

.adm-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-adm-approve {
  flex: 1;
  height: 36px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s;
}

.btn-adm-approve:active {
  transform: scale(0.97);
}

.btn-adm-reject {
  height: 36px;
  padding: 0 14px;
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-adm-reject:hover {
  background: #ffe4e6;
}

.adm-status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.adm-status-approved {
  background: #dcfce7;
  color: #15803d;
}

.adm-status-rejected {
  background: #fee2e2;
  color: #b91c1c;
}

/* Empty State */
.adm-empty {
  text-align: center;
  padding: 40px 16px;
  color: #94a3b8;
}

.adm-empty-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 8px;
}

.adm-empty h4 {
  font-size: 15px;
  color: #475569;
  margin: 0 0 4px;
}

.adm-empty p {
  font-size: 11.5px;
  max-width: 260px;
  margin: 0 auto;
}


/* =========================================================
   USER PROFILE NAME, AVATAR & PROMOTION STYLES
   ========================================================= */

.user-display-name {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  font-family: 'Roboto', sans-serif;
}

.user-phone-line {
  font-size: 11.5px;
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
  margin-top: -1px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* MQ Card Badges in Mine view */
.mq-card {
  position: relative;
}

.mq-badge {
  display: none !important;
}

/* Share Friends / Referrals Section */
.share-friends-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  margin: 14px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.share-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ref-members-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ref-member-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
}

.ref-left-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ref-avatar-mini {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #0284c7;
}

.ref-user-meta {
  display: flex;
  flex-direction: column;
}

.ref-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.ref-sub {
  font-size: 11px;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
}

.ref-reward-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ref-reward-amt {
  font-size: 13.5px;
  font-weight: 900;
  color: #059669;
  font-family: 'JetBrains Mono', monospace;
}

.ref-reward-lbl {
  font-size: 10px;
  color: #10b981;
  font-weight: 700;
}

.ref-empty-box {
  text-align: center;
  padding: 24px 14px;
  color: #94a3b8;
}

.ref-empty-icon {
  font-size: 34px;
  display: block;
  margin-bottom: 6px;
}

.ref-empty-box h4 {
  font-size: 14px;
  color: #475569;
  margin: 0 0 4px;
}

.ref-empty-box p {
  font-size: 11.5px;
  color: #64748b;
  max-width: 280px;
  margin: 0 auto;
}

/* Daily Sign-In Modal & Streak */
.daily-signin-modal .center-modal {
  max-width: 380px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.daily-banner-header {
  background: linear-gradient(135deg, #0570db 0%, #00c853 100%);
  color: #ffffff;
  padding: 22px 18px 18px;
  text-align: center;
}

.daily-banner-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}

.daily-banner-sub {
  font-size: 12px;
  opacity: 0.92;
}

.daily-streak-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  background: #f8fafc;
}

.streak-day-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.streak-day-card.today {
  border-color: #0570db;
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(5, 112, 219, 0.2);
}

.streak-day-card.claimed {
  border-color: #10b981;
  background: #ecfdf5;
}

.streak-day-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
}

.streak-reward-coin {
  font-size: 20px;
  margin-bottom: 2px;
}

.streak-reward-val {
  font-size: 12px;
  font-weight: 800;
  color: #059669;
}

.streak-day-card.day7 {
  grid-column: span 2;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #f59e0b;
}

.btn-claim-daily {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #0570db 0%, #00c853 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(5, 112, 219, 0.35);
  transition: transform 0.15s;
}

.btn-claim-daily:active {
  transform: scale(0.98);
}

.btn-claim-daily:disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.signin-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.signin-badge.claimed {
  background: #e2e8f0;
  color: #64748b;
  box-shadow: none;
}

/* =========================================================
   VIP PRIVILEGE CLUB & LEVEL SYSTEM STYLES
   ========================================================= */
.vip-menu-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111827;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
  letter-spacing: 0.3px;
}

.vip-modal-box {
  max-width: 430px;
  width: 94%;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  max-height: 92vh;
}

.vip-modal-body {
  padding: 12px 14px 16px !important;
  max-height: calc(92vh - 50px);
  overflow-y: auto;
}

/* VIP Hero Card */
.vip-hero-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.vip-hero-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.vh-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.vh-user-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vh-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  object-fit: cover;
}

.vh-user-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.vh-user-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 3px;
}

.vh-user-meta strong {
  color: #38bdf8;
}

.vh-tier-pill {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
  letter-spacing: 0.5px;
}

.vh-tier-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  color: #e2e8f0;
}

.vh-cur-tag strong {
  color: #fcd34d;
}

.vh-next-tag strong {
  color: #38bdf8;
}

/* VIP Tabs Selector */
.vip-tier-tabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  margin-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.vip-tier-tabs-bar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.vip-tab-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 20px;
  background: #f1f5f9;
  border: 1.5px solid transparent;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.vip-tab-btn.active {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #f59e0b;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.vtb-icon {
  font-size: 14px;
}

/* VIP Detail Card */
.vip-detail-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.vd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.vd-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vd-badge {
  background: #f59e0b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 8px;
}

.vd-tier-name {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.vd-cost-box {
  text-align: right;
}

.vd-cost-lbl {
  display: block;
  font-size: 10px;
  color: #64748b;
}

.vd-cost-val {
  font-size: 13px;
  font-weight: 800;
  color: #059669;
}

/* 4-Grid Perks */
.vip-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.vip-perk-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.vpi-icon {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

.vpi-val {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.vpi-lbl {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.vip-benefits-list {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vbl-item {
  font-size: 12px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.btn-vip-tier-action {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #0570db 0%, #00c853 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 112, 219, 0.3);
  transition: transform 0.15s;
}

.btn-vip-tier-action:active {
  transform: scale(0.98);
}

.btn-vip-tier-action:disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.8;
}

/* =========================================================
   TERMS & CONDITIONS / SERVICE CHARTER MODAL
   ========================================================= */
.terms-modal {
  z-index: 1200; /* Must display above auth modal (1050) */
  align-items: center;
  justify-content: center;
}

.terms-modal-box {
  max-width: 440px;
  width: 92%;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.35);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  animation: termsModalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes termsModalPop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.terms-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.terms-shield-icon {
  font-size: 22px;
  line-height: 1;
}

.terms-sub-tag {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.terms-modal-body {
  padding: 14px 16px 16px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  background: #ffffff;
}

.terms-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 12px;
}

.terms-alert-banner .tab-icon {
  font-size: 18px;
  line-height: 1.2;
}

.terms-alert-banner strong {
  display: block;
  font-size: 12px;
  color: #166534;
  font-weight: 800;
}

.terms-alert-banner p {
  font-size: 11px;
  color: #15803d;
  margin-top: 2px;
  line-height: 1.4;
}

.terms-scroll-area {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terms-scroll-area::-webkit-scrollbar {
  width: 5px;
}

.terms-scroll-area::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.term-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 12px;
  transition: all 0.15s ease;
}

.term-section:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.term-section h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.term-section p {
  font-size: 11px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.terms-footer-action {
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.btn-accept-terms {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #00c853 0%, #009624 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-accept-terms:active {
  transform: scale(0.98);
}

/* =========================================================
   BANK CARD MANAGEMENT SYSTEM (LIST & BLANK ADD FORM)
   ========================================================= */
.bank-card-backdrop {
  z-index: 1050;
  align-items: center;
  justify-content: center;
}

.bank-card-modal-box {
  max-width: 440px;
  width: 92%;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.35);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  animation: bcModalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bcModalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.bc-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-header-icon {
  font-size: 22px;
  line-height: 1;
}

.bc-header-subtitle {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.bank-card-modal-content {
  padding: 14px 16px 16px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  background: #ffffff;
}

/* List Top Bar */
.bc-list-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bc-list-heading {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.btn-add-bank-plus {
  background: linear-gradient(135deg, #0570db 0%, #00c853 100%);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(5, 112, 219, 0.3);
  transition: transform 0.15s;
}

.btn-add-bank-plus:active {
  transform: scale(0.96);
}

.plus-icon {
  font-size: 11px;
}

/* Cards Container */
.bc-cards-container {
  max-height: 54vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.bc-cards-container::-webkit-scrollbar {
  width: 5px;
}

.bc-cards-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Authentic Bank Card Item (Credit/Debit Card Style) */
.bank-card-item {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 14px 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bank-card-item::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bci-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bci-bank-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bci-chip {
  font-size: 20px;
  line-height: 1;
}

.bci-bank-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.2px;
}

.bci-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bci-primary-badge {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #34d399;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

.btn-bci-delete {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: 8px;
  padding: 3px 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-bci-delete:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

.bci-acc-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #f1f5f9;
  padding: 4px 0;
}

.bci-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.bci-holder-name {
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bci-ifsc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #cbd5e1;
}

.bci-upi-val {
  font-size: 10px;
  color: #38bdf8;
  margin-top: 2px;
}

/* UPI Card Gradient & Badge Theme */
.bank-card-item.upi-card-theme {
  background: linear-gradient(135deg, #2e1065 0%, #0f172a 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 8px 22px rgba(46, 16, 101, 0.45);
}

.bank-card-item.upi-card-theme::after {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, transparent 70%);
}

.bci-upi-tag {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #a855f7;
  color: #d8b4fe;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* Empty State */
.bc-empty-state {
  text-align: center;
  padding: 28px 16px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bc-empty-icon {
  font-size: 38px;
  line-height: 1;
}

.bc-empty-state h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.bc-empty-state p {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  max-width: 260px;
  line-height: 1.45;
}

.bc-empty-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin-top: 6px;
}

.btn-empty-add-bank {
  flex: 1;
  background: linear-gradient(135deg, #0570db 0%, #00c853 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 112, 219, 0.3);
  transition: transform 0.15s;
}

.btn-empty-add-bank.btn-secondary-add {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.3);
}

.btn-empty-add-bank:active {
  transform: scale(0.97);
}

/* 2 Selectable Options: Tab Switcher (UPI ID vs Bank Account) */
.bc-type-tabs {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.bc-type-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bc-type-tab:hover {
  color: #1e293b;
}

.bc-type-tab.active {
  background: #ffffff;
  color: #0570db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Add Bank Form View */
.bc-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.btn-bc-back {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}

.bc-form-header h4 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.bc-form-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
  color: #1e40af;
  margin-bottom: 10px;
}

.bc-form-alert p {
  margin: 0;
  line-height: 1.4;
}

.bc-form-scroll {
  max-height: 48vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-right: 4px;
}

.bc-form-scroll .form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bc-form-scroll label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
}

.bc-form-scroll .req {
  color: #ef4444;
}

.bc-form-scroll .modal-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bc-form-scroll .modal-input:focus {
  border-color: #0570db;
  box-shadow: 0 0 0 3px rgba(5, 112, 219, 0.12);
}

.bc-form-scroll .modal-input::placeholder {
  color: #94a3b8;
  font-style: italic;
  font-size: 11.5px;
}

.uppercase-input {
  text-transform: uppercase;
}

.bc-form-actions {
  display: flex;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
}

.btn-cancel-add-bank {
  flex: 1;
  height: 42px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-save-bank-card {
  flex: 2;
  height: 42px;
  background: linear-gradient(135deg, #00c853 0%, #009624 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.btn-save-bank-card:active {
  transform: scale(0.98);
}

/* =========================================================
   UNIFIED BALANCE HERO CARDS & PAYOUT SELECTOR
   ========================================================= */
.unified-wallet-hero {
  background: linear-gradient(135deg, #0d3880 0%, #0570db 55%, #0353a4 100%);
  padding: 16px 18px;
  margin: 12px 14px 14px;
  border-radius: 18px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(5, 112, 219, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}

.unified-wallet-hero.withdraw-theme {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0d3880 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
}

.unified-wallet-hero.recharge-theme {
  background: linear-gradient(135deg, #064e3b 0%, #0570db 65%, #047857 100%);
  box-shadow: 0 8px 24px rgba(5, 112, 219, 0.25);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
}

.unified-wallet-hero::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.uwh-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.uwh-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

.uwh-badge-icon {
  font-size: 18px;
  line-height: 1;
}

.uwh-vip-tag {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.uwh-vip-tag.deposit-tag {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #34d399;
}

.uwh-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 10px;
}

.uwh-symbol {
  font-size: 22px;
  font-weight: 800;
  color: #93c5fd;
}

.uwh-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.uwh-refresh-btn {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.15s;
}

.uwh-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.uwh-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 8px;
}

.uwh-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.uwh-status-dot.green {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Card Heading & Action Row */
.section-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-hint-badge {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 10px;
}

.selected-amount-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.sas-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.sas-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 800;
  color: #0570db;
}

.btn-manage-bank-link {
  background: rgba(5, 112, 219, 0.08);
  border: 1px solid #bfdbfe;
  color: #0570db;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-manage-bank-link:hover {
  background: rgba(5, 112, 219, 0.15);
}

/* Saved Payout Cards Selection List */
.saved-payout-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 14px;
}

.payout-card-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.payout-card-option:hover {
  border-color: #93c5fd;
  background: #f1f5f9;
}

.payout-card-option.selected {
  border-color: #0570db;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(5, 112, 219, 0.18);
}

.pco-radio-wrap {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

.payout-card-option.selected .pco-radio-wrap {
  border-color: #0570db;
}

.pco-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.15s;
}

.payout-card-option.selected .pco-radio-dot {
  background: #0570db;
}

.pco-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pco-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pco-bank-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.pco-primary-tag {
  font-size: 9.5px;
  font-weight: 800;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 7px;
  border-radius: 8px;
}

.pco-acc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 1px;
}

.pco-meta {
  font-size: 11px;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.pco-meta strong {
  color: #334155;
}

/* No Card Alert Box */
.withdraw-no-card-alert {
  background: #fffbeb;
  border: 1.5px dashed #fcd34d;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wnc-icon {
  font-size: 30px;
  line-height: 1;
}

.wnc-info strong {
  display: block;
  font-size: 13.5px;
  color: #92400e;
  font-weight: 800;
}

.wnc-info p {
  font-size: 11.5px;
  color: #b45309;
  margin: 3px 0 0;
}

.btn-wnc-add {
  background: linear-gradient(135deg, #0570db 0%, #00c853 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 9px 18px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 112, 219, 0.25);
  margin-top: 4px;
  transition: transform 0.15s;
}

.btn-wnc-add:active {
  transform: scale(0.97);
}

.btn-execute-withdraw {
  width: 100%;
  height: 46px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
}

/* =========================================================
   DIRECT UPI APP PAYMENT & CASHIER AUTO-OPEN STYLES
   ========================================================= */

.app-select-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.channel-item {
  position: relative;
  display: block;
  cursor: pointer;
}

.channel-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.channel-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.channel-box:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.channel-item input:checked + .channel-box {
  border-color: #5f259f;
  background: #faf5ff;
  box-shadow: 0 4px 14px rgba(95, 37, 159, 0.12);
}

.channel-item input[value="paytm"]:checked + .channel-box {
  border-color: #002e6e;
  background: #f0f7ff;
  box-shadow: 0 4px 14px rgba(0, 46, 110, 0.12);
}

.channel-item input[value="gpay"]:checked + .channel-box {
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
}

.channel-item input[value="upi"]:checked + .channel-box {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.channel-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
}

.channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.channel-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-title-row strong {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.channel-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
}

.channel-badge.rec-badge {
  background: #5f259f;
  color: #ffffff;
}

.channel-info small {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.channel-radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  position: relative;
  transition: all 0.2s ease;
}

.channel-item input:checked + .channel-box .channel-radio-indicator {
  border-color: #5f259f;
}

.channel-item input:checked + .channel-box .channel-radio-indicator::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5f259f;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-recharge-auto-pay {
  background: linear-gradient(135deg, #5f259f 0%, #7b1fa2 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 14px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(95, 37, 159, 0.3) !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-recharge-auto-pay:active {
  transform: scale(0.98);
}

/* Cashier Auto-Open Status Alert */
.cashier-auto-status {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1.5px solid #ddd6fe;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(95, 37, 159, 0.08);
}

.cas-spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cas-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(95, 37, 159, 0.2);
  border-top-color: #5f259f;
  border-radius: 50%;
  animation: casSpin 0.8s linear infinite;
  display: inline-block;
}

@keyframes casSpin {
  to { transform: rotate(360deg); }
}

.cas-text {
  flex: 1;
}

.cas-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #4c1d95;
  margin-bottom: 2px;
}

.cas-text p {
  margin: 0;
  font-size: 11px;
  color: #6b21a8;
  line-height: 1.4;
}

/* Quick App Launch CTA Button */
.btn-cashier-quick-pay {
  width: 100%;
  background: linear-gradient(135deg, #5f259f 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cashier-quick-pay:active {
  transform: scale(0.98);
}

.target-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.btn-change-admin-upi {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-change-admin-upi:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Admin UPI Modal */
.admin-upi-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  box-sizing: border-box;
}

.admin-upi-modal.active {
  display: flex;
}

/* =========================================================
   ENHANCED SHARE & REFERRAL POLICY RULES STYLES
   ========================================================= */

.share-rules-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.rules-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 12px;
}

.rules-header-icon {
  font-size: 20px;
}

.rules-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  flex: 1;
}

.rules-tag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
}

.rule-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.rule-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rule-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-blue, #0570db);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rule-block-title strong {
  font-size: 13.5px;
  color: #1e293b;
  font-weight: 800;
}

.rule-block-desc {
  margin: 0 0 10px;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

.rule-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 11.5px;
  color: #334155;
  line-height: 1.6;
}

.rule-bullets li {
  margin-bottom: 4px;
}

.tier-table-enhanced {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}

.tte-row {
  display: grid;
  grid-template-columns: 80px 1fr 105px;
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11px;
}

.tte-row:last-child {
  border-bottom: none;
}

.tte-head {
  background: #f1f5f9;
  font-weight: 800;
  color: #475569;
  font-size: 10.5px;
}

.tier-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  text-align: center;
  display: inline-block;
  width: fit-content;
}

.tier-pill.t1 { background: #fef3c7; color: #b45309; }
.tier-pill.t2 { background: #dcfce7; color: #15803d; }
.tier-pill.t3 { background: #e0f2fe; color: #0369a1; }

.txt-rate-gold { color: #d97706; font-weight: 800; text-align: right; }
.txt-rate-green { color: #16a34a; font-weight: 800; text-align: right; }
.txt-rate-blue { color: #2563eb; font-weight: 800; text-align: right; }

.commission-example-box {
  background: #fffbeb;
  border: 1px dashed #fcd34d;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #92400e;
  line-height: 1.45;
}

.commission-example-box strong {
  display: block;
  margin-bottom: 3px;
  color: #78350f;
}

.commission-example-box p {
  margin: 0;
}

/* =========================================================
   24×7 TELEGRAM CUSTOMER SUPPORT MODAL
   ========================================================= */
.support-modal {
  max-width: 360px;
  width: 90%;
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.support-header-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.support-header-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.support-modal-body {
  padding: 18px 20px 22px;
  text-align: center;
}

.support-agent-hero {
  margin-bottom: 16px;
}

.support-agent-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  position: relative;
}

.support-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  display: block;
}

.support-online-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
  border: 1.5px solid #ffffff;
  letter-spacing: 0.4px;
}

.support-agent-hero h4 {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.support-agent-hero p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.support-handle-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shc-info {
  text-align: left;
}

.shc-label {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
}

.shc-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 800;
  color: #0284c7;
}

.btn-copy-support-handle {
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-copy-support-handle:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-open-telegram-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.18s ease;
  margin-bottom: 12px;
}

.btn-open-telegram-chat:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-tg-chat-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.support-guarantee-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
}

/* =========================================================
   OFFICIAL ADMIN UPI & DYNAMIC LIVE QR RECHARGE CARD
   ========================================================= */
.official-upi-card {
  margin: 14px 16px;
  padding: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.official-upi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.official-badge-gold {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fbbf24;
  text-transform: uppercase;
}

.official-verified-pill {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: 20px;
}

.official-details-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.official-label {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
  font-weight: 600;
}

.official-upi-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090d16;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  gap: 8px;
}

.official-upi-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: #38bdf8;
  word-break: break-all;
}

.btn-copy-official-upi {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border: none;
  font-weight: 800;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-copy-official-upi:active {
  transform: scale(0.96);
}

.official-merchant-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #cbd5e1;
}

.official-merchant-row strong {
  color: #f1f5f9;
}

.official-qr-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.official-qr-wrapper {
  position: relative;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.official-qr-img {
  width: 170px;
  height: 170px;
  display: block;
  object-fit: contain;
}

.qr-scan-instructions strong {
  display: block;
  font-size: 12px;
  color: #f8fafc;
  margin-bottom: 4px;
}

.qr-scan-instructions p {
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}







