<div class="md:grid md:grid-cols-3 md:gap-6">
    <div class="md:col-span-1 flex justify-between">
        <div class="px-4 sm:px-0">
            <h3 class="text-lg font-medium text-gray-900 dark:text-gray-100">{{ __('Team Details') }}</h3>
            <p class="mt-1 text-sm text-gray-600 dark:text-gray-400">{{ __('Create a new team to collaborate with others on projects.') }}</p>
        </div>
    </div>

    <div class="mt-5 md:mt-0 md:col-span-2">
        <form wire:submit="createTeam">
            <div class="px-4 py-5 bg-white dark:bg-gray-800 sm:p-6 shadow sm:rounded-tl-md sm:rounded-tr-md">
                <div class="grid grid-cols-6 gap-6">
                    <div class="col-span-6">
                        <x-aura::label value="{{ __('Team Owner') }}" />

                        <div class="flex items-center mt-2">
                            <img class="w-12 h-12 rounded-full object-cover" src="{{ $this->user->profile_photo_url }}" alt="{{ $this->user->name }}">

                            <div class="ml-4 leading-tight">
                                <div class="dark:text-gray-200">{{ $this->user->name }}</div>
                                <div class="text-gray-700 dark:text-gray-400 text-sm">{{ $this->user->email }}</div>
                            </div>
                        </div>
                    </div>

                    <div class="col-span-6 sm:col-span-4">
                        <x-aura::label for="name" value="{{ __('Team Name') }}" />
                        <x-aura::text-input id="name" type="text" class="mt-1 block w-full" wire:model="state.name" autofocus />
                        <x-aura::input-error :messages="$errors->get('state.name')" class="mt-2" />
                    </div>
                </div>
            </div>

            <div class="flex items-center justify-end px-4 py-3 bg-gray-50 dark:bg-gray-800 text-end sm:px-6 shadow sm:rounded-bl-md sm:rounded-br-md">
                <x-aura::primary-button>
                    {{ __('Create') }}
                </x-aura::primary-button>
            </div>
        </form>
    </div>
</div>
