.fcpm-app { max-width: 800px; margin: 20px auto; font-family: Arial, sans-serif; }
.fcpm-header { text-align: center; margin-bottom: 20px; }
.fcpm-header p { color: #666; font-size: 14px; }
.fcpm-upload-area { text-align: center; margin: 20px 0; }
.fcpm-upload-btn, .fcpm-add-more-btn { display: inline-block; padding: 10px 20px; background: #007cba; color: white; cursor: pointer; border-radius: 5px; border: none; margin: 5px; }
.fcpm-add-more-btn { background: #6c757d; font-size: 14px; }
.fcpm-add-more-btn:hover { background: #5a6268; }
.fcpm-upload-btn:hover { background: #005a87; }
.fcpm-staging-area { display: flex; flex-wrap: wrap; border: 2px dashed #ccc; min-height: 150px; padding: 20px; margin: 20px 0; background: #f9f9f9; align-items: center; justify-content: center; }
.fcpm-staging-area:empty::after { content: 'Cropped images will appear here'; color: #999; font-style: italic; }
.fcpm-thumb { position: relative; margin: 10px; width: 100px; height: 140px; border: 1px solid #ddd; background: white; cursor: move; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.fcpm-thumb:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.fcpm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fcpm-thumb span { position: absolute; bottom: 5px; left: 5px; background: rgba(0,0,0,0.7); color: white; padding: 2px 5px; border-radius: 3px; font-size: 11px; }
.fcpm-remove-btn { position: absolute; top: 5px; right: 5px; background: #ff0000; color: white; border: none; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 12px; }
.fcpm-remove-btn:hover { background: #cc0000; }
.fcpm-actions { text-align: center; margin: 20px 0; }
.fcpm-actions button { padding: 12px 24px; background: #28a745; color: white; border: none; border-radius: 5px; font-size: 16px; cursor: pointer; }
.fcpm-actions button:disabled { background: #ccc; cursor: not-allowed; }
.fcpm-actions button:hover:not(:disabled) { background: #218838; }

/* Modal */
.fcpm-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background: rgba(0,0,0,0.5); }
.fcpm-modal-content { background: white; margin: 5% auto; padding: 0; width: 80%; max-width: 700px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.fcpm-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #f8f9fa; border-radius: 10px 10px 0 0; }
.fcpm-modal-header h4 { margin: 0; }
#fcpm-crop-progress-default { font-weight: normal; color: #666; }
.fcpm-close { font-size: 28px; cursor: pointer; color: #aaa; line-height: 1; }
.fcpm-close:hover { color: #000; }
.fcpm-crop-container { position: relative; padding: 20px; text-align: center; max-height: 70vh; overflow: auto; }
.fcpm-crop-container img { max-width: 100%; max-height: 500px; }
.fcpm-crop-controls { margin-top: 15px; }
.fcpm-crop-controls button { margin: 0 5px; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-size: 14px; }
#fcpm-crop-confirm- + button { background: #28a745; color: white; }
#fcpm-crop-confirm- + button:hover { background: #218838; }
#fcpm-crop-skip- + button { background: #ffc107; color: #212529; }
#fcpm-crop-skip- + button:hover { background: #e0a800; }
#fcpm-crop-cancel- + button { background: #dc3545; color: white; }
#fcpm-crop-cancel- + button:hover { background: #c82333; }

/* Toast */
.fcpm-toast { position: fixed; top: 20px; right: 20px; padding: 12px 20px; background: #333; color: white; border-radius: 5px; z-index: 1001; display: none; }
.fcpm-toast-success { background: #28a745; }
.fcpm-toast-error { background: #dc3545; }
.fcpm-toast-warning { background: #ffc107; color: #212529; }
.fcpm-toast-info { background: #17a2b8; }

/* Cropper */
.cropper-view-box { border: 2px dashed #007cba; box-shadow: 0 0 0 1px #007cba; }
.cropper-crop-box { background: transparent; }
.cropper-face { background-color: rgba(0, 124, 186, 0.1); }