{"status":"error","message":"Invalid action"}
<!DOCTYPE html>
<html>
<head>
<title>Government Register</title>

<style>
body{
    margin:0;
    font-family:Segoe UI;
    background:#eef2f7;
}

/* HEADER */
.header{
    background:linear-gradient(90deg,#002147,#003366);
    color:white;
    padding:18px;
    text-align:center;
    font-size:22px;
    font-weight:bold;
}

/* CARD */
.container{
    max-width:400px;
    margin:50px auto;
}

.card{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* TITLE */
h2{
    text-align:center;
    color:#003366;
    margin-bottom:15px;
}

/* INPUT */
input{
    width:100%;
    padding:10px;
    margin:8px 0;
    border:1px solid #ccc;
    border-radius:6px;
}

/* BUTTON */
button{
    width:100%;
    padding:12px;
    background:#0d6efd;
    color:white;
    border:none;
    border-radius:6px;
    font-weight:bold;
    cursor:pointer;
}

button:hover{
    background:#0b5ed7;
}

/* MESSAGE */
.msg{
    text-align:center;
    margin-top:10px;
    font-weight:bold;
}

/* LOGIN LINK */
.login-link{
    text-align:center;
    margin-top:10px;
}

.login-link a{
    color:#0d6efd;
    text-decoration:none;
}
</style>

</head>

<body>

<div class="header">
🏛️ Government Registration Portal
</div>

<div class="container">

<div class="card">

<h2>Create Account</h2>

<form method="POST">

<input type="text" name="username" placeholder="Full Name" required>

<input type="email" name="email" placeholder="Email Address" required>

<input type="text" name="cnic" maxlength="13"
oninput="this.value=this.value.replace(/[^0-9]/g,'')"
placeholder="CNIC Number" required>

<input type="password" name="password" placeholder="Password" required>

<button type="submit" name="register">Register</button>

</form>

<div class="msg"></div>

<div class="login-link">
Already have account? <a href="login.php">Login</a>
</div>

</div>

</div>

</body>
</html>