/* Custom Scrollbar - Visual Studio Style */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-left: 1px solid #3e3e42;
}

::-webkit-scrollbar-thumb {
  background: #686868;
  border-radius: 0;
  border: 2px solid #1e1e1e;
  min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

::-webkit-scrollbar-thumb:active {
  background: #b4b4b4;
}

::-webkit-scrollbar-corner {
  background: #1e1e1e;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #686868 #1e1e1e;
}

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

/* Alternative: Scrollbar plus subtile pour le body */
body::-webkit-scrollbar-track {
  background: #2d2d30;
}

/* Optionnel: Marques de scroll (comme dans VS) */
.scroll-marker {
  position: fixed;
  right: 2px;
  width: 6px;
  height: 3px;
  background: #007acc;
  opacity: 0.8;
  border-radius: 1px;
  pointer-events: none;
  z-index: 9999;
}

.scroll-marker.error {
  background: #f48771;
}

.scroll-marker.warning {
  background: #cca700;
}

.scroll-marker.info {
  background: #75beff;
}
