<x-layouts.dashboard title="Profile Settings">
    <form class="form-card" method="post" action="{{ route('designer.profile.update') }}">
        @csrf
        <div class="form-grid">
            <div class="field"><label>Name</label><input name="name" value="{{ $user->name }}" required></div>
            <div class="field"><label>Email</label><input value="{{ $user->email }}" disabled></div>
            <div class="field"><label>Phone</label><input name="phone" value="{{ $user->phone }}"></div>
            <div class="field"><label>New Password</label><input name="password" type="password"></div>
            <div class="field"><label>Confirm Password</label><input name="password_confirmation" type="password"></div>
        </div>
        <p><button class="btn">Save Profile</button></p>
    </form>
</x-layouts.dashboard>
