<?php echo $__env->make('takaback.layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<style>
    body {
        font-family: 'Arial', sans-serif;
        background-color: #f8f9fa;
        color: #495057;
        margin: 0;
        padding: 0;
    }

    .inner-page {
        background-color: #fff;
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        margin: 20px auto;
        max-width: 1000px;
         -webkit-touch-callout: none;
        /* Désactiver le menu contextuel sur les appareils mobiles */
        -webkit-user-select: none;
        /* Désactiver la sélection de texte sur Safari */
        -moz-user-select: none;
        /* Désactiver la sélection de texte sur Firefox */
        -ms-user-select: none;
        /* Désactiver la sélection de texte sur Internet Explorer/Edge */
        user-select: none;
        /* Désactiver la sélection de texte sur les autres navigateurs */
    }

    .company-icon, .job-icon {
        color: #36cc57;
        font-size: 1.5em;
        margin-right: 10px;
    }

    h1 {
        color: rgb(24, 48, 44);
        text-align: center;
        margin-bottom: 30px;
    }

    .job-details {
        font-size: 1.0em;
        line-height: 1.6;
        color: #6c757d;
    }

    .job-details p {
        margin-left: 30px; /* Ajoutez cette ligne pour décaler le paragraphe vers la gauche */
    }

    .apply-btn {
        display: inline-block;
        padding: 10px 20px;
        color: #fff;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        margin-top: 30px;
        transition: background-color 0.3s;
    }


    .taille{
        font-size:12px;
    }






    </style>
 <div class="search-btn" id="searchBtn">
        <i class="fas fa-search"></i>
    </div>


  <main id="main">
    <!-- ======= Breadcrumbs Section ======= -->
    <section class="">
      <div class="container">
        <div class="d-flex justify-content-between align-items-center mt-4">

            <form method="GET" action="<?php echo e(route('retour-arriere')); ?>" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>

                <button type="submit" class="btn btn-success">Retour en arrière</button>
            </form>
          
        </div>
      </div>
    </section>
    <!-- End Breadcrumbs Section -->
    <?php $__currentLoopData = $result; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>


    <section class="inner-page">
        <div class="container">
            <h1 class="mt-4 mb-4">
                <i class="fas fa-gavel job-offer-icon"></i> <strong><?php echo e($element->nom_element); ?></strong>
            </h1>
            <?php
            $dateLoi = $element->date_loi;
            $dateFormatee = date('d-m-Y', strtotime($dateLoi));
            ?>
            <div class="taille">En vigueur depuis le <?php echo e($dateFormatee); ?></div>
            <div class="job-details">
                <div></div>
                <p><?php echo $element->text_element; ?></p>
            </div>
        </div>
    </section>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

  </main>


  <!-- End #main -->
<?php echo $__env->make('takaback.layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<script>
document.addEventListener('keydown', function(event) {
    if(event.ctrlKey && (event.key === 'f' || event.key === 'F')) { // Detect CTRL + F
        event.preventDefault(); // Prevent default browser search behavior
        alert('Recherche non fonctionnelle.'); // Display a message to the user
    }
	else if(event.metaKey && (event.key === 'f' || event.key === 'F' )) { // Detect Command + F on macOS
        event.preventDefault(); // Prevent default browser search behavior
        alert('Text search is disabled on this page.'); // Display a message to the user
    }
});

// Prevent right-click context menu
document.addEventListener('contextmenu', function(event) {
    event.preventDefault(); // Prevent default right-click context menu
    alert('Opération non autorisée.'); // Display a message to the user
});

</script>
<?php /**PATH /home/p59qce1cziqc/public_html/takaback.com/resources/views/takaback/search.blade.php ENDPATH**/ ?>