<x-ui.layout.career-portal :title="__('recruitment.career_portal.track_title')" :settings="$settings" :tenant="$tenant">
    <div class="container py-5" style="max-width: 560px;">
        <h1 class="h4 mb-3">{{ __('recruitment.career_portal.track_title') }}</h1>
        <form method="POST" action="{{ route('careers.track.lookup', ['tenant' => $tenant->slug]) }}" class="cp-card">
            @csrf
            <label class="form-label">{{ __('recruitment.career_portal.tracking_token_label') }}</label>
            <input name="token" value="{{ old('token') }}" class="form-control @error('token') is-invalid @enderror" required>
            @error('token')<div class="invalid-feedback">{{ $message }}</div>@enderror
            <button type="submit" class="cp-btn mt-3">{{ __('recruitment.career_portal.actions.track_application') }}</button>
        </form>
    </div>
</x-ui.layout.career-portal>
