/* scrollbar.css - Universal Premium Scrollbar (Dark UI Optimized) */

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #4f46e5 rgba(255, 255, 255, 0.05);
}

/* Chrome / Edge / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px; /* Slightly thinner for a cleaner look */
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02); /* Very subtle track */
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4f46e5, #818cf8);
  border-radius: 20px;
  border: 2px solid transparent; /* Gives a floating effect */
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #818cf8, #4f46e5);
}

/* Sidebar Customization (if applicable) */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
