/* ============================================
   DISCOIN Dashboard UI Fixes v2
   ============================================ */

/* --- FIX 2: Mobile Sidebar (< 960px = ~10") --- */
@media (max-width: 960px) {
  /* Hide desktop sidebar by default */
  .fixed.top-0.left-0.bottom-0.z-\[150\] {
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    width: 260px !important;
  }

  .fixed.top-0.left-0.bottom-0.z-\[150\].mobile-open {
    transform: translateX(0) !important;
  }

  /* Full width main content */
  main.pt-\[64px\].min-h-screen,
  main[class*="pt-["] {
    padding-left: 0 !important;
  }

  /* Show mobile hamburger */
  .mobile-hamburger {
    display: flex !important;
  }
}

@media (min-width: 961px) {
  .mobile-hamburger {
    display: none !important;
  }
  .mobile-overlay {
    display: none !important;
  }
}

/* --- FIX 3b: Sidebar toggle inside sidebar --- */
.sidebar-toggle-inside {
  position: absolute !important;
  bottom: 16px !important;
  right: 16px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  color: white !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  z-index: 10 !important;
  border: none !important;
}
.sidebar-toggle-inside:hover {
  background: rgba(255,255,255,0.2) !important;
}

/* --- FIX 4: Ensure avatars are plain --- */
[style*="linear-gradient(135deg,#6366f1"] {
  background: #f0f2f5 !important;
  color: #003087 !important;
  border: 2px solid #e5e9ed !important;
  box-shadow: none !important;
}

