# Google Antigravity Setup Instructions

## 1. Load Repository
- Import project files to your workspace.

## 2. Create MySQL Database
- Create a new MySQL database.
- Run the SQL commands from `install.sql` to create tables.
- The default admin password is `admin123`.

## 3. Configure Environment
- Edit `config.php`:
    - Set `$db_host`, `$db_name`, `$db_user`, `$db_pass`.
    - Set `SMS_API_KEY` and `SENDER_ID`.
    - Ensure `COOKIE_LIFETIME` is set to 15 days (1296000 seconds).

## 4. Deploy to cPanel/Server
- Upload the contents of the `public/` directory to your public web root (e.g., `public_html`).
- Upload the root files (`config.php`, `functions.php`, `install.sql`, etc.) to a directory *outside* the public web root for security, or ensure they are protected.
- If files are in the same directory, ensure sensitive files are not accessible via browser.
- Set file permissions (typically 644 for files, 755 for folders).

## 5. Build UI
- The project uses `glassmorphism.css` for styling. ensure it is linked in your header.
- Verify `glass-card` class is used for panels.

## 6. Test SMS
- Login as Admin.
- Go to `monitor.php` to check logs.
- Go to `send_sms.php` (User side) to test sending.
