<?php
if (!defined('ABSPATH')) exit;
return [
    'gym_membership' => ['title' => 'Gym Membership', 'description' => 'Gym or fitness club signup', 'icon' => 'heart', 'category' => 'fitness', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Full Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'dob', 'type' => 'date', 'label' => 'Date of Birth'], ['id' => 'plan', 'type' => 'radio', 'label' => 'Plan', 'required' => true, 'options' => [['value' => 'monthly', 'label' => 'Monthly $49'], ['value' => 'quarterly', 'label' => 'Quarterly $129'], ['value' => 'annual', 'label' => 'Annual $449']]],
        ['id' => 'goals', 'type' => 'checkbox', 'label' => 'Fitness Goals', 'options' => [['value' => 'lose-weight', 'label' => 'Lose Weight'], ['value' => 'build-muscle', 'label' => 'Build Muscle'], ['value' => 'flexibility', 'label' => 'Flexibility'], ['value' => 'endurance', 'label' => 'Endurance']]],
        ['id' => 'health', 'type' => 'textarea', 'label' => 'Health Conditions', 'rows' => 2],
    ]],
    'personal_training' => ['title' => 'Personal Training', 'description' => 'Book a personal trainer', 'icon' => 'admin-users', 'category' => 'fitness', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'goal', 'type' => 'text', 'label' => 'Primary Goal', 'required' => true], ['id' => 'experience', 'type' => 'radio', 'label' => 'Experience Level', 'options' => [['value' => 'beginner', 'label' => 'Beginner'], ['value' => 'intermediate', 'label' => 'Intermediate'], ['value' => 'advanced', 'label' => 'Advanced']]],
        ['id' => 'frequency', 'type' => 'select', 'label' => 'Sessions per Week', 'options' => [['value' => '1', 'label' => '1x'], ['value' => '2', 'label' => '2x'], ['value' => '3', 'label' => '3x'], ['value' => '5', 'label' => '5x']]],
        ['id' => 'preferred_time', 'type' => 'select', 'label' => 'Preferred Time', 'options' => [['value' => 'morning', 'label' => 'Morning'], ['value' => 'afternoon', 'label' => 'Afternoon'], ['value' => 'evening', 'label' => 'Evening']]],
    ]],
    'class_booking' => ['title' => 'Class Booking', 'description' => 'Book fitness classes', 'icon' => 'calendar', 'category' => 'fitness', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'class', 'type' => 'select', 'label' => 'Class', 'required' => true, 'options' => [['value' => 'yoga', 'label' => 'Yoga'], ['value' => 'pilates', 'label' => 'Pilates'], ['value' => 'hiit', 'label' => 'HIIT'], ['value' => 'spin', 'label' => 'Spin'], ['value' => 'boxing', 'label' => 'Boxing']]],
        ['id' => 'date', 'type' => 'date', 'label' => 'Date', 'required' => true], ['id' => 'time', 'type' => 'time', 'label' => 'Time'],
    ]],
    'fitness_assessment' => ['title' => 'Fitness Assessment', 'description' => 'Initial fitness evaluation form', 'icon' => 'clipboard', 'category' => 'fitness', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'age', 'type' => 'number', 'label' => 'Age', 'required' => true],
        ['id' => 'height', 'type' => 'text', 'label' => 'Height'], ['id' => 'weight', 'type' => 'text', 'label' => 'Weight'],
        ['id' => 'activity', 'type' => 'radio', 'label' => 'Current Activity Level', 'options' => [['value' => 'sedentary', 'label' => 'Sedentary'], ['value' => 'light', 'label' => 'Light Activity'], ['value' => 'moderate', 'label' => 'Moderate'], ['value' => 'active', 'label' => 'Very Active']]],
        ['id' => 'injuries', 'type' => 'textarea', 'label' => 'Current Injuries/Limitations', 'rows' => 3],
        ['id' => 'goals', 'type' => 'textarea', 'label' => 'Goals', 'required' => true, 'rows' => 3],
    ]],
    'nutrition_consultation' => ['title' => 'Nutrition Consultation', 'description' => 'Book a nutrition session', 'icon' => 'carrot', 'category' => 'fitness', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'goal', 'type' => 'select', 'label' => 'Goal', 'options' => [['value' => 'weight-loss', 'label' => 'Weight Loss'], ['value' => 'muscle-gain', 'label' => 'Muscle Gain'], ['value' => 'general', 'label' => 'General Health'], ['value' => 'sport', 'label' => 'Sports Performance']]],
        ['id' => 'allergies', 'type' => 'textarea', 'label' => 'Food Allergies/Intolerances', 'rows' => 2],
        ['id' => 'diet', 'type' => 'select', 'label' => 'Current Diet', 'options' => [['value' => 'omnivore', 'label' => 'Omnivore'], ['value' => 'vegetarian', 'label' => 'Vegetarian'], ['value' => 'vegan', 'label' => 'Vegan'], ['value' => 'keto', 'label' => 'Keto']]],
    ]],
    'membership_freeze' => ['title' => 'Membership Freeze', 'description' => 'Pause or freeze membership', 'icon' => 'controls-pause', 'category' => 'fitness', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Member Name', 'required' => true], ['id' => 'member_id', 'type' => 'text', 'label' => 'Member ID', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'start', 'type' => 'date', 'label' => 'Freeze Start', 'required' => true], ['id' => 'end', 'type' => 'date', 'label' => 'Freeze End', 'required' => true],
        ['id' => 'reason', 'type' => 'select', 'label' => 'Reason', 'options' => [['value' => 'travel', 'label' => 'Travel'], ['value' => 'injury', 'label' => 'Injury'], ['value' => 'personal', 'label' => 'Personal'], ['value' => 'other', 'label' => 'Other']]],
    ]],
];
