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

.tracker-page { max-width: 440px; margin: 0 auto; padding: 16px; min-height: 100vh; }
        .org-header { text-align: center; padding: 24px 0 16px; }
        .org-name { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
        .fundraiser-name { font-size: 28px; font-weight: 700; color: var(--text-primary); margin: 4px 0; }
        .campaign-name { font-size: 14px; color: var(--text-secondary); }

        .progress-badge { display: inline-block; background: var(--accent-light); color: var(--accent);
            padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-top: 12px; }

        /* Live counter */
        .counter-display { text-align: center; padding: 32px 0; }
        .counter-value { font-size: 72px; font-weight: 800; color: var(--accent); line-height: 1; }
        .counter-unit { font-size: 18px; color: var(--text-secondary); margin-top: 4px; }
        .counter-elapsed { font-size: 14px; color: var(--text-muted); margin-top: 12px; }

        /* Accuracy indicator */
        .accuracy-bar { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0; font-size: 12px; }
        .accuracy-dot { width: 8px; height: 8px; border-radius: 50%; }
        .accuracy-good { background: #22c55e; }
        .accuracy-ok { background: #eab308; }
        .accuracy-poor { background: #ef4444; }

        /* Recording pulse */
        .recording-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
            border-radius: 20px; font-size: 13px; font-weight: 600; background: #fee2e2; color: #dc2626; }
        .recording-dot { width: 8px; height: 8px; border-radius: 50%; background: #dc2626;
            animation: pulse 1.5s ease-in-out infinite; }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

        /* Buttons */
        .track-btn { width: 100%; padding: 18px; border: none; border-radius: 14px;
            font-size: 20px; font-weight: 700; cursor: pointer; transition: all 0.15s; }
        .track-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        .btn-start { background: #22c55e; color: white; }
        .btn-start:hover { background: #16a34a; }
        .btn-stop { background: #ef4444; color: white; }
        .btn-stop:hover { background: #dc2626; }
        .btn-submit { background: var(--accent); color: white; }
        .btn-submit:hover { opacity: 0.9; }

        /* Permission card */
        .perm-card { background: #eff6ff; border: 1.5px solid #bfdbfe; border-radius: 12px;
            padding: 16px; margin: 16px 0; text-align: center; }
        .perm-card p { font-size: 14px; color: #1e40af; margin: 0 0 12px; line-height: 1.5; }
        .perm-btn { padding: 10px 24px; border: none; border-radius: 8px; background: var(--accent);
            color: white; font-size: 14px; font-weight: 600; cursor: pointer; }

        /* Warning banner */
        .keep-open-banner { background: #fef3c7; border: 1.5px solid #fcd34d; border-radius: 10px;
            padding: 10px 16px; margin: 12px 0; text-align: center; font-size: 12px; color: #92400e; }

        /* Results summary */
        .results-card { background: white; border: 1.5px solid var(--border); border-radius: 14px; padding: 24px; margin: 16px 0; }
        .results-card h3 { font-size: 18px; margin: 0 0 16px; text-align: center; }
        .result-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
        .result-row:last-child { border-bottom: none; }
        .result-label { color: var(--text-muted); }
        .result-value { font-weight: 600; }

        /* Verification badge */
        .verify-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
        .verify-verified { background: #dcfce7; color: #166534; }
        .verify-suspicious { background: #fef3c7; color: #92400e; }
        .verify-unverified { background: #f3f4f6; color: #6b7280; }

        /* Manual entry */
        .manual-input { width: 100%; padding: 16px; border: 2px solid var(--border); border-radius: 12px;
            font-size: 28px; font-weight: 700; text-align: center; outline: none; box-sizing: border-box; }
        .manual-input:focus { border-color: var(--accent); }

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

        .done-state { text-align: center; padding: 32px 16px; }
        .done-state .check { font-size: 48px; margin-bottom: 16px; }
        .done-state h2 { font-size: 22px; margin-bottom: 8px; }
        .done-state p { font-size: 15px; color: var(--text-secondary); line-height: 1.5; }

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

        /* Step counter */
        .step-pace { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

        /* Photo check-in */
        .photo-checkin-btn { transition: all 0.2s; }
        .photo-checkin-btn:active { transform: scale(0.95); }

        /* Fitness connect */
        .fitness-connect-btn { transition: all 0.15s; }
        .fitness-connect-btn:hover { opacity: 0.85; }
