{{-- Last Updated --}}
<div class="panel overflow-hidden">
    <div class="px-6 py-4 border-b border-border/50 bg-surface/50">
        <h2 class="text-base font-bold text-ink">{{ __('Header') }}</h2>
    </div>
    <div class="p-6">
        <label class="settings-label">{{ __('Last Updated Date') }}</label>
        <input type="text" name="content[last_updated]" value="{{ old('content.last_updated', $content['last_updated'] ?? '') }}" class="settings-input" placeholder="{{ __('January 1, 2026') }}">
    </div>
</div>

{{-- Terms Sections --}}
<div class="panel overflow-hidden">
    <div class="px-6 py-4 border-b border-border/50 bg-surface/50">
        <h2 class="text-base font-bold text-ink">{{ __('Terms Sections') }}</h2>
        <p class="text-xs text-muted mt-0.5">{{ __('Each section appears as a numbered heading with content below it.') }}</p>
    </div>
    <div class="p-6 space-y-5">
        @for($i = 0; $i < 10; $i++)
        <div class="rounded-xl border border-border/50 p-4 space-y-3">
            <div>
                <label class="settings-label">{{ __('Section') }} {{ $i + 1 }} {{ __('Title') }}</label>
                <input type="text" name="content[sections][{{ $i }}][title]" value="{{ old("content.sections.{$i}.title", $content['sections'][$i]['title'] ?? '') }}" class="settings-input">
            </div>
            <div>
                <label class="settings-label">{{ __('Section') }} {{ $i + 1 }} {{ __('Content') }}</label>
                <textarea name="content[sections][{{ $i }}][content]" rows="3" class="settings-input resize-none">{{ old("content.sections.{$i}.content", $content['sections'][$i]['content'] ?? '') }}</textarea>
            </div>
        </div>
        @endfor
    </div>
</div>
