@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 Pengurus Masjid</h1>
    </div>

    <!-- Konten utama -->
    <div class="container mt-4">
        <form action="{{ route('pengurusmasjid.store') }}" method="POST">
            @csrf

            <div class="card p-4 border border-secondary" style="border-radius: 15px; background-color: #fff;">
                <div class="form-group">
                    <label>Takmir</label>
                    <input type="text" name="takmir" class="form-control" required>
                </div>

                <div class="form-group">
                    <label>Bendahara</label>
                    <input type="text" name="bendahara" class="form-control" required>
                </div>

                <div class="form-group">
                    <label>Sekretaris</label>
                    <input type="text" name="sekretaris" class="form-control" required>
                </div>

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