<div class="nk-content nk-content-fluid">
    <div class="card card-bordered">
        <div class="card-header font-weight-bold text-light" style="background-color:#3140fc;">Security Setting</div>
            <div class="card-inner">
                <h5 class="card-title">Reset Password*</h5>
            <hr>
            <form action="process/pass.php" method="post" class="buysell-form" > 
                <!-- .buysell-field --> 
                <div class="buysell-field form-group row">
                    <div class="col-lg-12 col-sm-12 p-2">
                    <?php
                        if(isset($_SESSION['t_error_c'])){
                            echo "<p style='color:red'>".$_SESSION['t_error_c']."</p>";
                            unset($_SESSION['t_error_c'] );
                        }
                    ?>
                    <?php
                        if(isset($_SESSION['t_error_cs'])){
                            echo "<p style='color:green'>".$_SESSION['t_error_cs']."</p>";
                            unset($_SESSION['t_error_cs']);
                        }
                    ?>
                        <div class="form-group">
                            <div class="form-control-wrap">
                                <div class="form-icon form-icon-right">
                                    <em class="icon  fa-solid fa-unlock"></em>
                                </div>
                                <input type="password" class="form-control form-control-xl form-control-outlined" id="cpassword" name="cpassword">
                                <label class="form-label-outlined" for="outlined-right-icon">Current Password</label>
                            </div>
                        </div>
                    </div>
                <div class="col-lg-6 col-sm-6 p-2">
                    <div class="form-group">
                        <div class="form-control-wrap">
                            <div class="form-icon form-icon-right">
                                <em class="icon  fa-solid fa-unlock "></em>
                            </div>
                            <input type="password" class="form-control form-control-xl form-control-outlined"  id="npassword" name="npassword">
                            <label class="form-label-outlined" for="outlined-right-icon">New password</label>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6 col-sm-6 p-2">
                    <div class="form-group">
                        <div class="form-control-wrap">
                            <div class="form-icon form-icon-right">
                                <em class="icon fa-solid fa-unlock"></em>
                            </div>
                            <input type="password" class="form-control form-control-xl form-control-outlined"  id="cnpassword" name="cnpassword">
                            <label class="form-label-outlined" for="outlined-right-icon">Confirm New Password</label>
                        </div>
                    </div>
                </div>
                <div class="cardResult"></div>
                <div class="col-lg-12 col-sm-12 p-2">
                    <div class="form-group">
                        <button class="btn btn-primary btn-block cardBtn">Reset Password</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
    </div>
</div>