.pdf-jello-modal {
    --jello-modal-width: 50%;
    --jello-modal-height: 100%;
}

.document-load-error-alert {
    margin-block: var(--jello-spacing-large);
}

.viewer-wrapper {
    display: flex;
    flex-direction: column;
}

.pdf-wrapper {
    display: flex;
    padding: var(--jello-spacing-large);
    justify-content: center;
}

.pdf-viewer {
    overflow: auto;
}

.viewer-tools-wrapper {
    background-color: var(--jello-color-background-base);
    border-bottom: var(--jello-border-width-small) solid
        var(--jello-color-border-neutral);
    padding: var(--jello-spacing-large) 0;
    position: sticky;
    top: 0;
    z-index: var(--jello-z-index-menu);
}

.viewer-tools {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--jello-spacing-tiny);
}

.viewer-button {
    cursor: pointer;
}

.viewer-tools-pages {
    font-size: var(--jello-font-size-tiny);
}

.viewer-tools-zoom-scale {
    padding: var(--jello-spacing-tiny) var(--jello-spacing-small);
    border-radius: var(--jello-border-radius-small);
    background: black;
    color: white;
    font-size: var(--jello-font-size-tiny);
}

.viewer-tools-spacer {
    color: var(--jello-color-foreground-secondary);
    margin: 0 var(--jello-spacing-small);
}

.viewer-tools-download-button {
    display: flex;
    background: white;
}

.page-container {
    border: var(--jello-border-width-small) solid
        var(--jello-color-border-neutral);
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.pdf-canvas {
    display: block;
    margin: 0 auto;
}

.annotation {
    position: absolute;
}

.annotation a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    background-color: transparent;
}

.jello-loading {
    color: var(--jello-color-foreground-highlight-base);
    padding: var(--jello-spacing-huge);
}

.loading-wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
}

.loading-wrapper.hidden {
    display: none !important;
}
