
/* ========================================
   PDFRoof PDF Editor
======================================== */

.pdf-editor-page .pdf-editor-file {
    max-width: 340px;
}

.pdf-editor-workspace {
    min-height: 260px;
    overflow: auto;
    padding: 20px;
    background: #eef1f5;
    border: 1px solid #d9dee7;
    border-radius: 12px;
}

.pdf-editor-stage {
    position: relative;
    width: max-content;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.pdf-editor-stage canvas {
    display: block;
}

#pdfCanvas {
    position: relative;
    z-index: 1;
}

#overlayCanvas {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.pdf-editor-page .btn:disabled {
    cursor: not-allowed;
}

/* Responsive editor workspace */

@media (max-width: 576px) {
    .pdf-editor-workspace {
        padding: 8px;
    }

    .pdf-editor-page .pdf-editor-file {
        max-width: 100%;
    }
}
