<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Operations Dashboard - NDRT System</title>
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #d3d3d3;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .logo {
            background-color: white;
            padding: 20px;
            margin: 0 auto 20px;
            width: fit-content;
        }

        .logo-cross {
            width: 60px;
            height: 60px;
            background-color: #ED1C24;
            margin: 0 auto 10px;
            clip-path: polygon(
                40% 0%, 60% 0%, 60% 40%, 100% 40%, 
                100% 60%, 60% 60%, 60% 100%, 40% 100%, 
                40% 60%, 0% 60%, 0% 40%, 40% 40%
            );
        }

        .logo-text {
            font-size: 14px;
            font-weight: bold;
            color: #000;
        }

        .logo-subtext {
            font-size: 16px;
            font-weight: bold;
            color: #ED1C24;
        }

        h1 {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .subtitle {
            font-size: 14px;
            color: #555;
            margin-bottom: 30px;
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .dashboard-card {
            background-color: #f5f5f5;
            border: 2px solid #333;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s;
        }

        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .dashboard-card h3 {
            font-size: 16px;
            margin-bottom: 20px;
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-go {
            padding: 10px 30px;
            background-color: white;
            border: 2px solid #333;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            color: #000;
        }

        .btn-go:hover {
            background-color: #ED1C24;
            color: white;
            border-color: #ED1C24;
        }

        .footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #000;
            color: white;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            font-size: 12px;
        }

        .user-info {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: white;
            padding: 10px 20px;
            border-radius: 8px;
            border: 2px solid #333;
        }

        .logout-btn {
            margin-left: 15px;
            padding: 5px 15px;
            background-color: #ED1C24;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-decoration: none;
        }

        @media (max-width: 768px) {
            .dashboard-grid {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="user-info">
        <strong><?php echo e(Auth::user()->name); ?></strong> (<?php echo e(Auth::user()->role); ?>)
        <form action="<?php echo e(route('logout')); ?>" method="POST" style="display: inline;">
            <?php echo csrf_field(); ?>
            <button type="submit" class="logout-btn">Logout</button>
        </form>
    </div>

    <div class="header">
        <div class="logo">
            <div class="logo-cross"></div>
            <div class="logo-text">South Sudan</div>
            <div class="logo-subtext">Red Cross</div>
        </div>

        <h1>Operations Dashboard</h1>
        <p class="subtitle">Please choose your task below</p>
    </div>

    <div class="dashboard-grid">
        <div class="dashboard-card">
            <h3>Volunteer Management Information System (VMIS)</h3>
            <a href="https://vmis-ssredcross.org/" class="btn-go">GO <i class="fas fa-arrow-right"></i></a>
        </div>

        <div class="dashboard-card">
            <h3>National Disaster Response Team (NDRT)</h3>
            <a href="<?php echo e(route('ndrt.index')); ?>" class="btn-go">GO <i class="fas fa-arrow-right"></i></a>
        </div>

        <div class="dashboard-card">
            <h3>Emergence Action Team (EAT)</h3>
            <a href="#" class="btn-go">GO <i class="fas fa-arrow-right"></i></a>
        </div>

        <div class="dashboard-card">
            <h3>Settings</h3>
            <a href="<?php echo e(route('settings')); ?>" class="btn-go">GO <i class="fas fa-arrow-right"></i></a>
        </div>

        <div class="dashboard-card">
            <h3>FAQ's</h3>
            <a href="<?php echo e(route('faqs')); ?>" class="btn-go">GO <i class="fas fa-arrow-right"></i></a>
        </div>

        <div class="dashboard-card">
            <h3>Support/Help</h3>
            <a href="<?php echo e(route('support')); ?>" class="btn-go">GO <i class="fas fa-arrow-right"></i></a>
        </div>
    </div>

    <div class="footer">
        <div>2025. National Disaster Response Team (NDRT) Information System . South Sudan Red Cross.</div>
        <div>Powered By Dynamic Consult.</div>
    </div>
</body>
</html><?php /**PATH C:\wamp64\www\ndrt-system\resources\views/dashboard.blade.php ENDPATH**/ ?>