.attachment-image-preview,
.pdfPreviewModal,
.information-request-pdf-preview,
.modal[id^="pdfViewerModal_"] {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.attachment-image-preview.is--visible,
.modal[id^="pdfViewerModal_"].is--visible {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.attachment-preview-toolbar {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    padding: 0 12px;
    background: #474747;
}

.attachment-preview-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.attachment-preview-button:hover,
.attachment-preview-button:focus-visible {
    background: #606060;
}

.attachment-preview-close {
    margin-left: auto;
}

.attachment-preview-body {
    flex: 1 1 0;
    min-height: 0;
    padding: 12px;
    overflow: auto;
    text-align: center;
}

.attachment-preview-body img {
    display: block;
    max-width: none;
    max-height: none;
    margin: 0 auto;
}

.modal[id^="pdfViewerModal_"] > .text-align--center {
    flex: 1 1 0;
    min-height: 0;
    overflow: auto;
}
