<?php
if (!defined('ABSPATH')) exit;
return [
    'salon_appointment' => ['title' => 'Salon Appointment', 'description' => 'Book hair/beauty appointment', 'icon' => 'art', 'category' => 'beauty', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email'],
        ['id' => 'service', 'type' => 'select', 'label' => 'Service', 'required' => true, 'options' => [['value' => 'haircut', 'label' => 'Haircut'], ['value' => 'color', 'label' => 'Color'], ['value' => 'styling', 'label' => 'Styling'], ['value' => 'treatment', 'label' => 'Treatment']]],
        ['id' => 'stylist', 'type' => 'select', 'label' => 'Preferred Stylist', 'options' => [['value' => 'any', 'label' => 'No Preference'], ['value' => 'senior', 'label' => 'Senior Stylist'], ['value' => 'master', 'label' => 'Master Stylist']]],
        ['id' => 'date', 'type' => 'date', 'label' => 'Date', 'required' => true], ['id' => 'time', 'type' => 'time', 'label' => 'Time', 'required' => true],
    ]],
    'spa_booking' => ['title' => 'Spa Booking', 'description' => 'Book spa and wellness services', 'icon' => 'heart', 'category' => 'beauty', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'treatment', 'type' => 'checkbox', 'label' => 'Treatments', 'options' => [['value' => 'massage', 'label' => 'Massage'], ['value' => 'facial', 'label' => 'Facial'], ['value' => 'body-wrap', 'label' => 'Body Wrap'], ['value' => 'manicure', 'label' => 'Manicure'], ['value' => 'pedicure', 'label' => 'Pedicure']]],
        ['id' => 'date', 'type' => 'date', 'label' => 'Preferred Date', 'required' => true], ['id' => 'time', 'type' => 'select', 'label' => 'Time Slot', 'options' => [['value' => '9am', 'label' => '9:00 AM'], ['value' => '11am', 'label' => '11:00 AM'], ['value' => '1pm', 'label' => '1:00 PM'], ['value' => '3pm', 'label' => '3:00 PM']]],
        ['id' => 'notes', 'type' => 'textarea', 'label' => 'Health Concerns / Allergies', 'rows' => 2],
    ]],
    'nail_appointment' => ['title' => 'Nail Appointment', 'description' => 'Book manicure or pedicure', 'icon' => 'color-picker', 'category' => 'beauty', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Name', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'service', 'type' => 'checkbox', 'label' => 'Services', 'required' => true, 'options' => [['value' => 'manicure', 'label' => 'Manicure'], ['value' => 'pedicure', 'label' => 'Pedicure'], ['value' => 'gel', 'label' => 'Gel Nails'], ['value' => 'acrylic', 'label' => 'Acrylic']]],
        ['id' => 'date', 'type' => 'date', 'label' => 'Date', 'required' => true], ['id' => 'time', 'type' => 'time', 'label' => 'Time', 'required' => true],
        ['id' => 'color', 'type' => 'color', 'label' => 'Preferred Color'],
    ]],
    'consultation_beauty' => ['title' => 'Beauty Consultation', 'description' => 'Free beauty consultation request', 'icon' => 'visibility', 'category' => 'beauty', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone'],
        ['id' => 'concern', 'type' => 'checkbox', 'label' => 'Concerns', 'options' => [['value' => 'skin', 'label' => 'Skin Care'], ['value' => 'hair', 'label' => 'Hair Care'], ['value' => 'makeup', 'label' => 'Makeup'], ['value' => 'anti-aging', 'label' => 'Anti-Aging']]],
        ['id' => 'details', 'type' => 'textarea', 'label' => 'Tell us more about your needs', 'rows' => 4],
    ]],
    'bridal_makeup' => ['title' => 'Bridal Makeup', 'description' => 'Wedding makeup booking', 'icon' => 'heart', 'category' => 'beauty', 'fields' => [
        ['id' => 'bride', 'type' => 'name', 'label' => 'Bride Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'date', 'type' => 'date', 'label' => 'Wedding Date', 'required' => true], ['id' => 'party_size', 'type' => 'number', 'label' => 'Bridal Party Size', 'min' => 1],
        ['id' => 'services', 'type' => 'checkbox', 'label' => 'Services Needed', 'options' => [['value' => 'makeup', 'label' => 'Makeup'], ['value' => 'hair', 'label' => 'Hair Styling'], ['value' => 'trial', 'label' => 'Trial Session']]],
        ['id' => 'style', 'type' => 'textarea', 'label' => 'Describe your desired look', 'rows' => 3],
        ['id' => 'photos', 'type' => 'file_upload', 'label' => 'Inspiration Photos', 'accept' => '.jpg,.png,.webp'],
    ]],
];
