<?php
/** @var string $clinicName */
/** @var string $baseUrl */
?>
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><title>Email configuration test</title></head>
<body style="margin:0;background:#f3f6f8;font-family:Arial,sans-serif;color:#17232d">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="padding:30px 12px;background:#f3f6f8">
<tr><td align="center">
<table role="presentation" width="600" cellpadding="0" cellspacing="0" style="max-width:600px;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #dde5e9">
<tr><td style="padding:24px 28px;background:#0d5c63;color:#fff"><h1 style="margin:0;font-size:22px"><?= htmlspecialchars($clinicName, ENT_QUOTES, 'UTF-8') ?></h1></td></tr>
<tr><td style="padding:28px"><h2 style="margin-top:0">Email configuration is working</h2><p>This test message confirms that the dental system can connect to the configured email service.</p><p>Appointment confirmations, reminders, account invitations, treatment notices, and recovery emails can use this mailer.</p><p style="margin-bottom:0"><a href="<?= htmlspecialchars($baseUrl, ENT_QUOTES, 'UTF-8') ?>" style="color:#0d5c63">Open the dental system</a></p></td></tr>
</table>
</td></tr></table>
</body></html>
