<%--<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Verify2FA.aspx.cs" Inherits="OlympiaIntranet.Verify2FA" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        </div>
    </form>
</body>
</html>--%>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Verify2FA.aspx.cs" Inherits="OlympiaIntranet.Verify2FA" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Verifica Codice 2FA</title>
    <style>
        body {
            background-color: #f4f6f8;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
        }

        .container {
            background-color: #fff;
            padding: 30px 40px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            text-align: center;
        }

        h2 {
            margin-bottom: 10px;
            font-size: 24px;
            color: #333;
        }

        p {
            font-size: 14px;
            color: #666;
            margin-bottom: 20px;
        }

        input[type="text"] {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #ccc;
            margin-bottom: 20px;
            font-size: 16px;
        }

        .btn {
            background-color: #0078D4;
            color: white;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s;
        }

        .btn:hover {
            background-color: #005fa3;
        }

        .error {
            color: red;
            font-size: 14px;
            margin-bottom: 15px;
        }

        @media (max-width: 480px) {
            .container {
                padding: 20px;
            }
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="container">
            <h2>Verifica in due passaggi</h2>
            <asp:Literal ID="litInfoEmail" runat="server" />
            <asp:Label ID="lblMessage" runat="server" CssClass="error" />
            <asp:TextBox ID="txtCode" runat="server" MaxLength="6" placeholder="Codice a 6 cifre" />
            <asp:Button ID="btnVerify" runat="server" CssClass="btn" Text="Verifica Codice" OnClick="btnVerify_Click" />
        </div>
    </form>
</body>
</html>

