<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Error {{ $httpStatus }}</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: #1a202c;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            color: #e2e8f0;
        }

        .error-container {
            background: #2d3748;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            max-width: 600px;
            width: 100%;
            padding: 48px 32px;
            text-align: center;
        }

        .status-code {
            font-size: 96px;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 24px;
            line-height: 1;
        }

        .error-title {
            font-size: 28px;
            margin-bottom: 16px;
            color: #f7fafc;
            font-weight: 600;
        }

        .error-message {
            color: #cbd5e0;
            line-height: 1.6;
            margin-bottom: 32px;
            font-size: 16px;
        }

        .error-meta {
            background: #1a202c;
            padding: 20px;
            border-radius: 12px;
            border: 1px solid #4a5568;
        }

        .meta-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid #4a5568;
        }

        .meta-item:last-child {
            border-bottom: none;
        }

        .meta-label {
            font-weight: 600;
            color: #a0aec0;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .meta-value {
            font-family: 'Courier New', Courier, monospace;
            color: #e2e8f0;
            font-size: 13px;
            word-break: break-all;
            max-width: 60%;
            text-align: right;
        }

        @media (max-width: 600px) {
            .error-container {
                padding: 32px 24px;
            }

            .status-code {
                font-size: 72px;
            }

            .error-title {
                font-size: 22px;
            }

            .meta-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
            }

            .meta-value {
                max-width: 100%;
                text-align: left;
            }
        }
    </style>
</head>
<body>
    <div class="error-container">
        <div class="status-code">{{ $httpStatus }}</div>

        <h1 class="error-title">{{ $error->message }}</h1>

        <p class="error-message">
            Bitte versuchen Sie es später erneut oder kontaktieren Sie den Support, falls das Problem bestehen bleibt.
        </p>

        <div class="error-meta">
            <div class="meta-item">
                <span class="meta-label">Request ID</span>
                <span class="meta-value">{{ $requestId }}</span>
            </div>
            <div class="meta-item">
                <span class="meta-label">Zeitpunkt</span>
                <span class="meta-value">{{ $timestamp }}</span>
            </div>
        </div>
    </div>
</body>
</html>
