<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <title>Konfigurasi Web - Superadmin</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="bg-slate-900 text-slate-100 font-sans min-h-screen flex">

    <?php include(APPPATH . 'Views/layout/sidebar.php'); ?>

    <main class="flex-1 p-8 overflow-y-auto">
        <div class="mb-8 border-b border-slate-700 pb-5">
            <h1 class="text-3xl font-extrabold text-white tracking-tight">Konfigurasi Web</h1>
            <p class="text-sm text-slate-400 mt-1">Atur identitas utama, logo, dan teks footer aplikasi di sini.</p>
        </div>

        <div class="bg-slate-800 border border-slate-700 rounded-2xl p-6 shadow-xl max-w-4xl">
            <form action="#" method="POST" enctype="multipart/form-data" class="space-y-6">
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <label class="block text-xs font-bold text-slate-400 uppercase tracking-wider mb-2">Nama Portal Aplikasi</label>
                        <input type="text" value="Sistem Apresiasi Kab. Klaten" class="w-full bg-slate-900 border border-slate-700 text-white rounded-lg p-3 text-sm focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 outline-none transition">
                    </div>
                    
                    <div>
                        <label class="block text-xs font-bold text-slate-400 uppercase tracking-wider mb-2">Teks Footer (Copyright)</label>
                        <input type="text" value="2026 © Team Ra Ngerti Wayah" class="w-full bg-slate-900 border border-slate-700 text-white rounded-lg p-3 text-sm focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 outline-none transition">
                    </div>
                </div>

                <div>
                    <label class="block text-xs font-bold text-slate-400 uppercase tracking-wider mb-2">Deskripsi Singkat (Meta Description)</label>
                    <textarea rows="3" class="w-full bg-slate-900 border border-slate-700 text-white rounded-lg p-3 text-sm focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 outline-none transition">Portal resmi manajemen dokumen sertifikat dan pendataan siswa berprestasi.</textarea>
                </div>

                <div class="border-t border-slate-700 pt-6 mt-2">
                    <label class="block text-xs font-bold text-slate-400 uppercase tracking-wider mb-2">Unggah Logo Utama (SVG/PNG)</label>
                    <div class="flex items-center gap-4">
                        <div class="w-16 h-16 bg-slate-900 border border-dashed border-slate-600 rounded-xl flex items-center justify-center text-slate-500">
                            <i class="fa fa-image text-2xl"></i>
                        </div>
                        <input type="file" class="block w-full text-sm text-slate-400 file:mr-4 file:py-2.5 file:px-4 file:rounded-lg file:border-0 file:text-sm file:font-semibold file:bg-indigo-500/10 file:text-indigo-400 hover:file:bg-indigo-500/20 transition cursor-pointer">
                    </div>
                    <p class="text-xs text-slate-500 mt-2">Format disarankan: Vektor transparan, rasio 1:1, max 2MB.</p>
                </div>

                <div class="flex justify-end pt-4">
                    <button type="button" class="bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-2.5 px-6 rounded-lg shadow-lg shadow-indigo-600/30 transition flex items-center gap-2">
                        <i class="fa fa-save"></i> Simpan Konfigurasi
                    </button>
                </div>

            </form>
        </div>
    </main>

</body>
</html>