<?php
// Define variables passed from the controller
$clientName     = isset($clientName) ? $clientName : '';
$ip				= isset($ip) ? $ip : '';
$browser		= isset($browser) ? $browser : '';
$clientEmail       = isset($clientEmail) ? $clientEmail : '';
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<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=Roboto:wght@100;300;400;500;700&family=Montserrat:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
    
    <title>Your password has been updated</title>
	<style>
	html,body{font-family: "Montserrat", sans-serif !important;font-size:14px;color:#333 !important;padding-top:2%;background:#dee8f1;}
	.pdetails{border: 0px;width:100%;font-size:13px;}
	.pdetails td{line-height:24px;border-bottom: 1px solid #ede3e3;}
	.container{margin:0 auto; width:70%;min-width:360px;padding:15px;background:#ffffff;border-top:3px solid #ba2d2d;}
	a{text-decoration: none;}
	.btn{display: inline-block; background:#ba2d2d;color:#fff;font-size:16px;padding:10px;border-radius:10px;border:0px;width:40%;text-align:center;}
	</style>
</head>
<body>
	<div class="container" style="background:#fff;padding: 20px;">
	<div style="margin-bottom:5px;"><a href="https://ucold.org" target="_blank"><img src="https://ucold.org/UCOLD-logo1.png" height="50px" style="object-fit:contain"/></a></div>
		<div style="padding: 20px;">
				<h3 style="font-size:18px;font-weight:600">Your password has been updated</h3>
				<hr/>
		
				<p>Hello <?php echo htmlspecialchars($clientName); ?>,</p>
				
                <p>This is a confirmation that the password for your <?php echo htmlspecialchars($clientEmail); ?> account  has just been changed from:-<p>
				
				 <p>
					IP:  <?php echo $ip; ?><br/>
					Browser: <?php echo $browser; ?><br/>
					Date: <?= date('jS, F Y H:i:s');?><br/>
				 </p>
				 

				<p style="color: #555;font-size:12px"> Regards,<br/>
                UGA REDD+ Team<br/> 
				<small><?= date('jS, M Y H:i:s');?> / <?= $_SERVER['HTTP_USER_AGENT']; ?></small>
				</p>
		</div>
	</div>
</div>
</body>
</html>