:root {
  --dg-header-height: 64px;
}

body {
  margin: 0;
}

[data-overlay='true'] {
  overflow-y: hidden;
}

.fade-enter-active,
.fade-leave-active {
  transition: all 0.1s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
  translate: 0 0.5rem;
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0) transparent;
}

.custom-scrollbar:hover {
  scrollbar-color: rgba(0, 0, 0, 0.6) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 0px;
}

.custom-scrollbar:active::-webkit-scrollbar,
.custom-scrollbar:hover::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

/* Enabling breaklines for the description text */
.pathway-checklist-item-description p:empty {
  min-height: 1.5rem;
}

#dg-tooltip::before {
  background-color: rgb(37 38 41 / 1);
}

#dg-tooltip {
  background-color: rgb(37 38 41 / 1);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

#dg-icon-sprite-inject {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
