<div class="card-header"><div class="d-flex gap-3 align-items-center"><span class="profile-section-icon bg-success-subtle text-success"><i class="fas fa-shield-alt"></i></span><div><h2 class="h5 mb-1">{{ __('Password & Security') }}</h2><p class="small text-muted mb-0">Use a strong, unique password for this account.</p></div></div></div>
<div class="card-body">
    <form method="post" action="{{ route('password.update') }}" class="profile-form">@csrf @method('put')
        <div class="mb-3"><label class="form-label" for="update_password_current_password">{{ __('Current Password') }}</label><input id="update_password_current_password" name="current_password" type="password" class="form-control @if($errors->updatePassword->has('current_password')) is-invalid @endif" autocomplete="current-password">@foreach($errors->updatePassword->get('current_password') as $message)<div class="invalid-feedback d-block">{{ $message }}</div>@endforeach</div>
        <div class="row g-3"><div class="col-md-6"><label class="form-label" for="update_password_password">{{ __('New Password') }}</label><input id="update_password_password" name="password" type="password" class="form-control @if($errors->updatePassword->has('password')) is-invalid @endif" autocomplete="new-password">@foreach($errors->updatePassword->get('password') as $message)<div class="invalid-feedback d-block">{{ $message }}</div>@endforeach</div><div class="col-md-6"><label class="form-label" for="update_password_password_confirmation">{{ __('Confirm Password') }}</label><input id="update_password_password_confirmation" name="password_confirmation" type="password" class="form-control" autocomplete="new-password"></div></div>
        <div class="security-note small text-muted p-3 my-3"><i class="fas fa-info-circle text-primary me-1"></i> Use at least 8 characters with a mix of letters, numbers and symbols.</div>
        <div class="d-flex align-items-center gap-3"><button class="btn btn-success profile-save px-4" type="submit"><i class="fas fa-key me-1"></i> {{ __('Update Password') }}</button>@if(session('status')==='password-updated')<span class="text-success small fw-semibold"><i class="fas fa-check-circle"></i> {{ __('Saved.') }}</span>@endif</div>
    </form>
</div>
