.pdf-inner {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: rgba(30,30,30,0.9);
  transform: scale(1.2);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  pointer-events: none;
  scrollbar-width: none;
  padding: 30px;
}

.pdf-container.active .pdf-inner {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.pdf-container::-webkit-scrollbar {
  display: none;
}

.pdf-canvas {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.pdf-canvas canvas {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.pdf-controls .prev,
.pdf-controls .next{
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    background: rgba(30,30,30,.6);
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    color: #ccc;
    transition: color .2s;
}

.pdf-controls svg {
    display: block;
    height: 100%;
    overflow: visible;
    position: relative;
    width: 100%;
}

.pdf-controls .next {
    left: auto;
    right: 10px;
}

.pdf-page {
    position: absolute;
    z-index: 5;
    top: 10px;
    left: 10px;
    color: #ccc;
    font-size: 13px;
    height: 44px;
    line-height: 44px;
    min-width: 44px;
    padding: 0 10px;
    pointer-events: none;
    user-select: none;
}

.pdf-close {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    background: rgba(30,30,30,.6);
    width: 44px;
    height: 44px;
    padding: 10px;
    color: #ccc;
    transition: color .2s;
}

.pdf-close:hover,
.pdf-controls .next:hover,
.pdf-controls .prev:hover {
  color: #fff;
}

@media (min-width: 1440px) {
  .pdf-controls .prev,
  .pdf-controls .next,
  .pdf-close {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 767px) {
  .pdf-controls .prev,
  .pdf-controls .next{
    display: none;
  }
}
