@php
    $seo = $seo ?? null;
@endphp
<div class="row g-3">
    <div class="col-lg-6">
        <label class="form-label">SEO Title (EN)</label>
        <input type="text" name="seo[title_en]" value="{{ old('seo.title_en', $seo?->title_en) }}" class="form-control">
    </div>
    <div class="col-lg-6">
        <label class="form-label">SEO Title (AR)</label>
        <input type="text" name="seo[title_ar]" value="{{ old('seo.title_ar', $seo?->title_ar) }}" dir="rtl" class="form-control">
    </div>

    <div class="col-lg-6">
        <label class="form-label">SEO Description (EN)</label>
        <textarea name="seo[description_en]" rows="3" class="form-control">{{ old('seo.description_en', $seo?->description_en) }}</textarea>
    </div>
    <div class="col-lg-6">
        <label class="form-label">SEO Description (AR)</label>
        <textarea name="seo[description_ar]" rows="3" dir="rtl" class="form-control">{{ old('seo.description_ar', $seo?->description_ar) }}</textarea>
    </div>

    <div class="col-lg-6">
        <label class="form-label">SEO Keywords (EN)</label>
        <textarea name="seo[keywords_en]" rows="3" class="form-control">{{ old('seo.keywords_en', $seo?->keywords_en) }}</textarea>
    </div>
    <div class="col-lg-6">
        <label class="form-label">SEO Keywords (AR)</label>
        <textarea name="seo[keywords_ar]" rows="3" dir="rtl" class="form-control">{{ old('seo.keywords_ar', $seo?->keywords_ar) }}</textarea>
    </div>

    <div class="col-lg-6">
        <label class="form-label">H1 Heading (EN)</label>
        <input type="text" name="seo[heading_en]" value="{{ old('seo.heading_en', $seo?->heading_en) }}" class="form-control">
    </div>
    <div class="col-lg-6">
        <label class="form-label">H1 Heading (AR)</label>
        <input type="text" name="seo[heading_ar]" value="{{ old('seo.heading_ar', $seo?->heading_ar) }}" dir="rtl" class="form-control">
    </div>

    <div class="col-lg-6">
        <label class="form-label">Canonical URL</label>
        <input type="text" name="seo[canonical_url]" value="{{ old('seo.canonical_url', $seo?->canonical_url) }}" class="form-control">
    </div>
    <div class="col-lg-6">
        <label class="form-label">Robots</label>
        <input type="text" name="seo[robots]" value="{{ old('seo.robots', $seo?->robots) }}" class="form-control">
    </div>

    <div class="col-lg-6">
        <label class="form-label">OG Type</label>
        <input type="text" name="seo[og_type]" value="{{ old('seo.og_type', $seo?->og_type) }}" class="form-control">
    </div>
    <div class="col-lg-6">
        <label class="form-label">Twitter Card</label>
        <input type="text" name="seo[twitter_card]" value="{{ old('seo.twitter_card', $seo?->twitter_card) }}" class="form-control">
    </div>

    <div class="col-lg-12">
        <label class="form-label">Schema JSON</label>
        <textarea name="seo[schema_json]" rows="3" class="form-control">{{ old('seo.schema_json', $seo?->schema_json) }}</textarea>
    </div>
</div>
