#CropPDFTool .cpt-tool-btn:disabled,#CropPDFTool .cpt-tool-canvas-toolbar button:disabled{opacity:0;visibility:hidden;pointer-events:none!important}#CropPDFTool{margin:0 auto;color:#1e293b;box-sizing:border-box;position:relative;-webkit-font-smoothing:antialiased}#CropPDFTool *,#CropPDFTool ::after,#CropPDFTool ::before{box-sizing:inherit}#CropPDFTool .cpt-tool-h2{font-size:2rem;font-weight:700;margin:0 0 .5rem;color:#0f172a}#CropPDFTool .cpt-tool-h3{font-size:1.25rem;font-weight:600;margin:0 0 1rem;color:#0f172a;border-bottom:1px solid #e2e8f0;padding-bottom:.5rem}#CropPDFTool .cpt-tool-p{font-size:1rem;color:#64748b;margin:0 0 1.5rem}#CropPDFTool .cpt-tool-hidden{display:none!important}#CropPDFTool .cpt-tool-btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;border-radius:.5rem;border:none;cursor:pointer;transition:.2s;text-decoration:none}#CropPDFTool .cpt-tool-btn-primary{background:#2563eb;color:#fff;box-shadow:0 4px 6px -1px rgba(37,99,235,.2)}#CropPDFTool .cpt-tool-btn-primary:hover{background:#1d4ed8;transform:translateY(-1px)}#CropPDFTool .cpt-tool-btn-secondary{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1}#CropPDFTool .cpt-tool-btn-secondary:hover{background:#e2e8f0}#CropPDFTool .cpt-tool-btn-danger{background:#fee2e2;color:#ef4444;border:1px solid #fecaca}#CropPDFTool .cpt-tool-btn-danger:hover{background:#fecaca}#CropPDFTool .cpt-tool-btn-icon{padding:.5rem;border-radius:.375rem;background:0 0;border:none;cursor:pointer;color:#64748b}#CropPDFTool .cpt-tool-btn-icon:hover{background:#f1f5f9;color:#0f172a}#CropPDFTool .cpt-tool-btn:disabled{transform:none}#CropPDFTool .cpt-tool-view-upload{max-width:800px;width:50vw;margin:0 auto;text-align:center;background:#fff;border-radius:1rem;box-shadow:0 10px 25px -5px rgba(0,0,0,.05);padding:3rem 2rem;transition:opacity .3s}#CropPDFTool .cpt-tool-dropzone{border:2px dashed #cbd5e1;border-radius:1rem;padding:4rem 2rem;background:#f8fafc;cursor:pointer;transition:.2s;position:relative}#CropPDFTool .cpt-tool-dropzone.cpt-tool-dragover,#CropPDFTool .cpt-tool-dropzone:hover,#CropPDFTool .cpt-tool-file-item.cpt-tool-active{border-color:#2563eb;background:#eff6ff}#CropPDFTool .cpt-tool-upload-icon{width:64px;height:64px;margin:0 auto 1.5rem;color:#94a3b8}#CropPDFTool .cpt-tool-dropzone:hover .cpt-tool-upload-icon{color:#2563eb}#CropPDFTool .cpt-tool-view-editor{max-width:1400px;width:100%;height:calc(100vh - 120px);min-height:600px;margin:0 auto;display:flex;background:#fff;border-radius:1rem;box-shadow:0 10px 25px -5px rgba(0,0,0,.1);overflow:hidden;border:1px solid #e2e8f0}#CropPDFTool .cpt-tool-editor-main{flex:1;background:#1e293b;display:flex;flex-direction:column;position:relative;overflow:hidden}#CropPDFTool .cpt-tool-canvas-toolbar{padding:1rem;background:#0f172a;display:flex;justify-content:center;align-items:center;gap:1rem;color:#fff;z-index:10}#CropPDFTool .cpt-tool-canvas-toolbar button{background:#334155;color:#fff;border:none;padding:.5rem 1rem;border-radius:.25rem;cursor:pointer}#CropPDFTool .cpt-tool-canvas-wrapper{flex:1;position:relative;overflow:auto;display:flex;align-items:center;justify-content:center;padding:2rem}#CropPDFTool .cpt-tool-canvas-inner{position:relative;box-shadow:0 0 20px rgba(0,0,0,.5);cursor:crosshair}#CropPDFTool .cpt-tool-pdf-canvas{display:block;max-width:100%;height:auto}#CropPDFTool .cpt-tool-crop-box{position:absolute;border:2px dashed #3b82f6;background:rgba(59,130,246,.15);cursor:move;z-index:20;box-shadow:0 0 0 9999px rgba(0,0,0,.4)}#CropPDFTool .cpt-tool-crop-handle{position:absolute;width:14px;height:14px;background:#fff;border:2px solid #2563eb;border-radius:50%;z-index:21}#CropPDFTool .cpt-tool-crop-handle.tl{top:-7px;left:-7px;cursor:nwse-resize}#CropPDFTool .cpt-tool-crop-handle.tc{top:-7px;left:calc(50% - 7px);cursor:ns-resize}#CropPDFTool .cpt-tool-crop-handle.tr{top:-7px;right:-7px;cursor:nesw-resize}#CropPDFTool .cpt-tool-crop-handle.ml{top:calc(50% - 7px);left:-7px;cursor:ew-resize}#CropPDFTool .cpt-tool-crop-handle.mr{top:calc(50% - 7px);right:-7px;cursor:ew-resize}#CropPDFTool .cpt-tool-crop-handle.bl{bottom:-7px;left:-7px;cursor:nesw-resize}#CropPDFTool .cpt-tool-crop-handle.bc{bottom:-7px;left:calc(50% - 7px);cursor:ns-resize}#CropPDFTool .cpt-tool-crop-handle.br{bottom:-7px;right:-7px;cursor:nwse-resize}#CropPDFTool .cpt-tool-sidebar{width:350px;background:#fff;display:flex;flex-direction:column;border-left:1px solid #e2e8f0}#CropPDFTool .cpt-tool-sidebar-content{flex:1;overflow-y:auto;padding:1.5rem}#CropPDFTool .cpt-tool-file-list{list-style:none;padding:0;margin:0 0 2rem}#CropPDFTool .cpt-tool-file-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem;border:1px solid #e2e8f0;border-radius:.5rem;margin-bottom:.5rem;cursor:pointer;transition:.2s}#CropPDFTool .cpt-tool-file-item:hover{border-color:#cbd5e1;background:#f8fafc}#CropPDFTool .cpt-tool-file-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.875rem;font-weight:500}#CropPDFTool .cpt-tool-form-group{margin-bottom:1.5rem}#CropPDFTool .cpt-tool-form-label{display:block;font-size:.875rem;font-weight:600;margin-bottom:.5rem;color:#334155}#CropPDFTool .cpt-tool-radio-group{display:flex;flex-direction:column;gap:.5rem}#CropPDFTool .cpt-tool-radio-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;cursor:pointer}#CropPDFTool .cpt-tool-radio-label input[type=radio]{cursor:pointer}#CropPDFTool .cpt-tool-sidebar-footer{position:sticky;bottom:0;background:#fff;padding:1.5rem;border-top:1px solid #e2e8f0;z-index:10}#CropPDFTool .cpt-tool-btn-spinner{width:1rem;height:1rem;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:1s ease-in-out infinite cpt-tool-spin;margin-right:.5rem;display:none}#CropPDFTool .cpt-tool-btn.processing .cpt-tool-btn-spinner{display:inline-block}#CropPDFTool .cpt-tool-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.9);z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:inherit}#CropPDFTool .cpt-tool-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:1s linear infinite cpt-tool-spin;margin-bottom:1rem}@keyframes cpt-tool-spin{to{transform:rotate(360deg)}}#CropPDFTool .cpt-tool-view-success{max-width:600px;width:100%;margin:0 auto;text-align:center;background:#fff;border-radius:1rem;box-shadow:0 10px 25px -5px rgba(0,0,0,.05);padding:4rem 2rem}#CropPDFTool .cpt-tool-success-icon{width:80px;height:80px;color:#10b981;margin:0 auto 1.5rem}#CropPDFTool .cpt-tool-action-group{display:flex;gap:1rem;justify-content:center;margin-top:2rem;flex-wrap:wrap}@media (max-width:1024px){#CropPDFTool .cpt-tool-view-upload{width:90vw}}@media (max-width:768px){#CropPDFTool .cpt-tool-view-editor{flex-direction:column;height:auto;min-height:auto}#CropPDFTool .cpt-tool-editor-main{height:60vh;min-height:400px}#CropPDFTool .cpt-tool-sidebar{width:100%;border-left:none;border-top:1px solid #e2e8f0}#CropPDFTool .cpt-tool-sidebar-content{padding-bottom:6rem}}