<?php $__env->startSection('title', 'My Profile'); ?>
<?php $__env->startSection('page-title', 'My Profile'); ?>

<?php $__env->startSection('content'); ?>
<div class="max-w-2xl mx-auto">
    <div class="bg-white dark:bg-gray-950 border border-gray-200 dark:border-gray-800 rounded-lg p-6">
        <div class="flex items-center justify-between mb-6">
            <h2 class="text-lg font-semibold text-gray-900 dark:text-white">Profile Information</h2>
            <a href="<?php echo e(route('admin.profile.edit')); ?>" 
               class="inline-flex items-center px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white text-sm font-medium rounded-lg transition-colors">
                <i class="fas fa-edit mr-2"></i>Edit Profile
            </a>
        </div>

        <div class="space-y-6">
            <!-- User Avatar -->
            <div class="flex items-center space-x-4">
                <div class="w-16 h-16 bg-gradient-to-br from-blue-400 to-blue-600 rounded-full flex items-center justify-center">
                    <span class="text-2xl font-bold text-white"><?php echo e(substr($user->name, 0, 1)); ?></span>
                </div>
                <div>
                    <p class="text-lg font-medium text-gray-900 dark:text-white"><?php echo e($user->name); ?></p>
                    <p class="text-sm text-gray-500 dark:text-gray-400"><?php echo e($user->email); ?></p>
                </div>
            </div>

            <hr class="border-gray-200 dark:border-gray-800">

            <!-- Profile Details -->
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <!-- Name -->
                <div>
                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
                        Full Name
                    </label>
                    <div class="text-sm text-gray-900 dark:text-white"><?php echo e($user->name); ?></div>
                </div>

                <!-- Email -->
                <div>
                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
                        Email Address
                    </label>
                    <div class="text-sm text-gray-900 dark:text-white"><?php echo e($user->email); ?></div>
                </div>

                <!-- User ID -->
                <div>
                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
                        User ID
                    </label>
                    <div class="text-sm text-gray-900 dark:text-white">#<?php echo e($user->id); ?></div>
                </div>

                <!-- Join Date -->
                <div>
                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
                        Member Since
                    </label>
                    <div class="text-sm text-gray-900 dark:text-white"><?php echo e($user->created_at->format('M d, Y')); ?></div>
                </div>

                <!-- Last Updated -->
                <div>
                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
                        Last Updated
                    </label>
                    <div class="text-sm text-gray-900 dark:text-white"><?php echo e($user->updated_at->format('M d, Y H:i')); ?></div>
                </div>

                <!-- Email Verification -->
                <div>
                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
                        Email Status
                    </label>
                    <div>
                        <?php if($user->email_verified_at): ?>
                            <span class="px-2.5 py-1 inline-flex text-xs font-medium rounded-full bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400">
                                Verified
                            </span>
                        <?php else: ?>
                            <span class="px-2.5 py-1 inline-flex text-xs font-medium rounded-full bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400">
                                Not Verified
                            </span>
                        <?php endif; ?>
                    </div>
                </div>
            </div>

            <hr class="border-gray-200 dark:border-gray-800">

            <!-- Action Buttons -->
            <div class="flex items-center gap-3">
                <a href="<?php echo e(route('admin.profile.edit')); ?>" 
                   class="px-6 py-2.5 bg-blue-600 hover:bg-blue-700 text-white text-sm font-medium rounded-lg transition-colors">
                    <i class="fas fa-edit mr-2"></i>Edit Profile
                </a>
                <a href="<?php echo e(route('admin.dashboard')); ?>" 
                   class="px-6 py-2.5 bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 text-sm font-medium rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
                    <i class="fas fa-arrow-left mr-2"></i>Back to Dashboard
                </a>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/mac/Documents/360monicaAPI/resources/views/admin/profile/show.blade.php ENDPATH**/ ?>