@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ---------------------------------------------------------------------------
   Scrollbars — themed instead of the raw OS default, so a dark page doesn't
   carry a stark white scrollbar (or vice versa). Firefox via scrollbar-color,
   Chrome/Safari/Edge via the ::-webkit-scrollbar-* pseudo-elements. Colors
   come from Mantine's dark palette so they track the active color scheme
   instead of a fixed gray.
   --------------------------------------------------------------------------- */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--mantine-color-gray-5) transparent;
}
[data-mantine-color-scheme='dark'] * {
  scrollbar-color: var(--mantine-color-dark-3) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: var(--mantine-color-gray-5);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--mantine-color-gray-6);
}
[data-mantine-color-scheme='dark'] ::-webkit-scrollbar-thumb {
  background-color: var(--mantine-color-dark-3);
}
[data-mantine-color-scheme='dark'] ::-webkit-scrollbar-thumb:hover {
  background-color: var(--mantine-color-dark-2);
}
