/* -----------------------------------------------------------
   PDF MODAL
----------------------------------------------------------- */
.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease-out;
}

.pdf-modal-content {
  background: #f8f9fa;
  padding: 2rem 2rem 1rem 2rem;
  border-radius: 16px;
  max-width: 900px;
  width: 95%;
  height: 95vh;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  animation: slideUp 0.3s ease-out;
  overflow-y: auto;
}

#pdf-container {
  flex: 1;
  overflow-y: auto;
  background: white;
  border-radius: 0;
  box-shadow: none;
  padding: 0 !important;
  margin: 0 !important;
}

#pdf-container canvas {
  display: block;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: white !important;
}

#pdf-container iframe {
  margin: 0;
  padding: 0;
  border: none;
  background: white;
  box-shadow: none;
}

#pdf-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  box-shadow: none;
}

.pdf-modal iframe {
  flex: 1;
  width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
}

@keyframes fadeIn {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
