<div>
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($show && $guide): ?>
    <div class="modal fade show d-block" tabindex="-1" style="background: rgba(13, 17, 23, 0.85); backdrop-filter: blur(4px); z-index: 1070;">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content" style="background: #161b22; border: 1px solid #30363d; border-radius: 16px; color: #e6edf3; box-shadow: 0 20px 50px rgba(0,0,0,0.5); overflow: hidden;">
                
                
                <div class="modal-header" style="border-bottom: 1px solid #30363d; padding: 20px;">
                    <div class="d-flex align-items-center gap-3">
                        <div style="width: 40px; height: 40px; background: linear-gradient(135deg, #bc8cff, #8957e5); border-radius: 10px; display: grid; place-items: center; font-size: 18px;">
                            🪖
                        </div>
                        <h5 class="modal-title" style="font-family: 'Sora', sans-serif; font-weight: 700; color: #f0f6fc; margin: 0;">Profil Guide</h5>
                    </div>
                    <button type="button" wire:click="close" class="btn-close btn-close-white" style="font-size: 12px;"></button>
                </div>

                
                <div class="modal-body" style="padding: 25px;">
                    <div class="text-center mb-4">
                        <div class="mx-auto" style="width: 70px; height: 70px; background: linear-gradient(135deg, #30363d, #21262d); border: 2px solid #3fb950; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #3fb950; box-shadow: 0 0 15px rgba(63, 185, 80, 0.2);">
                            <?php echo e(strtoupper(substr($guide->name, 0, 1))); ?>

                        </div>
                        <h4 class="mt-3 mb-1" style="font-family: 'Sora', sans-serif; font-weight: 700;"><?php echo e($guide->name); ?></h4>
                        <span class="badge" style="background: rgba(57, 208, 200, 0.1); color: #39d0c8; border: 1px solid rgba(57, 208, 200, 0.3); font-size: 11px;">Professional Mountain Guide</span>
                    </div>

                    <div class="p-3 rounded-3" style="background: #0d1117; border: 1px solid #21262d;">
                        <div class="mb-3">
                            <label class="d-block" style="color: #8b949e; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px;">Nomor Telepon / WhatsApp</label>
                            <a href="https://wa.me/<?php echo e(preg_replace('/[^0-9]/', '', $guide->phone)); ?>" target="_blank" style="color: #39d0c8; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px;">
                                <i class="bi bi-whatsapp"></i> <?php echo e($guide->phone); ?>

                            </a>
                        </div>
                        <div class="mb-0">
                            <label class="d-block" style="color: #8b949e; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px;">Keahlian / Deskripsi</label>
                            <p style="color: #c9d1d9; font-size: 13px; line-height: 1.6; margin-bottom: 0;">
                                <?php echo e($guide->description ?? 'Guide profesional berlisensi yang siap mendampingi perjalanan pendakian Anda dengan aman.'); ?>

                            </p>
                        </div>
                    </div>
                </div>

                
                <div class="modal-footer" style="border-top: 1px solid #30363d; padding: 15px 24px;">
                    <button type="button" wire:click="close" class="btn btn-secondary w-100" style="background: #21262d; border: 1px solid #30363d; border-radius: 8px; font-weight: 600; transition: 0.2s;">Tutup Profil</button>
                </div>
            </div>
        </div>
    </div>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

    
    <script>
        document.addEventListener('keydown', e => {
            if (e.key === 'Escape') {
                window.Livewire.find('<?php echo e($_instance->getId()); ?>').close();
            }
        });
    </script>
</div><?php /**PATH C:\laragon\www\Pendaki_App-main\resources\views/livewire/guide-detail.blade.php ENDPATH**/ ?>