<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ __('payment.checkout.error_title') }}</title>
    <style>
        body {
            margin: 0;
            min-height: 100vh;
            display: grid;
            place-items: center;
            font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif;
            background: linear-gradient(180deg, #f8faf9, #eef3f0);
            color: #14201a;
            padding: 1.5rem;
        }
        .panel {
            width: min(28rem, 100%);
            background: #fff;
            border: 1px solid #d7e0db;
            border-radius: 1rem;
            padding: 1.5rem;
        }
        a { color: #0f766e; }
    </style>
</head>
<body>
    <main class="panel">
        <h1>{{ __('payment.checkout.error_title') }}</h1>
        <p>{{ $message }}</p>
        <p><a href="{{ $returnUrl }}">{{ __('payment.checkout.back') }}</a></p>
    </main>
</body>
</html>
