@extends('admin.layouts.dashboard')

@section('title', 'System')

@section('content')
    <div class="space-y-6">
        <div><h1 class="text-2xl font-bold text-white">System Settings</h1><p class="text-gray-400 text-sm mt-1">Configure platform settings and view logs.</p></div>
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
            <div class="lg:col-span-2 space-y-6">
                <div class="bg-[#1e293b] rounded-xl border border-gray-800 p-6"><h2 class="text-lg font-bold text-white mb-6 flex items-center gap-2"><i data-lucide="settings" class="w-5 h-5 text-gray-400"></i>General Configuration</h2><div class="space-y-4"><div class="flex items-center justify-between py-3 border-b border-gray-800"><div><p class="text-white font-medium">Maintenance Mode</p><p class="text-xs text-gray-500">Disable access for non-admin users</p></div><span class="text-xs text-gray-400">Off</span></div><div class="flex items-center justify-between py-3 border-b border-gray-800"><div><p class="text-white font-medium">User Registration</p><p class="text-xs text-gray-500">Allow new users to sign up</p></div><span class="text-xs text-green-400">On</span></div><div class="flex items-center justify-between py-3 border-b border-gray-800"><div><p class="text-white font-medium">Email Notifications</p><p class="text-xs text-gray-500">Send system emails to admins</p></div><span class="text-xs text-green-400">On</span></div></div></div>
                <div class="bg-[#1e293b] rounded-xl border border-gray-800 p-6"><h2 class="text-lg font-bold text-white mb-6 flex items-center gap-2"><i data-lucide="activity" class="w-5 h-5 text-gray-400"></i>Recent Audit Logs</h2><div class="space-y-3 text-sm"><p class="text-gray-300">Feb 20, 14:30 - Admin User updated system settings</p><p class="text-gray-300">Feb 20, 12:15 - System backup completed successfully</p><p class="text-gray-300">Feb 19, 09:45 - Admin User approved partner application #452</p></div></div>
            </div>
            <div class="space-y-6">
                <div class="bg-[#1e293b] rounded-xl border border-gray-800 p-6"><h2 class="text-lg font-bold text-white mb-6">Security Status</h2><div class="space-y-3 text-sm"><p class="text-green-400">Firewall: Active</p><p class="text-green-400">SSL Certificate: Valid (280 days)</p><p class="text-gray-300">Last Scan: 2 hours ago</p></div></div>
                <div class="bg-[#1e293b] rounded-xl border border-gray-800 p-6"><h2 class="text-lg font-bold text-white mb-6">Database</h2><div class="space-y-3 text-sm"><p class="text-green-400">Status: Healthy</p><p class="text-gray-300">Size: 4.2 GB</p><p class="text-gray-300">Connections: 48 active</p></div></div>
            </div>
        </div>
    </div>
@endsection
