# Professionalizing Student Management System (STDMS)

The goal is to transform the existing STDM into a premium, professional application with a cohesive design system, robust security, and improved code maintainability.

## User Review Required

> [!IMPORTANT]
> - **Security**: The current login process (email only, no password check in PHP) is highly insecure. I will implement password hashing and verification.
> - **Layout Centralization**: Move common UI elements (Sidebar, Navbar, Scripts) to `includes/` to reduce redundancy.
> - **Design System**: Use a modern "Glassmorphism" or "Sleek Dark" theme with `Inter` or `Outfit` fonts.

# [Premium UI] Professional Student Directory Upgrade

Elevate the Student Management System with a high-end, interactive student directory.

## Proposed Changes

### High-End Student Directory
#### [MODIFY] [student_list.php](file:///c:/xampp/htdocs/stdms/Admin/student_list.php)
- **Top Stats Row**: Interactive cards showing Total, Active, and Suspended counts.
- **Advanced Filtering**: Sidebar or Collapsible filter panel for Gender, Status, and Category.
- **Real-time AJAX Search**: Update the list as the user types without full page reloads.
- **Premium Table UI**: High-contrast typography, status badges with icons, and profile avatars.
- **Action Menu**: Unified "Manage" button with a sleek dropdown for Edit, ID Card, and Reset Password.

---

### Backend Optimization
#### [NEW] [student_fetch_ajax.php](file:///c:/xampp/htdocs/stdms/Admin/student_fetch_ajax.php)
- Dedicated endpoint for real-time student filtering and pagination.

## Verification Plan

### Automated Tests
- Browser test: Verify AJAX transitions and filter persistence.
- Check responsiveness on mobile viewports.

### Manual Verification
- Test all filters (Gender, Category, Status) simultaneously.
- Verify the "Guess Gender" and "Export PDF" functionality still works within the new UI.

### Manual Verification
- Testing all sidebar links for consistency.
- Verifying Toastr notifications on common actions (e.g. Filter).
