/* Backdrop overlay */
#pdfBackdrop {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Modal window */
.pdf-modal {
  display: none;
  position: fixed;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: #fff;
  border: 2px solid #444;
  z-index: 1000;
  resize: both;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Header (drag handle) */
.pdf-modal-header {
  background: #444;
  color: #fff;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
}

.pdf-modal-header button {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.pdf-modal-header button:hover {
  color: #ff6666;
}

/* PDF iframe */
.pdf-modal iframe {
  border: none;
  width: 100%;
  height: calc(100% - 30px);
}

/* Inline link style */
a.pdf-link {
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
}

a.pdf-link:hover {
  color: #004999;
}
