<script setup>
// Use main middleware to handle routing based on auth status
definePageMeta({
  middleware: 'main'
});
</script>

<template>
  <div class="min-h-screen flex items-center justify-center bg-gray-50">
    <div class="text-center">
      <div class="animate-spin rounded-full h-12 w-12 border-b-2 border-indigo-600 mx-auto"></div>
      <p class="mt-4 text-gray-600">Checking authentication...</p>
    </div>
  </div>
</template>
