<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>QualityFlow - Endline Selection</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Bootstrap Icons -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css">
    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">
    
    <style>
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f5f6f8; /* Light gray background */
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Hide specific navbar elements for this view */
        #navScanNext {
            display: none !important;
        }

        /* Top info pills container */
        .info-pills-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
        }

        .info-pill {
            background-color: white;
            border: 1px solid #e1e4e8;
            border-radius: 20px;
            padding: 0.4rem 1.2rem;
            font-size: 0.75rem;
            font-weight: 700;
            color: #6a737d;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.02);
        }

        .info-pill i {
            color: #2b4cc4;
            font-size: 0.9rem;
        }

        /* Large selection cards container */
        .selection-cards-container {
            display: flex;
            justify-content: center;
            gap: 2rem;
            max-width: 1800px;
            flex-grow: 1;
            padding: 0 1rem 3rem 1rem;
            flex-wrap: wrap; /* allow wrapping on smaller screens */
        }

        /* Shared Card Styling */
        .selection-card {
            flex: 1;
            min-width: 300px;
            max-width: 800px;
            border-radius: 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 4rem 2rem;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
        }
        
        /* Pass Card Specifics */
        .card-pass {
            background-color: #f0fdf4; /* Light green tint */
            border: 4px solid #bbf7d0; /* Muted green border */
        }

        .card-pass:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(22, 163, 74, 0.15);
            border-color: #86efac;
        }

        .icon-pass-wrapper {
            background-color: #16a34a; /* Solid green */
            width: 120px;
            height: 120px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
            box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
        }

        .title-pass {
            color: #16a34a;
            font-size: 3.5rem;
            font-weight: 900;
            margin: 0;
            letter-spacing: -1px;
        }

        .subtitle-pass {
            color: #22c55e;
            font-size: 0.9rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 0.5rem;
        }

        /* Defective Card Specifics */
        .card-defective {
            background-color: #fef2f2; /* Light red tint */
            border: 4px solid #fecaca; /* Muted red border */
        }

        .card-defective:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
            border-color: #fca5a5;
        }

        .icon-defective-wrapper {
            background-color: #dc2626; /* Solid red */
            width: 120px;
            height: 120px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
            box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
        }

        .title-defective {
            color: #dc2626;
            font-size: 3.5rem;
            font-weight: 900;
            margin: 0;
            letter-spacing: -1px;
        }

        .subtitle-defective {
            color: #ef4444;
            font-size: 0.9rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 0.5rem;
        }

        /* Icons inside the circles */
        .circle-icon {
            color: white;
            font-size: 4.5rem;
        }

    </style>
</head>
<body>

    <!-- Injecting the navigation bar blade components -->
    <?php echo $__env->make('Quality.Endline_nav', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <!-- Info Pills -->
    <div class="info-pills-container">
        <div class="info-pill">
            <i class="bi bi-hash"></i>
            ID: GARMENT-9405
        </div>
        <div class="info-pill">
            <i class="bi bi-boxes"></i>
            CC: 114227
        </div>
        <div class="info-pill">
            <i class="bi bi-palette"></i>
            COLOR: PURPLE
        </div>
        <div class="info-pill">
            <i class="bi bi-tag"></i>
            MODEL: 8919663-PURPLE
        </div>
    </div>

    <!-- Selection Cards -->
    <div class="selection-cards-container">
        
        <!-- Pass Card -->
        <a href="<?php echo e(route('endlinetablepage')); ?>" id="passCard" class="selection-card mx-5 card-pass">
            <div class="icon-pass-wrapper">
                <i class="bi bi-check-circle circle-icon"></i>
            </div>
            <h1 class="title-pass">PASS</h1>
            <span class="subtitle-pass">NO DEFECTS FOUND</span>
        </a>

        <!-- Defective Card -->
        <a href="<?php echo e(route('endline_defectselection')); ?>" id="defectiveCard" class="selection-card card-defective">
            <div class="icon-defective-wrapper">
                <i class="bi bi-x-lg circle-icon" style="font-size: 4rem;"></i>
            </div>
            <h1 class="title-defective">DEFECTIVE</h1>
            <span class="subtitle-defective">LOG ISSUES FOUND</span>
        </a>

    </div>

    <!-- External Script Dependencies (jQuery & Bootstrap) -->
    <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        $(document).ready(function() {
            console.log("Endline Selection page initialized.");
        });
    </script>
</body>
</html>
<?php /**PATH D:\xampp\htdocs\Endline\resources\views/Quality/Endline_selection.blade.php ENDPATH**/ ?>