{{-- <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Action Already Taken</title>

    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f6f8;
            margin: 0;
            padding: 0;
        }

        .container {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card {
            background: #ffffff;
            width: 420px;
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        }

        .icon {
            font-size: 50px;
            margin-bottom: 10px;
            color: #ff9800;
        }

        h2 {
            margin: 10px 0;
            color: #333;
        }

        .status {
            margin-top: 15px;
            padding: 10px;
            border-radius: 6px;
            font-weight: bold;
            font-size: 16px;
        }

        .status.Approved {
            background-color: #e8f5e9;
            color: #2e7d32;
        }

        .status.Hold {
            background-color: #fff3e0;
            color: #ef6c00;
        }

        .status.Rejected {
            background-color: #fdecea;
            color: #c62828;
        }

        .note {
            margin-top: 15px;
            font-size: 14px;
            color: #666;
        }

        .approvelevel {
            /* color: red; */
            font-size: 18px;
            font-weight: bold;
        }
    </style>
</head>
<body>

<div class="card">
    <div class="approvelevel">⚠️ Action Already Taken</div>

    <div class="status {{ $status }}">
            Status: {{ $status }}
    </div>

    <div class="footer">
        CRI Digital Manufacturing Solutions<br>
        &copy; 2026 All Rights Reserved
    </div>
</div>

</body>
</html> --}}

<!DOCTYPE html>
<html>
<head>
    <title>Action Taken</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background: #f6f6f6;
            padding: 20px;
        }
        .card {
            background: #ffffff;
            padding: 20px;
            max-width: 500px;
            margin: 50px auto;
            border-radius: 6px;
            text-align: center;
            box-shadow: 0 0 10px rgba(0,0,0,.1);
        }
        .success {
            color: green;
            font-size: 18px;
            font-weight: bold;
        }
        .footer {
            font-size: 12px;
            color: #999999;
            text-align: center;
            margin-top: 20px;
        }
        .icon {
            font-size: 30px;
            margin-bottom: 10px;
            color: #ff9800;
        }

        .approvelevel {
            /* color: red; */
            font-size: 18px;
            font-weight: bold;
        }

        .status {
            margin-top: 15px;
            padding: 10px;
            border-radius: 6px;
            font-weight: bold;
            font-size: 16px;
        }

        .status.Approved {
            background-color: #e8f5e9;
            color: #2e7d32;
        }

        .status.Hold {
            background-color: #fff3e0;
            color: #ef6c00;
        }

        .status.Rejected {
            background-color: #fdecea;
            color: #c62828;
        }

        .note {
            margin-top: 15px;
            font-size: 15px;
            color: #666;
        }

        .pulse-darkred {
            color: orange;                /* #8B0000 */
            background-color: #fff;        /* White bg for contrast */
            display: inline-block;
            padding: 0.5em 0.75em;
            border-radius: 4px;
            font-size: 1em;
            line-height: 1;
            animation: pulse 1.5s ease-in-out infinite;  /* Duration, easing, infinite loop */
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.2);      /* Gentle 5% expansion */
            }
        }
    </style>
</head>
<body>

<div class="card">
    <div class="approvelevel"><span class="pulse-darkred">⚠️</span> Action Already Taken</div>

    {{-- <div class="status {{ $status }}">
            Status: {{ $status }}
    </div> --}}

    <div class="status {{ $status }}">
        Status: {{ $message ?? $status }}
    </div>

     <p class="note">
            This request has already been processed.<br>
            No further action is required.
     </p>

    <div class="footer">
        CRI Digital Manufacturing Solutions<br>
        &copy; 2026 All Rights Reserved
    </div>
</div>

</body>
</html>


