<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
	<meta http-equiv="x-ua-compatible" content="ie=edge" />
	<title>CMOD - Login</title>
	<link rel="icon" href="favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
	<link rel="stylesheet" href="<?=base_url();?>assets/css/bootstrap-login-form.min.css" />
	<style>
		.bg-primary-luxury{ background-color: #1C2B19; }
		.font-primary-luxury{ color: #E9E3C9;}
		#icon-login { max-width: 80%; height: auto; }
		.shadoww { box-shadow: 0 4px 8px #1c2b193f; /* Bayangan merah */ }
		.login-form {width:490px;}
		.bg-login { background-color:#1c1c1c; }
	</style>
</head>

<body class='bg-login'>
	<section class="vh-100">
		<div class="container h-100">
			<div class="row d-flex justify-content-center align-items-center h-100">
				<div class="col col-xl-10 login-form">
					<div class="card shadoww" style="border-radius: 1rem;" >
						<div class="row g-0">
							<div class="col d-flex align-items-center text-center">
								<div class="card-body pb-md-5 px-md-5 text-black">
									<form class="m-0" method='POST'>
										<h5 class="fw-normal mt-4 mb-2 pb-2" style="letter-spacing: 1px;">Setting Password</h5>
										<div class="form-outline mb-4">
											<input type="text" id="userid" name='userid' value='<?=$userid?>' class="form-control form-control-lg" oninput="this.value = this.value.toUpperCase();" disabled />
											<label class="form-label" for="userid">UserID</label>
										</div>
										<div class="form-outline mb-4">
											<input type="password" id="password" name='password' class="form-control form-control-lg" />
											<label class="form-label" for="password">Password</label>
										</div>
										<div class="pt-1 mb-4">
											<button type='submit' class="btn bg-primary-luxury btn-lg btn-block" type="button">
												<span class="font-primary-luxury"> Set </span>
											</button>
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<script type="text/javascript" src="<?=base_url();?>assets/js/mdb.min.js"></script>
	<script>
	window.onload = function() {
		document.getElementById("userid").focus();
	}
	</script>
</body>
</html>