<!-- Welcome Section - Only shown when IMAP is not configured -->
<div class="mb-8 p-6 bg-gradient-to-r from-primary/10 to-secondary/10 rounded-box shadow-lg border border-primary/20">
    <div class="flex items-center mb-4">
        <i class="fas fa-envelope-open-text text-3xl text-primary mr-4"></i>
        <h3 class="text-xl font-bold">Welcome to Email Organizer! 🎉</h3>
    </div>
    <p class="text-base-content/80 mb-4">Ready to tame your email chaos? Let's get your email folders synchronized so we can start organizing your emails with AI-powered rules!</p>
    <div class="flex items-center space-x-4" data-loading-states>
        <button class="btn btn-primary btn-lg" hx-get="/api/imap/config" hx-target="#modal-holder"
            hx-swap="innerHTML"
            data-loading-disable>
            <span data-loading-class="!hidden">Set Up IMAP Sync</span>
            <i class="fas fa-arrow-right mr-2" data-loading-class="!hidden"></i>
            <span class="loading loading-spinner loading-xs hidden" data-loading-class-remove="hidden"></span>
        </button>
    </div>
    <p class="text-sm text-base-content/60 mt-2">
        <i class="fas fa-shield-alt text-green-500 mr-1"></i>
        <strong>Your privacy matters!</strong> We never store email content at rest.
    </p>
</div>