@extends('layouts.site')
@section('meta_title', 'Change Password')
@section('content_header')
@include('partials._components._heading', ['heading' => 'Change Password'])
@endsection
@section('content')
<section class="site-main-section">
    <div class="site-container">
        <div class="account-shell mx-auto max-w-6xl">
            <div class="account-shell__aside min-w-0">
                @include('partials._components._user-menu')
            </div>
            <div class="account-shell__content min-w-0">
                <div class="profile-edit-card participant-password-card">
                    <div class="profile-edit-card__header participant-password-card__header">
                        <div class="profile-edit-card__intro participant-password-card__intro">
                            <h2 class="profile-edit-card__title">
                                <span class="participant-password-card__title-icon" aria-hidden="true">
                                 <i class="fa-solid fa-lock leading-none text-2xl" aria-hidden="true"></i>
                             </span>
                             Change Password
                         </h2>
                         <p class="profile-edit-card__subtitle">Update your password to keep your account secure</p>
                     </div>
                     <div class="profile-edit-card__actions participant-password-card__actions">
                        <a href="{{ route('participant.profile.edit') }}" class="btn btn-sm btn-default edit-profile-button">Cancel</a>
                    </div>
                </div>
                <div class="profile-edit-card__body participant-password-card__body">
                    @yield('content-main')
                    <div class="participant-password-form-shell">
                        {!! form($form) !!}
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
@endsection
