<?php
// profile.php — DEMO / PRACTICE ONLY
session_start(); if (empty($_SESSION['logged_in'])) { header('Location: index.php'); exit; }
$accountName='Stephen John Wain';
$clientId='1417729921';
?>
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><title>Profile | BOA</title>
<style>
:root{ --red:#b30000; --bg:#f4f6f8; --card:#ffffff; --muted:#6b7280; }
*{ box-sizing:border-box; font-family: Inter, Arial, Helvetica, sans-serif; }
body{ margin:0; background:var(--bg); }
.topbar{ background:linear-gradient(90deg,var(--red),#d10000); color:#fff; padding:16px 28px; display:flex; justify-content:space-between; }
.container{ max-width:720px; margin:26px auto 26px 240px; padding:0 18px; }
.card{ background:var(--card); border-radius:16px; box-shadow:0 12px 30px rgba(0,0,0,.08); padding:22px; }
.row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.label{ color:var(--muted); font-weight:800; font-size:12px; }
.value{ font-weight:900; }
</style></head>
<body>
<div class="topbar"><div>Secure Online Banking (BOA)</div><a href="logout.php" style="color:#fff;text-decoration:none;font-weight:800">Logout</a></div>
<?php include 'side.php'; ?>
<div class="container">
  <div class="card">
    <h3>Profile</h3>
    <div class="row">
      <div><div class="label">Account Holder</div><div class="value"><?= htmlspecialchars($accountName) ?></div></div>
      <div><div class="label">Client ID</div><div class="value"><?= htmlspecialchars($clientId) ?></div></div>
      <div><div class="label">Account Type</div><div class="value">Private Banking</div></div>
      <div><div class="label">Status</div><div class="value">Active</div></div>
    </div>
  </div>
</div>
</body></html>