<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>页面未找到 - 图书管理系统</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
    <style>
        .error-container {
            text-align: center;
            padding: 50px 20px;
        }
        .error-code {
            font-size: 100px;
            font-weight: bold;
            color: #4a89dc;
            margin-bottom: 20px;
        }
        .error-message {
            font-size: 24px;
            color: #333;
            margin-bottom: 30px;
        }
        .back-button {
            display: inline-block;
            padding: 10px 20px;
            background-color: #4a89dc;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 500;
        }
        .back-button:hover {
            background-color: #3b78c4;
        }
    </style>
</head>
<body>
    <div class="main-container">
        <div class="error-container">
            <div class="error-code">404</div>
            <div class="error-message">页面未找到</div>
            <p>抱歉，您访问的页面不存在或已被移除。</p>
            <p style="margin-bottom: 30px;">请检查URL是否正确，或返回首页。</p>
            <a href="{{ url_for('index') }}" class="back-button">返回首页</a>
        </div>
    </div>
</body>
</html>
