/* Extracted from site/p2p.html on 2026-04-14 */

.donate-page { max-width: 480px; margin: 0 auto; padding: 16px; min-height: 100vh; }
        .org-header { text-align: center; padding: 24px 0 16px; }
        .p2p-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
        .p2p-name { font-size: 26px; font-weight: 800; color: var(--text-primary); margin: 4px 0; }
        .p2p-org { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
        .p2p-campaign { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
        .p2p-story { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin: 16px 0;
            background: #f9fafb; padding: 16px; border-radius: 12px; }

        .thermometer { margin: 20px 0; }
        .thermo-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
        .thermo-raised { font-size: 28px; font-weight: 800; color: var(--accent); }
        .thermo-goal { font-size: 14px; color: var(--text-muted); }
        .thermo-bar { height: 14px; background: #e5e7eb; border-radius: 7px; overflow: hidden; }
        .thermo-fill { height: 100%; background: var(--accent); border-radius: 7px; transition: width 1.5s ease-out; width: 0; }
        .thermo-stats { font-size: 12px; color: var(--text-muted); margin-top: 6px; display: flex; justify-content: space-between; }

        .donors-list { margin: 20px 0; }
        .donors-list h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
        .donor-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border, #e5e7eb);
            font-size: 14px; }
        .donor-name { font-weight: 600; }
        .donor-amount { color: var(--accent); font-weight: 700; }

        .amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
        .amount-btn { padding: 16px; border: 2px solid var(--border); border-radius: 12px; background: white;
            font-size: 20px; font-weight: 700; cursor: pointer; transition: all 0.15s; text-align: center; }
        .amount-btn:hover { border-color: var(--accent); }
        .amount-btn.selected { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }

        .custom-amount { display: none; margin: -8px 0 16px; }
        .custom-amount.visible { display: block; }
        .custom-amount input { width: 100%; padding: 14px; border: 2px solid var(--border); border-radius: 12px;
            font-size: 24px; font-weight: 700; text-align: center; outline: none; box-sizing: border-box; }
        .custom-amount input:focus { border-color: var(--accent); }

        .donor-fields { margin: 0 0 16px; }
        .donor-fields label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
        .donor-fields input, .donor-fields textarea { width: 100%; padding: 12px; border: 1.5px solid var(--border);
            border-radius: 10px; font-size: 15px; margin-bottom: 10px; outline: none; box-sizing: border-box; }
        .donor-fields textarea { resize: none; height: 60px; }

        .checkbox-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 14px; color: var(--text-secondary); }
        .checkbox-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }

        .donate-btn { width: 100%; padding: 16px; background: var(--accent); color: white; border: none;
            border-radius: 12px; font-size: 18px; font-weight: 700; cursor: pointer; transition: opacity 0.15s; }
        .donate-btn:hover { opacity: 0.9; }
        .donate-btn:disabled { opacity: 0.5; cursor: not-allowed; }

        .share-buttons { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
        .share-btn { padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 8px;
            background: white; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--text-primary); }
        .share-btn:hover { background: #f3f4f6; }

        .secure-note { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 12px; }
        .branding { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 24px; padding-bottom: 24px; }

        .loading { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
        .loading-spinner { width: 32px; height: 32px; border: 3px solid var(--border);
            border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }

        .error-state { text-align: center; padding: 48px 16px; }
        .error-state h2 { font-size: 20px; margin-bottom: 8px; }
        .error-state p { color: var(--text-muted); }

        .thanks-state { text-align: center; padding: 48px 16px; }
        .thanks-state h2 { font-size: 28px; margin-bottom: 8px; }
        .thanks-state p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

        /* Edit form */
        .edit-form { margin: 20px 0; background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 12px; padding: 20px; }
        .edit-form h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
        .edit-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin: 12px 0 4px; }
        .edit-form input, .edit-form textarea { width: 100%; padding: 10px; border: 1.5px solid var(--border);
            border-radius: 8px; font-size: 14px; box-sizing: border-box; }
        .edit-form textarea { height: 120px; resize: vertical; }
        .edit-form .btn { margin-top: 16px; }
