@{
    ViewData["Title"] = "Reset Password";
    Layout = "~/Views/Shared/_HomeLayout.cshtml";
}

<div class="section-white">
    <div class="container center-layout">
        <div class="content-wrapper">
            <div class="content-body">
                <section class="flexbox-container">
                    <div class="col-12 d-flex align-items-center justify-content-center">
                        <div class="col-sm-12 col-md-6 col-lg-5 col-xl-5 col-12 p-0 py-2">
                            <div class="account-login_container">
                                <div class="card border-grey border-lighten-3 px-1 pt-1 m-0">
                                    <div class="card-header">
                                        <div class="card-title text-center">
                                            <img src="~/images/logotext76.png" alt="branding logo">
                                        </div>
                                    </div>
                                    <div class="card-content">
                                        <div class="card-body pb-1">
                                            <h3 class="text-primary text-center mb-1">Success</h3>
                                            <div class="form-horizontal text-center">                                                
                                                @if (ViewBag.SuccessMessage != null)
                                                {
                                                    <div class="row">
                                                        <div class="col-12">
                                                            <div class="text-center error-message mb-1">
                                                                <span>@ViewBag.SuccessMessage</span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                }
                                                <a href="@Url.Action("AccountLogin", "Home")" class="btn btn-secondary my-1">Back to Login</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
            </div>
        </div>
    </div>
</div>