@extends('layouts.app')

@section('content')
<!-- Background seluruh halaman -->
<div style="background-color: #e0e0e0; width: 100%; min-height: 100vh; border-radius: 15px; padding: 1rem;">

    <!-- Header -->
    <div style="background-color: #000; color: #fff; padding: 0.1rem; border-radius: 0.5rem;">
        <h1 class="m-0">Tambah Jadwal Jumat</h1>
    </div>

    <!-- Konten utama -->
    <div class="container mt-4">
        <div class="card p-4 border border-secondary" style="border-radius: 15px; background-color: #fff;">
            <form action="{{ route('jadwal.store') }}" method="POST">
                @csrf

                <div class="form-group mb-3">
                    <label><strong>Jumat</strong></label>
                    <select name="jumat" class="form-control" required>
                        <option value="Legi">Legi</option>
                        <option value="Pon">Pon</option>
                        <option value="Kliwon">Kliwon</option>
                        <option value="Pahing">Pahing</option>
                        <option value="Wage">Wage</option>
                        <option value="Cadangan">Cadangan</option>
                    </select>
                </div>

                <div class="form-group mb-3">
                    <label><strong>Khotib</strong></label>
                    <input type="text" name="khotib" class="form-control" required>
                </div>

                <div class="form-group mb-3">
                    <label><strong>Bilal</strong></label>
                    <input type="text" name="bilal" class="form-control" required>
                </div>

                <div class="form-group mb-4">
                    <label><strong>Muadzin</strong></label>
                    <input type="text" name="muadzin" class="form-control" required>
                </div>

                <div class="d-flex justify-content-between">
                    <a href="{{ route('jadwal.index') }}" class="btn btn-secondary">Kembali</a>
                    <button type="submit" class="btn btn-primary">Simpan</button>
                </div>
            </form>
        </div>
    </div>
</div>
@endsection
