<!DOCTYPE html>
<html lang="id">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>Tambah Barang Permintaan - {{ config('app.name', 'Laravel') }}</title>
    <link rel="icon" type="image/svg+xml" href="{{ asset('favicon.svg') }}">

    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/lucide@latest"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">

    @include('admin.request-items._form-styles')
</head>

<body>
    <div class="app">
        @include('partials.sidebar')

        <main class="content">
            <div class="shell">
                <section class="form-card surface">
                    <div class="form-head">
                        <div>
                            <span class="pill">
                                <i data-lucide="plus" class="w-4 h-4"></i>
                                Tambah Barang
                            </span>
                            <h1 class="hero-title">Tambah Barang</h1>
                            <p class="hero-text">Tambahkan master barang permintaan baru untuk kebutuhan operasional user.</p>
                            <div class="hero-actions">
                                <a href="{{ route('admin.request-items.index') }}" class="action-btn soft">
                                    <i data-lucide="arrow-left" class="w-4 h-4"></i>
                                    Kembali
                                </a>
                            </div>
                        </div>
                        <div class="form-head-right">
                            <div class="form-chip">Informasi Utama</div>
                            <div class="form-chip">Stok</div>
                            <div class="form-chip">Foto</div>
                        </div>
                    </div>

                    <form action="{{ route('admin.request-items.store') }}" method="POST" enctype="multipart/form-data" class="form-body">
                        @csrf
                        @include('admin.request-items._form')
                    </form>
                </section>
            </div>
        </main>
    </div>

    <script>
        lucide.createIcons();
    </script>
</body>

</html>
