<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Креирај нов пакет</title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 p-6">
<div class="max-w-xl mx-auto bg-white p-6 rounded-lg shadow-md">
    <h1 class="text-2xl font-bold mb-4">Креирај нов пакет</h1>

    <form action="{{ route('travel-packages.store') }}" method="POST">
        @csrf

        <div class="mb-4">
            <label class="block text-gray-700">Име на пакетот</label>
            <input type="text" name="imepaket" class="w-full border px-4 py-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
        </div>

        <div class="mb-4">
            <label class="block text-gray-700">Цена</label>
            <input type="number" name="cena" class="w-full border px-4 py-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
        </div>

        <div class="mb-4">
            <label class="block text-gray-700">Почеток</label>
            <input type="datetime-local" name="pochetok" class="w-full border px-4 py-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
        </div>

        <div class="mb-4">
            <label class="block text-gray-700">Крај</label>
            <input type="datetime-local" name="kraj" class="w-full border px-4 py-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
        </div>

        <button type="submit" class="bg-green-500 text-white px-4 py-2 rounded">Додади пакет</button>
    </form>
</div>
</body>
</html>
