article .text-wrap img,
#article-content img,
.agreements img {
    cursor: zoom-in;
}

.doc-image-preview {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.doc-image-preview.is-active {
    display: flex;
}

.doc-image-preview__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.doc-image-preview__body {
    position: relative;
    z-index: 1;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
}

.doc-image-preview__body img {
    display: block;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 96px);
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.doc-image-preview__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

.doc-image-preview__close:hover {
    background: rgba(0, 0, 0, 0.85);
}
