<!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</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
    <style>
        body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            background: #f8fafc;
        }

        .app {
            display: flex;
            min-height: 100vh;
        }

        .content {
            flex: 1;
            padding: 32px;
            width: 100%;
        }

        @media (max-width:1024px) {
            .app {
                display: block;
            }

            .content {
                padding: 20px;
                padding-top: 80px;
            }
        }
    </style>
</head>

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

        <main class="content">
            <div class="max-w-6xl mx-auto space-y-6">
                <div>
                    <h1 class="text-3xl font-extrabold text-slate-900">Tambah Barang</h1>
                    <p class="text-slate-500 mt-2">Tambahkan barang baru untuk kebutuhan permintaan staff.</p>
                </div>

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

</html>