<div class="card-header"><div class="d-flex gap-3 align-items-center"><span class="profile-section-icon bg-primary-subtle text-primary"><i class="fas fa-user"></i></span><div><h2 class="h5 mb-1">{{ __('Profile Information') }}</h2><p class="small text-muted mb-0">Update your name and account email.</p></div></div></div>
<div class="card-body">
    <form id="send-verification" method="post" action="{{ route('verification.send') }}">@csrf</form>
    <form method="post" action="{{ route('profile.update') }}" class="profile-form">@csrf @method('patch')
        <div class="mb-3"><label class="form-label" for="name">{{ __('Name') }}</label><input id="name" name="name" type="text" class="form-control @error('name') is-invalid @enderror" value="{{ old('name',$user->name) }}" required autofocus autocomplete="name">@error('name')<div class="invalid-feedback">{{ $message }}</div>@enderror</div>
        <div class="mb-3"><label class="form-label" for="email">{{ __('Email') }}</label><input id="email" name="email" type="email" class="form-control @error('email') is-invalid @enderror" value="{{ old('email',$user->email) }}" required autocomplete="username">@error('email')<div class="invalid-feedback">{{ $message }}</div>@enderror</div>
        @if($user instanceof \Illuminate\Contracts\Auth\MustVerifyEmail && ! $user->hasVerifiedEmail())<div class="alert alert-warning py-2 small">{{ __('Your email address is unverified.') }} <button form="send-verification" class="btn btn-link btn-sm p-0">{{ __('Re-send verification email') }}</button></div>@endif
        <div class="d-flex align-items-center gap-3"><button class="btn btn-primary profile-save px-4" type="submit"><i class="fas fa-save me-1"></i> {{ __('Save Changes') }}</button>@if(session('status')==='profile-updated')<span class="text-success small fw-semibold"><i class="fas fa-check-circle"></i> {{ __('Saved.') }}</span>@endif</div>
    </form>
</div>
