.pdf-viewer {
    border-radius: 4px;
    position: relative;
}


.pdf-wrapper {
    position: relative;
    overflow: auto;
    max-height: 90vh;
    min-height: 0;
    width: 625px;
    background: #fff;
}

#pdf__page-count {
    min-width: 1.5em;
    display: inline-block;
    text-align: right;
}

.pdf-text-layer {
    pointer-events: none;
    /* to prevent interference with other UI */
    color: transparent;
}

.pdf-text-layer span {
    position: absolute;
    white-space: pre;
    transform-origin: 0% 0%;
    line-height: 1;
}

.pdf-controls {
    /* position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #eee; */

    position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, white, rgb(242, 246, 246));
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 .5rem .5rem;
}

.pdf-viewer-inner {
    /* height: 98vh; */
    width: 100%;
}

#ar-pdf {
    width: 625px;
    min-width: 512px;
}

.pdf-page {
    position: relative;
}

.pdf-page::after {
    content: attr(data-page-number);
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: #237284;
    padding: 0px 1em;
    font-size: 0.6em;
    font-weight: 600;
    color: #fff;
    border-radius: 0 0 2em 2em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    opacity: 0.5;
    padding-bottom: .2em;
}

.pdf-page canvas {
    box-shadow: 0.25em 0.25em 0.3em rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: .3rem;
}