/* Event Monster Premium - Frontend Styles */
/* Additional styles that complement the compiled Tailwind CSS */

/* WordPress compatibility fixes */
.em-list-container * {
    box-sizing: border-box;
}

/* Ensure proper font loading */
.em-list-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Additional modal styles for better compatibility */
/* Apply blur only to registration modals, not the main event modal */
.em-modal-overlay:not(#em-event-modal) {
    backdrop-filter: blur(4px);
}

/* Explicitly disable blur on main event modal */
#em-event-modal {
    backdrop-filter: none !important;
}

/* Success message enhancements */
.em-success-message,
.success-message,
.em-payment-success,
.alert-success {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category badge styles */
.em-category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.375rem;
    background-color: #e0e7ff;
    color: #4338ca;
    margin-bottom: 0.5rem;
}

/* Responsive improvements */
@media (max-width: 640px) {
    .em-events-grid {
        gap: 1rem;
    }
    
    .em-event-card {
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    .em-modal-overlay,
    .em-load-more-btn {
        display: none !important;
    }
}
