/* /Components/Shared/DocumentViewerDialog.razor.rz.scp.css */
.document-viewer-header[b-lsv7adjm4b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 8px 16px;
    border-bottom: 1px solid #dee2e6;
    color: #212529;
}

.document-viewer-header h2[b-lsv7adjm4b] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.document-viewer-content[b-lsv7adjm4b] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: min(80dvh, calc(100dvh - 112px));
    padding: 16px;
    overflow: hidden;
}

.document-viewer-frame[b-lsv7adjm4b] {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border: 0;
    background: var(--mud-palette-background-gray);
}

.document-image-toolbar[b-lsv7adjm4b] {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: #383838;
}

.document-image-toolbar button[b-lsv7adjm4b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 4px;
    border: 0;
    border-radius: 3px;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

.document-image-toolbar button:hover:not(:disabled)[b-lsv7adjm4b] {
    background: #555;
}

.document-image-toolbar button:disabled[b-lsv7adjm4b] {
    opacity: .4;
    cursor: default;
}

.document-image-toolbar-divider[b-lsv7adjm4b] {
    width: 1px;
    height: 20px;
    background: #666;
}

.document-image-page[b-lsv7adjm4b],
.document-image-zoom[b-lsv7adjm4b] {
    min-width: 52px;
    text-align: center;
    font-size: .8rem;
}

.document-image-fit[b-lsv7adjm4b] {
    font-size: .8rem;
}

.document-image-stage[b-lsv7adjm4b] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    background: #e9eef4;
}

.document-image-stage img[b-lsv7adjm4b] {
    display: block;
    max-width: none;
    height: auto;
}

@media (max-width: 600px) {
    .document-viewer-content[b-lsv7adjm4b] {
        height: min(76dvh, calc(100dvh - 112px));
        padding: 12px;
    }
}
