<div class="w-full page bg-white">
  <!-- Header Section -->
  <!-- main content -->
  <div class="px-8 py-6">
    <!-- Page Title -->
    <h1 class="text-3xl font-bold text-black mb-8 text-center">Weekly Meal Plan Breakdown</h1>
    
    <!-- Caloric Deficit Example Section -->
    <div class="mb-12">
      <h2 class="text-2xl font-bold text-black mb-6 text-center">Caloric Deficit Example</h2>
      
      <!-- Weekly Grid -->
      <div class="grid grid-cols-7 gap-3 mb-8">
        <!-- Monday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Monday</div>
          <div class="text-lg font-bold text-black mb-2">{{ deficit_calories | default('1725KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ deficit_protein | default('120g Protein') }}</div>
            <div>{{ deficit_carbs | default('155g Carbs') }}</div>
            <div>{{ deficit_fat | default('69g Fat') }}</div>
            <div>{{ deficit_fiber | default('25g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Tuesday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Tuesday</div>
          <div class="text-lg font-bold text-black mb-2">{{ deficit_calories | default('1725KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ deficit_protein | default('120g Protein') }}</div>
            <div class="text-xs text-black">{{ deficit_carbs | default('155g Carbs') }}</div>
            <div>{{ deficit_fat | default('69g Fat') }}</div>
            <div>{{ deficit_fiber | default('25g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Wednesday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Wednesday</div>
          <div class="text-lg font-bold text-black mb-2">{{ deficit_calories | default('1725KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ deficit_protein | default('120g Protein') }}</div>
            <div>{{ deficit_carbs | default('155g Carbs') }}</div>
            <div>{{ deficit_fat | default('69g Fat') }}</div>
            <div>{{ deficit_fiber | default('25g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Thursday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Thursday</div>
          <div class="text-lg font-bold text-black mb-2">{{ deficit_calories | default('1725KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ deficit_protein | default('120g Protein') }}</div>
            <div>{{ deficit_carbs | default('155g Carbs') }}</div>
            <div>{{ deficit_fat | default('69g Fat') }}</div>
            <div>{{ deficit_fiber | default('25g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Friday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Friday</div>
          <div class="text-lg font-bold text-black mb-2">{{ deficit_calories | default('1725KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ deficit_protein | default('120g Protein') }}</div>
            <div>{{ deficit_carbs | default('155g Carbs') }}</div>
            <div>{{ deficit_fat | default('69g Fat') }}</div>
            <div>{{ deficit_fiber | default('25g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Saturday -->
        <div class="p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Saturday</div>
          <div class="text-lg font-bold text-black mb-2">{{ deficit_calories | default('1725KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ deficit_protein | default('120g Protein') }}</div>
            <div>{{ deficit_carbs | default('155g Carbs') }}</div>
            <div>{{ deficit_fat | default('69g Fat') }}</div>
            <div>{{ deficit_fiber | default('25g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Sunday -->
        <div class="p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Sunday</div>
          <div class="text-lg font-bold text-black mb-2">{{ deficit_calories | default('1725KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ deficit_protein | default('120g Protein') }}</div>
            <div>{{ deficit_carbs | default('155g Carbs') }}</div>
            <div>{{ deficit_fat | default('69g Fat') }}</div>
            <div>{{ deficit_fiber | default('25g Fibre') }}</div>
          </div>
        </div>
      </div>
    </div>

    <!-- Caloric Deficit with Maintenance/Refeed Example Section -->
    <div class="mb-12">
      <h2 class="text-2xl font-bold text-black mb-6 text-center">Caloric Deficit with Maintenance/Refeed Example</h2>
      
      <!-- Weekly Grid -->
      <div class="grid grid-cols-7 gap-2 mb-8">
        <!-- Monday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Monday</div>
          <div class="text-lg font-bold text-black mb-2">{{ refeed_weekday_calories | default('1615KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ refeed_weekday_protein | default('120g Protein') }}</div>
            <div>{{ refeed_weekday_carbs | default('142g Carbs') }}</div>
            <div>{{ refeed_weekday_fat | default('63g Fat') }}</div>
            <div>{{ refeed_weekday_fiber | default('24g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Tuesday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Tuesday</div>
          <div class="text-lg font-bold text-black mb-2">{{ refeed_weekday_calories | default('1615KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ refeed_weekday_protein | default('120g Protein') }}</div>
            <div>{{ refeed_weekday_carbs | default('142g Carbs') }}</div>
            <div>{{ refeed_weekday_fat | default('63g Fat') }}</div>
            <div>{{ refeed_weekday_fiber | default('24g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Wednesday -->
        <div class="bg-cyan-300 p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Wednesday</div>
          <div class="text-lg font-bold text-black mb-2">{{ refeed_weekday_calories | default('1615KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ refeed_weekday_protein | default('120g Protein') }}</div>
            <div>{{ refeed_weekday_carbs | default('142g Carbs') }}</div>
            <div>{{ refeed_weekday_fat | default('63g Fat') }}</div>
            <div>{{ refeed_weekday_fiber | default('24g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Thursday -->
        <div class="p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Thursday</div>
          <div class="text-lg font-bold text-black mb-2">{{ refeed_weekday_calories | default('1615KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ refeed_weekday_protein | default('120g Protein') }}</div>
            <div>{{ refeed_weekday_carbs | default('142g Carbs') }}</div>
            <div>{{ refeed_weekday_fat | default('63g Fat') }}</div>
            <div>{{ refeed_weekday_fiber | default('24g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Friday -->
        <div class="p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Friday</div>
          <div class="text-lg font-bold text-black mb-2">{{ refeed_weekday_calories | default('1615KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ refeed_weekday_protein | default('120g Protein') }}</div>
            <div>{{ refeed_weekday_carbs | default('142g Carbs') }}</div>
            <div>{{ refeed_weekday_fat | default('63g Fat') }}</div>
            <div>{{ refeed_weekday_fiber | default('24g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Saturday -->
        <div class="p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Saturday</div>
          <div class="text-lg font-bold text-black mb-2">{{ refeed_weekend_calories | default('2000KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ refeed_weekend_protein | default('120g Protein') }}</div>
            <div>{{ refeed_weekend_carbs | default('190g Carbs') }}</div>
            <div>{{ refeed_weekend_fat | default('84g Fat') }}</div>
            <div>{{ refeed_weekend_fiber | default('30g Fibre') }}</div>
          </div>
        </div>
        
        <!-- Sunday -->
        <div class="p-3 text-left rounded-lg">
          <div class="font-bold text-black mb-2">Sunday</div>
          <div class="text-lg font-bold text-black mb-2">{{ refeed_weekend_calories | default('2000KCals') }}</div>
          <div class="text-xs text-black space-y-1">
            <div>{{ refeed_weekend_protein | default('120g Protein') }}</div>
            <div>{{ refeed_weekend_carbs | default('190g Carbs') }}</div>
            <div>{{ refeed_weekend_fat | default('84g Fat') }}</div>
            <div>{{ refeed_weekend_fiber | default('30g Fibre') }}</div>
          </div>
        </div>
      </div>
    </div>

    <!-- Macronutrients Recommendations Section -->
    <div class="mb-8">
      <h2 class="text-2xl font-bold text-black mb-8 text-center">Macronutrients Recommendations</h2>
      
      <!-- Macronutrient Boxes -->
      <div class="flex justify-center space-x-12">
        <!-- Protein -->
        <div class="bg-gray-200 p-6 rounded-lg text-center">
          <div class="text-3xl font-bold text-black mb-2">{{ protein_percentage | default('28%') }}</div>
          <div class="text-lg font-semibold text-black">Protein</div>
        </div>
        
        <!-- Carbs -->
        <div class="bg-gray-200 p-6 rounded-lg text-center">
          <div class="text-3xl font-bold text-black mb-2">{{ carbs_percentage | default('36%') }}</div>
          <div class="text-lg font-semibold text-black">Carbs</div>
        </div>
        
        <!-- Fats -->
        <div class="bg-gray-200 p-6 rounded-lg text-center">
          <div class="text-3xl font-bold text-black mb-2">{{ fats_percentage | default('36%') }}</div>
          <div class="text-lg font-semibold text-black">Fats</div>
        </div>
      </div>
    </div>
  </div>

</div>
