<?php 
include('../components/pages.head.php'); 

session_start();

$mail = $_SESSION['mail'];
$full_name = $_SESSION['fullname'];

if (isset($_SESSION['message']) != "") {
    $loginMessage = $_SESSION['message'];
} else {
    $loginMessage = "";
}
?>

<body>
    <?php include('../components/pages.header.php'); ?>
    
    <main>
        <!-- Breadcrumbs S t a r t -->
        <section class="breadcrumbs-area breadcrumb-bg">
            <div class="container">
                <h1 class="text-center title wow fadeInUp" data-wow-delay="0.0s">
                    🙋😃🫡
                    Congratulations !!!
                    Account Created Successfully
                </h1>
            </div>

        </section>
        <!--/ End-of Breadcrumbs-->

        <!-- Login area S t a r t  -->
        <div class="login-area section-padding">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-xl-6 col-lg-6 col-md-10 col-sm-12">
                        <div class="login-card">
                            <h3 class="title p-3">Hello <?php echo ucfirst($full_name ) ?></h3>

                            <div class="alert alert-warning" role="alert">
                                At <?php echo $siteName ?>, We create accounts tailored to your individual needs as a valued customer and are constantly
                                developing new products and services to help make banking and life easier for you
                            </div>

                            <div class="">
                                <div class="price-card h-calc wow fadeInUp" data-wow-delay="0.0s">
                                   
                                    <div class="price-tag-section">
                                        <div class="price-tag">
                                            <h4 class="title"><?php echo $mail ?></h4>
                                        </div>
                                        <br><p class="pera">Check your email address to confirm your allocated account number</p>
                                    </div>
                                </div>
                            </div>
                            <a href="../login" class="btn-primary-fill justify-content-center w-100">
                                <span class="d-flex justify-content-center gap-6">
                                    <span>Login Now</span>
                                </span>
                            </a>

                            <div class="login-footer">
                                <div class="create-account">
                                    <p>
                                        <b>Talk with an Agent via Live Chat</b>
                                        <a href="../register">
                                            <span class="text-primary">Register</span>
                                        </a>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--/ End-of Login -->
    </main>

   <?php include('../components/pages.footer.php'); ?>