.donation-container{max-width:900px;margin:2.5rem auto;padding:2rem 2.25rem;border-radius:18px;background:#fff;color:#1f2937;box-shadow:0 18px 45px #0f172a1f;font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;border:5px solid #0052cc}.donation-steps-header{display:flex;align-items:center;gap:.35rem;margin-bottom:1.5rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280}.step-badge{width:24px;height:24px;border-radius:999px;border:2px solid #cbd5e1;display:flex;align-items:center;justify-content:center;font-size:.7rem;background:#fff}.step-badge.active{border-color:#0052cc;background:#0052cc;color:#fff;font-weight:600}.step-badge.done{border-color:#059669;background:#059669;color:#fff}.step-label{margin-right:.75rem}.step-label.active{color:#111827;font-weight:600}.step-label.done{color:#059669;font-weight:500}.step-separator{flex:1;height:2px;background:linear-gradient(to right,#dbeafe,transparent)}.donation-title{font-size:1.6rem;font-weight:700;margin-bottom:.2rem;color:#12326b}.donation-subtitle{font-size:.95rem;color:#6b7280;margin-bottom:1.7rem}.amount-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.9rem}.amount-card{border-radius:14px;border:1px solid #e5e7eb;background:#f9fafb;padding:.95rem .8rem;font-size:1rem;text-align:center;cursor:pointer;transition:all .15s ease-out;font-weight:600;color:#111827}.amount-card:hover{border-color:#0052cc;box-shadow:0 9px 20px #2563eb26;transform:translateY(-1px)}.amount-card--selected{border-color:#0052cc;background:#eff6ff;box-shadow:0 10px 26px #2563eb38}.amount-card--other{text-align:left;cursor:default}.amount-other-label{font-size:.8rem;color:#6b7280;display:block;margin-bottom:.35rem;text-transform:uppercase;letter-spacing:.08em}.amount-other-input-wrapper{display:flex;align-items:center;border-radius:999px;background:#fff;border:1px solid #d1d5db;padding:.35rem .75rem}.amount-other-input{background:transparent;border:none;outline:none;color:#111827;font-size:.95rem;flex:1}.amount-other-input::placeholder{color:#9ca3af}.amount-other-suffix{font-size:.85rem;color:#6b7280;margin-left:.25rem}.amount-preview{margin-top:1rem;font-size:.95rem;color:#374151}.amount-error{margin-top:.8rem;font-size:.9rem;color:#b91c1c;background:#fee2e2;border-radius:10px;padding:.55rem .75rem;border:1px solid #fecaca}.donation-actions{margin-top:1.6rem;display:flex;justify-content:flex-end}.btn-primary{padding:.65rem 1.7rem;border-radius:999px;border:none;cursor:pointer;background:#ffd400;color:#12326b;font-weight:700;font-size:.95rem;box-shadow:0 10px 24px #f59e0b73;transition:transform .1s ease-out,box-shadow .1s ease-out,background .1s ease-out}.btn-primary:hover{background:#ffcd00;transform:translateY(-1px);box-shadow:0 14px 32px #f59e0b99}.donation-summary{margin-bottom:1.1rem;font-size:.98rem;color:#374151}.btn-secondary{padding:.55rem 1.3rem;border-radius:999px;border:1px solid #cbd5e1;cursor:pointer;background:#fff;color:#12326b;font-weight:500;font-size:.9rem;margin-top:1.5rem;transition:background .1s ease-out,box-shadow .1s ease-out,transform .1s ease-out}.btn-secondary:hover{background:#f9fafb;box-shadow:0 6px 16px #0f172a1f;transform:translateY(-1px)}.upload-container{max-width:720px;margin:2rem auto;padding:1.5rem;border-radius:.75rem;background:#fff;box-shadow:0 4px 12px #00000014}.upload-title{margin-top:0;margin-bottom:.75rem;font-size:1.5rem;font-weight:700;color:#12326b}.upload-label{display:block;margin-bottom:.25rem;font-size:.9rem;color:#374151;font-weight:500}.upload-select{padding:.35rem .5rem;border-radius:6px;border:1px solid #cbd5e1;font-size:.95rem;background:#fff;color:#111827}.upload-description{margin-bottom:1rem;font-size:.95rem;color:#6b7280}.upload-actions{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.upload-file-label{padding:.45rem .75rem;background:#e2e8f0;border-radius:6px;cursor:pointer;border:1px solid #cbd5e1;font-size:.95rem;font-weight:500;color:#1e293b;transition:all .15s ease-out}.upload-file-label:hover{background:#cbd5e1;border-color:#94a3b8}.upload-camera-btn{padding:.45rem .75rem;border-radius:6px;cursor:pointer;font-size:.95rem;font-weight:500;border:1px solid;transition:all .15s ease-out}.upload-camera-btn--active{background:#ef4444;color:#fff;border-color:#dc2626}.upload-camera-btn--inactive{background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}.upload-camera-btn--active:hover{background:#dc2626}.upload-camera-btn--inactive:hover{background:#cbd5e1}.upload-file-name{font-size:.9rem;color:#475569;flex:1;min-width:150px}.camera-preview{margin-top:1rem;text-align:center}.camera-video-wrapper{position:relative;display:inline-block}.camera-video{width:100%;max-width:500px;border-radius:.5rem;display:block}.camera-overlay{position:absolute;top:0;left:0;width:100%;max-width:500px;pointer-events:none}.camera-processing-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#10b981e6;color:#fff;padding:1rem 1.5rem;border-radius:1rem;font-size:1.1rem;font-weight:600;box-shadow:0 4px 20px #10b98180;z-index:10}.camera-scan-message{position:absolute;bottom:10px;left:50%;transform:translate(-50%);color:#fff;padding:.5rem 1rem;border-radius:.5rem;font-size:.9rem;font-weight:500;white-space:nowrap;z-index:10}.camera-scan-message--good{background:#10b981e6}.camera-scan-message--medium{background:#fbbf24e6}.camera-scan-message--poor{background:#ef4444e6}.camera-controls{margin-top:.75rem;display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}.camera-btn{padding:.6rem 1.5rem;color:#fff;border-radius:6px;cursor:pointer;border:none;font-size:1rem;font-weight:500;transition:all .15s ease-out}.camera-btn:disabled{cursor:not-allowed;opacity:.6}.camera-btn--detect-active{background:#ef4444}.camera-btn--detect-active:hover:not(:disabled){background:#dc2626}.camera-btn--detect-inactive{background:#3b82f6}.camera-btn--detect-inactive:hover:not(:disabled){background:#2563eb}.camera-btn--capture-good{background:#10b981}.camera-btn--capture-good:hover:not(:disabled){background:#059669}.camera-btn--capture-medium{background:#f59e0b}.camera-btn--capture-medium:hover:not(:disabled){background:#d97706}.camera-btn--capture-poor{background:#94a3b8}.camera-help-text{font-size:.85rem;color:#64748b;margin-top:.75rem}.upload-process-btn{padding:.6rem 1.5rem;background:#10b981;color:#fff;border-radius:6px;cursor:pointer;border:none;font-size:1rem;font-weight:500;width:100%;margin-top:1rem;transition:all .15s ease-out}.upload-process-btn:disabled{background:#94a3b8;cursor:not-allowed}.upload-process-btn:hover:not(:disabled){background:#059669;box-shadow:0 4px 12px #10b9814d}.upload-progress{margin-top:1rem}.upload-progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.upload-progress-fill{height:100%;background:#3b82f6;transition:width .3s ease}.upload-progress-text{font-size:.85rem;color:#64748b;margin-top:.5rem}.upload-status{margin-top:.75rem;white-space:pre-line}.upload-status--ok{color:#059669}.upload-status--error{color:#dc2626}.extracted-fields{margin-top:1.25rem;padding:1rem;border-radius:.5rem;background:#f8fafc;border:1px solid #e2e8f0}.extracted-fields-title{margin-top:0;margin-bottom:.75rem;font-size:1.2rem;font-weight:600;color:#12326b}.extracted-fields-note{font-size:.85rem;margin-top:0;margin-bottom:.75rem;color:#6b7280}.extracted-fields-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem 1.5rem;font-size:.95rem}.mrz-success-badge{margin-top:1rem;padding:.75rem;background:#d1fae5;border:1px solid #6ee7b7;border-radius:.5rem;font-size:.9rem;color:#065f46}.debug-section{margin-top:1rem}.debug-summary{cursor:pointer;font-size:.9rem;color:#64748b;font-weight:500}.debug-content{margin-top:.5rem;padding:.75rem;background:#f1f5f9;border-radius:.5rem;max-height:220px;overflow:auto;font-size:.75rem;white-space:pre-wrap;font-family:monospace}.debug-note{font-size:.85rem;color:#64748b;margin-top:.5rem;margin-bottom:0}.contract-container{max-width:960px;margin:2rem auto;padding:1.5rem;border-radius:.75rem;background:#fff;box-shadow:0 4px 12px #00000014}.contract-title{margin-top:0;margin-bottom:.75rem;font-size:1.5rem;font-weight:700;color:#12326b}.contract-text{border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;max-height:320px;overflow:auto;background:#f8fafc;font-size:.9rem;white-space:pre-wrap;line-height:1.6;color:#374151}.contract-signature-section{margin-top:1.5rem;text-align:center}.contract-signature-wrapper{border-radius:.75rem;border:1px solid #e2e8f0;background:#f8fafc;margin:0 auto 1rem;width:100%;max-width:640px;height:220px;position:relative}.contract-signature-canvas{width:100%;height:100%;border-radius:.75rem;cursor:crosshair}.contract-clear-btn{padding:.6rem 2.5rem;border-radius:999px;border:2px solid #38bdf8;background:#fff;color:#0284c7;font-weight:600;cursor:pointer;font-size:1rem;transition:all .15s ease-out}.contract-clear-btn:hover{background:#e0f2fe;border-color:#0284c7}.contract-details-section{margin-top:2rem;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.3fr);gap:1.5rem;align-items:flex-start}.contract-terms-text{font-size:.85rem;color:#64748b;margin:0;line-height:1.5}.contract-terms-text a{color:#0052cc;text-decoration:none;font-weight:500}.contract-terms-text a:hover{text-decoration:underline}.contract-fields-wrapper{display:flex;flex-direction:column;gap:.75rem}.contract-error{margin-top:.75rem;color:#dc2626;font-size:.9rem}.contract-actions{margin-top:1.75rem;display:flex;justify-content:space-between;gap:1rem}.hidden{display:none}.select-wrapper{margin-bottom:.75rem}.upload-button-wrapper{margin-top:1rem}
