<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Pay Result - Apcopay</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.5;
            padding: 2rem;
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
        }
        .result-box {
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        .success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .message {
            font-size: 1.2rem;
            margin: 1rem 0;
        }
    </style>
</head>
<body>
    <div class="result-box {{ $success ? 'success' : 'error' }}">
        <h1>{{ $success ? 'Success' : 'Failed' }}</h1>
        <div class="message">{{ $message }}</div>
    </div>
</body>
</html>
