<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
<div class="ugcify-portal-card">
	<div class="ugcify-portal-empty-state is-inline">
		<p><?php echo esc_html( (string) ( $message ?? __( 'You do not currently have access to the creator portal.', 'ugcify' ) ) ); ?></p>
		<?php if ( ! empty( $portal_url ) ) : ?>
			<div class="ugcify-portal-inline-actions">
				<a class="ugcify-portal-button" href="<?php echo esc_url( $portal_url ); ?>"><?php esc_html_e( 'Return to portal page', 'ugcify' ); ?></a>
			</div>
		<?php endif; ?>
	</div>
</div>