<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    
    <title><?php echo $__env->yieldContent('title', $branding['company_name'] ?? 'Authentication'); ?></title>
    
    <?php if(isset($branding['favicon_url']) && $branding['favicon_url']): ?>
        <link rel="icon" href="<?php echo e($branding['favicon_url']); ?>" type="image/png">
    <?php endif; ?>
    
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
    
    <?php echo $__env->make('partials.vite-assets', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    <?php echo $__env->yieldContent('styles'); ?>
</head>
<body class="auth-layout min-vh-100 w-100">

    <main class="auth-main w-100 min-vh-100 d-flex flex-column">
        <turbo-frame id="auth-content" data-turbo-action="advance" class="turbo-frame-shell auth-frame w-100 flex-grow-1 d-flex flex-column">
            <?php echo $__env->make('partials.turbo-flash', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            <?php echo $__env->yieldContent('content'); ?>
        </turbo-frame>
    </main>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
    
    <script data-turbo-eval="true">
        function initPasswordToggle(root) {
            root.querySelectorAll('.toggle-password:not([data-bound])').forEach(function (button) {
                button.dataset.bound = '1';
                button.addEventListener('click', function () {
                    const targetId = this.getAttribute('data-target');
                    const input = document.getElementById(targetId);
                    const icon = this.querySelector('i');
                    if (input.type === 'password') {
                        input.type = 'text';
                        icon.classList.replace('bi-eye', 'bi-eye-slash');
                    } else {
                        input.type = 'password';
                        icon.classList.replace('bi-eye-slash', 'bi-eye');
                    }
                });
            });
        }
        document.addEventListener('DOMContentLoaded', function () { initPasswordToggle(document); });
        document.addEventListener('turbo:page-ready', function (e) { initPasswordToggle(e.detail.frame); });
    </script>

    <?php echo $__env->make('partials.sweetalert', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <?php echo $__env->yieldContent('scripts'); ?>
</body>
</html>
<?php /**PATH C:\xampp\htdocs\mjs-bikes-marketplace\resources\views/layouts/auth.blade.php ENDPATH**/ ?>