@extends('layouts.app')

@section('title', 'Welcome')

@section('content')
    <div class="row justify-content-center">
        <div class="col-lg-7">
            <div class="portal-card">
                <div class="card-body py-5 px-4 text-center">
                    <h1 class="h4 fw-bold mb-2">Welcome, {{ auth()->user()->name }}</h1>
                    <p class="text-muted mb-4">
                        Your account is active, but no modules are assigned yet.
                        Ask an administrator to set your <strong>department</strong> permissions in
                        Access control → Visibility manager.
                    </p>
                    <p class="small text-muted mb-0">
                        Signed in as {{ auth()->user()->email }}
                        @if(optional(auth()->user()->department)->name)
                            · {{ auth()->user()->department->name }}
                        @endif
                    </p>
                </div>
            </div>
        </div>
    </div>
@endsection
