@extends('admin.layout')

@section('title', 'Yeni AI Ayarı')

@section('header-title', 'Yeni AI Ayarı')

@section('header-actions')
<a href="{{ route('admin.ai-settings.index') }}" class="header-action-btn">
    <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
        <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
    </svg>
    Geri Dön
</a>
@endsection

@section('content')
<div class="page-header">
    <div>
        <h1 class="page-title">Yeni AI Ayarı Oluştur</h1>
        <p class="page-subtitle">AI sağlayıcısı yapılandırın ve aktif edin</p>
    </div>
</div>

<form method="POST" action="{{ route('admin.ai-settings.store') }}">
    @csrf
    @include('admin.ai._form')

    <div style="margin-top: 24px; display: flex; gap: 12px; justify-content: flex-end;">
        <a href="{{ route('admin.ai-settings.index') }}" class="btn btn-secondary">İptal</a>
        <button type="submit" class="btn btn-primary">
            <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" style="width: 15px; height: 15px;">
                <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
            </svg>
            Ayarı Kaydet
        </button>
    </div>
</form>
@endsection
