<?php $__env->startSection('title', 'Declaración Enviada - SARLAFT'); ?>

<?php $__env->startSection('content'); ?>
<div class="row justify-content-center">
<div class="col-12 col-md-7 col-lg-6">
    <div class="card card-form text-center">
        <div class="card-body p-5">
            <div class="mb-3">
                <div class="d-inline-flex align-items-center justify-content-center bg-success bg-opacity-10 rounded-circle"
                     style="width:80px;height:80px">
                    <i class="bi bi-check-circle-fill text-success" style="font-size:2.5rem"></i>
                </div>
            </div>
            <h4 class="fw-bold mb-2" style="color:var(--husda-blue)">¡Declaración registrada!</h4>
            <p class="text-muted mb-4">
                El PDF fue generado exitosamente y enviado al correo
                <strong><?php echo e($email); ?></strong>.
            </p>

            <div class="info-box text-start mb-4">
                <i class="bi bi-info-circle-fill me-2"></i>
                Si no ves el correo en tu bandeja de entrada, revisa la carpeta de <strong>spam</strong> o <strong>correo no deseado</strong>.
            </div>

            <div class="d-flex flex-column gap-2">
                <a href="<?php echo e(route('declaracion.download', $token)); ?>" class="btn btn-husda">
                    <i class="bi bi-download me-2"></i>Descargar PDF
                </a>
                <a href="<?php echo e(route('declaracion.index')); ?>" class="btn btn-outline-secondary">
                    <i class="bi bi-plus-circle me-1"></i>Nueva declaración
                </a>
            </div>
        </div>
    </div>
</div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/hospital/public_html/sarlaft/resources/views/declaracion/success.blade.php ENDPATH**/ ?>