<?php
require_once __DIR__ . '/../../app/core/bootstrap.php';
auth_require_login();
$page_title = 'Settings';
include __DIR__ . '/../includes/header.php';
?>
<div class="page-header">
  <div class="page-header-title">
    <h1>Settings Center</h1>
    <span>System, branding, email, and portal controls</span>
  </div>
</div>

<div class="grid-2">
  <div class="card">
    <div class="page-header-title"><h1 style="font-size:1.05rem">Branding & Theme</h1><span>Logo, colors, light/dark, gradient backgrounds</span></div>
    <div class="form-actions"><a class="btn btn-primary btn-sm" href="/public/settings/branding.php">Open branding</a></div>
  </div>
  <div class="card">
    <div class="page-header-title"><h1 style="font-size:1.05rem">Email to Project</h1><span>Mailbox + automation defaults</span></div>
    <div class="form-actions"><a class="btn btn-primary btn-sm" href="/public/settings/email_to_project.php">Open email settings</a></div>
  </div>
  <div class="card">
    <div class="page-header-title"><h1 style="font-size:1.05rem">SMTP</h1><span>Outgoing mail server settings</span></div>
    <div class="form-actions"><a class="btn btn-primary btn-sm" href="/public/settings/smtp.php">Open SMTP settings</a></div>
  </div>
  <div class="card">
    <div class="page-header-title"><h1 style="font-size:1.05rem">Portals & Access</h1><span>Invites, reset password, customer/employee/partner access</span></div>
    <div class="form-actions"><a class="btn btn-primary btn-sm" href="/public/auth/forgot_password.php">Open access tools</a></div>
  </div>
</div>
<?php include __DIR__ . '/../includes/footer.php'; ?>
