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

.donate-page { max-width: 440px; margin: 0 auto; padding: 16px; min-height: 100vh; }
        .org-header { text-align: center; padding: 24px 0 16px; }
        .org-logo { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; margin-bottom: 12px; }
        .org-name { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
        .event-name { font-size: 28px; font-weight: 700; color: var(--text-primary); margin: 4px 0; }
        .event-meta { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

        .event-details { background: var(--bg-muted); border-radius: 12px; padding: 16px; margin: 16px 0; }
        .event-details .detail-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--text-secondary); }
        .event-details .detail-row:last-child { margin-bottom: 0; }
        .event-details .detail-icon { font-size: 16px; flex-shrink: 0; width: 20px; text-align: center; }
        .event-details .detail-label { font-weight: 600; color: var(--text-primary); }

        .ticket-section { margin: 20px 0; }
        .ticket-price { text-align: center; font-size: 24px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
        .tickets-remaining { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

        .qty-selector { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 16px 0; }
        .qty-btn { width: 40px; height: 40px; border: 2px solid var(--border); border-radius: 10px; background: white;
            font-size: 20px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }
        .qty-btn:hover { border-color: var(--accent); }
        .qty-value { font-size: 24px; font-weight: 700; min-width: 40px; text-align: center; }

        .donor-fields { margin: 0 0 16px; }
        .donor-fields label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
        .donor-fields input { 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 input:focus { border-color: var(--accent); }
        .donor-fields .field-error { color: #dc3545; font-size: 13px; margin: -6px 0 10px; }
        .donor-fields .field-error:empty { display: none; }

        .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; }

        .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; }
        .thanks-check { font-size: 64px; margin-bottom: 12px; }

        .share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px;
            border: 1.5px solid var(--border); border-radius: 8px; background: white; font-size: 13px; cursor: pointer; }
        .share-btn:hover { border-color: var(--accent); }

        /* Tiered tickets (Wave 2) */
        .tier-list { display: grid; gap: 10px; margin: 4px 0 8px; }
        .tier-btn { padding: 14px 16px; border: 2px solid var(--border); border-radius: 12px;
            background: white; cursor: pointer; transition: all 0.15s; text-align: left;
            display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
        .tier-btn:hover:not(.disabled) { border-color: var(--accent); }
        .tier-btn.selected { border-color: var(--accent); background: var(--accent-light); }
        .tier-btn.disabled { opacity: 0.55; cursor: not-allowed; }
        .tier-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
        .tier-price { font-size: 18px; font-weight: 700; color: var(--accent); white-space: nowrap; }
        .tier-desc { grid-column: 1 / -1; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
        .tier-meta { grid-column: 1 / -1; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
        .tier-soldout { color: #dc3545; font-weight: 600; }
        .tier-left { color: #b45309; font-weight: 600; }
        .tier-seats { color: var(--text-muted); }
