.misticeasearc-pdf-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.2);
  backdrop-filter: brightness(0.2);
  -webkit-backdrop-filter: brightness(0.2);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}


.misticeasearc-pdf-container {
  position: relative;
  background: #000;
  width: 80vw;
  height: 80vh;
  overflow: visible;
  box-sizing: border-box;
}


@media screen and (max-width: 768px) {
  .misticeasearc-pdf-container {
    width: 90vw;
    height: 90vh;
  }
}
@media screen and (max-width: 480px) {
  .misticeasearc-pdf-container {
    width: 95vw;
    height: 95vh;
  }
}


.misticeasearc-pdf-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    z-index: 999999;
    background: rgba(0,0,0,0.93);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.misticeasearc-pdf-close:hover {
  background: rgba(0,0,0,0.7);
}


.misticeasearc-pdf-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

@media (hover:hover) and (pointer:fine) {
  .misticeasearc-pdf-close {
    display: none;
  }
  .misticeasearc-pdf-container:hover .misticeasearc-pdf-close {
    display: flex;
  }
}