body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

#pdf-container {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 10px;
}

canvas {
  width: 100% !important;   /* makes it responsive */
  height: auto !important;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page {
  position: relative;
  margin-bottom: 20px;
}

canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.annotationLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.annotationLayer a {
  position: absolute;
}