@extends('layouts.default')
@section('title', 'Sistem Ayarları')
@section('content')
<div class="container-fluid">
    @include('admin.partials.page-header')
    <form method="POST" action="{{ route('admin.system.settings.save') }}">
        @csrf
        <div class="row">
            <div class="col-xl-8"><div class="card"><div class="card-body"><div class="row">
                <div class="col-md-6 mb-3"><label class="form-label">Panel Adı</label><input name="panel_name" class="form-control" value="{{ old('panel_name', $settings['panel_name'] ?? 'DW Ads Reporter') }}"></div>
                <div class="col-md-6 mb-3"><label class="form-label">Ajans Adı</label><input name="agency_name" class="form-control" value="{{ old('agency_name', $settings['agency_name'] ?? 'Datweb') }}"></div>
                <div class="col-md-6 mb-3"><label class="form-label">Varsayılan Para Birimi</label><input name="default_currency" class="form-control" value="{{ old('default_currency', $settings['default_currency'] ?? 'TRY') }}" maxlength="3"></div>
                <div class="col-md-6 mb-3"><label class="form-label">Varsayılan Zaman Dilimi</label><input name="default_timezone" class="form-control" value="{{ old('default_timezone', $settings['default_timezone'] ?? 'Europe/Istanbul') }}"></div>
            </div></div></div></div>
            <div class="col-xl-4"><div class="card"><div class="card-body"><button class="btn btn-primary w-100">Kaydet</button><p class="text-muted mt-3 mb-0">Logo, renk, PDF kapak ve müşteri portalı ayarları sonraki fazlarda bu alana eklenecek.</p></div></div></div>
        </div>
    </form>
</div>
@endsection
