<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('header', null, []); ?> 
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <?php echo e(__('Dashboard')); ?>

        </h2>
     <?php $__env->endSlot(); ?>

    <div class="py-12">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <!-- Account Status Warning -->
            <div class="bg-red-50 border border-red-200 rounded-lg p-6 mb-8">
                <div class="flex items-start">
                    <div class="flex-shrink-0">
                        <svg class="h-8 w-8 text-red-600" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z" />
                        </svg>
                    </div>
                    <div class="ml-4">
                        <h3 class="text-lg font-semibold text-red-800">Account Suspended</h3>
                        <div class="mt-2 text-red-700">
                            <p class="mb-2">Your account has been suspended by an administrator. While suspended:</p>
                            <ul class="list-disc list-inside space-y-1 text-sm">
                                <li>Your listings are hidden from public view</li>
                                <li>You cannot create new listings or edit existing ones</li>
                                <li>You cannot participate in buying or trading</li>
                                <li>Your watchlist and other marketplace activities are suspended</li>
                            </ul>
                        </div>
                        <div class="mt-4">
                            <p class="text-red-800 font-medium">You can still contact administrators through the messaging system to resolve this issue.</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Limited Actions -->
            <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg mb-8">
                <div class="p-6">
                    <h2 class="text-lg font-semibold text-gray-900 mb-4">Available Actions</h2>
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                        <a href="<?php echo e(route('messages.index')); ?>" class="flex items-center p-4 bg-blue-50 border border-blue-200 rounded-lg hover:bg-blue-100 transition-colors">
                            <svg class="w-8 h-8 text-blue-600 mr-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path>
                            </svg>
                            <div>
                                <h3 class="font-semibold text-blue-800">Messages</h3>
                                <p class="text-sm text-blue-600">Contact administrators or view existing conversations</p>
                            </div>
                        </a>

                        <a href="<?php echo e(route('profile.edit')); ?>" class="flex items-center p-4 bg-gray-50 border border-gray-200 rounded-lg hover:bg-gray-100 transition-colors">
                            <svg class="w-8 h-8 text-gray-600 mr-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
                            </svg>
                            <div>
                                <h3 class="font-semibold text-gray-800">Profile Settings</h3>
                                <p class="text-sm text-gray-600">Update your profile information</p>
                            </div>
                        </a>
                    </div>
                </div>
            </div>

            <!-- Contact Administrators -->
            <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
                <div class="p-6">
                    <h2 class="text-lg font-semibold text-gray-900 mb-4">Contact Support</h2>
                    <div class="bg-blue-50 border border-blue-200 rounded-lg p-4">
                        <p class="text-blue-800 mb-3">
                            If you believe your account was suspended in error or would like to appeal this decision, please contact our administrators.
                        </p>
                        <p class="text-sm text-blue-700 mb-4">
                            When contacting support, please provide:
                        </p>
                        <ul class="list-disc list-inside text-sm text-blue-700 space-y-1 mb-4">
                            <li>Your account details and username</li>
                            <li>A clear explanation of your appeal</li>
                            <li>Any relevant information about the suspension</li>
                        </ul>
                        <a href="<?php echo e(route('messages.contact-admin')); ?>" class="inline-flex items-center px-4 py-2 bg-blue-600 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-blue-700 transition ease-in-out duration-150">
                            <svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path>
                            </svg>
                            Contact Administrators
                        </a>
                    </div>
                </div>
            </div>

            <!-- Account Information -->
            <div class="mt-8 bg-white overflow-hidden shadow-sm sm:rounded-lg">
                <div class="p-6">
                    <h2 class="text-lg font-semibold text-gray-900 mb-4">Account Status</h2>
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <div>
                            <h3 class="font-medium text-gray-900 mb-2">Current Restrictions</h3>
                            <ul class="text-sm text-gray-600 space-y-1">
                                <li>• Listings hidden from marketplace</li>
                                <li>• Cannot create or edit items</li>
                                <li>• Cannot participate in transactions</li>
                                <li>• Limited to messaging functionality</li>
                            </ul>
                        </div>
                        <div>
                            <h3 class="font-medium text-gray-900 mb-2">Account Details</h3>
                            <div class="text-sm text-gray-600 space-y-1">
                                <p><strong>Username:</strong> <?php echo e(auth()->user()->name); ?></p>
                                <p><strong>Email:</strong> <?php echo e(auth()->user()->email); ?></p>
                                <p><strong>Member Since:</strong> <?php echo e(auth()->user()->created_at->format('M j, Y')); ?></p>
                                <p><strong>Status:</strong> <span class="text-red-600 font-medium">Suspended</span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?><?php /**PATH /var/www/html/resources/views/dashboard-banned.blade.php ENDPATH**/ ?>