<div class="col-lg-8">
  <div class="card h-100">
    <div class="card-body">
      <ul class="nav nav-tabs mb-4" role="tablist">
        <li class="nav-item">
         <button class="nav-link active" data-bs-toggle="tab" data-bs-target="#perfil">Perfil</button>
      </li>
        <li class="nav-item">
         <button class="nav-link" data-bs-toggle="tab" data-bs-target="#vacantes">Vacantes</button>
      </li>
        <li class="nav-item">
          <button class="nav-link" data-bs-toggle="tab" data-bs-target="#banco">Banco</button>
       </li>
        <li class="nav-item">
         <button class="nav-link" data-bs-toggle="tab" data-bs-target="#comentarioAltas">Comentarios Alta</button>
      </li>
      <li class="nav-item">
         <button class="nav-link" data-bs-toggle="tab" data-bs-target="#expedienteDigital">Expediente Digital</button>
      </li>
    </ul>

      <div class="tab-content">
        <div class="tab-pane fade show active" id="perfil">
          <?php include 'perfil.php'; ?>
        </div>
        <div class="tab-pane fade" id="vacantes">
          <?php if ($estatusActual !== 'contratado'): ?>
            <?php include 'vacantes.php'; ?>
          <?php else: ?>
            <div class="alert alert-warning">
              <i class="fas fa-lock me-1"></i> No es posible modificar las vacantes cuando el candidato ya ha sido contratado.
            </div>
          <?php endif; ?>
        </div>
        <div class="tab-pane fade" id="banco">
          <?php include 'banco.php'; ?>
        </div>
        <div class="tab-pane fade" id="comentarioAltas">
          <?php include 'comentario_altas.php'; ?>
        </div>
        <div class="tab-pane fade" id="expedienteDigital" role="tabpanel" aria-labelledby="expedienteDigital-tab">
          <?php include 'expediente_digital.php'; ?>
        </div>
      </div>
    </div>
  </div>
</div>
