@extends('admin.clients.tabs._layout')

@section('tab-content')
<div class="card border-0 shadow-sm">
    <!-- Card Header -->
    <div class="card-header border-0 pt-3 pb-2">
        <div class="d-flex justify-content-between align-items-center">
            <h6 class="mb-0">
                <i class="fas fa-globe text-primary me-2"></i>{{ __('admin/clients.tabs_domains') }}
            </h6>
            @can('edit clients')
            <a href="{{ route('admin.orders.create') }}?client_id={{ $client->id }}&type=domain" class="btn btn-primary btn-sm">
                <i class="fas fa-plus me-1"></i>{{ __('admin/clients.domains_buttons_create') }}
            </a>
            @endcan
        </div>
    </div>

    <!-- Card Body - No Domains Message -->
    <div class="card-body">
        <div class="text-center py-5">
            <i class="fas fa-globe fa-3x text-muted mb-3"></i>
            <p class="text-muted">{{ __('admin/clients.domains_no_domains') }}</p>
            @can('edit clients')
            <a href="{{ route('admin.orders.create') }}?client_id={{ $client->id }}&type=domain" class="btn btn-primary btn-sm">
                <i class="fas fa-plus me-1"></i>{{ __('admin/clients.domains_buttons_create') }}
            </a>
            @endcan
        </div>
    </div>
</div>
@endsection
