P
Persona: All Roles (Session About to Expire) — Overlay shown to any logged-in user idle near the session timeout threshold. Especially critical during payment (SCR-09) or form entry (SCR-08) to prevent data loss — page content is visible but not interactive behind the overlay. SRS §8.1 FR-57
1
Timeout Warning Modal Overlay — Semi-transparent full-page backdrop with centred modal. First warning fires at T-60 seconds before expiry. Second fires at T-30 seconds. Backdrop blocks interaction with page content beneath but keeps it visible. SRS §8.1 FR-57
2
Countdown Timer — Large countdown number (seconds) with SVG progress ring. Real-time update. T-60s: amber; T-30s: red. Text: 'Your session will expire in [X] seconds due to inactivity.' SRS §8.1 FR-57
3
Stay Logged In CTA — Primary orange button. On click: session idle timer resets to full configured duration (default 5 min). Modal closes. User returns to current screen with all state preserved — critical for SCR-08/SCR-09 form data. SRS §8.1 FR-57
4
Log Out Now Option — Secondary button. On click: session ends immediately. User redirected to SCR-04 Login. Warning text shown below button: 'Any unsaved form data will be lost.' SRS §8.1 FR-57; §7.1 FR-4
5
Auto-Logout on No Action — If neither button is clicked: session auto-expires. User redirected to SCR-04 with informational toast: 'Your session expired due to inactivity. Please log in again.' SRS §8.1 FR-57
6
Configuration Note + OP-12 — Default 5-minute timeout. Admin-configurable in SCR-39 Security tab. Open Point OP-12: confirm with client whether timeout is global or sensitive-screens-only (payment/KYC). SRS §8.1 FR-57; SCR-39; Open point OP-12