<!-- Domain Register Confirmation Modal -->
<div class="modal fade" id="domainRegisterModal" tabindex="-1" aria-labelledby="domainRegisterModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header bg-success text-white">
                <h5 class="modal-title" id="domainRegisterModalLabel">
                    <i class="fas fa-plus-circle me-2"></i>{{ __('admin/clients.domains_detail_register') }}
                </h5>
                <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <p class="text-muted mb-3">{{ __('admin/clients.domains_detail_register_confirm_title') }}</p>

                <div class="mb-3">
                    <label class="form-label fw-bold">{{ __('admin/clients.domains_detail_domain_name') }}</label>
                    <div class="p-2  rounded">
                        <i class="fas fa-globe me-2 text-primary"></i>
                        <span class="fw-bold">{{ $domain->domain }}</span>
                    </div>
                </div>

                <div class="mb-3">
                    <label class="form-label fw-bold">{{ __('admin/clients.domains_detail_period') }}</label>
                    <div class="p-2  rounded">
                        <i class="fas fa-calendar me-2 text-primary"></i>
                        <span class="fw-bold">{{ $domain->period }} {{ __('admin/clients.domains_detail_years') }}</span>
                    </div>
                </div>

                <div class="mb-3">
                    <label class="form-label fw-bold">{{ __('admin/clients.domains_detail_module') }}</label>
                    <div class="p-2  rounded">
                        <i class="fas fa-puzzle-piece me-2 text-primary"></i>
                        <span class="fw-bold">{{ ucfirst($domain->module ?? 'N/A') }}</span>
                    </div>
                </div>

                <p class="text-warning mb-0">
                    <i class="fas fa-exclamation-triangle me-2"></i>
                    <small>{{ __('admin/clients.domains_detail_register_warning') }}</small>
                </p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
                    <i class="fas fa-times me-1"></i>{{ __('common.cancel') }}
                </button>
                <button type="button" class="btn btn-success" id="confirmRegisterBtn">
                    <i class="fas fa-check me-1"></i>{{ __('admin/clients.domains_detail_confirm_register') }}
                </button>
            </div>
        </div>
    </div>
</div>
