<?php if (!defined('DASHBOARD_ROOT')) { http_response_code(403); exit; } ?> <div id="email-test-modal" class="modal-overlay" style="display:none"> <div class="modal-box"> <div class="modal-header"><h3>Send Test Email</h3><button id="email-test-close-btn">x</button></div> <div class="modal-body"> <label>Recipient<input type="email" id="test-to" placeholder="you@example.com"></label> <label>Subject<input type="text" id="test-subject" value="Infrastructure Test"></label> </div> <div class="modal-footer"> <button class="btn-ghost" id="email-test-cancel-btn">Cancel</button> <button class="btn-primary" id="test-send-btn">Send</button> </div> <div id="test-result" style="margin-top:12px"></div> </div> </div>