/* Panel oscuro que simula un visor de PDF. */
.senapi-pdf-protegido {
  max-width: 100%;
  max-height: 85vh;
  margin: 1rem auto;
  padding: 1.5rem 1rem;
  overflow-y: auto;
  background: #323639;
  border-radius: 4px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.senapi-pdf-protegido__page {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  background: #fff;
  line-height: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.senapi-pdf-protegido__page:last-child {
  margin-bottom: 0;
}

.senapi-pdf-protegido__page img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  pointer-events: none;
}

.senapi-pdf-protegido__empty {
  margin: 0;
  color: #fff;
  text-align: center;
}

/* Barra de desplazamiento acorde al panel oscuro. */
.senapi-pdf-protegido {
  scrollbar-color: #8a8d90 #323639;
}

@media (max-width: 767px) {
  .senapi-pdf-protegido {
    padding: 0.75rem 0.5rem;
  }
}

/* Al imprimir no se muestra el documento. */
@media print {
  .senapi-pdf-protegido {
    display: none !important;
  }
}
