/* ==========================================================================
   Left Navigation Sidebar Component
   ========================================================================== */

.left-brand {
  padding: 1.25rem 1.15rem 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.left-brand-coin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 20%, #b45309 85%);
  border: 2px solid #fbbf24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 18px;
}

.left-brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.left-brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Active Account Card Pill in Sidebar */
.left-account-pill {
  margin: 0.85rem 0.9rem 0.65rem 0.9rem;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.left-account-pill:hover {
  border-color: var(--border-light);
  background: rgba(0, 0, 0, 0.5);
}

.left-acc-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.left-acc-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.left-acc-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.left-acc-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.left-acc-arrow {
  color: var(--text-muted);
  font-size: 10px;
}

/* Dual Launch Group (Camoufox Desktop & Web Tab) */
.left-nav-launch-group {
  margin: 0 0.85rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.btn-open-camoufox-main {
  width: 100%;
  padding: 0.55rem 0.8rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(234, 88, 12, 0.08));
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fb923c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.btn-open-camoufox-main:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.32), rgba(234, 88, 12, 0.18));
  border-color: #f97316;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.btn-camoufox-icon {
  font-size: 1.25rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.5));
}

.btn-camoufox-text {
  display: flex;
  flex-direction: column;
}

.btn-camoufox-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
}

.btn-camoufox-sub {
  font-size: 0.68rem;
  color: #fed7aa;
  opacity: 0.85;
}

.btn-close-manual {
  padding: 0.4rem 0.75rem;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #f87171;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.btn-close-manual:hover {
  background: rgba(248, 113, 113, 0.18);
}

.btn-close-manual svg {
  width: 13px;
  height: 13px;
}

.btn-open-game-tab {
  padding: 0.45rem 0.75rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-open-game-tab:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
  color: #fff;
}


/* Navigation Links List */
.left-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0.65rem;
  flex: 1;
}

.left-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.48rem 0.75rem;
  color: var(--text-secondary);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.left-menu-item-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.left-menu-item .menu-icon {
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.left-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.left-menu-item.active {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  font-weight: 700;
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.left-menu-item.active .badge-esc {
  display: inline-block;
}

.badge-esc {
  display: none;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
}

.menu-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.65rem 0.5rem;
}

/* Left Footer */
.left-footer {
  padding: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.left-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-pill-footer {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}

.pro-badge {
  text-align: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 4px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* Piracy captcha hold (the bot could not solve the captcha) */
.captcha-hold-banner {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 0.74rem;
  line-height: 1.4;
}
.captcha-hold-banner.is-check { color: var(--text-secondary); border-color: var(--border-subtle); background: transparent; }
.captcha-hold-title { font-weight: 700; margin-bottom: 4px; }
.captcha-hold-text { color: var(--text-secondary); }
.btn-captcha-solved {
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.5);
  background: transparent;
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-captcha-solved:disabled { opacity: 0.55; cursor: not-allowed; }
