.pdf-editor .loading-container{display:flex;justify-content:center;align-items:center;padding:60px 20px}.pdf-editor .editor-container{margin-top:2rem}.pdf-editor .toolbar{position:sticky;top:70px;z-index:10;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;margin-bottom:1rem;overflow-x:auto;box-shadow:0 2px 4px rgba(0,0,0,.05)}@media(min-width:769px){.pdf-editor .toolbar{min-width:800px}}.pdf-editor .toolbar .tool-group{display:flex;gap:8px;flex-wrap:nowrap;min-width:min-content;align-items:center}@media(max-width:768px){.pdf-editor .toolbar .tool-group{flex-wrap:wrap}.pdf-editor .toolbar .tool-group .page-select{min-width:80px}}.pdf-editor .toolbar .tool-btn-compact{padding:4px!important;min-width:28px}.pdf-editor .toolbar .page-select{width:auto;min-width:90px;font-size:13px}.pdf-editor .toolbar .scale-info{font-size:13px;color:#374151;white-space:nowrap}.pdf-editor .toolbar .divider{width:1px;height:24px;background:#e5e7eb;margin:0 4px}.pdf-editor .toolbar .tool-btn{display:flex;flex-direction:column;align-items:center;gap:0;padding:4px 6px;border:2px solid #e5e7eb;border-radius:6px;background:#fff;cursor:pointer;transition:all .2s}.pdf-editor .toolbar .tool-btn:hover:not(:disabled){border-color:#3b82f6;background:#eff6ff}.pdf-editor .toolbar .tool-btn.active{border-color:#3b82f6;background:#dbeafe}.pdf-editor .toolbar .tool-btn:disabled{opacity:.5;cursor:not-allowed}.pdf-editor .toolbar .tool-btn .tool-icon{font-size:20px}.pdf-editor .toolbar .tool-btn .tool-label{font-size:12px;color:#6b7280}.pdf-editor .editor-main{display:flex;gap:1rem;margin-bottom:1rem}@media(max-width:768px){.pdf-editor .editor-main{flex-direction:column}}.pdf-editor .canvas-container{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;flex:1;overflow:auto}@media(max-width:768px){.pdf-editor .canvas-container{padding:8px}}.pdf-editor .pdf-canvas-wrapper{position:relative;display:inline-block;box-shadow:0 2px 8px rgba(0,0,0,.1);max-width:790px;overflow:auto}.pdf-editor .pdf-canvas-wrapper .pdf-canvas{display:block}.pdf-editor .pdf-canvas-wrapper .annotation-overlay{position:absolute;top:0;left:0;cursor:crosshair}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation{position:absolute;cursor:move;user-select:none}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation.selected{outline:2px solid #3b82f6;outline-offset:2px}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation.annotation-text{padding:4px;white-space:pre-wrap;word-break:break-word}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation.annotation-image-wrapper{border:1px solid #e5e7eb;cursor:move}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation.annotation-image-wrapper img{pointer-events:none}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation.annotation-highlight{pointer-events:auto}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation.annotation-shape-wrapper{cursor:move}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation.annotation-shape-wrapper svg{pointer-events:none}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation .resize-handle{position:absolute;width:16px;height:16px;background:#3b82f6;border:2px solid #fff;border-radius:50%;cursor:nwse-resize;pointer-events:auto}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation .resize-handle:not([style*=left]){bottom:-6px;right:-6px}@media(max-width:768px){.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation .resize-handle{width:24px;height:24px}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation .resize-handle:not([style*=left]){bottom:-10px;right:-10px}}.pdf-editor .pdf-canvas-wrapper .annotation-overlay .annotation .resize-handle:hover{background:#2563eb;transform:scale(1.2)}.pdf-editor .annotation-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;max-height:700px;width:200px;flex-shrink:0;display:flex;flex-direction:column}@media(max-width:768px){.pdf-editor .annotation-panel{width:100%;max-height:400px;padding:12px}}.pdf-editor .annotation-panel h6{font-size:14px;font-weight:600;margin-bottom:12px;color:#111827}.pdf-editor .annotation-panel .empty-state{text-align:center;color:#9ca3af;font-size:13px;padding:20px}.pdf-editor .annotation-panel .annotations-list{margin-bottom:16px}.pdf-editor .annotation-panel .annotation-item{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:8px;cursor:pointer;transition:all .2s}.pdf-editor .annotation-panel .annotation-item:hover{background:#f9fafb}.pdf-editor .annotation-panel .annotation-item.active{border-color:#3b82f6;background:#eff6ff}.pdf-editor .annotation-panel .annotation-item .annotation-type{font-size:13px;color:#374151}.pdf-editor .annotation-panel .annotation-item .btn-delete{background:none;border:none;font-size:20px;color:#9ca3af;cursor:pointer;padding:0;width:20px;height:20px;line-height:1}.pdf-editor .annotation-panel .annotation-item .btn-delete:hover{color:#ef4444}.pdf-editor .annotation-panel .annotation-properties{border-top:1px solid #e5e7eb;padding-top:16px;margin-top:auto;background:#fff}.pdf-editor .annotation-panel .annotation-properties .form-label{font-size:12px;color:#6b7280;margin-bottom:4px}.pdf-editor .annotation-panel .annotation-properties .form-control,.pdf-editor .annotation-panel .annotation-properties .form-range{font-size:13px}.pdf-editor .annotation-panel .annotation-properties .range-value{font-size:12px;color:#6b7280;margin-left:8px}.pdf-editor .export-controls{display:flex;gap:12px;justify-content:center;padding:16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-wrap:wrap}@media(max-width:768px){.pdf-editor .export-controls{padding:12px}.pdf-editor .export-controls button{flex:1;min-width:120px}}