#pdf-container {
  border: 1px solid #ccc;
  background: white;
  position: relative;
  width: 800px;
  height: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.pdf-page {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  overflow: visible;
}
.pdf-page.active {
  display: block;
}
.overlay-text,
.highlight,
.overlay-image-wrapper {
  position: absolute;
  cursor: move;
  user-select: text;
}
.overlay-text {
  border: 1px dashed transparent;
  padding: 2px 4px;
  min-width: 50px;
  min-height: 20px;
  background: rgba(255, 255, 255, 0.7);
  color: black;
  font-family: Arial, sans-serif;
  font-size: 16px;
  overflow-wrap: break-word;
}
.overlay-text:focus {
  outline: 1px solid #007bff;
  border-color: #007bff;
}
.highlight {
  background: yellow;
  opacity: 0.5;
}
.overlay-image-wrapper img {
  max-width: 150px;
  max-height: 150px;
  pointer-events: none;
}
.erase-button {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
}
.drawing-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  cursor: crosshair;
}
#toolbar {
  margin-bottom: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}