<x-app-layout>
    <x-slot name="header">Generar Boleta</x-slot>

    <div class="card" style="max-width:720px;">
        <div class="card-title">Generar Boleta de Pago</div>

        <form method="POST" action="#">
            @csrf

            <div class="field-group">
                <label class="field-label">Estudiante / Cliente</label>
                <input type="text" name="nombre" class="field-input" placeholder="Nombre completo" />
            </div>

            <div class="field-group">
                <label class="field-label">Correo</label>
                <input type="email" name="email" class="field-input" placeholder="correo@ejemplo.com" />
            </div>

            <div class="field-group">
                <label class="field-label">Monto (S/)</label>
                <input type="number" step="0.01" name="monto" class="field-input" />
            </div>

            <div class="field-group">
                <label class="field-label">Descripción</label>
                <textarea name="descripcion" class="field-input" rows="3"></textarea>
            </div>

            <div style="display:flex; gap:12px; margin-top:18px;">
                <button class="btn-submit">Generar Boleta</button>
                <a href="{{ route('tesoreria.dashboard') }}" class="table-btn">Cancelar</a>
            </div>
        </form>
    </div>

</x-app-layout>
