@php
    $cancelUrl = $cancelUrl ?? url()->previous();
    $submitLabel = $submitLabel ?? 'Save';
    $submitIcon = $submitIcon ?? 'ri-save-line';
@endphp
<div class="billing-form-footer">
    <div class="text-muted small d-none d-md-block">
        <i class="ri-information-line me-1"></i> Fields marked with <span class="text-danger">*</span> are required
    </div>
    <div class="d-flex gap-2 ms-md-auto">
        <a href="{{ $cancelUrl }}" class="btn btn-light">
            <i class="ri-close-line me-1"></i> Cancel
        </a>
        <button type="submit" class="btn btn-success">
            <i class="{{ $submitIcon }} me-1"></i> {{ $submitLabel }}
        </button>
    </div>
</div>
