{{-- Resource Allocation Card Component - shadcn-style For displaying CPU, Memory, and other resource allocation vs entitlement Usage: --}} @props([ 'label', 'percent' => null, 'usageSummary', 'entitlementLabel', 'description' => null, 'gradient' => 'linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%)', 'badge' => null, 'icon' => null, 'iconColor' => 'text-primary', ])
class(['rounded-xl border bg-card p-4 shadow-sm transition-colors duration-150 hover:bg-accent/50']) }}>
@if($icon)
@endif

{{ $label }}

{{ $usageSummary }}

{{ $entitlementLabel }}

@if($badge) {{ $badge['label'] ?? '' }} @endif
@if(!is_null($percent))
Usage {{ $percent }}%
@endif @if($description)

{{ $description }}

@endif