<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nextcloud</title>

<style>
body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f5f5f5;
}

#body-login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#login {
    width: 360px;
    text-align: center;
}

#header {
    margin-bottom: 20px;
}

#header .logo {
    font-size: 34px;
    font-weight: 600;
    color: #0082c9;
}

#content {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

form {
    display: flex;
    flex-direction: column;
}

input {
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

input:focus {
    border-color: #0082c9;
    outline: none;
}

button {
    padding: 12px;
    background-color: #0082c9;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    background-color: #006aa3;
}

.lost-password {
    margin-top: 10px;
    font-size: 13px;
}

.lost-password a {
    color: #0082c9;
    text-decoration: none;
}

.footer {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

/* Fake error */
.error {
    display: none;
    background: #fbeaea;
    color: #a94442;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 13px;
}
</style>

<script>
function fakeLogin(e) {
    e.preventDefault();
    document.getElementById("error").style.display = "block";
}
</script>

</head>

<body>
<div id="body-login">
    <div id="login">

        <div id="header">
            <div class="logo">Nextcloud</div>
        </div>

        <div id="content">
            <div id="error" class="error">Wrong username or password.</div>

            <form onsubmit="fakeLogin(event)">
                <input type="text" name="user" placeholder="Username" required>
                <input type="password" name="password" placeholder="Password" required>
                <button type="submit">Log in</button>
            </form>

            <div class="lost-password">
                <a href="#">Forgot password?</a>
            </div>
        </div>

        <div class="footer">© Nextcloud</div>

    </div>
</div>
</body>
</html>