
<?php $__env->startSection('title', 'Feasibility Report #'.str_pad($report->id, 5, '0', STR_PAD_LEFT)); ?>

<?php $__env->startSection('content'); ?>
<?php
    $score      = $report->feasibility_score ?? 0;
    $scoreColor = $score >= 70 ? 'var(--green)' : ($score >= 40 ? 'var(--yellow)' : 'var(--red)');
    $scoreLabel = $score >= 70 ? 'Feasible' : ($score >= 40 ? 'Marginal' : 'Challenging');
    $scoreBadge = $score >= 70 ? 'badge-green' : ($score >= 40 ? 'badge-yellow' : 'badge-red');
    $cost       = $report->cost_estimates ?? [];
    $projectTypeLabels = ['residential' => 'Residential', 'commercial' => 'Commercial', 'industrial' => 'Industrial', 'mixed' => 'Mixed Use'];
    $ptLabel    = $projectTypeLabels[$report->project_type ?? 'residential'] ?? 'Residential';
?>

<div style="max-width:980px;margin:0 auto;padding:32px 24px;">

    
    <div style="display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px;gap:16px;flex-wrap:wrap;">
        <div style="flex:1;min-width:0;">
            <div style="font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:6px;">FEASIBILITY REPORT</div>
            <h1 style="font-size:20px;font-weight:700;word-break:break-word;"><?php echo e($report->address ?? 'Plot Analysis'); ?></h1>
            <div style="font-size:13px;color:var(--text-secondary);margin-top:4px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;">
                <span>Report #<?php echo e(str_pad($report->id, 5, '0', STR_PAD_LEFT)); ?></span>
                <span style="color:var(--border);">•</span>
                <span><?php echo e($report->created_at?->diffForHumans()); ?></span>
                <?php if($report->zone): ?>
                <span style="color:var(--border);">•</span>
                <span style="color:#60a5fa;font-weight:600;"><?php echo e($report->zone->name); ?></span>
                <?php endif; ?>
                <span class="badge badge-blue"><?php echo e($ptLabel); ?></span>
            </div>
        </div>
        <div style="display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap;">
            <button onclick="copyShareLink()" class="btn btn-secondary" style="font-size:12px;">
                <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"/><polyline points="16 6 12 2 8 6"/><line x1="12" y1="2" x2="12" y2="15"/></svg>
                Share
            </button>
            <a href="<?php echo e(route('portal.analyze.form')); ?>" class="btn btn-secondary" style="font-size:12px;">← New Analysis</a>
        </div>
    </div>

    <?php if($report->status === 'failed'): ?>
    <div class="alert alert-error">
        <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
        Analysis failed: <?php echo e($report->result_data['error'] ?? 'Unknown error. Please try again.'); ?>

    </div>
    <?php endif; ?>

    <?php if($report->status === 'completed'): ?>
    
    <div class="card" style="padding:24px 28px;margin-bottom:20px;display:flex;align-items:center;gap:28px;">
        <div style="text-align:center;flex-shrink:0;">
            <div style="font-size:56px;font-weight:800;color:<?php echo e($scoreColor); ?>;line-height:1;"><?php echo e($score); ?></div>
            <div style="font-size:13px;font-weight:600;color:<?php echo e($scoreColor); ?>;"><?php echo e($scoreLabel); ?></div>
            <div style="font-size:10px;color:var(--text-muted);margin-top:2px;">out of 100</div>
        </div>
        <div style="flex:1;">
            <div style="height:10px;background:rgba(255,255,255,.07);border-radius:5px;overflow:hidden;margin-bottom:16px;">
                <div style="width:<?php echo e($score); ?>%;height:100%;background:<?php echo e($scoreColor); ?>;border-radius:5px;"></div>
            </div>
            <div style="display:grid;grid-template-columns:repeat(3,1fr);gap:12px;">
                <?php if($report->max_buildable_area_sqm): ?>
                <div style="background:rgba(255,255,255,.04);border-radius:6px;padding:10px;text-align:center;">
                    <div style="font-size:20px;font-weight:700;color:#60a5fa;"><?php echo e(number_format($report->max_buildable_area_sqm)); ?></div>
                    <div style="font-size:10px;color:var(--text-muted);">Max BUA (sqm)</div>
                </div>
                <?php endif; ?>
                <?php if($report->max_floors): ?>
                <div style="background:rgba(255,255,255,.04);border-radius:6px;padding:10px;text-align:center;">
                    <div style="font-size:20px;font-weight:700;color:#f97316;"><?php echo e($report->max_floors); ?></div>
                    <div style="font-size:10px;color:var(--text-muted);">Max Floors</div>
                </div>
                <?php endif; ?>
                <?php if($report->zoneRule): ?>
                <div style="background:rgba(255,255,255,.04);border-radius:6px;padding:10px;text-align:center;">
                    <div style="font-size:20px;font-weight:700;color:#a78bfa;"><?php echo e($report->zoneRule->max_far); ?></div>
                    <div style="font-size:10px;color:var(--text-muted);">FAR / FSI</div>
                </div>
                <?php endif; ?>
            </div>
        </div>
    </div>

    <div style="display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px;">

        
        <div style="display:flex;flex-direction:column;gap:16px;">

            
            <div class="card" style="padding:18px;">
                <div style="font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:14px;">Building Parameters</div>
                <?php
                $params = [
                    ['Plot Area',          $report->plot_area_sqm ? number_format($report->plot_area_sqm).' sqm' : '—', null],
                    ['Max Buildable Area', $report->max_buildable_area_sqm ? number_format($report->max_buildable_area_sqm).' sqm' : '—', '#60a5fa'],
                    ['Ground Coverage',    $report->ground_coverage_sqm ? number_format($report->ground_coverage_sqm).' sqm' : '—', null],
                    ['Max Floors',         $report->max_floors ?? '—', '#f97316'],
                    ['FAR / FSI',          $report->zoneRule?->max_far ?? '—', '#a78bfa'],
                    ['Max Height',         $report->zoneRule?->max_height_m ? $report->zoneRule->max_height_m.' m' : '—', null],
                    ['Road Width',         $report->road_width_m ? $report->road_width_m.' m' : '—', '#2dd4bf'],
                    ['Ground Coverage %',  $report->zoneRule?->max_ground_coverage ? ($report->zoneRule->max_ground_coverage * 100).'%' : '—', null],
                    ['Parking Required',   isset($report->result_data['parking_required_ecs']) ? $report->result_data['parking_required_ecs'].' ECS' : '—', null],
                ];
                ?>
                <?php $__currentLoopData = $params; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as [$label, $value, $color]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div style="display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.05);font-size:13px;">
                    <span style="color:var(--text-secondary);"><?php echo e($label); ?></span>
                    <span style="<?php echo e($color ? 'color:'.$color.';font-weight:600;' : 'color:var(--text);'); ?>"><?php echo e($value); ?></span>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>

            
            <?php if($report->setback_summary): ?>
            <div class="card" style="padding:18px;">
                <div style="font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:14px;">Required Setbacks</div>
                <div style="display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px;">
                    <?php $__currentLoopData = ['front_m' => 'Front', 'side_m' => 'Side', 'rear_m' => 'Rear']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $dir): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if(isset($report->setback_summary[$key])): ?>
                    <div style="background:rgba(255,255,255,.04);border-radius:6px;padding:10px;text-align:center;">
                        <div style="font-size:18px;font-weight:700;color:#2dd4bf;"><?php echo e($report->setback_summary[$key]); ?>m</div>
                        <div style="font-size:10px;color:var(--text-muted);"><?php echo e($dir); ?></div>
                    </div>
                    <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                <?php if(!empty($report->setback_summary['note'])): ?>
                <div style="font-size:11px;color:var(--text-muted);"><?php echo e($report->setback_summary['note']); ?></div>
                <?php endif; ?>
            </div>
            <?php endif; ?>

            
            <?php if($report->zoneRule): ?>
            <div class="card" style="padding:18px;">
                <div style="font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:12px;">Applied Regulation</div>
                <?php $__currentLoopData = [
                    ['Rule Source',       $report->zoneRule->rule_source ?? '—'],
                    ['Road Width Band',   $report->zoneRule->road_width_label ?? '—'],
                    ['Open Space %',      $report->zoneRule->open_space_pct ? $report->zoneRule->open_space_pct.'%' : '—'],
                    ['Parking Ratio',     $report->zoneRule->parking_ratio_ecs ? $report->zoneRule->parking_ratio_ecs.' ECS / 100 sqm' : '—'],
                ]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as [$label, $value]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div style="display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid rgba(255,255,255,.05);font-size:12px;">
                    <span style="color:var(--text-secondary);"><?php echo e($label); ?></span>
                    <span style="color:var(--text);"><?php echo e($value); ?></span>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php if($report->zoneRule->special_conditions): ?>
                <div style="margin-top:10px;background:rgba(241,196,15,.08);border:1px solid rgba(241,196,15,.2);border-radius:6px;padding:8px 10px;font-size:12px;color:#fbbf24;">
                    ⚠ <?php echo e($report->zoneRule->special_conditions); ?>

                </div>
                <?php endif; ?>
            </div>
            <?php endif; ?>
        </div>

        
        <div style="display:flex;flex-direction:column;gap:16px;">

            
            <div class="card" style="padding:0;overflow:hidden;">
                <?php if($report->latitude && $report->longitude): ?>
                <div id="report-map" style="height:200px;"></div>
                <?php endif; ?>
                <div style="padding:16px 18px;">
                    <div style="font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:12px;">Location</div>
                    <?php $__currentLoopData = [
                        ['Address',     $report->address ?? '—'],
                        ['State',       $report->state?->name ?? '—'],
                        ['City',        $report->city?->name ?? '—'],
                        ['Zone',        $report->zone?->name ?? '—'],
                        ['Coordinates', $report->latitude && $report->longitude ? round($report->latitude,5).', '.round($report->longitude,5) : '—'],
                        ['Regulation',  $report->zoneRule?->rule_source ?? '—'],
                    ]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as [$label, $value]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div style="display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid rgba(255,255,255,.05);font-size:12px;gap:12px;">
                        <span style="color:var(--text-secondary);flex-shrink:0;"><?php echo e($label); ?></span>
                        <span style="color:var(--text);text-align:right;word-break:break-word;"><?php echo e($value); ?></span>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>

            
            <?php if($report->permitted_uses && count($report->permitted_uses)): ?>
            <div class="card" style="padding:18px;">
                <div style="font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:12px;">Permitted Uses</div>
                <div style="display:flex;flex-wrap:wrap;gap:6px;">
                    <?php $__currentLoopData = $report->permitted_uses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $use): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <span class="badge badge-teal"><?php echo e($use); ?></span>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
            <?php endif; ?>

            
            <?php if($report->restriction_flags && count(array_filter($report->restriction_flags))): ?>
            <div class="card" style="padding:18px;border-color:rgba(249,115,22,.3);">
                <div style="font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--orange);margin-bottom:12px;">⚠ Restriction Flags</div>
                <?php $__currentLoopData = $report->restriction_flags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $flag => $active): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($active): ?>
                    <div style="display:flex;align-items:center;gap:8px;color:var(--orange);font-size:13px;margin-bottom:6px;">
                        <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
                        <?php echo e(str_replace('_', ' ', ucfirst($flag))); ?>

                    </div>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <?php endif; ?>
        </div>
    </div>

    
    <?php if(!empty($cost)): ?>
    <div class="card" style="padding:24px;margin-bottom:20px;border-color:rgba(34,197,94,.2);">
        <div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;">
            <div>
                <div style="font-size:15px;font-weight:700;color:var(--text);">💰 Cost & Return Estimates</div>
                <div style="font-size:12px;color:var(--text-secondary);margin-top:2px;"><?php echo e($ptLabel); ?> project in <?php echo e($report->state?->name ?? 'this region'); ?></div>
            </div>
            <span class="badge badge-green" style="font-size:11px;">Indicative</span>
        </div>

        <div style="display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px;">
            <?php
            $costMetrics = [
                ['Construction Cost', '₹'.number_format($cost['construction_cost_min_inr']).' – ₹'.number_format($cost['construction_cost_max_inr']), '#60a5fa', 'Total build cost'],
                ['Gross Dev. Value',  '₹'.number_format($cost['gross_development_value_inr']), '#22c55e', 'Est. market value'],
                ['Est. Profit',       ($cost['estimated_profit_inr'] >= 0 ? '₹' : '-₹').number_format(abs($cost['estimated_profit_inr'])), $cost['estimated_profit_inr'] >= 0 ? '#22c55e' : '#ef4444', 'GDV minus avg cost'],
                ['ROI %',             $cost['roi_pct'].'%', $cost['roi_pct'] >= 30 ? '#22c55e' : ($cost['roi_pct'] >= 15 ? '#eab308' : '#ef4444'), 'Return on construction'],
            ];
            ?>
            <?php $__currentLoopData = $costMetrics; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as [$label, $value, $color, $sub]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div style="background:rgba(255,255,255,.04);border-radius:8px;padding:14px;text-align:center;">
                <div style="font-size:15px;font-weight:700;color:<?php echo e($color); ?>;line-height:1.3;"><?php echo e($value); ?></div>
                <div style="font-size:11px;font-weight:600;color:var(--text-secondary);margin-top:4px;"><?php echo e($label); ?></div>
                <div style="font-size:10px;color:var(--text-muted);margin-top:2px;"><?php echo e($sub); ?></div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>

        <div style="display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:16px;">
            <?php if($cost['monthly_rent_estimate_inr']): ?>
            <div style="background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:6px;padding:12px;">
                <div style="font-size:11px;color:var(--text-muted);margin-bottom:4px;">Monthly Rental</div>
                <div style="font-size:16px;font-weight:700;color:#2dd4bf;">₹<?php echo e(number_format($cost['monthly_rent_estimate_inr'])); ?></div>
                <div style="font-size:10px;color:var(--text-muted);">₹<?php echo e(number_format($cost['annual_rent_estimate_inr'])); ?> / yr</div>
            </div>
            <?php endif; ?>
            <?php if($cost['breakeven_years']): ?>
            <div style="background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:6px;padding:12px;">
                <div style="font-size:11px;color:var(--text-muted);margin-bottom:4px;">Rental Break-even</div>
                <div style="font-size:16px;font-weight:700;color:#f97316;"><?php echo e($cost['breakeven_years']); ?> yrs</div>
                <div style="font-size:10px;color:var(--text-muted);">Via rental income alone</div>
            </div>
            <?php endif; ?>
            <div style="background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:6px;padding:12px;">
                <div style="font-size:11px;color:var(--text-muted);margin-bottom:4px;">Construction Rate</div>
                <div style="font-size:16px;font-weight:700;color:#a78bfa;">₹<?php echo e(number_format($cost['construction_rate_min_sqm'])); ?>–<?php echo e(number_format($cost['construction_rate_max_sqm'])); ?></div>
                <div style="font-size:10px;color:var(--text-muted);">per sqm (<?php echo e($ptLabel); ?>)</div>
            </div>
        </div>

        <div style="background:rgba(255,255,255,.03);border:1px solid rgba(234,179,8,.2);border-radius:6px;padding:10px 12px;font-size:11px;color:#ca8a04;">
            ⚠ <strong>Estimates only.</strong> <?php echo e($cost['note'] ?? ''); ?>

        </div>
    </div>
    <?php endif; ?>

    
    <div class="card" style="padding:20px;margin-bottom:20px;background:rgba(37,99,235,.05);border-color:rgba(37,99,235,.2);">
        <div style="font-size:14px;font-weight:700;color:#93c5fd;margin-bottom:14px;">🏗 What Can Be Built Here?</div>
        <div style="display:grid;grid-template-columns:repeat(3,1fr);gap:14px;">
            <div>
                <div style="color:var(--text-muted);font-size:11px;margin-bottom:4px;">Max Built-up Area</div>
                <div style="font-weight:700;color:var(--text);font-size:20px;"><?php echo e($report->max_buildable_area_sqm ? number_format($report->max_buildable_area_sqm).' sqm' : '—'); ?></div>
                <div style="color:var(--text-muted);font-size:11px;">across <?php echo e($report->max_floors ?? '—'); ?> floor<?php echo e(($report->max_floors ?? 1) != 1 ? 's' : ''); ?></div>
            </div>
            <div>
                <div style="color:var(--text-muted);font-size:11px;margin-bottom:4px;">Approx. Units @ 75 sqm</div>
                <div style="font-weight:700;color:#60a5fa;font-size:20px;">
                    <?php echo e($report->max_buildable_area_sqm ? floor($report->max_buildable_area_sqm / 75).' units' : '—'); ?>

                </div>
                <div style="color:var(--text-muted);font-size:11px;">typical 2-BHK size</div>
            </div>
            <div>
                <div style="color:var(--text-muted);font-size:11px;margin-bottom:4px;">Ground Floor Footprint</div>
                <div style="font-weight:700;color:#2dd4bf;font-size:20px;"><?php echo e($report->ground_coverage_sqm ? number_format($report->ground_coverage_sqm).' sqm' : '—'); ?></div>
                <div style="color:var(--text-muted);font-size:11px;"><?php echo e($report->zoneRule?->max_ground_coverage ? round($report->zoneRule->max_ground_coverage * 100).'% coverage' : ''); ?></div>
            </div>
        </div>
    </div>

    
    <div style="background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:8px;padding:14px;font-size:11px;color:var(--text-muted);line-height:1.6;margin-bottom:20px;">
        <strong style="color:var(--text-secondary);">Disclaimer:</strong> This analysis is for informational purposes only based on publicly available regulations and indicative market data. Always consult a licensed architect, town planner, or registered valuer before making investment decisions. LandFeasibility.in accepts no liability for decisions made based on this report.
    </div>

    <?php endif; ?> 

    
    <div style="display:flex;gap:12px;flex-wrap:wrap;">
        <a href="<?php echo e(route('portal.analyze.form')); ?>" class="btn btn-primary">← New Analysis</a>
        <?php if($report->status === 'completed'): ?>
        <a href="<?php echo e(route('portal.report.pdf', $report->id)); ?>" class="btn btn-secondary" target="_blank">
            <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
            Download PDF
        </a>
        <a href="<?php echo e(route('portal.compare', ['address1' => urlencode($report->address ?? ''), 'area1' => $report->plot_area_sqm, 'state1' => $report->state_id])); ?>" class="btn btn-secondary">
            ⚖️ Compare with Another Plot
        </a>
        <button onclick="window.print()" class="btn btn-secondary">🖨 Print</button>
        <?php endif; ?>
    </div>
</div>

<div id="share-toast" style="position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:#22c55e;color:#fff;padding:10px 20px;border-radius:8px;font-size:13px;font-weight:600;opacity:0;transition:all .3s;pointer-events:none;z-index:999;">
    ✓ Link copied to clipboard!
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
<?php if($report->latitude && $report->longitude): ?>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" crossorigin=""></script>
<script>
document.addEventListener('DOMContentLoaded', () => {
    const lat = <?php echo e($report->latitude); ?>;
    const lng = <?php echo e($report->longitude); ?>;
    const map = L.map('report-map', { zoomControl: true, scrollWheelZoom: false }).setView([lat, lng], 16);
    L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
        attribution: '© OpenStreetMap contributors', maxZoom: 19
    }).addTo(map);
    L.marker([lat, lng]).addTo(map)
        .bindPopup('<strong><?php echo e(addslashes($report->address ?? 'Plot')); ?></strong><br><?php echo e($report->zone?->name ?? ''); ?>')
        .openPopup();
});
</script>
<?php endif; ?>
<script>
function copyShareLink() {
    navigator.clipboard.writeText(window.location.href).then(() => {
        const t = document.getElementById('share-toast');
        t.style.opacity = '1'; t.style.transform = 'translateX(-50%) translateY(0)';
        setTimeout(() => { t.style.opacity='0'; t.style.transform='translateX(-50%) translateY(20px)'; }, 2800);
    });
}
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('portal.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp_lite_8_4\www\landfeasibility\resources\views/portal/report.blade.php ENDPATH**/ ?>