.top-bar {
  background: #333;
  color: #fff;
  padding: 1rem;
}

.btn {
  background: coral;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.7rem 2rem;
}

.btn:hover {
  opacity: 0.9;
}

.page-info {
  margin-left: 1rem;
}

.pdf-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

canvas {
  display: block;
}

.overlay {
  position: absolute;
  /* border: 2px solid red; */
}

.tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px;
  border-radius: 3px;
  display: none;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.modal-content {
  background-color: rgba(
    255,
    255,
    255,
    0.75
  ); /* White background with 80% opacity */
  margin: 2% auto;
  padding: 10px;
  border: 1px solid #888;
  width: 60%;
  height: 80%;
  max-width: 1000px;
  min-width: 300px;
  min-height: 200px;
  position: absolute;
  box-sizing: border-box;
  resize: both;
  overflow: auto;
  cursor: move;
}

#modalImage {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.75; /* Make the image 80% opaque, adjust as needed */
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#modalCanvas {
  max-width: 100%;
  max-height: 400px;
}

.overlay.highlight {
  border-color: orange; /* Orange border */
  background-color: rgba(
    255,
    165,
    0,
    0.5
  ); /* Orange background with 50% opacity */
}
