html, body {
  min-height: 100%;
}

#pageList .page-item {
  cursor: grab;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.24);
  border-radius: 0.75rem;
}

.light-mode #pageList .page-item {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(15, 23, 42, 0.1);
}

#pageList .page-item:active {
  cursor: grabbing;
}

#pageList .page-item.active {
  outline: 1px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25) inset;
}

#viewerWrap,
#pageList,
#pdfTextEditList {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

#viewerWrap::-webkit-scrollbar,
#pageList::-webkit-scrollbar,
#pdfTextEditList::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

#viewerWrap::-webkit-scrollbar-thumb,
#pageList::-webkit-scrollbar-thumb,
#pdfTextEditList::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

#viewerWrap::-webkit-scrollbar-track,
#pageList::-webkit-scrollbar-track,
#pdfTextEditList::-webkit-scrollbar-track {
  background: transparent;
}
