@* ═══════════════════════════════════════════════
   LoadingState — Unified loading indicator
   Usage: <LoadingState />
          <LoadingState Message="در حال دریافت سفارشات..." />
   ═══════════════════════════════════════════════ *@

<MudStack AlignItems="AlignItems.Center" Class="py-16">
    <MudProgressCircular Color="Color.Primary" Indeterminate="true" Size="Size.Large" />
    @if (!string.IsNullOrWhiteSpace(Message))
    {
        <MudText Typo="Typo.body1" Class="mud-text-secondary mt-2">@Message</MudText>
    }
</MudStack>

@code {
    /// <summary>Optional loading message displayed below spinner.</summary>
    [Parameter] public string Message { get; set; } = "در حال بارگذاری...";
}
