@page "/transfer2"
<PageTitle>Transferdetails</PageTitle>
@inject NavigationManager navManager

<div class="text-center m-5">
    <h1>Transfer summary</h1>
    <h2 style="font-size:small">Please review your transfer!</h2>
</div>

<section>
    <div class="container py-1">
        <div class="row d-flex justify-content-center align-items-center h-100">
            <div class="col-md-10 col-lg-8 col-xl-6">
                <div class="card glass card-admin card-stepper" style="border-radius: 16px;">
                    <div class="card-header py-2 px-4">
                        <div class="d-flex justify-content-between align-items-center">
                            <div>                                
                                <h4>27th November, 2023, 10:00 AM</h4>
                            </div>
                            
                        </div>
                    </div>
                    <div class="card-body p-4">
                        <div class="d-flex flex-row mb-4 pb-2">
                            <div class="flex-fill">
                                <p class="text-muted"> Passenger info</p>
                                <h5 class="bold"> +1 123 12345678</h5>
                                <hr/>
                                <p class="text-muted">Destination</p>
                                <h5 class="bold">Liszt Ferenc Airport</h5>
                                <hr />
                                <p class="text-muted"> Pick up address</p>                                                                                            
                                <h5> Budapest, Dózsa György út 35, 1146</h5>  
                                <hr />
                                <h5>3 persons</h5>
                                <p class="text-muted"> Silver, Toyota, Prius</p>
                                
                            </div>
                            <div>
                                <!--img class="align-self-center img-fluid"
                                     src="https://mdbcdn.b-cdn.net/img/Photos/Horizontal/E-commerce/Products/6.webp" width="250"-->
                            </div>

                        </div>                        

                        <div class="d-flex flex-row mb-4 pb-2">
                            <h4> $ 35 <span class="small text-muted"> via (COD) </span></h4>
                        </div>
                    </div>
                    <div class="card-footer p-4">
                        <div class="d-flex justify-content-between">
                            
                            <a class="btn btn-danger" href="#!">Cancel</a>
                            <div class="border-start h-100"></div>
                            <a class="btn btn-warning" @onclick="previous">Modify</a>
                            <div class="border-start h-100"></div>
                            <a class="btn btn-success" href="#!">Finalize</a>
                           
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>


@code {
    public void next() => navManager.NavigateTo("/transfer");
    public void previous() => navManager.NavigateTo("/transfer3");
}
