<div class="col-xl-8 col-md-10 mx-auto p-5">
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="<?= URL ?>/status">Lista de Status</a></li>
            <li class="breadcrumb-item active" aria-current="page">Visualizar Status</li>
        </ol>
    </nav>
    <div class="card shadow">
        <div class="card-header">Detalhes do Status</div>
        <div class="card-body">
            <dl class="row">
                <dt class="col-sm-3">Descrição</dt>
                <dd class="col-sm-9"><?= htmlspecialchars($dados['status']->descricao) ?></dd>

                <dt class="col-sm-3">Imagem</dt>
                <dd class="col-sm-9">
                    <?php if (!empty($dados['status']->img)): ?>
                        <img src="<?= htmlspecialchars($dados['status']->img) ?>" alt="Ícone" style="height:40px;">
                    <?php endif; ?>
                </dd>
            </dl>
            <a href="<?= URL ?>/status/editar/<?= $dados['status']->id_status ?>" class="btn btn-warning">Editar</a>
            <a href="<?= URL ?>/status" class="btn btn-secondary">Voltar</a>
        </div>
    </div>
</div>
