* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; padding: 20px; display: flex; justify-content: center; align-items: center; font-family: Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.container { width: 100%; max-width: 600px; padding: 40px; background: rgba(255, 255, 255, 0.95); border-radius: 15px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
h1 { margin: 0 0 30px; color: #333; text-align: center; font-size: 2rem; }
h2 { margin: 0; color: #333; font-size: 1.1rem; }
.strategy-panel { margin-bottom: 20px; padding: 20px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; }
.strategy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 15px; }
.strategy-grid label { display: flex; align-items: center; cursor: pointer; }
.strategy-grid input { margin-right: 8px; transform: scale(1.2); }
.strategy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.action-button { padding: 8px 16px; border: 0; border-radius: 4px; color: #fff; cursor: pointer; font-size: 0.9rem; }
.action-button.success { background: #28a745; }
.action-button.primary { background: #007bff; }
.action-button.info { background: #17a2b8; }
.upload-area { margin-bottom: 20px; padding: 60px 20px; border: 3px dashed #ccc; border-radius: 10px; background: #f9f9f9; text-align: center; cursor: pointer; transition: 0.3s ease; }
.upload-area:focus-visible, .upload-area.dragover { border-color: #667eea; background: #f0f4ff; outline: none; }
.upload-icon { margin-bottom: 20px; color: #ccc; font-size: 4rem; }
.dragover .upload-icon { color: #667eea; }
.upload-text { margin-bottom: 15px; color: #666; font-size: 1.2rem; }
.upload-hint { color: #999; font-size: 0.9rem; }
#fileInput { display: none; }
.btn { width: 100%; margin-top: 20px; padding: 15px 30px; border: 0; border-radius: 25px; background: linear-gradient(45deg, #667eea, #764ba2); color: white; cursor: pointer; font-size: 1rem; }
.btn:disabled { background: #ccc; cursor: not-allowed; }
.progress-container { display: none; margin-top: 20px; }
.progress-bar { width: 100%; height: 6px; overflow: hidden; border-radius: 3px; background: #e0e0e0; }
.progress-fill { width: 0; height: 100%; border-radius: 3px; background: linear-gradient(45deg, #667eea, #764ba2); transition: width 0.3s ease; }
.status-text { margin-top: 10px; color: #666; font-size: 0.9rem; }
.result-container { display: none; margin-top: 30px; }
.result-success, .result-error { margin-bottom: 15px; padding: 20px; border-radius: 8px; }
.result-success { border: 1px solid #c3e6cb; background: #d4edda; color: #155724; }
.result-error { border: 1px solid #f5c6cb; background: #f8d7da; color: #721c24; }
.result-warning { border: 1px solid #ffecb5; background: #fff3cd; color: #664d03; margin-bottom: 15px; padding: 20px; border-radius: 8px; }
.image-preview { display: block; max-width: 100%; max-height: 300px; margin: 15px auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.url-container { display: flex; gap: 10px; margin-top: 15px; }
.url-input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #ddd; border-radius: 6px; background: #f8f9fa; font-size: 0.9rem; }
.copy-btn { padding: 12px 20px; border: 0; border-radius: 6px; background: #28a745; color: white; cursor: pointer; font-size: 0.9rem; }
.provider-note { margin-top: 10px; padding: 10px; border-radius: 5px; background: #d1ecf1; font-size: 0.9rem; }
@media (max-width: 600px) { .container { margin: 10px; padding: 20px; } h1 { font-size: 1.5rem; } .upload-area { padding: 40px 15px; } .url-container { flex-direction: column; } }
