.apexcharts-legend-series .apexcharts-legend-marker {
  left: -4px !important;
  right: -4px !important;
}

.apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series,
.apexcharts-legend.apx-legend-position-top .apexcharts-legend-series {
  gap: 8px;
}

.apexcharts-legend-series {
  display: flex;
  gap: 8px;
}

.cell-center {
  text-align: center;
}
.cell-center > * {
  margin: 0 auto;
}
.cell-right {
  text-align: right;
}
.cell-right > * {
  margin: 0 0 0 auto;
}

/* Global styles with more targeted scrollbar control */

/* Hide horizontal scrollbar on main content only, not navigation */

#mainWrapper, #mainContainer, .welcome {
  overflow-x: hidden !important;
}

/* Allow proper scrolling for navigation menus */

.MuiDrawer-paper {
  overflow-x: hidden !important;
  /* Remove scrollbar display but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */

.MuiDrawer-paper::-webkit-scrollbar {
  display: none;
}

/* Custom scrollbar styling for browsers that support it (only for main content) */

#mainContainer::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#mainContainer::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

#mainContainer::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

#mainContainer::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Apply to Firefox scrollbars for main content */

#mainContainer {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}

/* Smooth scrolling for the entire page */

html {
  scroll-behavior: smooth;
}

/* Prevent content jumps when scrollbars appear/disappear */

/*html {*/

/*  overflow-y: scroll;*/

/*}*/

/* Handle page transitions */

.page-transition-active {
  overflow: hidden !important;
}

/* Target specific components to hide scrollbars without affecting functionality */

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.mdxeditor-popup-container {
  z-index: 9999;
}

/* Ensure the content area has enough content to test scrolling */

.mdx-editor-content {
  padding: 16px !important;
  line-height: 1.6 !important;
  min-height: 800px !important; /* Force enough height to ensure scrolling is needed */
}

/* Style the sticky toolbar */

.mdxeditor-toolbar {
  background: white !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/*
div[role='listbox'] {
  z-index: 2000 !important;
} */


/*# sourceMappingURL=main.css.map*/