<?php

/**
 * 自定义404页面
 */
defined('EMLOG_ROOT') || exit('access denied!');
require_once View::getView('module');
?>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>此文章已加密 - 请输入密码后访问</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            font-family: "微软雅黑";
        }

        body,
        html {
            width: 100%;
            height: 100%;
            line-height: 2;
            font-size: 16px;
            background-color: #f5faff;
            overflow: hidden;
        }

        * {
            outline: none;
        }

        .container {
            height: 100%;
            min-width: 50%;
            max-width: 90%;
            margin-left: auto;
            margin-right: auto;
            padding-bottom: 4em;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .container p {
            padding-bottom: 1em;
        }

        form {
            width: min(100%, 500px);
            padding: 3em 1em;
            background-color: #fff;
            border: 2px solid #e8eef5;
            border-radius: 10px;
            box-shadow: 0px 0px 5px rgb(0 74 185 / 20%);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        form>*:not(:first-child) {
            margin-top: 1em;
        }

        form input,
        form button {
            display: block;
            width: 100%;
            height: 50px;
            padding: 0 1em;
            border-radius: 5px;
            border: 0;
            -webkit-appearance: none;
            line-height: normal;
            background-color: transparent;
        }

        form input,
        form input:focus {
            border: 1px solid #6aaffb;
        }

        form button {
            background-color: #2482e9;
            font-size: 1.25em;
            color: #fff;
            cursor: pointer;
        }
    </style>
</head>

<body>
    <div class="container">
        <form action="" method="post">
            <h3>此文章已加密 - 请输入密码后访问</h3>
            <input type="password" id="logpwd" name="logpwd" required autofocus>
            <button type="submit">提 交</button>
        </form>
    </div>
</body>

</html>