<?php
$title='My Career Path';
?>

<div class="container-fluid py-4">

<h2 class="mb-4">
<i class="fa-solid fa-road"></i>
My Career Path
</h2>

<div class="row g-3">

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Future Role</h6>
<h4><?= htmlspecialchars($career['future_role'] ?? '-') ?></h4>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Growth Potential</h6>
<h3><?= htmlspecialchars($career['growth_potential'] ?? '0') ?></h3>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Leadership Probability</h6>
<h3><?= htmlspecialchars($career['leadership_probability'] ?? '0') ?></h3>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm">
<div class="card-body">
<h6>Promotion Probability</h6>
<h3><?= htmlspecialchars($career['promotion_probability'] ?? '0') ?></h3>
</div>
</div>
</div>

</div>

<div class="card shadow-sm mt-4">
<div class="card-header">
Leadership Readiness
</div>

<div class="card-body">

<p>
<strong>Succession Role:</strong>
<?= htmlspecialchars($succession['succession_role'] ?? '-') ?>
</p>

<p>
<strong>Readiness Score:</strong>
<?= htmlspecialchars($succession['readiness_score'] ?? '-') ?>
</p>

<p>
<strong>Confidence:</strong>
<?= htmlspecialchars($succession['succession_confidence'] ?? '-') ?>
</p>

<p>
<strong>Leadership Tier:</strong>
<?= htmlspecialchars($succession['leadership_tier'] ?? '-') ?>
</p>

</div>
</div>

<div class="card shadow-sm mt-4">
<div class="card-header">
Leadership Pipeline
</div>

<div class="card-body">

<p>
<strong>Pipeline Role:</strong>
<?= htmlspecialchars($pipeline['pipeline_role'] ?? '-') ?>
</p>

<p>
<strong>Talent Score:</strong>
<?= htmlspecialchars($pipeline['talent_score'] ?? '-') ?>
</p>

<p>
<strong>Leadership Score:</strong>
<?= htmlspecialchars($pipeline['leadership_score'] ?? '-') ?>
</p>

</div>
</div>

<div class="card shadow-sm mt-4">
<div class="card-header">
Succession Roadmap
</div>

<div class="card-body">

<p>
<strong>Target Role:</strong>
<?= htmlspecialchars($plan['succession_role'] ?? '-') ?>
</p>

<p>
<strong>Readiness:</strong>
<?= htmlspecialchars($plan['readiness_score'] ?? '-') ?>
</p>

<p>
<strong>Recommendation:</strong>
<?= htmlspecialchars($plan['recommendation_text'] ?? '-') ?>
</p>

</div>
</div>

</div>
