<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ $title ?? __('dberp.messages.admin_access_denied') }}</title>
    <style>
        body {
            margin: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: linear-gradient(180deg, #f6f1e7 0%, #fffdf8 100%);
            color: #2f2418;
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
        }

        .panel {
            width: min(560px, 100%);
            padding: 32px;
            border-radius: 20px;
            background: #fffaf0;
            box-shadow: 0 18px 48px rgba(92, 67, 32, 0.12);
            border: 1px solid rgba(164, 118, 52, 0.18);
        }

        .code {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 999px;
            background: #f4e2bf;
            color: #8b5a1f;
            font-size: 13px;
            letter-spacing: 0.08em;
        }

        h1 {
            margin: 16px 0 12px;
            font-size: 28px;
            line-height: 1.35;
        }

        p {
            margin: 0;
            font-size: 15px;
            line-height: 1.8;
            color: #5a4631;
        }

        .actions {
            display: flex;
            gap: 12px;
            margin-top: 28px;
            flex-wrap: wrap;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 140px;
            padding: 12px 18px;
            border-radius: 12px;
            text-decoration: none;
            font-size: 14px;
            border: 1px solid transparent;
        }

        .button-primary {
            background: #b87427;
            color: #fffdf8;
        }

        .button-secondary {
            background: transparent;
            color: #7a582f;
            border-color: rgba(122, 88, 47, 0.24);
        }
    </style>
</head>
<body>
    <section class="panel">
        <span class="code">403</span>
        <h1>{{ $title ?? __('dberp.messages.admin_access_denied') }}</h1>
        <p>{{ $message ?? __('dberp.messages.admin_access_contact_super_admin') }}</p>
        <div class="actions">
            <a class="button button-primary" href="#" onclick="event.preventDefault(); history.back();">{{ __('dberp.actions.back_to_previous_page') }}</a>
            <a class="button button-secondary" href="{{ url('/') }}">{{ __('dberp.actions.back_to_system_home') }}</a>
        </div>
    </section>
</body>
</html>