<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>File Manager — access via WHMCS</title>
<meta name="robots" content="noindex,nofollow">
<style>
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
     background:#f5f7fa;color:#333;margin:0;display:flex;align-items:center;
     justify-content:center;min-height:100vh;}
.box{max-width:520px;background:#fff;padding:36px 40px;border-radius:8px;
     box-shadow:0 4px 24px rgba(0,0,0,0.06);text-align:center;}
.box .ico{font-size:48px;color:#bbb;margin-bottom:12px;}
.box h1{font-size:20px;margin:0 0 14px;color:#363636;}
.box p{font-size:14px;line-height:1.55;color:#7a7a7a;margin:0 0 20px;}
.box a{display:inline-block;background:#3273dc;color:#fff;padding:10px 22px;
       border-radius:4px;text-decoration:none;font-weight:600;font-size:14px;}
.box a:hover{background:#276cda;}
</style>
</head>
<body>
<div class="box">
    <div class="ico">&#x1F512;</div>
    <h1>File Manager &mdash; access via WHMCS</h1>
    <p>Direct login is disabled. Please open the File Manager from your hosting service in the WHMCS client area.</p>
    <a id="backLink" href="#">Open client area</a>
</div>
<script>
// Pick up back-URL cookie if the user had a previous SSO session in this browser.
var m = document.cookie.match(/(?:^|; )puq_back_url=([^;]+)/);
var a = document.getElementById('backLink');
if (m) {
    a.href = decodeURIComponent(m[1]);
} else {
    a.style.display = 'none';
}
</script>
</body>
</html>
