/* ==========================================================================
   AEVOS CONVERGENCE PROTOCOL — MODERN LIGHT THEME DESIGN SYSTEM
   Base: Crisp White (#FFFFFF), Slate Accents, Electric Violet & Cyber Fuchsia
   ========================================================================== */

:root {
  --bg-core: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-elevated: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: rgba(255, 255, 255, 0.98);
  
  /* Primary Cyber Accents: Electric Violet */
  --neon-green: #7C3AED;
  --neon-green-glow: rgba(124, 58, 237, 0.35);
  --neon-green-subtle: rgba(124, 58, 237, 0.10);
  
  /* Secondary Cyber Accents: Cyber Fuchsia */
  --neon-cyan: #DB2777;
  --neon-cyan-glow: rgba(219, 39, 119, 0.35);
  --neon-cyan-subtle: rgba(219, 39, 119, 0.10);

  /* Neutrals & Text */
  --text-white: #0F172A;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border-subtle: #E2E8F0;
  --border-accent: rgba(124, 58, 237, 0.25);
  --border-cyan: rgba(219, 39, 119, 0.25);

  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Dimensions */
  --phone-width: 414px;
  --phone-height: 870px;
  --nav-height: 70px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #F1F5F9;
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   DESKTOP CONTROL TOOLBAR
   ========================================================================== */
.desktop-preview-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.95rem;
  color: #0F172A;
}

.toolbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

.badge-tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--neon-green-subtle);
  color: var(--neon-green);
  border: 1px solid var(--border-accent);
  margin-left: 6px;
  font-weight: 700;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseRate 1.8s infinite;
}

.toolbar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-accent);
  background: rgba(124, 58, 237, 0.08);
  color: var(--neon-green);
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toolbar-btn:hover {
  background: rgba(124, 58, 237, 0.16);
  box-shadow: 0 0 12px var(--neon-green-subtle);
}

/* ==========================================================================
   DEVICE WRAPPER & SMARTPHONE CHASSIS
   ========================================================================== */
.device-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 72px 16px 36px 16px;
  background: radial-gradient(circle at 50% 30%, #ede9fe 0%, #f1f5f9 65%, #e2e8f0 100%);
  position: relative;
}

.smartphone-frame {
  width: var(--phone-width);
  height: var(--phone-height);
  background: #FFFFFF;
  border-radius: 50px;
  box-shadow: 
    0 0 0 4px #e2e8f0,
    0 0 0 10px #f8fafc,
    0 25px 60px rgba(100, 116, 139, 0.20),
    0 0 40px rgba(124, 58, 237, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #E2E8F0;
}

.device-wrapper.chassis-off .smartphone-frame {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.device-wrapper.chassis-off {
  padding: 52px 0 0 0;
}

.frame-buttons-left {
  position: absolute;
  top: 140px;
  left: -13px;
  width: 4px;
  height: 55px;
  background: #cbd5e1;
  border-radius: 3px 0 0 3px;
}

.frame-buttons-right {
  position: absolute;
  top: 180px;
  right: -13px;
  width: 4px;
  height: 75px;
  background: #cbd5e1;
  border-radius: 0 3px 3px 0;
}

/* ==========================================================================
   APP VIEWPORT & AMBIENT AURA
   ========================================================================== */
.app-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-core);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.glow-emerald {
  width: 280px;
  height: 280px;
  top: -40px;
  right: -60px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

.glow-cyan {
  width: 240px;
  height: 240px;
  bottom: 120px;
  left: -50px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
}

.circuit-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(124, 58, 237, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   STATUS BAR (Removed per design)
   ========================================================================== */
.status-bar {
  display: none !important;
}

/* ==========================================================================
   SCROLLABLE CONTENT BODY & HEADERS
   ========================================================================== */
.app-content-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 10;
  padding: max(24px, env(safe-area-inset-top)) 18px calc(90px + env(safe-area-inset-bottom)) 18px;
  scrollbar-width: none;
}

.app-content-scroll::-webkit-scrollbar {
  display: none;
}

.view-header {
  margin-bottom: 18px;
}

.header-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-green);
  display: inline-block;
  margin-bottom: 4px;
}

.view-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.view-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

.pb-bottom-space {
  padding-bottom: 24px;
}

/* Top Navigation Bar */
.top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.aevos-logo-svg {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.25));
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-hud-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--neon-green-subtle);
  border: 1px solid var(--border-accent);
  color: var(--neon-green);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-hud-btn:hover {
  background: rgba(124, 58, 237, 0.18);
}

.telegram-hud-btn {
  padding: 6px 10px;
  background: rgba(34, 158, 217, 0.10);
  border: 1px solid rgba(34, 158, 217, 0.3);
  color: #229ED9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.telegram-hud-btn:hover {
  background: rgba(34, 158, 217, 0.20);
  border-color: #229ED9;
  box-shadow: 0 0 12px rgba(34, 158, 217, 0.35);
  transform: translateY(-1px);
}

.telegram-community-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.08) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1px solid rgba(34, 158, 217, 0.25);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 14px;
  margin-bottom: 20px;
}

.tele-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.tele-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ED9, #1E88E5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(34, 158, 217, 0.35);
  flex-shrink: 0;
}

.tele-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}

.tele-sub {
  font-size: 0.68rem;
  color: var(--text-secondary);
  display: block;
}

.tele-join-btn {
  padding: 6px 12px;
  background: #229ED9;
  color: #FFFFFF;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(34, 158, 217, 0.3);
}

.tele-join-btn:hover {
  background: #1B86BA;
  transform: translateY(-1px);
}

.avatar-hud-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
}

.avatar-hud-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-green);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

/* Back Button Header (for inner and auth pages) */
.subpage-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.back-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-circle-btn:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: var(--border-accent);
  color: var(--neon-green);
}

.page-title-center {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
}

/* ==========================================================================
   AUTHENTICATION STYLES (Login, Register, Password Recovery)
   ========================================================================== */
.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100% - 44px);
  padding: 10px 4px 30px 4px;
}

.auth-brand-center {
  text-align: center;
  margin-bottom: 24px;
}

.auth-brand-center .aevos-logo-svg {
  height: 38px;
  margin-bottom: 10px;
}

.auth-tagline {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.auth-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 0 20px rgba(124, 58, 237, 0.05);
}

.auth-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.auth-card-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.35;
}

.auth-form-group {
  margin-bottom: 16px;
}

.auth-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  color: #334155;
  margin-bottom: 6px;
  font-weight: 600;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-split {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-input-split .auth-input-wrap {
  flex: 1;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.auth-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  color: #0F172A;
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.2s ease;
  font-weight: 600;
}

.auth-input-wrap input:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: #FFFFFF;
}

.toggle-pwd-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.toggle-pwd-btn:hover {
  color: var(--neon-green);
}

.send-code-btn {
  padding: 0 14px;
  height: 44px;
  border-radius: 12px;
  background: var(--neon-green-subtle);
  border: 1px solid var(--border-accent);
  color: var(--neon-green);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.send-code-btn:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.18);
  box-shadow: 0 0 12px var(--neon-green-subtle);
}

.send-code-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: #E2E8F0;
  color: #94A3B8;
  background: #F1F5F9;
}

.auth-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-select-wrap select {
  width: 100%;
  padding: 12px 36px 12px 42px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  color: #0F172A;
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.auth-select-wrap select:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: #FFFFFF;
}

.auth-select-wrap select option {
  background: #FFFFFF;
  color: #0F172A;
}

.select-arrow-icon {
  position: absolute;
  right: 14px;
  color: #94A3B8;
  pointer-events: none;
  font-size: 0.75rem;
}

.auth-helper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  margin: 12px 0 18px 0;
}

.remember-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  cursor: pointer;
}

.custom-checkbox {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  position: relative;
  display: grid;
  place-content: center;
}

.custom-checkbox:checked {
  background: var(--neon-green);
  border-color: var(--neon-green);
}

.custom-checkbox:checked::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
}

.forgot-link {
  color: var(--neon-green);
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.forgot-link:hover {
  opacity: 0.85;
}

.auth-submit-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}

.auth-submit-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #94A3B8;
  font-size: 0.68rem;
  font-family: var(--font-mono);
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.wallet-connect-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wallet-connect-btn:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--border-accent);
  color: var(--neon-green);
}

.auth-switch-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 20px;
}

.auth-switch-link {
  color: var(--neon-green);
  font-weight: 700;
  margin-left: 4px;
}

.auth-switch-link:hover {
  text-decoration: underline;
}

/* Password Strength Meter */
.pwd-meter-box {
  margin-top: 6px;
}

.pwd-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.pwd-bar {
  flex: 1;
  height: 3px;
  background: #E2E8F0;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.pwd-bar.active-weak { background: #ef4444; }
.pwd-bar.active-med { background: #f59e0b; }
.pwd-bar.active-strong { background: var(--neon-green); }

.pwd-meter-lbl {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ==========================================================================
   HERO BALANCE CARD (Gradient Pop in Light Mode)
   ========================================================================== */
.hero-balance-card {
  position: relative;
  background: linear-gradient(135deg, #6D28D9 0%, #A21CAF 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(109, 40, 217, 0.30);
  margin-bottom: 20px;
  overflow: hidden;
  color: #FFFFFF;
}

.card-bg-circuit {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.20), transparent 70%);
  pointer-events: none;
}

.hero-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hero-balance-title {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

.live-yield-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.20);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 6px #FFFFFF;
  animation: pulseRate 1.4s infinite;
}

.main-balance-val {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.currency-symbol {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 600;
}

.balance-digits {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.currency-code {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-left: 2px;
}

.hero-metrics-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 16px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-heading);
  margin-bottom: 2px;
}

.hero-balance-card .metric-val {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #FFFFFF !important;
}

.metric-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.20);
}

.action-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
}

.action-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.action-pill-btn:active {
  transform: scale(0.97);
}

.hero-balance-card .btn-deposit {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.hero-balance-card .btn-deposit:hover {
  background: rgba(255, 255, 255, 0.30);
}

.hero-balance-card .btn-withdraw {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.hero-balance-card .btn-withdraw:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-balance-card .btn-launch {
  background: #FFFFFF;
  color: #6D28D9;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-balance-card .btn-launch:hover {
  background: #F8FAFC;
}

/* ==========================================================================
   4-AGENT PROTOCOL CORE BOX
   ========================================================================== */
.protocol-engine-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.engine-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.engine-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
}

.engine-state-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border-accent);
  font-size: 0.68rem;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 700;
}

.badge-ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

.agents-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.agent-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.agent-box.active {
  border-color: rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.04);
}

.agent-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  flex-shrink: 0;
}

.agent-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.agent-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F172A;
  font-family: var(--font-heading);
}

.agent-status {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.convergence-pulse-bar {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
}

.pulse-txt {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.pulse-txt strong {
  color: var(--neon-green);
}

.pulse-track {
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
}

.pulse-fill {
  width: 98.7%;
  height: 100%;
  background: linear-gradient(90deg, #7C3AED, #DB2777);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

/* ==========================================================================
   ACTIVE PLANS CARDS
   ========================================================================== */
.section-wrapper {
  margin-bottom: 22px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
}

.link-btn {
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-mini-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--neon-green);
  background: rgba(124, 58, 237, 0.08);
  padding: 2px 7px;
  border-radius: 8px;
  font-weight: 700;
}

.active-plan-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.active-plan-card:hover {
  border-color: var(--border-accent);
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.plan-title-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-icon-hex {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
}

.nexus-hex {
  background: rgba(124, 58, 237, 0.12);
  color: var(--neon-green);
  border: 1px solid var(--border-accent);
}

.quantum-hex {
  background: rgba(219, 39, 119, 0.12);
  color: var(--neon-cyan);
  border: 1px solid var(--border-cyan);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
}

.plan-cycle {
  font-size: 0.68rem;
  color: var(--text-secondary);
  display: block;
}

.rate-badge {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--neon-green);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
}

.plan-progress-wrap {
  margin-bottom: 14px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-bottom: 6px;
  font-weight: 600;
}

.progress-bar-rail {
  height: 6px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-value {
  height: 100%;
  background: linear-gradient(90deg, #7C3AED, #DB2777);
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.35);
}

.plan-footer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.p-stat-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.p-stat-val {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #0F172A;
}

/* ==========================================================================
   LIVE TRADES TABLE
   ========================================================================== */
.live-trades-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.trade-table-header {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1.2fr 1fr;
  color: var(--text-muted);
  font-size: 0.62rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
  font-weight: 600;
}

.trade-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1.2fr 1fr;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F8FAFC;
}

.pair-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0F172A;
  font-weight: 700;
}

.coin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.coin-dot.btc { background: #F7931A; }
.coin-dot.eth { background: #627EEA; }
.coin-dot.bnb { background: #F3BA2F; }

.pos-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  font-weight: 700;
}

.pos-badge.long {
  background: rgba(124, 58, 237, 0.10);
  color: var(--neon-green);
}

.pos-badge.short {
  background: rgba(239, 68, 68, 0.10);
  color: #ef4444;
}

.pnl-text.pos {
  color: var(--neon-green);
  font-weight: 700;
  text-align: right;
}

/* ==========================================================================
   PROTOCOLS TAB (Genesis, Quantum, Nexus, Infinity)
   ========================================================================== */
.calc-card {
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
}

.calc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.calc-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #0F172A;
}

.compounding-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  background: rgba(219, 39, 119, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.calc-input-group label, .calc-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.currency-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.curr-sign {
  position: absolute;
  left: 14px;
  font-family: var(--font-mono);
  color: var(--neon-green);
  font-size: 1.1rem;
  font-weight: 700;
}

.currency-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 32px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  color: #0F172A;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
}

.currency-input-wrap input:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: #FFFFFF;
}

.calc-plan-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 8px 0 14px 0;
}

.plan-pill-opt {
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.plan-pill-opt.active {
  border-color: var(--neon-green);
  background: rgba(124, 58, 237, 0.10);
  color: var(--neon-green);
  font-weight: 700;
}

.calc-projections-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: #F8FAFC;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #E2E8F0;
}

.proj-col {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.proj-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-weight: 600;
}

.proj-val {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #0F172A;
}

.proj-divider {
  width: 1px;
  height: 24px;
  background: #E2E8F0;
}

.plans-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
}

.plan-tier-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 18px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.plan-tier-card.featured {
  border-color: var(--neon-green);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  background: linear-gradient(90deg, #7C3AED, #DB2777);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  padding: 3px 36px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

.tier-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.tier-badge {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  display: block;
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
}

.tier-duration {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.daily-rate-box {
  text-align: right;
}

.rate-large {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--neon-green);
  display: block;
  line-height: 1;
}

.rate-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.tier-specs {
  background: #F8FAFC;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #E2E8F0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 4px 0;
}

.spec-k {
  color: var(--text-secondary);
}

.spec-v {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #0F172A;
}

.spec-v.highlight {
  color: #0F172A;
  font-weight: 800;
}

.launch-protocol-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--neon-green);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.launch-protocol-btn:hover {
  background: rgba(124, 58, 237, 0.16);
  box-shadow: 0 0 16px var(--neon-green-subtle);
}

.launch-protocol-btn.btn-highlight {
  background: linear-gradient(135deg, #7C3AED, #DB2777);
  color: #FFFFFF;
  border: none;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

/* ==========================================================================
   WALLET STYLES (Liquidity, Networks, Rules)
   ========================================================================== */
.wallet-balance-box {
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
}

.w-top-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.wallet-badge {
  color: var(--neon-green);
  background: rgba(124, 58, 237, 0.10);
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.w-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.w-sign {
  font-size: 1.3rem;
  color: var(--neon-green);
  font-weight: 700;
}

.w-digits {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #0F172A;
}

.w-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.wallet-rules-badge {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #F8FAFC;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.wallet-rules-badge strong {
  color: var(--neon-green);
}

.wallet-btns-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-wallet-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.deposit-action {
  background: linear-gradient(135deg, #7C3AED, #DB2777);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.30);
}

.withdraw-action {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #1E293B;
}

.supported-assets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.asset-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.asset-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bep-icon { background: rgba(243, 186, 47, 0.15); color: #d97706; }
.btc-icon { background: rgba(247, 147, 26, 0.15); color: #ea580c; }
.eth-icon { background: rgba(98, 126, 234, 0.15); color: #4f46e5; }
.bnb-icon { background: rgba(0, 229, 255, 0.15); color: #0284c7; }

.asset-info {
  flex: 1;
}

.asset-info h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: #0F172A;
}

.asset-network {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.status-pill {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--neon-green);
  border: 1px solid var(--border-accent);
  font-weight: 700;
}

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.tx-type-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tx-type-icon.in {
  background: rgba(124, 58, 237, 0.12);
  color: var(--neon-green);
}

.tx-type-icon.out {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.tx-detail {
  flex: 1;
}

.tx-title {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #0F172A;
  display: block;
}

.tx-date {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.tx-amount {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.tx-amount.pos { color: var(--neon-green); }
.tx-amount.neg { color: #ef4444; }

/* ==========================================================================
   PARTNERS & REFERRALS
   ========================================================================== */
.referral-link-card {
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

.ref-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ref-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

.ref-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-green);
}

.ref-copy-box {
  display: flex;
  gap: 8px;
}

.ref-copy-box input {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.75rem;
  color: #0F172A;
  font-family: var(--font-mono);
  outline: none;
  font-weight: 600;
}

.ref-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--neon-green-subtle);
  border: 1px solid var(--border-accent);
  color: var(--neon-green);
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ref-copy-btn:hover {
  background: rgba(124, 58, 237, 0.18);
}

.network-tier-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.tier-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.program-num {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: var(--neon-green);
  letter-spacing: 1px;
  font-weight: 700;
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
}

.program-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: block;
}

.total-share-box {
  text-align: right;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: 10px;
}

.total-digits {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--neon-green);
  display: block;
  line-height: 1;
}

.total-lbl {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.commission-table {
  background: #F8FAFC;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.comm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.78rem;
}

.comm-row:last-child {
  border-bottom: none;
}

.comm-level {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 600;
}

.lvl-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: #E2E8F0;
  color: #0F172A;
}

.comm-pct {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.highlight-row {
  background: rgba(219, 39, 119, 0.05);
}

/* ==========================================================================
   CLICKABLE COMMISSION ROWS & PARTNER LEVEL MEMBERS STYLES
   ========================================================================== */
.comm-row.clickable-comm-row {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comm-row.clickable-comm-row:hover {
  background: rgba(124, 58, 237, 0.05);
  padding-left: 18px;
}

.comm-row.clickable-comm-row:active {
  background: rgba(124, 58, 237, 0.1);
}

.comm-right-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comm-member-count-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.comm-arrow {
  color: #94A3B8;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.18s ease, color 0.18s ease;
}

.comm-row.clickable-comm-row:hover .comm-arrow {
  color: var(--neon-green);
  transform: translateX(3px);
}

/* Partner Level Members View */
.level-selector-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.level-selector-scroll::-webkit-scrollbar {
  display: none;
}

.level-chip-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.level-chip-btn:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.level-chip-btn.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(219, 39, 119, 0.10));
  border-color: var(--neon-green);
  color: var(--neon-green);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.12);
}

/* Members Search & Filter */
.members-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.member-search-input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  color: #0F172A;
  outline: none;
}

.member-search-input:focus {
  border-color: var(--neon-green);
}

.member-filter-pill-group {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.member-filter-pill {
  padding: 4px 10px;
  border-radius: 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.member-filter-pill.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

/* Member Cards */
.members-list-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.member-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.member-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.member-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.member-user-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(219, 39, 119, 0.15));
  color: var(--neon-green);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.member-names {
  display: flex;
  flex-direction: column;
}

.member-username {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
}

.member-ref-token {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--neon-green);
  font-weight: 600;
}

.member-status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.member-status-pill.active {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.member-status-pill.inactive {
  background: #F1F5F9;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.member-status-pill.active .status-dot {
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.member-status-pill.inactive .status-dot {
  background: #94A3B8;
}

.member-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #F8FAFC;
  border-radius: 10px;
  padding: 8px 12px;
}

.member-data-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-data-lbl {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-data-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
}

.member-data-val.pos {
  color: #059669;
}

/* ==========================================================================
   CONVERGENCE & SUPPORT
   ========================================================================== */
.agents-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.agent-detail-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.agent-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--neon-green);
}

.agent-body {
  flex: 1;
}

.agent-body h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: #0F172A;
  margin-bottom: 2px;
}

.agent-body p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.agent-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  background: rgba(219, 39, 119, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 3px 6px;
  border-radius: 6px;
  white-space: nowrap;
  font-weight: 700;
}

.support-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.support-item-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.support-item-box:hover {
  border-color: var(--neon-green);
  background: rgba(124, 58, 237, 0.04);
}

.support-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.10);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sup-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  display: block;
  font-weight: 600;
}

.sup-val {
  font-size: 0.72rem;
  color: #0F172A;
  font-family: var(--font-mono);
  word-break: break-all;
  font-weight: 600;
}

/* ==========================================================================
   PROFILE & SECURITY STYLES
   ========================================================================== */
.profile-hero-card {
  text-align: center;
  padding: 24px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
}

.profile-avatar-big {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 12px auto;
  position: relative;
}

.profile-avatar-big img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-green);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.profile-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neon-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.profile-user-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.profile-user-email {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.profile-tier-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid var(--border-accent);
  color: var(--neon-green);
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.settings-group {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item:hover {
  background: #F8FAFC;
}

.settings-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  display: block;
}

.settings-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.settings-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.toggle-switch-ui {
  width: 44px;
  height: 24px;
  background: #E2E8F0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle-switch-ui.active {
  background: var(--neon-green);
}

.toggle-switch-ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch-ui.active::after {
  transform: translateX(20px);
}

.logout-btn-box {
  margin-top: 10px;
}

.logout-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.20);
  color: #dc2626;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.15);
}

/* ==========================================================================
   BOTTOM DOCK NAVIGATION (Linked via <a> tags)
   ========================================================================== */
.bottom-dock-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px 12px 8px;
  z-index: 80;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.03);
}

.nav-tab {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 60px;
  text-decoration: none;
}

.nav-icon-wrap {
  position: relative;
  transition: transform 0.2s ease;
}

.nav-label {
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-tab.active {
  color: var(--neon-green);
}

.nav-tab.active .nav-icon-wrap {
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.35));
}

.home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 4px;
  z-index: 90;
  pointer-events: none;
}

/* ==========================================================================
   MODALS & SLIDE-UP SHEETS
   ========================================================================== */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.50);
  backdrop-filter: blur(8px);
  z-index: 150;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid var(--border-accent);
  border-radius: 28px 28px 0 0;
  padding: 16px 20px 32px 20px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  max-height: 90%;
  overflow-y: auto;
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 4px;
  margin: 0 auto 14px auto;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sheet-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
}

.sheet-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.close-sheet-btn {
  background: #F1F5F9;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-label {
  font-size: 0.72rem;
  color: #334155;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.network-select-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.net-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.net-pill strong {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: #0F172A;
}

.net-pill span {
  font-size: 0.62rem;
  font-family: var(--font-mono);
}

.net-pill.active {
  border-color: var(--neon-green);
  background: rgba(124, 58, 237, 0.10);
}

.net-pill.active strong {
  color: var(--neon-green);
}

.qr-address-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code-img {
  margin-bottom: 14px;
  padding: 8px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.address-copy-container {
  width: 100%;
}

.deposit-target-label {
  font-size: 0.68rem;
  color: var(--neon-green);
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.address-input-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.address-input-bar input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 8px 10px;
  color: #0F172A;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  outline: none;
  font-weight: 600;
}

.address-copy-btn {
  background: linear-gradient(135deg, #7C3AED, #DB2777);
  color: #FFFFFF;
  border: none;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}

.deposit-notice {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.form-group {
  margin-bottom: 14px;
}

.label-with-balance {
  display: flex;
  justify-content: space-between;
}

.balance-hint {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.max-btn {
  position: absolute;
  right: 10px;
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid var(--border-accent);
  color: var(--neon-green);
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.input-rule-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: block;
  margin-top: 4px;
}

.input-rule-hint strong {
  color: var(--neon-green);
}

.custom-text-input {
  width: 100%;
  padding: 12px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  color: #0F172A;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  outline: none;
  font-weight: 600;
}

.custom-text-input:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: #FFFFFF;
}

.fee-breakdown-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.75rem;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  padding: 4px 0;
  font-weight: 600;
}

.fee-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 4px 0;
}

.total-receive {
  font-weight: 700;
  color: #0F172A;
}

.launch-summary-card {
  background: #F8FAFC;
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 5px 0;
  color: var(--text-secondary);
}

.sum-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #0F172A;
}

.execute-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7C3AED, #DB2777);
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.execute-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.45);
}

/* ==========================================================================
   TOASTR NOTIFICATION SYSTEM (CENTERED)
   ========================================================================== */
#toast-container {
  position: absolute;
  z-index: 999999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 90%;
  max-width: 360px;
}

/* Center position styles */
#toast-container.toast-top-center {
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
}

#toast-container.toast-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* When attached directly to body */
body > #toast-container.toast-top-center {
  position: fixed;
  top: 24px;
}

body > #toast-container.toast-center {
  position: fixed;
}

#toast-container > div {
  pointer-events: auto;
}

.toast {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  background-color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: toastFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast.toast-hiding {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.25s ease-out;
}

/* Toastr Category Accents */
.toast-success {
  background: linear-gradient(135deg, #0F172A 20%, #064E3B 100%);
  border-color: #10B981;
}

.toast-info {
  background: linear-gradient(135deg, #0F172A 20%, #2E1065 100%);
  border-color: #7C3AED;
}

.toast-warning {
  background: linear-gradient(135deg, #0F172A 20%, #78350F 100%);
  border-color: #F59E0B;
}

.toast-error {
  background: linear-gradient(135deg, #0F172A 20%, #7F1D1D 100%);
  border-color: #EF4444;
}

.toast-content-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.toast-icon-badge {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-body-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.toast-message {
  font-size: 0.8rem;
  color: #E2E8F0;
  line-height: 1.35;
}

.toast-close-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 4px 6px;
  transition: color 0.15s ease;
}

.toast-close-button:hover {
  color: #FFFFFF;
}

/* Toastr Progress Bar */
.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  width: 100%;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  transition: width linear;
}

.toast-success .toast-progress { background: #10B981; }
.toast-info .toast-progress { background: #7C3AED; }
.toast-warning .toast-progress { background: #F59E0B; }
.toast-error .toast-progress { background: #EF4444; }

/* Legacy Fallback */
.toast-box {
  display: none !important;
}

/* ==========================================================================
   DEPOSIT FLOW & COUNTDOWN INSTRUCTION STYLES
   ========================================================================== */
.currency-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.currency-select-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.currency-select-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.currency-select-card.selected {
  border-color: var(--neon-green);
  background: rgba(124, 58, 237, 0.04);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}

.currency-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.currency-card-icon.usdt-tron {
  background: linear-gradient(135deg, rgba(38, 161, 123, 0.15), rgba(124, 58, 237, 0.15));
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.currency-card-icon.usdc-bep {
  background: linear-gradient(135deg, rgba(39, 117, 202, 0.15), rgba(124, 58, 237, 0.15));
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.currency-card-icon.usdt-bep {
  background: linear-gradient(135deg, rgba(243, 186, 47, 0.18), rgba(124, 58, 237, 0.12));
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.currency-card-icon.usdc-erc {
  background: linear-gradient(135deg, rgba(98, 126, 234, 0.15), rgba(219, 39, 119, 0.15));
  color: #6366F1;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.currency-card-icon.btc-native {
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.18), rgba(219, 39, 119, 0.12));
  color: #EA580C;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.currency-card-icon.bnb-bep {
  background: linear-gradient(135deg, rgba(243, 186, 47, 0.2), rgba(124, 58, 237, 0.15));
  color: #D97706;
  border: 1px solid rgba(243, 186, 47, 0.35);
}

.currency-card-icon.trx-tron {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(219, 39, 119, 0.15));
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.bound-asset-icon.bnb-bep {
  background: rgba(243, 186, 47, 0.15);
  color: #D97706;
}

.bound-asset-icon.trx-tron {
  background: rgba(239, 68, 68, 0.15);
  color: #DC2626;
}

.asset-icon.trx-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #DC2626;
}

.currency-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.currency-card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.currency-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #0F172A;
}

.currency-card-network-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.currency-select-card.selected .currency-card-network-badge {
  background: rgba(124, 58, 237, 0.12);
  color: var(--neon-green);
  border-color: rgba(124, 58, 237, 0.3);
}

.currency-card-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.currency-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-tag-pill {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  background: #F8FAFC;
  color: #64748B;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
}

.currency-tag-pill.highlight {
  background: rgba(124, 58, 237, 0.1);
  color: var(--neon-green);
  border-color: rgba(124, 58, 237, 0.25);
}

.currency-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.currency-select-card.selected .currency-radio-circle {
  border-color: var(--neon-green);
  background: var(--neon-green);
}

.currency-radio-circle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.currency-select-card.selected .currency-radio-circle::after {
  opacity: 1;
  transform: scale(1);
}

/* Preset Amount Selector */
.amount-preset-container {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.amount-preset-chip {
  flex: 1;
  min-width: 58px;
  padding: 7px 4px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  color: #334155;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.amount-preset-chip:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.amount-preset-chip.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(219, 39, 119, 0.08));
  border-color: var(--neon-green);
  color: var(--neon-green);
  font-weight: 700;
}

/* Deposit Network Details Summary Card */
.deposit-specs-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 20px;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  padding: 6px 0;
  color: var(--text-secondary);
}

.specs-row:not(:last-child) {
  border-bottom: 1px solid #EDF2F7;
}

.specs-value {
  font-weight: 600;
  color: #0F172A;
  font-family: var(--font-mono);
}

.specs-value.free {
  color: #059669;
  font-weight: 700;
}

/* Countdown & Order Instructions Hero Card */
.countdown-hero-card {
  background: linear-gradient(145deg, #FFFFFF, #FAF5FF);
  border: 1.5px solid rgba(124, 58, 237, 0.25);
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.countdown-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #DB2777);
}

.countdown-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.countdown-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.5px;
}

.countdown-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(219, 39, 119, 0.10);
  color: var(--neon-cyan);
  border: 1px solid rgba(219, 39, 119, 0.25);
}

.status-blink-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
  animation: pulseRate 1.5s infinite;
}

.countdown-clock-wrapper {
  text-align: center;
  padding: 10px 0 6px 0;
}

.countdown-clock-digits {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0F172A;
  text-shadow: 0 2px 10px rgba(124, 58, 237, 0.15);
  display: inline-block;
}

.countdown-progress-track {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}

.countdown-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #7C3AED, #DB2777);
  border-radius: 6px;
  transition: width 1s linear;
}

.countdown-notice-text {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

/* Order Amount & Asset Banner */
.deposit-order-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.order-amount-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-amount-label {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.order-amount-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
}

.order-asset-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
}

.order-asset-pill strong {
  font-size: 0.85rem;
  color: #0F172A;
}

.order-asset-pill span {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--neon-green);
  font-weight: 700;
}

/* QR Code & Address Card */
.qr-instruction-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.qr-frame-box {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.address-highlight-box {
  width: 100%;
}

.address-field-wrap {
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 4px 6px 4px 12px;
  gap: 8px;
  margin-bottom: 10px;
}

.address-text-code {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #0F172A;
  word-break: break-all;
  user-select: all;
}

.btn-copy-address {
  background: linear-gradient(135deg, #7C3AED, #DB2777);
  color: #FFFFFF;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-copy-address:active {
  transform: scale(0.97);
}

.warning-callout-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.warning-callout-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.warning-callout-text {
  font-size: 0.7rem;
  color: #92400E;
  line-height: 1.4;
}

.warning-callout-text strong {
  font-weight: 700;
  color: #78350F;
}

/* Mempool Scanner & Interactive Demo */
.mempool-radar-section {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.radar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #0F172A;
}

.radar-ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseRate 1.8s infinite;
}

.radar-feed-text {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-simulate-transfer {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px dashed var(--neon-green);
  color: var(--neon-green);
  padding: 10px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-simulate-transfer:hover {
  background: rgba(124, 58, 237, 0.08);
  border-style: solid;
}

/* Step-by-Step Instructions List */
.step-guide-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.step-guide-card {
  display: flex;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
}

.step-number-bubble {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(219, 39, 119, 0.12));
  color: var(--neon-green);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.step-content h5 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Deposit Success Dialog */
.deposit-success-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.deposit-success-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.success-modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px 20px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.deposit-success-modal.show .success-modal-content {
  transform: scale(1);
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(124, 58, 237, 0.15));
  border: 2px solid #10B981;
  color: #10B981;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

/* ==========================================================================
   BIND WALLET & WHITELISTING STYLES
   ========================================================================== */
.bound-wallets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.bound-wallet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.bound-wallet-item:hover {
  border-color: #CBD5E1;
}

.bound-wallet-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.bound-asset-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bound-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.bound-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bound-asset-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: #0F172A;
}

.bound-net-tag {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  padding: 1px 5px;
  border-radius: 4px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.bound-address-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bound-wallet-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bound-status-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-remove-bound {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-remove-bound:hover {
  color: #EF4444;
  background: #FEE2E2;
}

.input-with-paste {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-paste input {
  padding-right: 68px !important;
}

.paste-addon-btn {
  position: absolute;
  right: 6px;
  padding: 5px 10px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--neon-green);
  border-radius: 6px;
  font-size: 0.68rem;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.paste-addon-btn:hover {
  background: rgba(124, 58, 237, 0.18);
}

/* ==========================================================================
   WITHDRAWAL PAGE & BOUND CREDS STYLES
   ========================================================================== */
.bound-creds-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.bound-cred-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.bound-cred-card:hover {
  border-color: #CBD5E1;
}

.bound-cred-card.selected {
  border-color: var(--neon-green);
  background: rgba(124, 58, 237, 0.04);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.10);
}

.bound-cred-info-group {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.bound-cred-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.bound-cred-header-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bound-cred-asset {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #0F172A;
}

.bound-cred-address {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bound-cred-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   TELEGRAM NOTIFICATIONS & LINKING STYLES
   ========================================================================== */
.telegram-status-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.telegram-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tele-status-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tele-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ED9, #1E88E5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35);
  flex-shrink: 0;
}

.tele-user-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
}

.tele-user-info span {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.tele-badge-connected {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tele-badge-disconnected {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

.tele-sync-code-box {
  background: #F8FAFC;
  border: 1px dashed #229ED9;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin: 14px 0;
}

.tele-code-digits {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #229ED9;
  margin: 4px 0;
}

.btn-telegram-connect {
  width: 100%;
  background: #229ED9;
  color: #FFFFFF;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
  transition: all 0.2s ease;
}

.btn-telegram-connect:hover {
  background: #1B86BA;
  transform: translateY(-1px);
}

.tele-alert-simulation-popup {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  width: 90%;
  max-width: 380px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid #38BDF8;
  border-radius: 16px;
  padding: 14px 16px;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tele-alert-simulation-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS & UTILITIES
   ========================================================================== */
@keyframes pulseRate {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   MY PROTOCOLS & LIVE ARBITRAGE STREAM (INSPIRATION: EXSCAN ARBITRAGE)
   ========================================================================== */

/* Top Switcher Tabs (Browse vs My Protocols) */
.protocol-switcher-tabs {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  gap: 4px;
}

.proto-switch-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.proto-switch-btn.active {
  background: #FFFFFF;
  color: var(--neon-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.proto-badge-count {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  background: var(--neon-green-subtle);
  color: var(--neon-green);
  font-weight: 700;
}

/* My Protocols Portfolio Hero */
.my-protocols-hero {
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF5FF 100%);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.my-protocols-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-top-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.live-vault-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 8px #059669;
  animation: pulseRate 1.5s infinite;
}

.hero-balance-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hero-balance-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.my-protocols-hero .hero-metrics-grid,
.wallet-balance-box .hero-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
}

.hero-metric-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-metric-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.hero-harvest-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: linear-gradient(135deg, #7C3AED 0%, #DB2777 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
  transition: all 0.2s ease;
}

.hero-harvest-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

/* Filter Chips (Active First) */
.protocol-filter-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.protocol-filter-chips::-webkit-scrollbar {
  display: none;
}

.proto-filter-pill {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.proto-filter-pill.active {
  background: var(--text-white);
  color: #FFFFFF;
  border-color: var(--text-white);
}

/* Protocol Card Container */
.my-protocol-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.my-protocol-card.active-protocol {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.my-protocol-card.newly-added {
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.3), 0 4px 16px rgba(124, 58, 237, 0.15); }
  100% { box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.5), 0 6px 24px rgba(219, 39, 119, 0.25); }
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-plan-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-avatar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%);
  color: var(--neon-green);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.plan-title-txt {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.plan-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.status-badge-matured {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

/* REAL-TIME EARNINGS PER SECOND TICKER BOX */
.earnings-per-sec-box {
  background: #0F172A; /* High-contrast sleek tech container */
  border-radius: 14px;
  padding: 14px;
  color: #FFFFFF;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.earnings-per-sec-box::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.eps-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.eps-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.eps-speed-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(124, 58, 237, 0.25);
  color: #A78BFA;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.eps-counter-value {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 800;
  color: #10B981; /* High-tech Neon Emerald / Green */
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.eps-counter-sub {
  font-size: 0.72rem;
  color: #94A3B8;
  font-family: var(--font-body);
  font-weight: 500;
}

.eps-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.eps-footer-stats {
  display: flex;
  gap: 14px;
  color: #CBD5E1;
}

.eps-footer-stats span strong {
  color: #FFFFFF;
}

.eps-mini-claim-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eps-mini-claim-btn:hover {
  background: var(--neon-green);
  border-color: var(--neon-green);
}

/* Card Progress & Stats Grid */
.card-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
}

.card-stat-cell {
  display: flex;
  flex-direction: column;
}

.card-stat-cell .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-stat-cell .val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
}

.protocol-progress-track {
  margin-bottom: 14px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7C3AED 0%, #DB2777 100%);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* ==========================================================================
   ARBITRAGE STREAM ACCORDION & CARDS (MATCHING USER SCREENSHOT)
   ========================================================================== */
.arbitrage-stream-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: 8px;
}

.arbitrage-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.arbitrage-head-left {
  display: flex;
  flex-direction: column;
}

.arbitrage-cat-tag {
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.arbitrage-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.arbitrage-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.arbitrage-toggle-btn:hover {
  background: var(--bg-surface);
  color: var(--text-white);
}

.arbitrage-trades-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Single Trade Card (Inspiration: Exscan Arbitrage Screenshot) */
.exscan-trade-card {
  background: #0B0F19; /* High-contrast tech dark card matching screenshot aesthetic */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  color: #FFFFFF;
  position: relative;
  transition: all 0.25s ease;
}

.exscan-trade-card.new-trade-flash {
  animation: slideInTrade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: rgba(124, 58, 237, 0.5);
}

@keyframes slideInTrade {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Row 1: Exchange Path & Time */
.trade-route-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.exchange-hop-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #E2E8F0;
}

.ex-logo-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  background: #1E293B;
  flex-shrink: 0;
}

.ex-binance { background: #F3BA2F; color: #000; }
.ex-htx { background: #0074FF; color: #FFF; }
.ex-kucoin { background: #0093DD; color: #FFF; }
.ex-bybit { background: #17181E; color: #F7A600; border: 1px solid #333; }
.ex-okx { background: #FFFFFF; color: #000; }

.route-arrow {
  color: #64748B;
  font-size: 0.75rem;
}

.trade-time-ago {
  font-size: 0.7rem;
  color: #64748B;
  font-family: var(--font-mono);
}

/* Row 2: Token Pair & Route & Profit */
.trade-pair-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.token-pair-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.overlapping-icons {
  display: flex;
  align-items: center;
  position: relative;
  width: 32px;
  height: 22px;
}

.tok-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  position: absolute;
  top: 1px;
}

.tok-1 {
  left: 0;
  z-index: 2;
  box-shadow: 0 0 0 1px #0B0F19;
}

.tok-2 {
  left: 12px;
  z-index: 1;
}

.tok-uni { background: #FF007A; color: #FFF; }
.tok-atom { background: #2E3148; color: #6F7390; border: 1px solid #4B5267; }
.tok-dot { background: #E6007A; color: #FFF; }
.tok-near { background: #000000; color: #FFF; border: 1px solid #333; }
.tok-shib { background: #FFA409; color: #FFF; }
.tok-link { background: #375BD2; color: #FFF; }
.tok-btc { background: #F7931A; color: #FFF; }
.tok-sol { background: #9945FF; color: #FFF; }
.tok-eth { background: #627EEA; color: #FFF; }

.pair-symbol-text {
  display: flex;
  flex-direction: column;
}

.pair-names {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.pair-subroute {
  font-size: 0.66rem;
  color: #64748B;
  font-family: var(--font-mono);
}

.trade-profit-right {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-mono);
}

.profit-dollar {
  color: #38BDF8; /* Sky Cyan profit as in screenshot */
  font-size: 0.95rem;
  font-weight: 700;
}

.profit-percent {
  color: #38BDF8;
  font-size: 0.72rem;
  opacity: 0.85;
}

/* Row 3: Metrics 3 Columns (Amount / Fee / Result) */
.trade-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-col {
  display: flex;
  flex-direction: column;
}

.metric-col .m-label {
  font-size: 0.65rem;
  color: #64748B;
  margin-bottom: 2px;
}

.metric-col .m-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #E2E8F0;
}

/* Empty State */
.empty-protocols-box {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-surface);
  border: 2px dashed var(--border-subtle);
  border-radius: 16px;
  margin-bottom: 20px;
}

.empty-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.empty-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.empty-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--neon-green);
  color: #FFFFFF;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ==========================================================================
   ERROR PAGES STYLING (404, 500, 419)
   ========================================================================== */
.error-page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px 40px;
  min-height: calc(100% - 60px);
}

.error-hero-art {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.error-watermark-number {
  font-family: var(--font-heading);
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.18) 0%, rgba(219, 39, 119, 0.04) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  filter: drop-shadow(0 4px 20px rgba(124, 58, 237, 0.12));
}

.error-watermark-500 {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.22) 0%, rgba(245, 158, 11, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-watermark-419 {
  background: linear-gradient(180deg, rgba(219, 39, 119, 0.22) 0%, rgba(124, 58, 237, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-icon-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -36px;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.15);
  position: relative;
  z-index: 2;
  color: var(--neon-green);
}

.error-avatar-500 {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.error-avatar-419 {
  border-color: rgba(219, 39, 119, 0.3);
  box-shadow: 0 10px 25px rgba(219, 39, 119, 0.15);
  color: var(--neon-cyan);
}

.error-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(124, 58, 237, 0.08);
  color: var(--neon-green);
  border: 1px solid rgba(124, 58, 237, 0.2);
  margin-bottom: 12px;
}

.error-badge-500 {
  background: #FEF2F2;
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.25);
}

.error-badge-419 {
  background: #FDF2F8;
  color: #DB2777;
  border-color: rgba(219, 39, 119, 0.25);
}

.error-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 8px;
}

.error-message {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 320px;
}

/* Telemetry Card */
.error-telemetry-card {
  width: 100%;
  background: #0B0F19; /* High-contrast technical card */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  color: #FFFFFF;
  text-align: left;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tele-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tele-title {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tele-status-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
}

.tele-status-404 {
  background: rgba(124, 58, 237, 0.2);
  color: #C084FC;
}

.tele-status-419 {
  background: rgba(219, 39, 119, 0.2);
  color: #F472B6;
}

.tele-grid-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.tele-item {
  display: flex;
  flex-direction: column;
}

.tele-k {
  color: #64748B;
  font-size: 0.65rem;
  margin-bottom: 2px;
}

.tele-v {
  color: #E2E8F0;
  word-break: break-all;
}

/* Actions */
.error-actions-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.error-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #7C3AED 0%, #DB2777 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
}

.error-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
}

.error-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.error-btn-secondary:hover {
  background: var(--bg-surface);
  border-color: rgba(124, 58, 237, 0.3);
}

.error-footer-help {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.error-footer-help a {
  color: var(--neon-green);
  font-weight: 600;
}

.text-neon-green { color: #7C3AED !important; }
.text-neon-cyan { color: #DB2777 !important; }
.text-white { color: #0F172A !important; }

/* Responsive view on native mobile devices */
@media (max-width: 500px) {
  .desktop-preview-toolbar {
    display: none;
  }
  
  .device-wrapper {
    padding: 0;
    min-height: 100vh;
    background: var(--bg-core);
  }

  .smartphone-frame {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .frame-buttons-left, .frame-buttons-right {
    display: none;
  }
}

/* =====================================================================
   Zelqonix — components that had markup but no styles (2026-11-12)
   ===================================================================== */

/* --- Shared: purple hero cards (dashboard, partners, withdraw) ----------- */
.partners-hero-card,
.withdraw-balance-card {
  position: relative;
  background: linear-gradient(135deg, #6D28D9 0%, #A21CAF 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(109, 40, 217, 0.30);
  margin-bottom: 20px;
  overflow: hidden;
  color: #FFFFFF;
}
.partners-hero-card .metric-val {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #FFFFFF !important;
}
.hero-balance-card .hero-metrics-grid,
.partners-hero-card .hero-metrics-grid {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.rate-badge { white-space: nowrap; }

/* Strips inside the dashboard hero (white text on the purple gradient) */
.hero-strip {
  margin-top: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  font-size: 0.72rem;
  color: #FFFFFF;
}
.hero-strip-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hero-strip-label { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #FFFFFF; }
.hero-strip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6EE7B7; box-shadow: 0 0 6px #6EE7B7;
  animation: pulseRate 1.4s infinite;
}
.hero-strip-value { font-family: var(--font-mono); font-weight: 800; color: #FFFFFF; }
.hero-strip-note { margin-top: 4px; color: rgba(255, 255, 255, 0.80); line-height: 1.4; }
.hero-strip-link { border-style: dashed; }
.hero-strip-link a { color: #FFFFFF; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* --- Dashboard: live trade feed ----------------------------------------- */
.live-trades-stream-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 4px 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.stream-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid #F1F5F9;
}
.stream-row:last-child { border-bottom: 0; }
.row-left { display: flex; flex-direction: column; gap: 4px; }
.pair-text { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.82rem; color: var(--text-white); }
.badge-leverage {
  width: fit-content;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  color: var(--neon-green); background: var(--neon-green-subtle);
  border: 1px solid var(--border-accent); border-radius: 6px; padding: 1px 6px;
}
.row-mid { text-align: center; }
.price-txt { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-primary); }
.row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.pnl-txt { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 800; }
.pnl-txt.pos { color: #059669; }
.pnl-txt.neg { color: #DC2626; }
.time-txt { font-size: 0.65rem; color: var(--text-muted); }

/* --- Deposit form ------------------------------------------------------- */
.deposit-quick-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.preset-pill {
  border: 1px solid var(--border-subtle); background: #FFFFFF; color: var(--text-secondary);
  border-radius: 20px; padding: 6px 11px; font-size: 0.72rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); transition: all 0.15s ease;
}
.preset-pill:hover { border-color: var(--border-accent); color: var(--neon-green); }
.preset-pill.active { background: var(--neon-green-subtle); border-color: var(--border-accent); color: var(--neon-green); }

/* --- Deposit instructions ----------------------------------------------- */
.order-id-badge {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: var(--neon-green); background: var(--neon-green-subtle);
  border: 1px solid var(--border-accent); border-radius: 10px; padding: 3px 8px;
}
.countdown-hero-box {
  background: linear-gradient(135deg, #6D28D9 0%, #A21CAF 100%);
  color: #FFFFFF; border-radius: 20px; padding: 16px 18px; margin-bottom: 14px;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.28);
}
.countdown-top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.status-indicator-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.30);
  padding: 4px 10px; border-radius: 20px;
}
.pulse-ring-dot { width: 7px; height: 7px; border-radius: 50%; background: #6EE7B7; box-shadow: 0 0 6px #6EE7B7; animation: pulseRate 1.4s infinite; }
.timer-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.80); }
.timer-digits-display { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 10px; font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; }
.time-colon { opacity: 0.6; }
.timer-progress-track { height: 6px; background: rgba(255, 255, 255, 0.22); border-radius: 6px; overflow: hidden; }
.timer-progress-fill { height: 100%; background: #FFFFFF; border-radius: 6px; transition: width 1s linear; }
.timer-footnote { margin-top: 8px; font-size: 0.68rem; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }

.deposit-summary-box {
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 14px 16px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.summary-top-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sum-label { display: block; font-size: 0.68rem; color: var(--text-secondary); }
.sum-amount-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.sum-amount { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 800; color: var(--text-white); }
.copy-small-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.65rem; font-weight: 700; color: var(--neon-green);
  background: var(--neon-green-subtle); border: 1px solid var(--border-accent);
  border-radius: 8px; padding: 4px 8px; cursor: pointer;
}
.asset-pill-highlight {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 8px 10px;
}
.asset-pill-highlight strong { display: block; font-size: 0.85rem; color: var(--text-white); }
.mini-asset-icon {
  width: 30px; height: 30px; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.net-tag { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; color: var(--text-secondary); }
.qr-card-heading { display: block; text-align: center; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: 10px; }
.qr-container-outer { display: flex; justify-content: center; margin-bottom: 12px; }
.qr-box { width: 200px; height: 200px; padding: 10px; background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 14px; }
.address-copy-group {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-surface); border: 1px dashed var(--border-accent); border-radius: 12px; padding: 10px 12px;
}
.address-copy-group .address-text-code { flex: 1; min-width: 0; word-break: break-all; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-white); }
.copy-icon-btn {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #DB2777); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.network-warning-box {
  display: flex; gap: 10px; margin: 14px 0; padding: 12px 14px;
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 14px;
  font-size: 0.74rem; line-height: 1.45; color: #92400E;
}
.warn-icon { font-size: 1.1rem; line-height: 1; }
.warn-body strong { display: block; margin-bottom: 3px; font-size: 0.72rem; letter-spacing: 0.3px; }
.instructions-accordion {
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 14px 16px; margin-bottom: 14px;
}
.instructions-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--text-white); margin-bottom: 6px; }
.step-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid #F1F5F9; }
.instructions-title + .step-item { border-top: 0; }
.step-num {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--neon-green-subtle); color: var(--neon-green);
  font-weight: 800; font-size: 0.78rem; display: flex; align-items: center; justify-content: center;
}
.step-info strong { display: block; font-size: 0.82rem; color: var(--text-white); margin-bottom: 2px; }
.step-info p { font-size: 0.74rem; color: var(--text-secondary); line-height: 1.45; }
.mempool-radar-box {
  background: var(--bg-surface); border: 1px dashed var(--border-accent); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 20px;
}
.radar-header { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.8rem; color: var(--neon-green); }
.radar-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 6px #10B981; animation: pulseRate 1.4s infinite; }
.radar-sub { font-size: 0.72rem; color: var(--text-secondary); margin-top: 4px; line-height: 1.4; }

/* --- Withdraw balance card ---------------------------------------------- */
.w-card-top-row { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.w-card-lbl { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.w-card-pill {
  font-size: 0.65rem; font-weight: 700; color: #FFFFFF;
  background: rgba(255, 255, 255, 0.20); border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px; padding: 3px 9px;
}
.w-card-main-val { position: relative; display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.w-currency-sym { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: rgba(255, 255, 255, 0.90); }
.withdraw-balance-card .w-digits { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: #FFFFFF; }
.w-code { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-left: 2px; }
.w-card-rules-row {
  position: relative; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.90);
  background: rgba(0, 0, 0, 0.16); border-radius: 10px; padding: 7px 10px;
}
.w-card-rules-row strong { color: #FFFFFF; }

/* --- Bind wallet -------------------------------------------------------- */
.enclave-notice-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--neon-green-subtle); border: 1px solid var(--border-accent); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 16px;
}
.enclave-shield-icon { font-size: 1.3rem; line-height: 1; }
.enclave-body strong { display: block; font-size: 0.72rem; letter-spacing: 0.3px; color: var(--neon-green); margin-bottom: 3px; }
.enclave-body p { font-size: 0.74rem; color: var(--text-primary); line-height: 1.45; }
.otp-input-group { display: flex; gap: 8px; align-items: stretch; }
.otp-input-group .custom-text-input { flex: 1; min-width: 0; }
.resend-otp-btn {
  flex-shrink: 0; border: 1px solid var(--border-accent); background: var(--neon-green-subtle); color: var(--neon-green);
  border-radius: 10px; padding: 8px 12px; font-size: 0.74rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body);
}
.resend-otp-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- Partners ----------------------------------------------------------- */
.share-link-card {
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 14px 16px; margin-bottom: 20px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.share-card-title { display: block; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.link-copy-container { display: flex; gap: 8px; }
.link-copy-container input {
  flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-primary);
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 9px 10px; outline: none;
}
.copy-btn-action {
  flex-shrink: 0; border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #DB2777); color: #FFFFFF; font-weight: 700; font-size: 0.78rem;
  font-family: var(--font-body);
}
.ref-code-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 0.75rem; color: var(--text-secondary); }
.ref-code-tag-row strong { font-family: var(--font-mono); color: var(--neon-green); }
.tag-status {
  font-size: 0.62rem; font-weight: 700; color: #059669;
  background: rgba(16, 185, 129, 0.10); border: 1px solid rgba(16, 185, 129, 0.25); border-radius: 10px; padding: 2px 8px;
}
.commission-tiers-grid { display: flex; flex-direction: column; gap: 8px; }
.comm-tier-row-clickable {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 11px 14px;
  text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease;
}
.comm-tier-row-clickable:hover { border-color: var(--border-accent); transform: translateY(-1px); }
.tier-left-col { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tier-number-badge {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 800;
  background: var(--neon-green-subtle); color: var(--neon-green); border: 1px solid var(--border-accent);
}
.tier-info-text { display: flex; flex-direction: column; min-width: 0; }
.tier-level-title { font-weight: 700; font-size: 0.84rem; color: var(--text-white); }
.tier-members-count { font-size: 0.68rem; color: var(--text-secondary); line-height: 1.35; }
.tier-right-col { display: flex; align-items: center; gap: 6px; color: var(--text-muted); flex-shrink: 0; }
.tier-percentage-rate { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 800; }

/* --- Partner level roster ----------------------------------------------- */
.level-tabs-scroll { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.level-tabs-scroll::-webkit-scrollbar { display: none; }
.level-tab-btn {
  flex-shrink: 0; text-decoration: none; font-size: 0.74rem; font-weight: 700; color: var(--text-secondary);
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 20px; padding: 6px 12px;
}
.level-tab-btn.active { background: linear-gradient(135deg, #7C3AED, #DB2777); color: #FFFFFF; border-color: transparent; }
.search-input-wrap {
  display: flex; align-items: center; gap: 8px; color: var(--text-muted);
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 9px 12px;
}
.search-input-wrap input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-family: var(--font-body); font-size: 0.82rem; color: var(--text-primary); }
.members-roster-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.member-roster-card { background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 12px 14px; }
.member-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.member-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.member-avatar-circle {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7C3AED, #DB2777); color: #FFFFFF; font-weight: 800;
}
.member-status-badge { font-size: 0.65rem; font-weight: 700; border-radius: 10px; padding: 3px 8px; white-space: nowrap; }
.member-status-badge.active { color: #059669; background: rgba(16, 185, 129, 0.10); border: 1px solid rgba(16, 185, 129, 0.25); }
.member-status-badge.inactive { color: var(--text-secondary); background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.member-specs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 10px; border-top: 1px solid #F1F5F9; }
.member-specs-row > div { display: flex; flex-direction: column; gap: 2px; }

/* --- Misc --------------------------------------------------------------- */
.asset-status { margin-left: auto; flex-shrink: 0; }
.lang-quick-pick-btn { transition: border-color 0.15s ease, transform 0.15s ease; }
.lang-quick-pick-btn:hover { border-color: var(--border-accent) !important; transform: translateY(-1px); }
.nav-back-circle-btn { text-decoration: none; }

/* --- Layout fixes from the screenshot pass ------------------------------ */
/* "Most popular": a corner tab instead of a rotated ribbon that covered the rate */
.popular-ribbon { top: 0; right: 18px; transform: none; padding: 3px 10px; border-radius: 0 0 8px 8px; letter-spacing: 0.6px; }
.plan-tier-card.featured .tier-card-header { padding-top: 10px; }
.badge-tag, .tag-status, .wallet-badge { white-space: nowrap; }
/* Contact cards: one column so emails and hours never break mid-word */
.support-channels-grid { grid-template-columns: 1fr; }
.sup-val { word-break: normal; overflow-wrap: anywhere; }
/* Wallet rules line: wrap between items, never inside one */
.wallet-rules-badge { flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.wallet-rules-badge > span { white-space: nowrap; }
/* Network warning: only the heading is a block, bold words in the sentence stay inline */
.warn-body strong { display: inline; margin: 0; font-size: inherit; letter-spacing: 0; }
.warn-body > strong { display: block; margin-bottom: 3px; font-size: 0.72rem; letter-spacing: 0.3px; }
.radar-header { justify-content: flex-start; }
.member-specs-row .spec-k { font-size: 0.66rem; color: var(--text-secondary); }
.member-specs-row .spec-v { font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; color: var(--text-white); }
.member-specs-row .spec-v.text-neon-green { color: #059669 !important; }
#statusPill { white-space: nowrap; }
button, input, select, textarea { font-family: inherit; }
