<div>
    <div class="mb-6">
        <h1 class="text-4xl font-bold mb-2">Revisión</h1>
        <p class="text-gray-500 text-sm">
            Asegúrate de que todos los datos están correctos y crea la licencia.
        </p>
    </div>

    <div class="space-y-6">
        
        <div class="border border-gray-200 rounded-lg p-4">
            <h3 class="font-bold text-lg mb-4">Datos de licencia</h3>
            <div class="space-y-2 text-sm">
                <div class="flex items-center">
                    <span class="font-medium text-gray-700 w-32">Cliente:</span>
                    <span class="text-gray-900"><?php echo e($client->name ?? 'N/A'); ?></span>
                </div>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($name): ?>
                <div class="flex items-center">
                    <span class="font-medium text-gray-700 w-32">Nombre:</span>
                    <span class="text-gray-900"><?php echo e($name); ?></span>
                </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                <div class="flex items-center">
                    <span class="font-medium text-gray-700 w-32">Token:</span>
                    <span class="text-gray-900 font-mono"><?php echo e($token ?? 'N/A'); ?></span>
                </div>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($startAt || $endAt): ?>
                    <div class="flex items-center">
                        <span class="font-medium text-gray-700 w-32">Fechas:</span>
                        <span class="text-gray-900">
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($startAt): ?>
                                <?php echo e(\Carbon\Carbon::parse($startAt)->format('d/m/Y')); ?>

                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($startAt && $endAt): ?> - <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($endAt): ?>
                                <?php echo e(\Carbon\Carbon::parse($endAt)->format('d/m/Y')); ?>

                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </span>
                    </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($observation): ?>
                    <div class="flex items-start">
                        <span class="font-medium text-gray-700 w-32">Observaciones:</span>
                        <span class="text-gray-900 flex-1"><?php echo e($observation); ?></span>
                    </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>
        </div>

        
        <div class="border border-gray-200 rounded-lg p-4">
            <h3 class="font-bold text-lg mb-4">Entorno(s)</h3>
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($environmentMode === 'existing' && $environments->count() > 0): ?>
                <div class="space-y-2">
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $environments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $environment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="flex items-center p-2 bg-gray-50 rounded">
                            <div class="font-medium text-gray-900"><?php echo e($environment->name); ?></div>
                            <div class="ml-2 text-sm text-gray-500">
                                (<?php echo e($environment->domain); ?>)
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>
            <?php elseif($environmentMode === 'new' && !empty($newEnvironmentData['name'])): ?>
                <div class="p-2 bg-gray-50 rounded">
                    <div class="font-medium text-gray-900"><?php echo e($newEnvironmentData['name']); ?></div>
                    <div class="text-sm text-gray-500"><?php echo e($newEnvironmentData['domain'] ?? ''); ?></div>
                </div>
            <?php else: ?>
                <p class="text-gray-500 text-sm">No hay entorno seleccionado</p>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>

        
        <div class="border border-gray-200 rounded-lg p-4">
            <h3 class="font-bold text-lg mb-4">Productos</h3>
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($products->count() > 0): ?>
                <div class="space-y-2">
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="flex items-center p-2 bg-gray-50 rounded">
                            <img src="<?php echo e($product->image_url ?? asset('images/placeholder.png')); ?>" alt="<?php echo e($product->name); ?>"
                                class="w-8 h-8 rounded-full mr-2">
                            <div class="font-medium text-gray-900"><?php echo e($product->name); ?></div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>
            <?php else: ?>
                <p class="text-gray-500 text-sm">No hay productos seleccionados</p>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
    </div>
</div><?php /**PATH /var/www/html/resources/views/livewire/license-tokens/components/review.blade.php ENDPATH**/ ?>