<?php
// Registration disabled page
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Registration Disabled</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="assets/css/auth.css" rel="stylesheet">
    <style>
        .hero-icon { width:88px; height:88px; display:inline-flex; align-items:center; justify-content:center; border-radius:20px; background:linear-gradient(135deg,#fff,#eef2ff); box-shadow:0 8px 24px rgba(2,6,23,0.2); }
        .hero-icon svg { width:44px; height:44px; color:#4f46e5; }
    </style>
</head>
<body class="auth-bg">

<main class="auth-card text-center">
    <div class="mb-3">
        <div class="hero-icon mx-auto mb-3">
            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.6" d="M12 11c1.657 0 3-1.343 3-3S13.657 5 12 5 9 6.343 9 8s1.343 3 3 3zM19 21v-2a4 4 0 00-4-4H9a4 4 0 00-4 4v2" />
            </svg>
        </div>
        <h1 class="h4 fw-bold mb-1">Registration is restricted</h1>
        <p class="text-muted small mb-3">New user registrations are not permitted on this system.</p>
        <p class="mb-3">If you need access, please contact your administrator to request an account.</p>

        <div class="d-flex justify-content-center gap-2" role="group">
            <a class="btn btn-primary" href="mailto:admin@fleet.local?subject=Registration%20Request&body=I%20would%20like%20to%20request%20an%20account%20on%20FleetOps.%20My%20email:%20">Contact Admin</a>
            <a class="btn btn-outline-secondary" href="login.php">Back to Sign in</a>
        </div>
    </div>

    <hr />
    <div class="small text-muted">Need help? Ask your IT or admin team. This portal does not allow self-registration.</div>
</main>

</body>
</html>
