apps/web/styles/globals.css
@import "../../../packages/tailwind-config/themes.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Hide the react-medium-image-zoom unzoom button */
[data-rmiz-btn-unzoom] {
  visibility: hidden;
}

code {
  counter-reset: step;
  counter-increment: step 0;
}

code .line::before {
  content: counter(step);
  counter-increment: step;
  width: 1rem;
  padding-right: 1.5rem;
  display: inline-block;
  position: sticky;
  left: 0;
  background-color: white;
  text-align: right;
  color: rgba(115, 138, 148, 0.4);
}

/* Hide the default number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

/* Implement a custom scrollbar to preventing ugly looking scroll-overflows */
.dub-scrollbar {
  scrollbar-width: auto;
  scrollbar-color: #d1d5db #ffffff;
}

.dub-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

.dub-scrollbar::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 10px;
}

/* Override Sonner toast border radius from 8px to 10px (Tailwind rounded-2xl) */
[data-sonner-toast] {
  border-radius: 10px !important;
}
