/* ===================================
   MINIMAL SCROLLBAR STYLES
   Ultra-thin, minimalist scrollbars
   =================================== */

/* Global minimal scrollbar styles */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Webkit Scrollbars - 2px width */
::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 1px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Consistent 2px width for all scrollbars */
.scrollbar-thin::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

/* Hidden scrollbars utility */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

/* Hide scrollbar in sidebar */
.sidebar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

/* Dark theme support - white scrollbars */
[data-theme="dark"] * {
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
